[LLVMdev] building LLVM 1.6 on Debian unstable ...

Sameer D. Sahasrabuddhe sameerds at it.iitb.ac.in
Fri Nov 11 22:36:51 PST 2005


Hi,

Tried to build the 1.6 release on Debian unstable, but ran into link 
problems for some utils ...

Copying the messages when building llc, the same error occurs for lli, 
llvm-db and some of the examples. Is this a problem with the compiler 
version? LLVMSelectionDAG.o itself builds correctly.

make[2]: Entering directory `/home/sameerds/data/llvm-1.6/tools/llc'
llvm[2]: Linking Debug executable llc
`.gnu.linkonce.t._ZNK4llvm14TargetLowering12getValueTypeEPKNS_4TypeE' 
referenced
  in section `.rodata' of 
/home/sameerds/data/llvm-1.6/Debug/lib/LLVMSelectionDAG
.o: defined in discarded section 
`.gnu.linkonce.t._ZNK4llvm14TargetLowering12get
ValueTypeEPKNS_4TypeE' of 
/home/sameerds/data/llvm-1.6/Debug/lib/LLVMSelectionDA
G.o
collect2: ld returned 1 exit status


The compiler is gcc 3.4.5 from Debian unstable.

sameerds at trantor5:~$ g++ -v
Reading specs from /usr/lib/gcc/i486-linux-gnu/3.4.5/specs
Configured with: ../src/configure -v 
--enable-languages=c,c++,f77,pascal,objc,ada --prefix=/usr 
--libexecdir=/usr/lib --with-gxx-include-dir=/usr/include/c++/3.4 
--enable-shared --with-system-zlib --enable-nls 
--without-included-gettext --program-suffix=-3.4 --enable-__cxa_atexit 
--enable-libstdcxx-allocator=mt --enable-clocale=gnu 
--enable-libstdcxx-debug i486-linux-gnu
Thread model: posix
gcc version 3.4.5 20050821 (prerelease) (Debian 3.4.4-8)


-- 
Research Scholar, KReSIT, IIT Bombay
http://www.it.iitb.ac.in/~sameerds/




More information about the llvm-dev mailing list