* Error while building gcc: Link tests are not allowed after GCC_NO_EXECUTABLES
@ 2012-03-21 7:36 Anmol Sarma
2012-03-21 16:22 ` Ian Lance Taylor
0 siblings, 1 reply; 2+ messages in thread
From: Anmol Sarma @ 2012-03-21 7:36 UTC (permalink / raw)
To: gcc-help
I'm trying to build GCC 4.6.3 but I get the following error when I invoke make:
checking for library containing strerror... configure: error: Link
tests are not allowed after GCC_NO_EXECUTABLES.
make[2]: *** [configure-stage2-libiberty] Error 1
make[2]: Leaving directory `/media/LFS/build/gcc'
make[1]: *** [stage2-bubble] Error 2
make[1]: Leaving directory `/media/LFS/build/gcc'
make: *** [all] Error 2
I tried to configure with "--with-system-zlib" but got the same error.
The zlib config.log has this:
conftest.c:11:28: fatal error: ac_nonexistent.h: No such file or directory
compilation terminated.
configure:6654: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define PACKAGE "zlib"
| #define VERSION "1.1.4"
| /* end confdefs.h. */
| #include <ac_nonexistent.h>
What's going here?
--
Anmol Sarma
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Error while building gcc: Link tests are not allowed after GCC_NO_EXECUTABLES
2012-03-21 7:36 Error while building gcc: Link tests are not allowed after GCC_NO_EXECUTABLES Anmol Sarma
@ 2012-03-21 16:22 ` Ian Lance Taylor
0 siblings, 0 replies; 2+ messages in thread
From: Ian Lance Taylor @ 2012-03-21 16:22 UTC (permalink / raw)
To: Anmol Sarma; +Cc: gcc-help
Anmol Sarma <unmole.in@gmail.com> writes:
> I'm trying to build GCC 4.6.3 but I get the following error when I invoke make:
>
> checking for library containing strerror... configure: error: Link
> tests are not allowed after GCC_NO_EXECUTABLES.
> make[2]: *** [configure-stage2-libiberty] Error 1
> make[2]: Leaving directory `/media/LFS/build/gcc'
> make[1]: *** [stage2-bubble] Error 2
> make[1]: Leaving directory `/media/LFS/build/gcc'
> make: *** [all] Error 2
How precisely did you run configure?
Ian
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2012-03-21 16:22 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-03-21 7:36 Error while building gcc: Link tests are not allowed after GCC_NO_EXECUTABLES Anmol Sarma
2012-03-21 16:22 ` Ian Lance Taylor
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).