* 4.5.2 build fails due to configure: error: Link tests are not allowed after GCC_NO_EXECUTABLES.
@ 2011-01-03 12:34 Oliver Kullmann
2011-01-03 13:21 ` Jonathan Wakely
0 siblings, 1 reply; 3+ messages in thread
From: Oliver Kullmann @ 2011-01-03 12:34 UTC (permalink / raw)
To: gcc-help
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
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: 4.5.2 build fails due to configure: error: Link tests are not allowed after GCC_NO_EXECUTABLES.
2011-01-03 12:34 4.5.2 build fails due to configure: error: Link tests are not allowed after GCC_NO_EXECUTABLES Oliver Kullmann
@ 2011-01-03 13:21 ` Jonathan Wakely
2011-01-07 20:11 ` Oliver Kullmann
0 siblings, 1 reply; 3+ messages in thread
From: Jonathan Wakely @ 2011-01-03 13:21 UTC (permalink / raw)
To: Oliver Kullmann; +Cc: gcc-help
On 3 January 2011 12:34, Oliver Kullmann wrote:
>
> The above error concerns zlib (why is this? zlib is not mentioned as a prerequisite?)
a copy of zlib is bundled with gcc, so it's not a prerequisite, it's included.
You could try using --with-system-zlib to use your system's copy
instead of the bundled one.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: 4.5.2 build fails due to configure: error: Link tests are not allowed after GCC_NO_EXECUTABLES.
2011-01-03 13:21 ` Jonathan Wakely
@ 2011-01-07 20:11 ` Oliver Kullmann
0 siblings, 0 replies; 3+ messages in thread
From: Oliver Kullmann @ 2011-01-07 20:11 UTC (permalink / raw)
To: Jonathan Wakely; +Cc: gcc-help
On Mon, Jan 03, 2011 at 01:21:34PM +0000, Jonathan Wakely wrote:
> On 3 January 2011 12:34, Oliver Kullmann wrote:
> >
> > The above error concerns zlib (why is this? zlib is not mentioned as a prerequisite?)
>
> a copy of zlib is bundled with gcc, so it's not a prerequisite, it's included.
>
> You could try using --with-system-zlib to use your system's copy
> instead of the bundled one.
Thanks, this solved this problem!
Oliver
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2011-01-07 20:11 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-01-03 12:34 4.5.2 build fails due to configure: error: Link tests are not allowed after GCC_NO_EXECUTABLES Oliver Kullmann
2011-01-03 13:21 ` Jonathan Wakely
2011-01-07 20:11 ` Oliver Kullmann
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).