Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 53133 - glibc-2.3.3_pre20040529 failed to compile: conflicting types for `fd_set'
Summary: glibc-2.3.3_pre20040529 failed to compile: conflicting types for `fd_set'
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GCC Porting (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Please assign to toolchain
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-06-06 07:11 UTC by Alexander Brüning
Modified: 2004-06-09 02:48 UTC (History)
0 users

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 Alexander Brüning 2004-06-06 07:11:38 UTC
When I try to emerge -U world, I get errors about glibc-2.3.3_pre20040529 failing to compile because something is wrong with fd_set.

Reproducible: Always
Steps to Reproduce:




Portage 2.0.50-r7 (default-amd64-2004.0, gcc-3.3.3, glibc-2.3.2-r9, 2.6.5-gentoo-r1)
=================================================================
System uname: 2.6.5-gentoo-r1 x86_64 4
Gentoo Base System version 1.4.15
ccache version 2.3 [enabled]
Autoconf: sys-devel/autoconf-2.58-r1
Automake: sys-devel/automake-1.8.3
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CFLAGS="-O2"
CHOST="x86_64-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3.2/share/config /usr/kde/3/share/config /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"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="ftp://mirrors.sec.informatik.tu-darmstadt.de/gentoo/
http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/
http://ftp.gentoo.skynet.be/pub/gentoo/
http://mirrors.sec.informatik.tu-darmstadt.de/gentoo/ http://128.213.5.34/gentoo/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="3ds X aalib acl acpi acpi4linux alsa amd64 apm ardour-ksi arts audiofile
avi bidi bindist bonobo caps cddb cdr chroot cjk crypt curl dedicated dnd dvd
dvdr editor encode esd faad fastcgi fbcon fbdev fftw flac flash foomaticdb
foreign-package fusion gd gdbm ggi gif gimpprint gpm gstreamer gtk gtk2 gtkhtml
guile hbci icq imagemagick imap imlib imlib2 ipv6 javascript joystick jpeg ldap
libg++ libsamplerate libwww mad memlimit mikmod mldonkeypango mng mono motif
mozilla moznoirc mozsvg mpeg mpeg4 mule multilib music ncurses net nls nocardbus
nocd nogcj nowin nptl nvidia offensive oggvorbis openal opengl oscar oss pam
parse-clocks passfile pdflib perl physfs plotutils png ppds pthreads python
quicktime readline samba scanner sdk sdl slang slp snmp speex spell ssl
stencil-buffer svg tcltk tcpd theora tiff timidity tools transcode truetype usb
videos wmf wxwin wxwindows xchattext xine xinerama xml xml2 xmms xosd xv xvid zlib"
Comment 1 Alexander Brüning 2004-06-06 07:14:00 UTC
Output:

../misc/sys/select.h:78: error: conflicting types for `fd_set'
/lib/modules/2.6.5-gentoo-r1/build/include/linux/types.h:22: error: previous declaration of `fd_set'
make[2]: *** [/var/tmp/portage/glibc-2.3.3_pre20040529/work/glibc-2.3.2/buildhere/tcb-offsets.h] Error 1
make[2]: Leaving directory `/var/tmp/portage/glibc-2.3.3_pre20040529/work/glibc-2.3.2/csu'
make[1]: *** [csu/subdir_lib] Error 2
make[1]: Leaving directory `/var/tmp/portage/glibc-2.3.3_pre20040529/work/glibc-2.3.2'
make: *** [all] Error 2

!!! ERROR: sys-libs/glibc-2.3.3_pre20040529 failed.
!!! Function src_compile, Line 568, Exitcode 2
!!! (no error message)
Comment 2 Alexander Brüning 2004-06-08 11:44:15 UTC
With the new version of Portage (?) I get another error (same line, same exitcode);

clude -isystem /lib/modules/2.6.5-gentoo-r1/build/include -D_LIBC_REENTRANT -D_LIBC_REENTRANT -include ../include/libc-symbols.h       -DHAVE_INITFINI -DASSEMBLER  -I/var/tmp/portage/glibc-2.3.3_pre20040529/work/glibc-2.3.2/buildhere/csu/.  -Wa,--noexecstack  -g0  -o /var/tmp/portage/glibc-2.3.3_pre20040529/work/glibc-2.3.2/buildhere/csu/crtn.o
make[2]: *** [/var/tmp/portage/glibc-2.3.3_pre20040529/work/glibc-2.3.2/buildhere/tcb-offsets.h] Error 1
make[2]: Leaving directory `/var/tmp/portage/glibc-2.3.3_pre20040529/work/glibc-2.3.2/csu'
make[1]: *** [csu/subdir_lib] Error 2
make[1]: Leaving directory `/var/tmp/portage/glibc-2.3.3_pre20040529/work/glibc-2.3.2'
make: *** [all] Error 2

!!! ERROR: sys-libs/glibc-2.3.3_pre20040529 failed.
!!! Function src_compile, Line 568, Exitcode 2
!!! (no error message)
Comment 3 Travis Tilley (RETIRED) gentoo-dev 2004-06-09 02:48:23 UTC
you're using nptl, but not the 2.6.6 linux-headers... so technically this bug is invalid. install the 2.6.6 linux-headers if you want to use nptl... the headers from your kernel just wont work most of the time.