Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 98679 - glibc-2.3.5 fail to compile with gcc-4.0.1
Summary: glibc-2.3.5 fail to compile with gcc-4.0.1
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GCC Porting (show other bugs)
Hardware: All Linux
: High blocker (vote)
Assignee: Please assign to toolchain
URL:
Whiteboard:
Keywords:
: 100140 108397 (view as bug list)
Depends on:
Blocks:
 
Reported: 2005-07-11 08:05 UTC by Forza
Modified: 2005-10-07 09:45 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Forza 2005-07-11 08:05:30 UTC
It seem as glibc-2.3.5 doesn't like gcc 4.0.1 very much. The compilation fail. It used to 
work with the 4.0.1 beta/pre builds if I remember correct.

Reproducible: Always
Steps to Reproduce:

Actual Results:  

i686-pc-linux-gnu-gcc ../sysdeps/generic/fpu_control.c -c -std=gnu99 -O2 -Wall -Winline -
Wstrict-prototypes -Wwrite-strings -march=pentium3 -pipe -mpreferred-stack-
boundary=4    -Wno-uninitialized -D__NO_MATH_INLINES -
D__LIBC_INTERNAL_MATH_INLINES -I../include -I. -I/var/tmp/portage/glibc-2.3.5/work/
build-default-i686-pc-linux-gnu-nptl/math -I.. -I../libio -I../nptl -I/var/tmp/portage/glibc-2.3.
5/work/build-default-i686-pc-linux-gnu-nptl -I../sysdeps/i386/elf -I../nptl/sysdeps/unix/
sysv/linux/i386/i686 -I../nptl/sysdeps/unix/sysv/linux/i386 -I../nptl/sysdeps/unix/sysv/linux -
I../nptl/sysdeps/pthread -I../sysdeps/pthread -I../nptl/sysdeps/unix/sysv -I../nptl/sysdeps/
unix -I../nptl/sysdeps/i386/i686 -I../nptl/sysdeps/i386 -I../libidn/sysdeps/unix -I../sysdeps/
unix/sysv/linux/i386 -I../sysdeps/unix/sysv/linux -I../sysdeps/gnu -I../sysdeps/unix/
common -I../sysdeps/unix/mman -I../sysdeps/unix/inet -I../sysdeps/unix/sysv/i386 -I../
sysdeps/unix/sysv -I../sysdeps/unix/i386 -I../sysdeps/unix -I../sysdeps/posix -I../sysdeps/
i386/i686/fpu -I../sysdeps/i386/i686 -I../sysdeps/i386/i486 -I../nptl/sysdeps/i386/i486 -I../
sysdeps/i386/fpu -I../sysdeps/i386 -I../sysdeps/wordsize-32 -I../sysdeps/ieee754/ldbl-96 -
I../sysdeps/ieee754/dbl-64 -I../sysdeps/ieee754/flt-32 -I../sysdeps/ieee754 -I../sysdeps/
generic/elf -I../sysdeps/generic -nostdinc -isystem /usr/lib/gcc/i686-pc-linux-gnu/4.0.1/
include -isystem /usr/include -D_LIBC_REENTRANT -D_LIBC_REENTRANT -include ../
include/libc-symbols.h       -o /var/tmp/portage/glibc-2.3.5/work/build-default-i686-pc-
linux-gnu-nptl/math/fpu_control.o -MD -MP -MF /var/tmp/portage/glibc-2.3.5/work/build-
default-i686-pc-linux-gnu-nptl/math/fpu_control.o.dt -MT /var/tmp/portage/glibc-2.3.5/
work/build-default-i686-pc-linux-gnu-nptl/math/fpu_control.o
.././scripts/mkinstalldirs /var/tmp/portage/glibc-2.3.5/work/build-default-i686-pc-linux-
gnu-nptl/math
echo 'math/s_isinf.o math/s_isnan.o math/s_finite.o math/s_copysign.o math/s_modf.o 
math/s_scalbn.o math/s_frexp.o math/s_ldexp.o math/s_signbit.o math/s_isinff.o math/
s_isnanf.o math/s_finitef.o math/s_copysignf.o math/s_modff.o math/s_scalbnf.o math/
s_frexpf.o math/s_ldexpf.o math/s_signbitf.o math/s_isinfl.o math/s_isnanl.o math/
s_finitel.o math/s_copysignl.o math/s_modfl.o math/s_scalbnl.o math/s_frexpl.o math/
s_ldexpl.o math/s_signbitl.o math/setfpucw.o math/fpu_control.o' > /var/tmp/portage/
glibc-2.3.5/work/build-default-i686-pc-linux-gnu-nptl/math/stamp.oT
mv -f /var/tmp/portage/glibc-2.3.5/work/build-default-i686-pc-linux-gnu-nptl/math/
stamp.oT /var/tmp/portage/glibc-2.3.5/work/build-default-i686-pc-linux-gnu-nptl/math/
stamp.o
i686-pc-linux-gnu-gcc ../sysdeps/ieee754/dbl-64/s_isinf.c -c -std=gnu99 -O2 -Wall -
Winline -Wstrict-prototypes -Wwrite-strings -march=pentium3 -pipe -mpreferred-stack-
boundary=4  -fPIC   -Wno-uninitialized -D__NO_MATH_INLINES -
D__LIBC_INTERNAL_MATH_INLINES -I../include -I. -I/var/tmp/portage/glibc-2.3.5/work/
build-default-i686-pc-linux-gnu-nptl/math -I.. -I../libio -I../nptl -I/var/tmp/portage/glibc-2.3.
5/work/build-default-i686-pc-linux-gnu-nptl -I../sysdeps/i386/elf -I../nptl/sysdeps/unix/
sysv/linux/i386/i686 -I../nptl/sysdeps/unix/sysv/linux/i386 -I../nptl/sysdeps/unix/sysv/linux -
I../nptl/sysdeps/pthread -I../sysdeps/pthread -I../nptl/sysdeps/unix/sysv -I../nptl/sysdeps/
unix -I../nptl/sysdeps/i386/i686 -I../nptl/sysdeps/i386 -I../libidn/sysdeps/unix -I../sysdeps/
unix/sysv/linux/i386 -I../sysdeps/unix/sysv/linux -I../sysdeps/gnu -I../sysdeps/unix/
common -I../sysdeps/unix/mman -I../sysdeps/unix/inet -I../sysdeps/unix/sysv/i386 -I../
sysdeps/unix/sysv -I../sysdeps/unix/i386 -I../sysdeps/unix -I../sysdeps/posix -I../sysdeps/
i386/i686/fpu -I../sysdeps/i386/i686 -I../sysdeps/i386/i486 -I../nptl/sysdeps/i386/i486 -I../
sysdeps/i386/fpu -I../sysdeps/i386 -I../sysdeps/wordsize-32 -I../sysdeps/ieee754/ldbl-96 -
I../sysdeps/ieee754/dbl-64 -I../sysdeps/ieee754/flt-32 -I../sysdeps/ieee754 -I../sysdeps/
generic/elf -I../sysdeps/generic -nostdinc -isystem /usr/lib/gcc/i686-pc-linux-gnu/4.0.1/
include -isystem /usr/include -D_LIBC_REENTRANT -D_LIBC_REENTRANT -include ../
include/libc-symbols.h  -DPIC -DSHARED     -o /var/tmp/portage/glibc-2.3.5/work/build-
default-i686-pc-linux-gnu-nptl/math/s_isinf.os -MD -MP -MF /var/tmp/portage/glibc-2.3.5/
work/build-default-i686-pc-linux-gnu-nptl/math/s_isinf.os.dt -MT /var/tmp/portage/glibc-
2.3.5/work/build-default-i686-pc-linux-gnu-nptl/math/s_isinf.os
../sysdeps/ieee754/dbl-64/s_isinf.c:29: error: 'isinf' aliased to undefined symbol '__isinf'
make[2]: *** [/var/tmp/portage/glibc-2.3.5/work/build-default-i686-pc-linux-gnu-nptl/
math/s_isinf.os] Error 1
make[2]: Leaving directory `/var/tmp/portage/glibc-2.3.5/work/glibc-2.3.5/math'
make[1]: *** [math/subdir_lib] Error 2
make[1]: Leaving directory `/var/tmp/portage/glibc-2.3.5/work/glibc-2.3.5'
make: *** [all] Error 2



