4.5.2 build fails due to configure: error: Link tests are not allowed after GCC_NO_EXECUTABLES.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello,

after having switched from --disable--multilib to enable it (we actually need it),
on one machine I get

checking whether the gcc  -m32 linker (/usr/lib64/gcc/x86_64-suse-linux/4.3/../../../../x86_64-suse-linux/bin/ld -m elf_x86_64 -m elf_i386) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... configure: error: Link tests are not allowed after GCC_NO_EXECUTABLES.
make[3]: *** [configure-stage1-zlib] Error 1
make[3]: Leaving directory `/home/csoliver/OKplatform/ExternalSources/builds/Gcc/gcc-4.5.2_build'

I find a discussion on a similar problem at

http://www.listware.net/201012/gcc-gcc/71297-libquadmath-configure-error-link-tests-are-not-allowed-after-gccnoexecutables.html

which ends in apparently saying that there is a gcc-bug which was not fixed for 4.5.2,
then proposing a work-around, but where this work-around doesn't appear in that e-mail :=(((

The above error concerns zlib (why is this? zlib is not mentioned as a prerequisite?), so it
might be different. The configuration data is (as I said, with --disable-multilib is worked
on that machine (though without java), while enable-multilib works on other machines

 --prefix=/home/csoliver/OKplatform/ExternalSources/Installations/Gcc/4.5.2 
 --enable-languages=c,c++,fortran,java 
 --enable-threads=posix 
 --enable-shared 
 --enable-multilib

> gcc --version
gcc (SUSE Linux) 4.3.1 20080507 (prerelease) [gcc-4_3-branch revision 135036]

> uname -a
Linux cs-oksvr 2.6.25.20-0.1-default #1 SMP 2008-12-12 20:30:38 +0100 x86_64 x86_64 x86_64 GNU/Linux

Hope somebody can help here (Tobias Burnus, as mentioned in the above thread?);
it's quite a thorny issue to install 4.5.2.

Oliver



[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux