This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Broken SO due to dropped dependencies


Hello List,

I'm come across a very strange issue concerning building a shared library 
with GCC.

This issue affects a c++ project I'm currently working on, in particular 
an SO component. If I compile this SO using GCC [0] the library 
dependencies are totally different than when compiling the same SO with 
clang [1] using the exact same parameters.

I became aware of this issue when I compiled the SO in question with GCC 
and realised it has broken dependencies; it fails with an `undefined 
symbol' error:

out/src/omnis: symbol lookup error: /home/guedesm/prj/omnis/sh/../out/
sources/clank/libclank.so: undefined symbol: clang_createIndex 

I imagine it's something to do with parameter order; can an enlightened 
guru please shed some light on this?


[0] http://pastebin.com/8Xp9mwwA 
[1] http://pastebin.com/xM8NNj4m


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]