[LLVMdev] Missing symbols in pass stack trace
Justin Holewinski
justin.holewinski at gmail.com
Fri Jun 24 07:56:50 PDT 2011
On Jun 24, 2011, at 10:49 AM, Carlo Alberto Ferraris wrote:
>
>> Try building with "make VERBOSE=1", which will show you the command-lines passed to the compiler/linker. Post the output here.
> there you go:
>> cafxx at ubuntu:~/Projects/llvm2/lib/Transforms/cgf$ make VERBOSE=1
>> llvm[0]: Compiling CGFPass.cpp for Debug+Asserts build (PIC)
>> if g++ -I/home/cafxx/Projects/llvm2/include -I/home/cafxx/Projects/llvm2/lib/Transforms/cgf -D_DEBUG -D_GNU_SOURCE -D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS -g -fno-exceptions -fno-rtti -fPIC -Woverloaded-virtual -Wcast-qual -pedantic -Wno-long-long -Wall -W -Wno-unused-parameter -Wwrite-strings -c -MMD -MP -MF "/home/cafxx/Projects/llvm2/lib/Transforms/cgf/Debug+Asserts/CGFPass.d.tmp" -MT "/home/cafxx/Projects/llvm2/lib/Transforms/cgf/Debug+Asserts/CGFPass.o" -MT "/home/cafxx/Projects/llvm2/lib/Transforms/cgf/Debug+Asserts/CGFPass.d" CGFPass.cpp -o /home/cafxx/Projects/llvm2/lib/Transforms/cgf/Debug+Asserts/CGFPass.o ; \
>> then /bin/mv -f "/home/cafxx/Projects/llvm2/lib/Transforms/cgf/Debug+Asserts/CGFPass.d.tmp" "/home/cafxx/Projects/llvm2/lib/Transforms/cgf/Debug+Asserts/CGFPass.d"; else /bin/rm "/home/cafxx/Projects/llvm2/lib/Transforms/cgf/Debug+Asserts/CGFPass.d.tmp"; exit 1; fi
>> llvm[0]: Linking Debug+Asserts Loadable Module CGF.so
>> g++ -I/home/cafxx/Projects/llvm2/include -I/home/cafxx/Projects/llvm2/lib/Transforms/cgf -D_DEBUG -D_GNU_SOURCE -D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS -g -fno-exceptions -fno-rtti -fPIC -Woverloaded-virtual -Wcast-qual -g -Wl,-R -Wl,'$ORIGIN' -L/home/cafxx/Projects/llvm2/Debug+Asserts/lib -L/home/cafxx/Projects/llvm2/Debug+Asserts/lib -pedantic -Wno-long-long -Wall -W -Wno-unused-parameter -Wwrite-strings -shared -o /home/cafxx/Projects/llvm2/Debug+Asserts/lib/CGF.so /home/cafxx/Projects/llvm2/lib/Transforms/cgf/Debug+Asserts/CGFPass.o \
>> -Wl,--version-script,/home/cafxx/Projects/llvm2/lib/Transforms/cgf/Debug+Asserts/CGF.exports.map -lpthread -ldl -lm
>>
>
Are you loading the shared library directly from the build directory, or are you installing it first? If you run "file CGF.so" on the file you actually load, does it say it is stripped or non-stripped?
>
>
> --
> Carlo Alberto Ferraris <cafxx at strayorange.com>
> website/blog - +39 333 7643 235
> <cafxx.vcf>_______________________________________________
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
Thanks,
Justin Holewinski
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20110624/71aead9d/attachment.html>
More information about the llvm-dev
mailing list