Displaying 3 results from an estimated 3 matches for "_llvm_sym_tab_".
2011 Aug 09
2
[LLVMdev] llvm-gcc with static libraries
...e, x86-64, version 1 (SYSV), not stripped
ctest2.o: ELF 64-bit LSB relocatable, x86-64, version 1 (SYSV), not stripped
$ llvm-ar cru libctest.a *.o
$ ls
ctest1.c ctest1.o ctest2.c ctest2.o libctest.a prog.c
$ llvm-ar t libctest.a
ctest1.o
ctest2.o
$ llvm-nm libctest.a
$ nm libctest.a
nm: #_LLVM_SYM_TAB_: File format not recognized
ctest1.o:
0000000000000000 T ctest1
ctest2.o:
0000000000000000 T ctest2
$ llvm-ranlib libctest.a
$ llvm-gcc prog.c libctest.a -o p
libctest.a: could not read symbols: Archive has no index; run ranlib to add
one
collect2: ld returned 1 exit status
== With --emit-llv...
2011 Aug 09
0
[LLVMdev] llvm-gcc with static libraries
...; ctest2.o: ELF 64-bit LSB relocatable, x86-64, version 1 (SYSV), not stripped
> $ llvm-ar cru libctest.a *.o
> $ ls
> ctest1.c ctest1.o ctest2.c ctest2.o libctest.a prog.c
> $ llvm-ar t libctest.a
> ctest1.o
> ctest2.o
> $ llvm-nm libctest.a
> $ nm libctest.a
> nm: #_LLVM_SYM_TAB_: File format not recognized
> ctest1.o:
> 0000000000000000 T ctest1
> ctest2.o:
> 0000000000000000 T ctest2
> $ llvm-ranlib libctest.a
> $ llvm-gcc prog.c libctest.a -o p
> libctest.a: could not read symbols: Archive has no index; run ranlib to add
> one
> collect2: ld re...
2011 Aug 09
2
[LLVMdev] llvm-gcc with static libraries
...rsion 1 (SYSV), not
> stripped
> > $ llvm-ar cru libctest.a *.o
> > $ ls
> > ctest1.c ctest1.o ctest2.c ctest2.o libctest.a prog.c
> > $ llvm-ar t libctest.a
> > ctest1.o
> > ctest2.o
> > $ llvm-nm libctest.a
> > $ nm libctest.a
> > nm: #_LLVM_SYM_TAB_: File format not recognized
> > ctest1.o:
> > 0000000000000000 T ctest1
> > ctest2.o:
> > 0000000000000000 T ctest2
> > $ llvm-ranlib libctest.a
> > $ llvm-gcc prog.c libctest.a -o p
> > libctest.a: could not read symbols: Archive has no index; run ranlib t...