Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 94879 - busybox 1.00-r4 compile breaks on emerge (when using glibc < 2.3.5)
Summary: busybox 1.00-r4 compile breaks on emerge (when using glibc < 2.3.5)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High blocker (vote)
Assignee: Embedded Gentoo Team
URL:
Whiteboard:
Keywords:
: 94903 94945 95077 (view as bug list)
Depends on:
Blocks:
 
Reported: 2005-06-02 20:22 UTC by Waldo
Modified: 2005-06-06 05:57 UTC (History)
10 users (show)

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


Attachments
busybox-1.00-r4.ebuild (busybox-1.00-r4.ebuild,6.64 KB, text/plain)
2005-06-03 19:18 UTC, SpanKY
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Waldo 2005-06-02 20:22:40 UTC
The strange thing is all of a sudden busybox is building at all-- I emerged sync
and emerge -Dup world and there it was.

Anyway, it's building and the last bit looks liek this.  I dind't notice a
particular compilation error, but anyway..

compiling...compiling... then...

x86_64-pc-linux-gnu-gcc -static -o busybox -Wl,--start-group
/var/tmp/portage/busybox-1.00-r4/work/busybox-1.00/applets/applets.a
/var/tmp/portage/busybox-1.00-r4/work/busybox-1.00/archival/archival.a
/var/tmp/portage/busybox-1.00-r4/work/busybox-1.00/archival/libunarchive/libunarchive.a
/var/tmp/portage/busybox-1.00-r4/work/busybox-1.00/coreutils/coreutils.a
/var/tmp/portage/busybox-1.00-r4/work/busybox-1.00/console-tools/console-tools.a
/var/tmp/portage/busybox-1.00-r4/work/busybox-1.00/debianutils/debianutils.a
/var/tmp/portage/busybox-1.00-r4/work/busybox-1.00/editors/editors.a
/var/tmp/portage/busybox-1.00-r4/work/busybox-1.00/findutils/findutils.a
/var/tmp/portage/busybox-1.00-r4/work/busybox-1.00/init/init.a
/var/tmp/portage/busybox-1.00-r4/work/busybox-1.00/miscutils/miscutils.a
/var/tmp/portage/busybox-1.00-r4/work/busybox-1.00/modutils/modutils.a
/var/tmp/portage/busybox-1.00-r4/work/busybox-1.00/networking/networking.a
/var/tmp/portage/busybox-1.00-r4/work/busybox-1.00/networking/libiproute/libiproute.a
/var/tmp/portage/busybox-1.00-r4/work/busybox-1.00/networking/udhcp/udhcp.a
/var/tmp/portage/busybox-1.00-r4/work/busybox-1.00/procps/procps.a
/var/tmp/portage/busybox-1.00-r4/work/busybox-1.00/loginutils/loginutils.a
/var/tmp/portage/busybox-1.00-r4/work/busybox-1.00/shell/shell.a
/var/tmp/portage/busybox-1.00-r4/work/busybox-1.00/sysklogd/sysklogd.a
/var/tmp/portage/busybox-1.00-r4/work/busybox-1.00/util-linux/util-linux.a
/var/tmp/portage/busybox-1.00-r4/work/busybox-1.00/libpwdgrp/libpwdgrp.a
/var/tmp/portage/busybox-1.00-r4/work/busybox-1.00/coreutils/libcoreutils/libcoreutils.a
/var/tmp/portage/busybox-1.00-r4/work/busybox-1.00/libbb/libbb.a
/var/tmp/portage/busybox-1.00-r4/work/busybox-1.00/e2fsprogs/e2fsprogs.a -lm
-lcrypt -lcrypt -Wl,--end-group

!!! ERROR: sys-apps/busybox-1.00-r4 failed.
!!! Function src_compile, Line 139, Exitcode 2
!!! (no error message)
!!! If you need support, post the topmost build error, NOT this status message.




Reproducible: Always
Steps to Reproduce:
1.  emerge sync && emerge -Dup world
2.  Oh, look.. it wants to build busybox.. okay...
3.  emerge -Du world


Actual Results:  
4.  build crashes as described above...


