public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* version `GLIBC_2.14' not found (required by build/genhooks)‏
@ 2011-09-22 10:00 Teodori Serge
  2011-09-23 21:32 ` version `GLIBC_2.14' not found (required by build/genhooks) ‏ Mikael Morin
  0 siblings, 1 reply; 2+ messages in thread
From: Teodori Serge @ 2011-09-22 10:00 UTC (permalink / raw)
  To: gcc-bugs

Hello,
I'm building a toolchain in /opt dir. I have already build and installed 
glibc-2.14 and binutils-2.21.1a in /opt.
Now I want to build and install gcc-4.6.1 with gmp, mpfr and mpc also in 
/opt.

Here is my configure:

../gcc-4.6.1/configure --prefix=/tools --disable-nls --disable-shared 
--disable-multilib --disable-decimal-float --disable-threads 
--disable-libmudflap --disable-libssp --disable-libgomp 
--disable-libquadmath --disable-target-libiberty --disable-target-zlib 
--enable-languages=c --without-ppl --without-cloog

Here is the last output of my build:

build/genhooks > tmp-target-hooks-def.h
build/genhooks: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.14' 
not found (required by build/genhooks)
make[3]: *** [s-target-hooks-def-h] Error 1
make[3]: *** Waiting for unfinished jobs....
rm gcc.pod
make[3]: Leaving directory `/home/serge/Documents/gcc-build/gcc'
make[2]: *** [all-stage2-gcc] Error 2
make[2]: Leaving directory `/home/serge/Documents/gcc-build'
make[1]: *** [stage2-bubble] Error 2
make[1]: Leaving directory `/home/serge/Documents/gcc-build'
make: *** [all] Error 2

The problem is very obvious, gcc build is not taking the toolchain 
glibc-2.14 in /opt/lib but it is taking the one the host uses which is 
eglibc-2.13 in /usr/lib.
I set various flags to the linker and compiler, they are all looking in 
the right directory. It must be something in the configure script?
Can anyone help me please.
Thank you


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-09-23 20:25 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-09-22 10:00 version `GLIBC_2.14' not found (required by build/genhooks)‏ Teodori Serge
2011-09-23 21:32 ` version `GLIBC_2.14' not found (required by build/genhooks) ‏ Mikael Morin

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).