This is the mail archive of the
glibc-bugs@sources.redhat.com
mailing list for the glibc project.
[Bug libc/235] glibc fails to compile.
- From: "carlo at alinoe dot com" <sourceware-bugzilla at sources dot redhat dot com>
- To: glibc-bugs at sources dot redhat dot com
- Date: 26 Jun 2004 23:02:06 -0000
- Subject: [Bug libc/235] glibc fails to compile.
- References: <20040626220431.235.carlo@alinoe.com>
- Reply-to: sourceware-bugzilla at sources dot redhat dot com
------- Additional Comments From carlo at alinoe dot com 2004-06-26 23:02 -------
Using
../configure --enable-add-ons=linuxthreads --prefix=/usr
Gives the same results (same awk error).
Using a "normal" enviroment works...
If the only extra environment variable that I set is 'CC',
and I set it to my 3.5 compiler - as follows:
CC="gcc-cvs-3.5" ../configure --enable-add-ons=linuxthreads --prefix=/usr
then I get the same
gawk: scripts/versions.awk:121: fatal: expression for `>' redirection has null
string value
error. So apparently it IS caused by using gcc version 3.5.0 20040530
[ Note that it is strangly enough (well, another bug) needed to completely
delete the directory and then start over when changing CC. When I just
reconfigure with CC unset after the above error - then the script hangs
after printing 'no versions defined for libc' ].
Using CC="gcc-3.4.0" gives the same problem.
Using CC="gcc-3.3.3" gives the same problem.
Using CC="gcc-3.3.2" gives the same problem.
Using CC="gcc" works.
Hmpf that is weird.
>gcc -v
Reading specs from /usr/lib/gcc-lib/i386-redhat-linux/3.3.2/specs
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man
--infodir=/usr/share/info --enable-shared --enable-threads=posix
--disable-checking --with-system-zlib --enable-__cxa_atexit --host=i386-redhat-linux
Thread model: posix
>gcc-3.3.2 -v
Reading specs from /usr/local/gcc-3.3.2/lib/gcc-lib/i386-redhat-linux/3.3.2/specs
Configured with: /usr/src/gcc/gcc-3.3.2/configure --prefix=/usr/local/gcc-3.3.2
--enable-shared --with-gnu-as --with-gnu-ld --enable-languages=c++
--enable-debug --enable-threads=posix --disable-checking --with-system-zlib
--enable-__cxa_atexit --host=i386-redhat-linux
Thread model: posix
gcc version 3.3.2
Why can't I compile glic with a non-default compiler install?
--
http://sources.redhat.com/bugzilla/show_bug.cgi?id=235
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.