I realize that gcc 4x is hard masked. But that doesn't mean somone shouldn't try it so 
we can find existing bugs.


# emerge glibc -pv
[ebuild   R   ] sys-libs/glibc-2.3.5  -build -debug -erandom -hardened (-multilib) +nls 
+nptl +nptlonly +pic -userlocales 

# gcc -v
Using built-in specs.
Target: i686-pc-linux-gnu
Configured with: /var/tmp/portage/gcc-4.0.1/work/gcc-4.0.1/configure --enable-version-
specific-runtime-libs --prefix=/usr --bindir=/usr/i686-pc-linux-gnu/gcc-bin/4.0.1 --
includedir=/usr/lib/gcc/i686-pc-linux-gnu/4.0.1/include --datadir=/usr/share/gcc-data/
i686-pc-linux-gnu/4.0.1 --mandir=/usr/share/gcc-data/i686-pc-linux-gnu/4.0.1/man --
infodir=/usr/share/gcc-data/i686-pc-linux-gnu/4.0.1/info --with-gxx-include-dir=/usr/lib/
gcc/i686-pc-linux-gnu/4.0.1/include/g++-v4 --host=i686-pc-linux-gnu --disable-altivec --
enable-nls --without-included-gettext --with-system-zlib --disable-checking --disable-
werror --disable-libunwind-exceptions --disable-multilib --enable-java-awt=gtk --enable-
languages=c,c++,java,f95 --enable-shared --enable-threads=posix --enable-
__cxa_atexit --enable-clocale=gnu
Thread model: posix
gcc version 4.0.1 (Gentoo 4.0.1)