# emerge info
Portage 2.0.51.19 (default-linux/amd64/2005.0, gcc-3.4.3,
glibc-2.3.4.20041102-r1, 2.6.12-rc4 x86_64)
=================================================================
System uname: 2.6.12-rc4 x86_64 AMD Athlon(tm) 64 Processor 3500+
Gentoo Base System version 1.4.16
Python:              dev-lang/python-2.3.5 [2.3.5 (#1, May 11 2005, 18:09:59)]
distcc 2.18.3 x86_64-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.3 [enabled]
dev-lang/python:     2.3.5
sys-apps/sandbox:    [Not Present]
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.5, 1.4_p6, 1.8.5-r3, 1.9.5, 1.7.9-r1, 1.6.3
sys-devel/binutils:  2.15.92.0.2-r10
sys-devel/libtool:   1.5.16
virtual/os-headers:  2.6.8.1-r4
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CFLAGS="-march=k8 -pipe -O2 -mtune=k8 -ftracer -fprefetch-loop-arrays
-funroll-loops"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config
/var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=k8 -pipe -O2 -mtune=k8 -ftracer -fprefetch-loop-arrays
-funroll-loops"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms strict"
GENTOO_MIRRORS="rsync://csociety-ftp.ecn.purdue.edu/pub/gentoo/
http://mirror.espri.arizona.edu/gentoo/
ftp://csociety-ftp.ecn.purdue.edu/pub/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="X a52 aac acpi aim alsa amd64 avi berkdb bitmap-fonts cddb cdr crypt cups
curl dvd dvdr eds esd faad fam ffmpeg flac font-server foomatic foomaticdb
fortran gif gimpprint gnome gphoto2 gpm gstreamer gtk gtk2 gtkhtml hal
imagemagick imlib ipv6 java jp2 jpeg junit libgda libsndfile libwww lzw lzw-tiff
mad matroska mozilla mp3 mpeg ncurses nls nptl nptlonly nvidia offensive ogg
oggvorbis openal opengl oscar oss pam perl png ppds python quicktime readline
sdl ssl tcltk tcpd theora tiff tokenizer truetype truetype-fonts type1-fonts usb
userlocales vorbis wxwindows xine xinerama xml2 xpm xrandr xv xvid yahoo zlib
userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY
Comment 1 Leung Ki Chi 2005-06-02 22:25:29 UTC
Exact same build error as original reporter, with following emerge --info: 
 
Portage 2.0.51.19 (default-linux/x86/2005.0, gcc-3.3.5-20050130, 
glibc-2.3.4.20041102-r1, 2.6.11-gentoo-r9 i686) 
================================================================= 
System uname: 2.6.11-gentoo-r9 i686 Intel(R) Pentium(R) 4 CPU 1.70GHz 
Gentoo Base System version 1.4.16 
Python:              dev-lang/python-2.3.5 [2.3.5 (#1, May 26 2005, 17:41:44)] 
dev-lang/python:     2.3.5 
sys-apps/sandbox:    [Not Present] 
sys-devel/autoconf:  2.13, 2.59-r6 
sys-devel/automake:  1.4_p6, 1.5, 1.7.9-r1, 1.8.5-r3, 1.6.3, 1.9.5 
sys-devel/binutils:  2.15.92.0.2-r10 
sys-devel/libtool:   1.5.16 
virtual/os-headers:  2.6.8.1-r2 
ACCEPT_KEYWORDS="x86" 
AUTOCLEAN="yes" 
CFLAGS="-mcpu=pentium4 -O2 -pipe -fomit-frame-pointer" 
CHOST="i686-pc-linux-gnu" 
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/qmail/control" 
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" 
CXXFLAGS="-mcpu=pentium4 -O2 -pipe -fomit-frame-pointer" 
DISTDIR="/usr/portage/distfiles" 
FEATURES="autoaddcvs autoconfig buildpkg ccache distlocks fixpackages sandbox 
sfperms strict userpriv usersandbox" 
GENTOO_MIRRORS="http://mirror.averse.net/pub/gentoo 
http://distfiles.gentoo.org" 
MAKEOPTS="-j2" 
PKGDIR="/usr/portage/packages" 
PORTAGE_TMPDIR="/var/tmp" 
PORTDIR="/usr/portage" 
SYNC="rsync://mirror.averse.net/gentoo-portage" 
USE="x86 X alsa arts berkdb bitmap-fonts cjk crypt fam gdbm gif gpm imlib 
ithreads jpeg kde kdeenablefinal kdexdeltas mmx mp3 ncurses nls nptl nptlonly 
ogg oggvorbis opengl oss png qt readline sdl spell sse ssl threads truetype 
truetype-fonts type1-fonts unicode vorbis xine xv zlib userland_GNU 
kernel_linux elibc_glibc" 
Unset:  ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, 
PORTDIR_OVERLAY 
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2005-06-02 23:15:53 UTC
Broken here:

Portage 2.0.51.19 (default-linux/x86/2005.0, gcc-3.3.5-20050130,
glibc-2.3.4.20041102-r1, 2.6.11-gentoo-r9 i686)
=================================================================
System uname: 2.6.11-gentoo-r9 i686 AMD Athlon(tm) XP 2200+
Gentoo Base System version 1.6.12
Python:              dev-lang/python-2.3.5 [2.3.5 (#1, May  4 2005, 21:54:00)]
ccache version 2.3 [enabled]
dev-lang/python:     2.3.5
sys-apps/sandbox:    [Not Present]
sys-devel/autoconf:  2.59-r6, 2.13
sys-devel/automake:  1.7.9-r1, 1.8.5-r3, 1.5, 1.4_p6, 1.6.3, 1.9.5
sys-devel/binutils:  2.15.92.0.2-r10
sys-devel/libtool:   1.5.16
virtual/os-headers:  2.6.8.1-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O3 -march=athlon-xp -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CXXFLAGS="-O3 -march=athlon-xp -pipe -fomit-frame-pointer"
FEATURES="autoaddcvs autoconfig ccache collision-protect distlocks makecheck
sandbox sfperms strict userpriv usersandbox"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1"
LINGUAS="en"
MAKEOPTS="-j2"

But it compiles on another box with gcc-3.4.4:

Portage 2.0.51.19 (default-linux/x86/2005.0, gcc-3.4.4, glibc-2.3.5-r0,
2.6.11-gentoo-r9 i686)
=================================================================
System uname: 2.6.11-gentoo-r9 i686 AMD Sempron(tm)
Gentoo Base System version 1.6.12
Python:              dev-lang/python-2.3.5 [2.3.5 (#1, May 31 2005, 07:16:09)]
ccache version 2.3 [enabled]
dev-lang/python:     2.3.5
sys-apps/sandbox:    [Not Present]
sys-devel/autoconf:  2.59-r6, 2.13
sys-devel/automake:  1.7.9-r1, 1.8.5-r3, 1.5, 1.4_p6, 1.6.3, 1.9.5
sys-devel/binutils:  2.15.92.0.2-r10
sys-devel/libtool:   1.5.16
virtual/os-headers:  2.6.8.1-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-march=athlon-xp -O2 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CXXFLAGS="-march=athlon-xp -O2 -pipe -fomit-frame-pointer"
FEATURES="autoaddcvs autoconfig ccache collision-protect distlocks sandbox
sfperms strict userpriv usersandbox"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1"
LINGUAS="en"
MAKEOPTS="-j2"
Comment 3 Markus Rothe (RETIRED) gentoo-dev 2005-06-02 23:38:57 UTC
I can confirm that this happens on ppc64, too. Also I'm clueless who the hell
has marked that version stable on ppc64 without a changelog entry! *angry*

btw: busybox-1.00-r1 compiles and seems to work.
Comment 4 Jeroen Roovers (RETIRED) gentoo-dev 2005-06-03 00:58:06 UTC
Seems to be the same problem here:

----------------------------------------------------------------------
i586-pc-linux-gnu-ar -ro /var/tmp/portage/busybox-1.00-r4/work/busybox-1.00/
e2fsprogs/e2fsprogs.a /var/tmp/portage/busybox-1.00-r4/work/busybox-1.00/
e2fsprogs/chattr.o /var/tmp/portage/busybox-1.00-r4/work/busybox-1.00/e2fsprogs/
e2p/fgetsetflags.o /var/tmp/portage/busybox-1.00-r4/work/busybox-1.00/e2fsprogs/
e2p/fgetsetversion.o /var/tmp/portage/busybox-1.00-r4/work/busybox-1.00/
e2fsprogs/e2p/pf.o /var/tmp/portage/busybox-1.00-r4/work/busybox-1.00/e2fsprogs/
e2p/iod.o /var/tmp/portage/busybox-1.00-r4/work/busybox-1.00/e2fsprogs/lsattr.o 
/var/tmp/portage/busybox-1.00-r4/work/busybox-1.00/e2fsprogs/e2p/fgetsetflags.o 
/var/tmp/portage/busybox-1.00-r4/work/busybox-1.00/e2fsprogs/e2p/fgetsetversion.
o /var/tmp/portage/busybox-1.00-r4/work/busybox-1.00/e2fsprogs/e2p/pf.o /var/
tmp/portage/busybox-1.00-r4/work/busybox-1.00/e2fsprogs/e2p/iod.o
i586-pc-linux-gnu-ar: creating /var/tmp/portage/busybox-1.00-r4/work/busybox-1.
00/e2fsprogs/e2fsprogs.a
i586-pc-linux-gnu-gcc -s -Wl,-warn-common -o busybox -Wl,--start-group /var/tmp/
portage/busybox-1.00-r4/work/busybox-1.00/applets/applets.a /var/tmp/portage/
busybox-1.00-r4/work/busybox-1.00/archival/archival.a /var/tmp/portage/busybox-
1.00-r4/work/busybox-1.00/archival/libunarchive/libunarchive.a /var/tmp/portage/
busybox-1.00-r4/work/busybox-1.00/coreutils/coreutils.a /var/tmp/portage/
busybox-1.00-r4/work/busybox-1.00/console-tools/console-tools.a /var/tmp/
portage/busybox-1.00-r4/work/busybox-1.00/debianutils/debianutils.a /var/tmp/
portage/busybox-1.00-r4/work/busybox-1.00/editors/editors.a /var/tmp/portage/
busybox-1.00-r4/work/busybox-1.00/findutils/findutils.a /var/tmp/portage/
busybox-1.00-r4/work/busybox-1.00/init/init.a /var/tmp/portage/busybox-1.00-r4/
work/busybox-1.00/miscutils/miscutils.a /var/tmp/portage/busybox-1.00-r4/work/
busybox-1.00/modutils/modutils.a /var/tmp/portage/busybox-1.00-r4/work/busybox-
1.00/networking/networking.a /var/tmp/portage/busybox-1.00-r4/work/busybox-1.00/
networking/libiproute/libiproute.a /var/tmp/portage/busybox-1.00-r4/work/
busybox-1.00/networking/udhcp/udhcp.a /var/tmp/portage/busybox-1.00-r4/work/
busybox-1.00/procps/procps.a /var/tmp/portage/busybox-1.00-r4/work/busybox-1.00/
loginutils/loginutils.a /var/tmp/portage/busybox-1.00-r4/work/busybox-1.00/
shell/shell.a /var/tmp/portage/busybox-1.00-r4/work/busybox-1.00/sysklogd/
sysklogd.a /var/tmp/portage/busybox-1.00-r4/work/busybox-1.00/util-linux/util-
linux.a /var/tmp/portage/busybox-1.00-r4/work/busybox-1.00/libpwdgrp/libpwdgrp.a 
/var/tmp/portage/busybox-1.00-r4/work/busybox-1.00/coreutils/libcoreutils/
libcoreutils.a /var/tmp/portage/busybox-1.00-r4/work/busybox-1.00/libbb/libbb.a 
/var/tmp/portage/busybox-1.00-r4/work/busybox-1.00/e2fsprogs/e2fsprogs.a -lm -
lcrypt -lcrypt -Wl,--end-group
i586-pc-linux-gnu-strip --remove-section=.note --remove-section=.comment busybox
i586-pc-linux-gnu-gcc -static -o busybox -Wl,--start-group /var/tmp/portage/
busybox-1.00-r4/work/busybox-1.00/applets/applets.a /var/tmp/portage/busybox-1.
00-r4/work/busybox-1.00/archival/archival.a /var/tmp/portage/busybox-1.00-r4/
work/busybox-1.00/archival/libunarchive/libunarchive.a /var/tmp/portage/busybox-
1.00-r4/work/busybox-1.00/coreutils/coreutils.a /var/tmp/portage/busybox-1.00-
r4/work/busybox-1.00/console-tools/console-tools.a /var/tmp/portage/busybox-1.
00-r4/work/busybox-1.00/debianutils/debianutils.a /var/tmp/portage/busybox-1.00-
r4/work/busybox-1.00/editors/editors.a /var/tmp/portage/busybox-1.00-r4/work/
busybox-1.00/findutils/findutils.a /var/tmp/portage/busybox-1.00-r4/work/
busybox-1.00/init/init.a /var/tmp/portage/busybox-1.00-r4/work/busybox-1.00/
miscutils/miscutils.a /var/tmp/portage/busybox-1.00-r4/work/busybox-1.00/
modutils/modutils.a /var/tmp/portage/busybox-1.00-r4/work/busybox-1.00/
networking/networking.a /var/tmp/portage/busybox-1.00-r4/work/busybox-1.00/
networking/libiproute/libiproute.a /var/tmp/portage/busybox-1.00-r4/work/
busybox-1.00/networking/udhcp/udhcp.a /var/tmp/portage/busybox-1.00-r4/work/
busybox-1.00/procps/procps.a /var/tmp/portage/busybox-1.00-r4/work/busybox-1.00/
loginutils/loginutils.a /var/tmp/portage/busybox-1.00-r4/work/busybox-1.00/
shell/shell.a /var/tmp/portage/busybox-1.00-r4/work/busybox-1.00/sysklogd/
sysklogd.a /var/tmp/portage/busybox-1.00-r4/work/busybox-1.00/util-linux/util-
linux.a /var/tmp/portage/busybox-1.00-r4/work/busybox-1.00/libpwdgrp/libpwdgrp.a 
/var/tmp/portage/busybox-1.00-r4/work/busybox-1.00/coreutils/libcoreutils/
libcoreutils.a /var/tmp/portage/busybox-1.00-r4/work/busybox-1.00/libbb/libbb.a 
/var/tmp/portage/busybox-1.00-r4/work/busybox-1.00/e2fsprogs/e2fsprogs.a -lm -
lcrypt -lcrypt -Wl,--end-group

!!! ERROR: sys-apps/busybox-1.00-r4 failed.
!!! Function src_compile, Line 139, Exitcode 2
!!! (no error message)
----------------------------------------------------------------------

emerge info:

----------------------------------------------------------------------
Gentoo Base System version 1.4.16
Portage 2.0.51.19 (default-linux/x86/2005.0, gcc-3.3.5-20050130, glibc-2.3.4.
20041102-r1, 2.6.11-gentoo-r8-JeR i586)
=================================================================
System uname: 2.6.11-gentoo-r8-JeR i586 AMD-K6(tm) 3D processor
Python:              dev-lang/python-2.3.5 [2.3.5 (#1, May  4 2005, 22:31:17)]
dev-lang/python:     2.3.5
sys-apps/sandbox:    [Not Present]
sys-devel/autoconf:  2.59-r6, 2.13
sys-devel/automake:  1.7.9-r1, 1.8.5-r3, 1.5, 1.4_p6, 1.6.3, 1.9.5
sys-devel/binutils:  2.15.92.0.2-r10
sys-devel/libtool:   1.5.16
virtual/os-headers:  2.6.8.1-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -march=k6-2 -fomit-frame-pointer -pipe"
CHOST="i586-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/
X11/xkb /usr/lib/fax /usr/share/config /var/qmail/control /var/spool/fax/etc"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=k6-2 -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig distlocks notitles sandbox sfperms strict"
GENTOO_MIRRORS="http://gd.tuwien.ac.at/opsys/linux/gentoo/ http://ftp.uni-
erlangen.de/pub/mirrors/gentoo http://pandemonium.tiscali.de/pub/gentoo/ http://
ftp.easynet.nl/mirror/gentoo/ ftp://mirror.scarlet-internet.nl/pub/gentoo http:/
/gentoo.blueyonder.co.uk"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/keeps/gentoo/portage/local"
SYNC="rsync://rsync.de.gentoo.org/gentoo-portage"
USE="x86 3dnow X aac alsa apache2 apm arts avi bash-completion berkdb bitmap-
fonts chroot crypt cups curl dga directfb emboss encode esd fbcon flash 
foomaticdb fortran gdbm gif gimpprint glut gpm gtk gtk2 imagemagick imlib 
insecure-drivers ipv6 jpeg kerberos krb4 lcms libcaca libg++ libwww lzo mad 
matroska matrox mikmod mmx mmxext mng motif mozilla mozsvg mozxmlterm mp3 
multitarget ncurses network nls nptl nptlonly offensive ogg oggvorbis opengl oss 
pam pdflib perl physfs pic png ppds python qt quicktime readline real rtc samba 
scanner screenshot sdl server sftplogging slang spell ssl svg svga sysfs tcpd 
theora threads tiff truetype truetype-fonts type1-fonts unicode usb userlocales 
v4l v4l2 vorbis winbind wmf xanim xml xml2 xmms xprint xv xvid zlib userland_GNU 
kernel_linux elibc_glibc"
Unset:  ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS
----------------------------------------------------------------------
Comment 5 cazzantonio 2005-06-03 01:49:38 UTC
The same thing happens on my athlon-xp with this flags:
CFLAGS="-O2 -march=i686 -mmmx -msse -mfpmath=sse -pipe -frename-registers
-ffast-math"
LDFLAGS="-Wl,-O1"
Comment 6 Bruno Redondi 2005-06-03 02:02:27 UTC
The same thing happens on my net: 
 
1) quad xeon 
Portage 2.0.51.19 (!/usr/portage/overlay/profiles/arlinux, gcc-3.3.5-20050130, 
glibc-2.3.4.20041102-r1, 2.6.11-gentoo-r8 i686) 
================================================================= 
System uname: 2.6.11-gentoo-r8 i686 Pentium III (Katmai) 
Gentoo Base System version 1.4.16 
Python:              dev-lang/python-2.3.5 [2.3.5 (#1, May 31 2005, 11:14:56)] 
ccache version 2.3 [enabled] 
dev-lang/python:     2.3.5 
sys-apps/sandbox:    [Not Present] 
sys-devel/autoconf:  2.13, 2.59-r6 
sys-devel/automake:  1.9.5, 1.7.9-r1, 1.4_p6, 1.5, 1.6.3, 1.8.5-r3 
sys-devel/binutils:  2.15.92.0.2-r10 
sys-devel/libtool:   1.5.16 
virtual/os-headers:  2.6.8.1-r2 
ACCEPT_KEYWORDS="x86" 
AUTOCLEAN="yes" 
CFLAGS="-march=pentium3 -O3 -pipe -fomit-frame-pointer" 
CHOST="i686-altarisoluzione-linux-gnu" 
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /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="-march=pentium3 -O3 -pipe -fomit-frame-pointer" 
DISTDIR="/usr/portage/distfiles" 
FEATURES="autoaddcvs autoconfig ccache distlocks fixpackages sandbox sfperms 
strict" 
GENTOO_MIRRORS="http://distfiles.gentoo.org 
http://distro.ibiblio.org/pub/Linux/distributions/gentoo" 
MAKEOPTS="-j5" 
PKGDIR="/usr/portage/packages" 
PORTAGE_TMPDIR="/var/tmp" 
PORTDIR="/usr/portage" 
PORTDIR_OVERLAY="/usr/portage/overlay" 
SYNC="rsync://rsync.altarisoluzione.com/gentoo-portage" 
USE="x86 X acl alsa apm arts artswrappersuid avi berkdb bitmap-fonts bonobo 
cdparanoia cdr crypt cups curl dga emboss encode esd fam flac foomaticdb 
fortran gd gdbm gif gpm gtk gtk2 gtkhtml guile imlib ipv6 java jikes jpeg junit 
kde libg++ libwww mad mailwrapper mbox mikmod mmx mng motif mozilla mp3 mpeg 
mysql nas ncurses nls nptl nptlonly ogg oggvorbis opengl oss pam pda pdflib 
perl png pnp python qt quicktime readline samba sdl slang spell sse ssl tcpd 
tiff truetype truetype-fonts type1-fonts usb vorbis xine xinerama xml xml2 xmms 
xv zlib userland_GNU kernel_linux elibc_glibc" 
Unset:  ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS 
 
2) dual pIII 
Portage 2.0.51.19 (!/usr/portage/overlay/profiles/arlinux, gcc-3.3.5-20050130, 
glibc-2.3.4.20041102-r1, 2.6.11-gentoo-r8 i686) 
================================================================= 
System uname: 2.6.11-gentoo-r8 i686 Pentium III (Katmai) 
Gentoo Base System version 1.4.16 
Python:              dev-lang/python-2.3.5 [2.3.5 (#1, May 31 2005, 09:54:59)] 
ccache version 2.3 [enabled] 
dev-lang/python:     2.3.5 
sys-apps/sandbox:    [Not Present] 
sys-devel/autoconf:  2.13, 2.59-r6 
sys-devel/automake:  1.9.5, 1.6.3, 1.5, 1.4_p6, 1.7.9-r1, 1.8.5-r3 
sys-devel/binutils:  2.15.92.0.2-r10 
sys-devel/libtool:   1.5.16 
virtual/os-headers:  2.6.8.1-r2 
ACCEPT_KEYWORDS="x86" 
AUTOCLEAN="yes" 
CFLAGS="-march=pentium3 -O3 -pipe -fomit-frame-pointer" 
CHOST="i686-altarisoluzione-linux-gnu" 
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/bind /var/qmail/control" 
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" 
CXXFLAGS="-march=pentium3 -O3 -pipe -fomit-frame-pointer" 
DISTDIR="/usr/portage/distfiles" 
FEATURES="autoaddcvs autoconfig ccache distlocks fixpackages sandbox sfperms 
strict" 
GENTOO_MIRRORS="http://distfiles.gentoo.org 
http://distro.ibiblio.org/pub/Linux/distributions/gentoo" 
MAKEOPTS="-j3" 
PKGDIR="/usr/portage/packages" 
PORTAGE_TMPDIR="/var/tmp" 
PORTDIR="/usr/portage" 
PORTDIR_OVERLAY="/usr/portage/overlay" 
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" 
USE="x86 X acl apm arts artswrappersuid avi berkdb bitmap-fonts crypt cups curl 
dga emboss encode foomaticdb fortran gd gdbm gif gpm gtk2 imlib ipv6 java jikes 
jpeg libg++ libwww mad mailwrapper mbox mikmod milter mmx mng motif mp3 mpeg 
ncurses nls nptl nptlonly opengl oss pam pdflib perl png pnp python quicktime 
readline sasl sdl spell sse ssl tcpd tiff truetype truetype-fonts type1-fonts 
usb xinerama xml2 xmms xv zlib userland_GNU kernel_linux elibc_glibc" 
Unset:  ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS 
 
3) celeron 
Portage 2.0.51.19 (!/usr/portage/overlay/profiles/arlinux, gcc-3.3.5-20050130, 
glibc-2.3.4.20041102-r1, 2.6.11-gentoo-r8 i686) 
================================================================= 
System uname: 2.6.11-gentoo-r8 i686 Intel(R) Celeron(R) CPU 2.40GHz 
Gentoo Base System version 1.4.16 
Python:              dev-lang/python-2.3.5 [2.3.5 (#1, May 31 2005, 09:47:27)] 
ccache version 2.3 [enabled] 
dev-lang/python:     2.3.5 
sys-apps/sandbox:    [Not Present] 
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.15.92.0.2-r10 
sys-devel/libtool:   1.5.16 
virtual/os-headers:  2.6.8.1-r2 
ACCEPT_KEYWORDS="x86" 
AUTOCLEAN="yes" 
CFLAGS="-march=pentium4 -O3 -pipe -fomit-frame-pointer" 
CHOST="i686-altarisoluzione-linux-gnu" 
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control" 
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" 
CXXFLAGS="-march=pentium4 -O3 -pipe -fomit-frame-pointer" 
DISTDIR="/usr/portage/distfiles" 
FEATURES="autoaddcvs autoconfig ccache distlocks fixpackages sandbox sfperms 
strict" 
GENTOO_MIRRORS="http://distfiles.gentoo.org 
http://distro.ibiblio.org/pub/Linux/distributions/gentoo" 
MAKEOPTS="-j2" 
PKGDIR="/usr/portage/packages" 
PORTAGE_TMPDIR="/var/tmp" 
PORTDIR="/usr/portage" 
PORTDIR_OVERLAY="/usr/portage/overlay" 
SYNC="rsync://giubba.mediglia.altarisoluzione.lan/gentoo-portage" 
USE="x86 acl alsa apm arts artswrappersuid avi berkdb bitmap-fonts crypt cups 
curl dga dgav emboss encode foomaticdb fortran gd gdbm gif gpm gtk gtk2 imlib 
ipv6 jpeg kde libg++ libwww mad mailwrapper mbox mikmod mmx mng motif mp3 mpeg 
ncurses nls nptl nptlonly oggvorbis opengl oss pam pdflib perl png pnp python 
qt quicktime readline sdl spell sse sse2 ssl tcpd tiff truetype truetype-fonts 
type1-fonts usb xinerama xml2 xmms xv zlib userland_GNU kernel_linux 
elibc_glibc" 
Unset:  ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS 
 
4) Celeron (Coppermine) 
Portage 2.0.51.19 (!/usr/portage/overlay/profiles/arlinux, gcc-3.3.5-20050130, 
glibc-2.3.4.20041102-r1, 2.6.11-gentoo-r8 i686) 
================================================================= 
System uname: 2.6.11-gentoo-r8 i686 Celeron (Coppermine) 
Gentoo Base System version 1.4.16 
Python:              dev-lang/python-2.3.5 [2.3.5 (#1, May 31 2005, 11:08:14)] 
ccache version 2.3 [enabled] 
dev-lang/python:     2.3.5 
sys-apps/sandbox:    [Not Present] 
sys-devel/autoconf:  2.13, 2.59-r6 
sys-devel/automake:  1.9.5, 1.5, 1.7.9-r1, 1.6.3, 1.4_p6, 1.8.5-r3 
sys-devel/binutils:  2.15.92.0.2-r10 
sys-devel/libtool:   1.5.16 
virtual/os-headers:  2.6.8.1-r2 
ACCEPT_KEYWORDS="x86" 
AUTOCLEAN="yes" 
CFLAGS="-march=pentium3 -O3 -pipe -fomit-frame-pointer" 
CHOST="i686-altarisoluzione-linux-gnu" 
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control" 
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" 
CXXFLAGS="-march=pentium3 -O3 -pipe -fomit-frame-pointer" 
DISTDIR="/usr/portage/distfiles" 
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms strict" 
GENTOO_MIRRORS="http://distfiles.gentoo.org 
http://distro.ibiblio.org/pub/Linux/distributions/gentoo" 
MAKEOPTS="-j2" 
PKGDIR="/usr/portage/packages" 
PORTAGE_TMPDIR="/var/tmp" 
PORTDIR="/usr/portage" 
PORTDIR_OVERLAY="/usr/portage/overlay" 
SYNC="rsync://rsync.altarisoluzione.com/gentoo-portage" 
USE="x86 X acl alsa apm arts artswrappersuid avi berkdb bitmap-fonts cdparanoia 
crypt cups curl dga emboss encode esd fam flac foomaticdb fortran gdbm gif gpm 
gtk gtk2 guile imlib ipv6 java jikes jpeg junit kde libg++ libwww mad 
mailwrapper mbox mikmod mmx mng motif mozilla mp3 mpeg nas ncurses nls nptl 
nptlonly ogg oggvorbis opengl oss pam pcmcia pda pdflib perl png pnp python qt 
quicktime readline samba sdl slang spell sse ssl tcltk tcpd tiff truetype 
truetype-fonts type1-fonts usb vorbis wifi xine xinerama xml2 xmms xv zlib 
userland_GNU kernel_linux elibc_glibc" 
Unset:  ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS 
 
Comment 7 Marius Mauch (RETIRED) gentoo-dev 2005-06-03 02:47:44 UTC
Hmm, works good for me (~amd64 system). But then there are many reports about
this on the forums too, so I guess I'm just lucky.
Comment 8 Lars Weiler (RETIRED) gentoo-dev 2005-06-03 03:31:03 UTC
I added vapier as he marked the current version stable on every arch and added
it to packages in all profiles.

It fails also on ppc.

Portage 2.0.51.19 (default-linux/ppc/2005.0, gcc-3.4.3, glibc-2.3.4.20041102-r1,
2.6.12-rc5-celeborn ppc)
=================================================================
System uname: 2.6.12-rc5-celeborn ppc 745/755
Gentoo Base System version 1.4.16
Python:              dev-lang/python-2.3.5 [2.3.5 (#1, May  5 2005, 23:57:03)]
distcc 2.18.3 powerpc-unknown-linux-gnu (protocols 1 and 2) (default port 3632)
[enabled]
ccache version 2.3 [enabled]
dev-lang/python:     2.3.5
sys-apps/sandbox:    [Not Present]
sys-devel/autoconf:  2.59-r6, 2.13
sys-devel/automake:  1.9.5, 1.5, 1.6.3, 1.4_p6, 1.8.5-r3, 1.7.9-r1
sys-devel/binutils:  2.15.90.0.3-r5, 2.15.90.0.3-r4
sys-devel/libtool:   1.5.16
virtual/os-headers:  2.6.8.1-r4
ACCEPT_KEYWORDS="ppc"
AUTOCLEAN="yes"
CFLAGS="-O3 -mcpu=G3 -mtune=G3 -fno-strict-aliasing -pipe"
CHOST="powerpc-unknown-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.2/share/config
/usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown
/usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref
/usr/share/config /usr/share/texmf/dvipdfm/config/
/usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/
/usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O3 -mcpu=G3 -mtune=G3 -fno-strict-aliasing -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache cvs digest distcc distlocks sandbox
sfperms strict userpriv usersandbox"
GENTOO_MIRRORS="http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/"
LINGUAS="de"
MAKEOPTS="-j6"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://elrohir/gentoo-portage"
USE="ppc X aac aalib adns alsa alsaseq apache2 arts audiofile bash-completion
berkdb bitmap-fonts cdr cjk crypt cscope cups curl dga dmx droproot dvd dvdr
dvdread eds emboss erandom esd ethereal evo fam fbcon flac fortran gd gdbm gif
gimpprint gnome gpm gtk gtk2 gtkhtml imagemagick imap imlib ipv6 irda java jpeg
kde kdeenablefinal ldap libcaca libwww maildir mbox mikmod mng mozilla mozsvg
mp3 mpeg ncurses nethack network nls nntp nptl nptlonly ogg oggvorbis opengl pam
pdflib perl png python qt readline rtc samba scanner sdl skey smime snmp speex
spell sqlite ssl svg tcltk tcpd tetex theora threads tiff transcode truetype
truetype-fonts type1-fonts unicode usb userlocales vnc vorbis wifi wmf xine
xinerama xml xml2 xosd xprint xscreensaver xv xvid zlib linguas_de userland_GNU
kernel_linux elibc_glibc"
Unset:  ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS
Comment 9 Lars Weiler (RETIRED) gentoo-dev 2005-06-03 03:43:54 UTC
I can build busybox on ~x86 and ~ppc systems.  But not on stable systems.
Comment 10 Colin Tinker 2005-06-03 05:22:22 UTC
I have the same problem on an athlon xp box but if I go to the work dir and 
type make in the busybox dir it completes the compile.  It only fails if I use 
the ebuild. 
Comment 11 SpanKY gentoo-dev 2005-06-03 05:36:24 UTC
*** Bug 94903 has been marked as a duplicate of this bug. ***
Comment 12 Lars Weiler (RETIRED) gentoo-dev 2005-06-03 05:46:37 UTC
(In reply to comment #9)
> I can build busybox on ~x86 and ~ppc systems.  But not on stable systems.

Okay, it compiles on all ~arch-systems and some arch-systems.  One thing that
differs the arch-systems is nptl set on those which can't compile busybox.  But
probably it may be also something really different what holds busybox from
compiling.
Comment 13 Marcin Bukat 2005-06-03 05:48:11 UTC
The same problem. But the main question is why the hell emerge want's to install
busybox at all? I don't need it. (I don't use initrd which is the only situation
I can imagine where one want's to install busybox in normal system)

Portage 2.0.51.19 (default-linux/x86/2005.0, gcc-3.3.5-20050130, glibc-2.3.4.200
                        41102-r1, 2.6.11-gentoo-r8-2 i686)
=================================================================
System uname: 2.6.11-gentoo-r8-2 i686 AMD Athlon(tm) Processor
Gentoo Base System version 1.4.16
Python:              dev-lang/python-2.3.5 [2.3.5 (#1, May 24 2005, 20:25:29)]
dev-lang/python:     2.3.5
sys-apps/sandbox:    [Not Present]
sys-devel/autoconf:  2.59-r6, 2.13
sys-devel/automake:  1.7.9-r1, 1.8.5-r3, 1.5, 1.4_p6, 1.6.3, 1.9.5
sys-devel/binutils:  2.15.92.0.2-r7
sys-devel/libtool:   1.5.16
virtual/os-headers:  2.6.8.1-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -march=athlon -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share
                        /config /usr/kde/3.3/shutdown /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/shar                         e/config
/usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/sh        
                are/texmf/tex/generic/config/
/usr/share/texmf/tex/platex/config/ /usr/share/tex                        
mf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=athlon -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://mirrors.sec.informatik.tu-darmstadt.de/gentoo/ http://ftp
                        -stud.fht-esslingen.de/pub/Mirrors/gentoo/
ftp://ftp-stud.fht-esslingen.de/pub/M                         irrors/gentoo/
ftp://ftp.gentoo.mesh-solutions.com/gentoo/ http://pandemonium.ti              
          scali.de/pub/gentoo/ ftp://pandemonium.tiscali.de/pub/gentoo/
http://src.gentoo.                         pl http://gentoo.prz.rzeszow.pl
http://gentoo.zie.pg.gda.pl"
LINGUAS="en pl"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="x86 3dnow 3dnowext X aac alsa apm atlas avi berkdb bitmap-fonts bzip2 cdpar
                        anoia cdr crypt cups curl emboss encode exif fam
foomaticdb fortran ftp gdbm gif                          glut gmp gnome gpm gtk
gtk2 imagemagick imlib java jikes jpeg lcms ldap lesstif                       
  libg++ libwww lm_sensors mad mikmod mmx mmxext mng motif mozilla mp3 mpeg
mysql                          ncurses nls ogg oggvorbis opengl oss pam pdflib
perl pic png python qt quicktim                         e readline samba sdl
spell ssl svg svga tcpd tetex threads tiff truetype truetyp                    
    e-fonts type1-fonts usb vcd voodoo3 vorbis win32codecs xml xml2 xmms xpm xv
xvid                          zlib linguas_en linguas_pl userland_GNU
kernel_linux elibc_glibc"
Unset:  ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS, PORTDIR_OVERLAY
Comment 14 Leung Ki Chi 2005-06-03 06:04:41 UTC
(In reply to comment #13) 
> The same problem. But the main question is why the hell emerge want's to 
install 
> busybox at all? 
 
busybox is a replacement for sash as rescue shell in the system profile. 
Comment 15 Omkhar Arasaratnam (RETIRED) gentoo-dev 2005-06-03 06:09:12 UTC
Perhaps I'm misunderstanding here, but if the system is amd64, why are ppc and
ppc64 cc'ed on this bug?
Comment 16 Joe Jezak (RETIRED) gentoo-dev 2005-06-03 06:09:43 UTC
With regards to the ntpl problem on ppc, this is due to our slightly broken
glibc.  Once we move to the 2.16 binutils and 2.3.5 glibc, which will happen as
soon as we figure out the ntpl -nptlonly problem, that shouldn't be a problem
any longer.

Besides that, I'm not having a problem on ppc.

I imagine that busybox was added in response to the "Replace sash with busybox
as our static rescue shell" thread on the gentoo-dev ml, which I think is a
great idea.
Comment 17 Nathan James 2005-06-03 06:22:05 UTC
Compiled fine here.

Portage 2.0.51.22-r1 (default-linux/amd64/2005.0, gcc-3.4.4, glibc-2.3.5-r0, 2.6
.11-ck8-r1 x86_64)
=================================================================
System uname: 2.6.11-ck8-r1 x86_64 AMD Athlon(tm) 64 Processor 3000+
Gentoo Base System version 1.6.12
dev-lang/python:     2.3.5
sys-apps/sandbox:    1.2.8
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
virtual/os-headers:  2.6.11-r1
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=k8 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/X1
1/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=k8 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="ftp://mirror.pacific.net.au/linux/Gentoo ftp://mirror.isp.net.au
/pub/gentoo/"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.au.gentoo.org/gentoo-portage"
USE="amd64 X acpi alsa berkdb bitmap-fonts cdr crypt cups curl dvd dvdr eds esd
fam font-server foomaticdb fortran gdbm gif gnome gpm gstreamer gtk gtk2 hal how
l imagemagick imlib ipv6 java jp2 jpeg lzw lzw-tiff mp3 ncurses nls offensive op
engl oss pam perl png ppds python readline ruby spell ssl svg tcpd tiff truetype
 truetype-fonts type1-fonts unicode usb userlocales xine xml xml2 xmms xpm xprin
t xrandr xv xvid zlib userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS
Comment 18 Omkhar Arasaratnam (RETIRED) gentoo-dev 2005-06-03 06:50:52 UTC
Happened to have just finished a build on ppc64 (ntpl/POWER5). Works just fine:

livecd portage # emerge info
Portage 2.0.51.19 (default-linux/ppc64/2005.0, gcc-3.4.3,
glibc-2.3.4.20041102-r1, 2.6.11-gentoo-r6-power5 ppc64)
=================================================================
System uname: 2.6.11-gentoo-r6-power5 ppc64 POWER5 (gr)
Gentoo Base System version 1.4.16
Python:              dev-lang/python-2.3.4-r1 [2.3.4 (#1, Jun  2 2005, 23:46:06)]
dev-lang/python:     2.3.4-r1
sys-apps/sandbox:    [Not Present]
sys-devel/autoconf:  2.59-r6, 2.13
sys-devel/automake:  1.7.9-r1, 1.8.5-r3, 1.5, 1.4_p6, 1.6.3, 1.9.5
sys-devel/binutils:  2.15.90.0.3-r5
sys-devel/libtool:   1.5.16
virtual/os-headers:  2.6.8.1-r2
ACCEPT_KEYWORDS="ppc64"
AUTOCLEAN="yes"
CFLAGS="-O2 -mcpu=power5 -mtune=power5 -pipe -fomit-frame-pointer"
CHOST="powerpc64-unknown-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config
/usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -mcpu=power5 -mtune=power5 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://mirror.datapipe.net/gentoo/"
MAKEOPTS="-j6"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="ppc64 berkdb bitmap-fonts fortran gif jpeg ncurses nls ntpl pam perl png
python readline ssl tcpd truetype truetype-fonts type1-fonts unicode zlib
userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY


Removing ppc64.
Comment 19 Tim Redman 2005-06-03 07:07:32 UTC
Well, I think there is a consensus that the stable version of busybox is
borking, but the unstable is fine.  The question is this:  what is currently
blocking the unstable version of busybox?  Has it just not been tested yet, or
is there something specific that keeping it from release?
Comment 20 Jannick Kuhr 2005-06-03 07:10:07 UTC
The most actual version of busybox (1.00-r4)is the stable one... 
Comment 21 SpanKY gentoo-dev 2005-06-03 07:10:50 UTC
you misinterpreted the reports

there is only 1 version of busybox

stable toolchains appear to be broken when making static binaries, unstable
toolchains have the static issue fixed
Comment 22 Tim Redman 2005-06-03 07:12:27 UTC
(In reply to comment #19)
> Well, I think there is a consensus that the stable version of busybox is
> borking, but the unstable is fine.  The question is this:  what is currently
> blocking the unstable version of busybox?  Has it just not been tested yet, or
> is there something specific that keeping it from release?
> 

Never mind.  Just saw that, for x86, the most recent release is the stable one.
 There are no releases tagged as ~x86.  I'll shut up now.
Comment 23 t35t0r 2005-06-03 09:40:30 UTC
I can verify that nptl or nptlonly on glibc causes the bug and is reproducible
on two of my machines. First on the amd64 I have:

box64 /root# grep ACCEPT /etc/make.conf

box64 /root# grep USE /etc/make.conf
USE="sdl alsa pdflib avi arts gtk2 X java kde gnome samba gtk cups 3dnow 3dnowex
3dnowext mmx mmx2 mmxext sse sse2 acpi mtrr -xmms oggvorbis mpeg"

box64 /root# grep nptl /etc/portage/package.use
>=app-office/openoffice-1.1.4 java nptl
>=sys-libs/glibc-2.3.4.20041102-r1 nptl nptlonly
>=x11-libs/fltk-1.1.4 nptl

box64 /root# emerge -av glibc gcc fltk

These are the packages that I would merge, in order:

Calculating dependencies ...done!
[ebuild   R   ] sys-libs/glibc-2.3.4.20041102-r1  -build -debug -erandom
-hardened (-multilib) +nls -nomalloccheck +nptl +nptlonly -pic +userlocales 0 kB
[ebuild   R   ] sys-devel/gcc-3.4.3-r1  (-altivec) -bootstrap -boundschecking
-build -debug +fortran -gcj +gtk -hardened -ip28 (-multilib) -multislot (-n32)
(-n64) +nls -nocxx -nopie -nossp -objc -static 0 kB
[ebuild   R   ] x11-libs/fltk-1.1.4  -debug +nptl +opengl 0 kB

on the 32 bit machine I have:

box32 /root# grep ACCEPT /etc/make.conf
box32 /root# grep USE /etc/make.conf
USE="3dnow 3dnowex 3dnowext mmx mmx2 mmxext sse acpi mtrr -xmms"
box32 /root# grep nptl /etc/portage/package.use
>=app-office/openoffice-1.1.4 java nptl
>=sys-libs/glibc-2.3.4.20041102-r1 nptl nptlonly
box32 /root# emerge -av glibc

These are the packages that I would merge, in order:

Calculating dependencies ...done!
[ebuild   R   ] sys-libs/glibc-2.3.4.20041102-r1  -build -debug -erandom
-hardened (-multilib) +nls -nomalloccheck +nptl +nptlonly -pic -userlocales 0 kB

Total size of downloads: 0 kB


..so we can immediately see the problem. The fix as suggested by kimchi:

<kimchi_sg> t35t0r: mask that version then, the next lower version works.

..so: echo "=sys-apps/busybox-1.00-r4" >> /etc/portage/package.mask

then emerge -avuD world installs busybox-1.00-r1 and it works fine on both the
x86 and amd64 boxes.

<kimchi_sg/#gentoo> t35t0r: the thing is that busybox(-1.00-r4) has a e2fs patch
applied to it, which -r1 doesn't have

Thanx to kimchi for pointing that out
Comment 24 SpanKY gentoo-dev 2005-06-03 10:02:10 UTC
the e2fs patch is irrelevant nor is it the only diferrence between -r1 and -r4
Comment 25 justin moser 2005-06-03 14:21:50 UTC
i have nptl set in my use flags, and i am using stable amd64. but i don't have
nptlonly set. it emerged fine. 

from what i've heard you shouldn't set nptlonly until NPTL has had more time to
mature.
Comment 26 SpanKY gentoo-dev 2005-06-03 15:01:59 UTC
sync up and try to re-emerge ... the old ebuild piped stderr into /dev/null for
some reason so the real error was never shown
Comment 27 Jan Dusek 2005-06-03 15:20:21 UTC
same error here (I use both nptl and nptlonly; amd64), the exact error message
follows:

x86_64-pc-linux-gnu-gcc -Wl,-O1 -static -o busybox -Wl,--start-group
/var/tmp/portage/busybox-1.00-r4/work/busybox-1.00/applets/applets.a
/var/tmp/portage/busybox-1.00-r4/work/busybox-1.00/archival/archival.a
/var/tmp/portage/busybox-1.00-r4/work/busybox-1.00/archival/libunarchive/libunarchive.a
/var/tmp/portage/busybox-1.00-r4/work/busybox-1.00/coreutils/coreutils.a
/var/tmp/portage/busybox-1.00-r4/work/busybox-1.00/console-tools/console-tools.a
/var/tmp/portage/busybox-1.00-r4/work/busybox-1.00/debianutils/debianutils.a
/var/tmp/portage/busybox-1.00-r4/work/busybox-1.00/editors/editors.a
/var/tmp/portage/busybox-1.00-r4/work/busybox-1.00/findutils/findutils.a
/var/tmp/portage/busybox-1.00-r4/work/busybox-1.00/init/init.a
/var/tmp/portage/busybox-1.00-r4/work/busybox-1.00/miscutils/miscutils.a
/var/tmp/portage/busybox-1.00-r4/work/busybox-1.00/modutils/modutils.a
/var/tmp/portage/busybox-1.00-r4/work/busybox-1.00/networking/networking.a
/var/tmp/portage/busybox-1.00-r4/work/busybox-1.00/networking/libiproute/libiproute.a
/var/tmp/portage/busybox-1.00-r4/work/busybox-1.00/networking/udhcp/udhcp.a
/var/tmp/portage/busybox-1.00-r4/work/busybox-1.00/procps/procps.a
/var/tmp/portage/busybox-1.00-r4/work/busybox-1.00/loginutils/loginutils.a
/var/tmp/portage/busybox-1.00-r4/work/busybox-1.00/shell/shell.a
/var/tmp/portage/busybox-1.00-r4/work/busybox-1.00/sysklogd/sysklogd.a
/var/tmp/portage/busybox-1.00-r4/work/busybox-1.00/util-linux/util-linux.a
/var/tmp/portage/busybox-1.00-r4/work/busybox-1.00/libpwdgrp/libpwdgrp.a
/var/tmp/portage/busybox-1.00-r4/work/busybox-1.00/coreutils/libcoreutils/libcoreutils.a
/var/tmp/portage/busybox-1.00-r4/work/busybox-1.00/libbb/libbb.a
/var/tmp/portage/busybox-1.00-r4/work/busybox-1.00/e2fsprogs/e2fsprogs.a -lm
-lcrypt -lcrypt -Wl,--end-group
/var/tmp/portage/busybox-1.00-r4/work/busybox-1.00/libbb/libbb.a(inet_common.o)(.text+0x25e):
In function `INET6_resolve':
: warning: Using 'getaddrinfo' in statically linked applications requires at
runtime the shared libraries from the glibc version used for linking
/var/tmp/portage/busybox-1.00-r4/work/busybox-1.00/networking/networking.a(nslookup.o)(.text+0x174):
In function `gethostbyaddr_wrapper':
: warning: Using 'gethostbyaddr' in statically linked applications requires at
runtime the shared libraries from the glibc version used for linking
/var/tmp/portage/busybox-1.00-r4/work/busybox-1.00/networking/networking.a(ifconfig.o)(.text+0x360):
In function `ifconfig_main':
: warning: Using 'gethostbyname' in statically linked applications requires at
runtime the shared libraries from the glibc version used for linking
/var/tmp/portage/busybox-1.00-r4/work/busybox-1.00/networking/networking.a(arping.o)(.text+0x8b3):
In function `arping_main':
: warning: Using 'gethostbyname2' in statically linked applications requires at
runtime the shared libraries from the glibc version used for linking
/var/tmp/portage/busybox-1.00-r4/work/busybox-1.00/libbb/libbb.a(inet_common.o)(.text+0x1aa):
In function `INET_rresolve':
: warning: Using 'getnetbyaddr' in statically linked applications requires at
runtime the shared libraries from the glibc version used for linking
/var/tmp/portage/busybox-1.00-r4/work/busybox-1.00/libbb/libbb.a(inet_common.o)(.text+0x57):
In function `INET_resolve':
: warning: Using 'getnetbyname' in statically linked applications requires at
runtime the shared libraries from the glibc version used for linking
/var/tmp/portage/busybox-1.00-r4/work/busybox-1.00/libbb/libbb.a(create_icmp_socket.o)(.text+0x7):
In function `create_icmp_socket':
: warning: Using 'getprotobyname' in statically linked applications requires at
runtime the shared libraries from the glibc version used for linking
/var/tmp/portage/busybox-1.00-r4/work/busybox-1.00/libbb/libbb.a(xconnect.o)(.text+0x78):
In function `bb_lookup_port':
: warning: Using 'getservbyname' in statically linked applications requires at
runtime the shared libraries from the glibc version used for linking
/var/tmp/portage/busybox-1.00-r4/work/busybox-1.00/networking/networking.a(netstat.o)(.text+0xb2):
In function `snprint_ip_port':
: warning: Using 'getservbyport' in statically linked applications requires at
runtime the shared libraries from the glibc version used for linking
/var/tmp/portage/busybox-1.00-r4/work/busybox-1.00/libpwdgrp/libpwdgrp.a(getgrnam_r.o):
warning: Using 'getgrnam_r' in statically linked applications requires at
runtime the shared libraries from the glibc version used for linking
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.3/../../../../lib64/libc.a(setuid.o)(.text+0x21):
In function `__setuid':
: undefined reference to `__libc_pthread_functions'
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.3/../../../../lib64/libc.a(setgid.o)(.text+0x21):
In function `__setgid':
: undefined reference to `__libc_pthread_functions'
collect2: ld returned 1 exit status
make: *** [busybox] Error 1
Comment 28 Alfred Carlsson 2005-06-03 15:44:28 UTC
I was just about to post the same thing as Jan Dusek above. 
The final moments of my emerge is slighly different though, even if the
important parts might be identical. 

I have synced and unmerged sash prior to getting this output.
 

/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5-20050130/../../../libc.a(setuid.o)(.text+0x29):
In function `setuid':
: undefined reference to `__libc_pthread_functions'
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5-20050130/../../../libc.a(setgid.o)(.text+0x29):
In function `setgid':
: undefined reference to `__libc_pthread_functions'
collect2: ld returned 1 exit status
distcc[14321] ERROR: compile (null) on localhost failed
make: *** [busybox] Error 1
Comment 29 SpanKY gentoo-dev 2005-06-03 15:45:07 UTC
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.3/../../../../lib64/libc.a(setuid.o)(.text+0x21):
In function `__setuid': undefined reference to `__libc_pthread_functions'
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.3/../../../../lib64/libc.a(setgid.o)(.text+0x21):
In function `__setgid': undefined reference to `__libc_pthread_functions'


these errors mean your toolchain is broken, not busybox
Comment 30 Jan Dusek 2005-06-03 16:06:11 UTC
So we both (me and Alfred Carlsson) have broken toolchain? What should we do to
fix it? And why is busybox the only thing that fails to compile if the toolchain
is broken?
Comment 31 SpanKY gentoo-dev 2005-06-03 16:10:09 UTC
because you only see the bug when statically linking more complicated packages
Comment 32 Alfred Carlsson 2005-06-03 17:07:05 UTC
Perhaps I should add that I did not get theese errors earlier today, before
letting som time pass, syncing and unmerging sash. 


And, as others I also have nptl and nptlonly in my use-flags. 
Comment 33 Waldo 2005-06-03 18:25:46 UTC
>from what i've heard you shouldn't set nptlonly until NPTL has had more time to
mature.

As I recall, ntpl and nptlonly is recommended (if not required) for the 2005.0
profile w/amd64.  I could be wrong about this, but I seem to remember needing it
for multilib or something...

W
Comment 34 Marius Mauch (RETIRED) gentoo-dev 2005-06-03 18:59:59 UTC
*** Bug 94945 has been marked as a duplicate of this bug. ***
Comment 35 SpanKY gentoo-dev 2005-06-03 19:18:22 UTC
Created attachment 60546 [details]
busybox-1.00-r4.ebuild

please test this ebuild, it contains a workaround for broken glibc's
Comment 36 Dan Andresan 2005-06-03 19:32:06 UTC
same error, amd64, nptl and nptlonly 
 
spanKY says: "toolchain is broken", "broken glibc" 
 
strange, cause I am able to perfectly compile everything, except busybox 
 
how can a I fix my "broken" toolchain? 
 
thanks, 
Dan. 
 
 
Comment 37 Leung Ki Chi 2005-06-03 20:12:09 UTC
(In reply to comment #36) 
> same error, amd64, nptl and nptlonly 
What "same error"? 
 
The ebuild will now ignore the static build error message and proceed to the 
test and install phases safely. 
Comment 38 SpanKY gentoo-dev 2005-06-03 20:39:37 UTC
added workaround to cvs, thanks
Comment 39 Jan Dusek 2005-06-04 02:05:35 UTC
I just want to say that I tried to fix my toolchain with this:

emerge linux-headers glibc binutils gcc && emerge glibc binutils gcc

and after that the origianl busybox-1.00-r4 ebuild (not tried the workaround
yet) still exits with the same error as I mentioned in comment #27.
Comment 40 Sebastian Mueller 2005-06-04 04:23:02 UTC
I tried the workaround. Thanks for your work, it now builds fine on all my
nptlonly boxes.
Comment 41 t35t0r 2005-06-04 09:54:07 UTC
Will the ebuild attached by spanky be added to portage as busybox-1.00-r5, if it
gets added to portage as -r4 again it will be confusing.
Comment 42 Jeroen Roovers (RETIRED) gentoo-dev 2005-06-04 11:24:04 UTC
Do we have to put up with that ill-explained insult too? If stable Gentoo has a 
glibc that sucks, then the problem is not mine to fix. Please remove the insult 
and fix the problem instead.
Comment 43 solar (RETIRED) gentoo-dev 2005-06-04 11:49:11 UTC
Who is insulting who here?
Comment 44 Jeroen Roovers (RETIRED) gentoo-dev 2005-06-04 13:39:15 UTC
(In reply to comment #43)
> Who is insulting who here?

I am sorry if anyone feels insulted?!.

However, I don't know what a glibc that sucks is supposed to mean, and even the 
helpful link to this bug does not help.

if has_version '<sys-libs/glibc-2.3.5' ; then
   eerror "Your glibc sucks, ignorning static build
   failure."

Can't someone at least change the ebuild so that this is only displayed when 
USE=offensive is set, and maybe display something helpful or simply nothing at 
all as displaying it doesn't resolve anything anyway?

In my view comments like these do not belong in plain view. For instance, I 
cannot see how this would help spread Gentoo, especially since first time users 
will get to see this as well (if they happen to be watching at the time).
Comment 45 Jakub Moc (RETIRED) gentoo-dev 2005-06-04 13:49:11 UTC
(In reply to comment #44)
> Can't someone at least change the ebuild so that this is only displayed when 
> USE=offensive is set

OMG. Joke of the day. I
Comment 46 Jakub Moc (RETIRED) gentoo-dev 2005-06-04 13:49:11 UTC
(In reply to comment #44)
> Can't someone at least change the ebuild so that this is only displayed when 
> USE=offensive is set

OMG. Joke of the day. I´d suggest grep-ing kernel sources for offensive words
meanwhile and then you can file a bug UPSTREAM for each of them so that you
won´t be insulted. 

Chill out! :-p
Comment 47 Jan Dusek 2005-06-04 15:00:07 UTC
Well I don't think regular user gets in contact with kernel sources comments.
But getting a message like "Your glibc sucks" might make the user feel insulted.
Especially if having broken glicb isn't the user's fault.

Would it be such a problem to change this message before the ebuild hits the
portage?
Comment 48 Jeroen Roovers (RETIRED) gentoo-dev 2005-06-04 15:08:12 UTC
(In reply to comment #46)

> Would it be such a problem to change this message before the ebuild hits the
> portage?

See, that's the problem. It *is* in portage...
Comment 49 Jeroen Roovers (RETIRED) gentoo-dev 2005-06-04 15:15:07 UTC
henke ~ # grep sucks /usr/portage/sys-apps/busybox/busybox-1.00-r4.ebuild
                                eerror "Your glibc sucks, ignorning static build 
failure."
henke ~ #

Comment 50 Jakub Moc (RETIRED) gentoo-dev 2005-06-04 15:30:28 UTC
LOCK bug feature is really needed... 

Guys, you are just causing bugspam, so I
Comment 51 Jakub Moc (RETIRED) gentoo-dev 2005-06-04 15:30:28 UTC
LOCK bug feature is really needed... 

Guys, you are just causing bugspam, so I´d suggest that you open a new bug where
you can moan about the offensive messages about "your" glic. Stop annoying
innocent people in CC who are not interested at all in this kind of political
correctness crap. You comments are completely off-topic! Stop now!

Thanks. 
Comment 52 SpanKY gentoo-dev 2005-06-04 21:08:11 UTC
*** Bug 95077 has been marked as a duplicate of this bug. ***
Comment 53 SpanKY gentoo-dev 2005-06-06 05:57:20 UTC
*** Bug 95077 has been marked as a duplicate of this bug. ***