On Wednesday 01 October 2008 16:44:11 Török Edwin wrote:> On 2008-10-01 17:36, Duncan Sands wrote: > >> It builds here (Linux x86_64), I use the following configure line: > >> ../llvm-gcc4.2/configure > >> --prefix=/home/edwin/llvm-svn/obj42/../install --program-prefix=llvm- > >> --enable-llvm=/home/edwin/llvm-svn/llvm/ --disable-multilib > >> --enable-checking=release --enable-languages=c,c++ > >> > > > > I'm using (x86-64 linux, gcc 4.3) > > > > Yep, same here: gcc version 4.3.2 (Debian 4.3.2-1) > > ../gcc-4.2.llvm/configure --prefix=/usr/local/gnat-llvm --enable-languages=c,c++ --enable-checking --enable-llvm=$HOME/LLVM/llvm-objects --disable-shared --disable-bootstrap --disable-multilib > > > > With those flags it fails for me too:I can't get it to not fail: even if I use the flags that worked for you it fails for me... Maybe the difference is in how llvm was built? I configured using only default values, i.e. without passing any parameters to configure. Ciao, Duncan.
On 2008-10-01 18:28, Duncan Sands wrote:> I can't get it to not fail: even if I use the flags that > worked for you it fails for me... Maybe the difference > is in how llvm was built? I configured using only default > values, i.e. without passing any parameters to configure. > > Ciao, > > Duncan. >For llvm: ./configure --enable-targets=x86,cbe,cpp --enable-optimized One thing I noticed is that sometimes the Debug directory was picked from llvm while building llvm-gcc, which contained an out-of-date build. I no longer have a Debug directory though. I just tried to build in a clean object directory, and it failed with same error message. Perhaps some files remained from an old build, and didn't get removed on a make clean? This means that I don't have a working llvm-gcc with TOT either. Best regards, --Edwin