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

Chris Morgan cmorgan at alum.wpi.edu
Sat Nov 12 08:56:53 PST 2005


What compiler are you using?

What do 'gcc --version' and 'g++ -- version' report?

Using 4.0.2 should work.

Chris


On Saturday 12 November 2005 6:05 am, Sameer D. Sahasrabuddhe wrote:
> Marco Matthies wrote:
> >> 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
> >
> > I believe this is a binutils issue (ld belongs to binutils).
> > See for example:
> > http://lists.debian.org/debian-gcc/2005/10/msg00305.html
>
> Thanks! Downgraded the binutils package from 2.16.1cvs20050902-1 (Debian
> unstable) to 2.16.1-2 (testing). The message still appears, but no error
> is reported and the build completes. Found similar messages in what
> appears to be an automated daily build for ia64 ... assuming those
> messages can be safely ignored.
>
> http://kinoko.c.u-tokyo.ac.jp/~builddonkey/ia64/2005-11-12-Build-Log.txt
>
> Would this information be useful in the release notes?
>
> Sameer.




More information about the llvm-dev mailing list