# emerge info
Portage 2.0.51.22-r1 (default-linux/x86/2005.0, gcc-4.0.1, glibc-2.3.5-r0, 2.6.12-mm2 
i686)
===================================================
==============
System uname: 2.6.12-mm2 i686 Pentium III (Katmai)
Gentoo Base System version 1.6.12
ccache version 2.3 [disabled]
dev-lang/python:     2.3.5
sys-apps/sandbox:    1.2.10
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.5
sys-devel/binutils:  2.16-r1
sys-devel/libtool:   1.5.18-r1
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium3 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.2/share/config /usr/kde/3/
share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /var/bind /var/
qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=pentium3 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks fixpackages sandbox sfperms strict"
GENTOO_MIRRORS="http://ftp.sunet.se/pub/Linux/distributions/gentoo ftp://ftp.ipv6.uni-
muenster.de/pub/linux/distributions/gentoo ftp://trumpetti.atm.tut.fi/gentoo/ ftp://ftp.
uninett.no/pub/linux/Gentoo http://ds.thn.htu.se/linux/gentoo http://mirror.pudas.net/
gentoo ftp://mirror.pudas.net/gentoo"
LANG="en_GB.utf8"
LC_ALL="en_GB.utf8"
MAKEOPTS="-j1"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage_overlay"
SYNC="rsync://vlaai.snt.ipv6.utwente.nl/gentoo-portage"
USE="x86 X aavm accessibility acpi apache2 artworkextra avi bcmath berkdb bitmap-
fonts bzip2 bzlib calendar cdr crypt ctype curl dba dio eds emboss encode esd exif 
extensions fam flac flash foomaticdb fortran ftp gd gdbm gif gmp gnome gnutls gpm 
gstreamer gtk gtk2 gtkhtml hal howl imap imlib ipv6 jabber java javascript jce jpeg junit 
ldap libg++ libwww mad maildir mhash mikmod mime ming mmx motif mozilla mp3 
mpeg msn mysql ncurses nls nntp nptl nptlonly ogg oggvorbis opengl oscar pam pcntl 
pcre pdflib perl php pic png posix python qt quicktime readline samba sasl sdl session 
shared sharedmem simplexml slang sockets spell spl sse ssh ssl svg svga tcltk tcpd 
threads tidy tiff truetype truetype-fonts type1-fonts unicode vorbis xml xml2 xmlrpc 
xmms xprint xsl xv yahoo zlib userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LDFLAGS, LINGUAS
Comment 1 Mark Loeser (RETIRED) gentoo-dev 2005-07-11 10:26:41 UTC
glibc-2.3.5 never compiled with gcc-4.  Use glibc-2.3.5.20050421.
Comment 2 Forza 2005-07-11 10:31:24 UTC
(In reply to comment #1)
> glibc-2.3.5 never compiled with gcc-4.  Use glibc-2.3.5.20050421.

Oh. I did not realize. Thanks.
Comment 3 Jakub Moc (RETIRED) gentoo-dev 2005-07-24 11:02:34 UTC
*** Bug 100140 has been marked as a duplicate of this bug. ***
Comment 4 Caleb Tennis (RETIRED) gentoo-dev 2005-07-26 08:00:46 UTC
Can you put a blocker in the ebuild so we won't keep running into this? 
Comment 5 Caleb Tennis (RETIRED) gentoo-dev 2005-07-26 08:01:18 UTC
As an FYI, 2.3.5 compiled here on gcc 4.0.1 just fine. 
Comment 6 Mark Loeser (RETIRED) gentoo-dev 2005-07-26 08:10:41 UTC
(In reply to comment #5)
> As an FYI, 2.3.5 compiled here on gcc 4.0.1 just fine. 

The snapshot?
Comment 7 Jakub Moc (RETIRED) gentoo-dev 2005-10-07 09:45:37 UTC
*** Bug 108397 has been marked as a duplicate of this bug. ***