Displaying 2 results from an estimated 2 matches for "6fghey0q".
2012 Aug 21
2
[LLVMdev] bugpoint (and possibly others) need to be compiled with -rdynamic
...ugpoint: Did you mean '-simplify-libcalls'?
--
bugpoint defines the symbol:
[sysnet80:~/llvm-build/bin] steve$ nm bugpoint |grep _ZNK4llvm4Pass11getPassNameEv
00000000007c0420 T _ZNK4llvm4Pass11getPassNameEv
Here's a smaller example showing the particular issue <http://pastebin.com/6fGHEy0q>. If you add -rdynamic when compiling a.c, it works correctly:
Linux:
[hilbert:/tmp] steve$ clang -fPIC -rdynamic a.c -ldl
[hilbert:/tmp] steve$ ./a.out
FreeBSD:
[sysnet80:/tmp] steve$ clang -fPIC -rdynamic a.c
[sysnet80:/tmp] steve$ ./a.out
--
Stephen Checkoway
2012 Aug 21
0
[LLVMdev] bugpoint (and possibly others) need to be compiled with -rdynamic
...y-libcalls'?
> --
>
> bugpoint defines the symbol:
> [sysnet80:~/llvm-build/bin] steve$ nm bugpoint |grep _ZNK4llvm4Pass11getPassNameEv
> 00000000007c0420 T _ZNK4llvm4Pass11getPassNameEv
>
> Here's a smaller example showing the particular issue <http://pastebin.com/6fGHEy0q>. If you add -rdynamic when compiling a.c, it works correctly:
> Linux:
> [hilbert:/tmp] steve$ clang -fPIC -rdynamic a.c -ldl
> [hilbert:/tmp] steve$ ./a.out
>
> FreeBSD:
> [sysnet80:/tmp] steve$ clang -fPIC -rdynamic a.c
> [sysnet80:/tmp] steve$ ./a.out
>
> --
>...