Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 91971 - busybox-1.00-r1 with USE=static fails
Summary: busybox-1.00-r1 with USE=static fails
Status: RESOLVED DUPLICATE of bug 70942
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Embedded Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-05-08 23:12 UTC by Heiko Helmle
Modified: 2005-05-31 17:51 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 Heiko Helmle 2005-05-08 23:12:36 UTC
i686-pc-linux-gnu-gcc -s -Wl,-warn-common --static -o busybox -Wl,--start-group /var/tmp/portage/busybox-1.00-r1/work/busybox-1.00/applets/applets.a /var/tmp/portage/busybox-1.00-r1/work/busybox-1.00/archival/archival.a /var/tmp/portage/busybox-1.00-r1/work/busybox-1.00/archival/libunarchive/libunarchive.a /var/tmp/portage/busybox-1.00-r1/work/busybox-1.00/coreutils/coreutils.a /var/tmp/portage/busybox-1.00-r1/work/busybox-1.00/console-tools/console-tools.a /var/tmp/portage/busybox-1.00-r1/work/busybox-1.00/debianutils/debianutils.a /var/tmp/portage/busybox-1.00-r1/work/busybox-1.00/editors/editors.a /var/tmp/portage/busybox-1.00-r1/work/busybox-1.00/findutils/findutils.a /var/tmp/portage/busybox-1.00-r1/work/busybox-1.00/init/init.a /var/tmp/portage/busybox-1.00-r1/work/busybox-1.00/miscutils/miscutils.a /var/tmp/portage/busybox-1.00-r1/work/busybox-1.00/modutils/modutils.a /var/tmp/portage/busybox-1.00-r1/work/busybox-1.00/networking/networking.a /var/tmp/portage/busybox-1.00-r1/work/busybox-1.00/networking/libiproute/libiproute.a /var/tmp/portage/busybox-1.00-r1/work/busybox-1.00/networking/udhcp/udhcp.a /var/tmp/portage/busybox-1.00-r1/work/busybox-1.00/procps/procps.a /var/tmp/portage/busybox-1.00-r1/work/busybox-1.00/loginutils/loginutils.a /var/tmp/portage/busybox-1.00-r1/work/busybox-1.00/shell/shell.a /var/tmp/portage/busybox-1.00-r1/work/busybox-1.00/sysklogd/sysklogd.a /var/tmp/portage/busybox-1.00-r1/work/busybox-1.00/util-linux/util-linux.a /var/tmp/portage/busybox-1.00-r1/work/busybox-1.00/libpwdgrp/libpwdgrp.a /var/tmp/portage/busybox-1.00-r1/work/busybox-1.00/coreutils/libcoreutils/libcoreutils.a /var/tmp/portage/busybox-1.00-r1/work/busybox-1.00/libbb/libbb.a -lm -lm -lcrypt -lcrypt -Wl,--end-group
/var/tmp/portage/busybox-1.00-r1/work/busybox-1.00/libbb/libbb.a(inet_common.o)(.text+0x26b): 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-r1/work/busybox-1.00/networking/networking.a(ipcalc.o)(.text+0x27a): In function `ipcalc_main':
: 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-r1/work/busybox-1.00/networking/networking.a(ifconfig.o)(.text+0x363): 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-r1/work/busybox-1.00/networking/networking.a(arping.o)(.text+0x813): 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-r1/work/busybox-1.00/libbb/libbb.a(inet_common.o)(.text+0x1a2): 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-r1/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-r1/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-r1/work/busybox-1.00/libbb/libbb.a(xconnect.o)(.text+0x56): 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-r1/work/busybox-1.00/networking/networking.a(netstat.o)(.text+0x55): In function `get_sname':
: warning: Using 'getservbyport' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5-20050130/../../../libc.a(dl-open.o): warning: definition of `_dl_tls_static_size' overriding common
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5-20050130/../../../libc.a(libc-tls.o): warning: common is here
/var/tmp/portage/busybox-1.00-r1/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
/var/tmp/portage/busybox-1.00-r1/work/busybox-1.00/libpwdgrp/libpwdgrp.a(getpwnam_r.o): warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
/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'
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5-20050130/../../../libc.a(seteuid.o)(.text+0x32): In function `seteuid':
: undefined reference to `__libc_pthread_functions'
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5-20050130/../../../libc.a(setegid.o)(.text+0x32): In function `setegid':
: undefined reference to `__libc_pthread_functions'
collect2: ld returned 1 exit status
make: *** [busybox] Error 1


Reproducible: Always
Steps to Reproduce:
1.
2.
3.




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-r6-skas i686) 
================================================================= 
System uname: 2.6.11-gentoo-r6-skas i686 Intel(R) Pentium(R) M processor 
1400MHz 
Gentoo Base System version 1.4.16 
Python:              dev-lang/python-2.3.5 [2.3.5 (#1, Apr 28 2005, 08:01:45)] 
ccache version 2.3 [disabled] 
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.9.5, 1.6.3, 1.7.9-r1, 1.4_p6, 1.8.5-r3 
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=pentium3 -fomit-frame-pointer -pipe" 
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 /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="-O2 -march=pentium3 -fomit-frame-pointer -pipe" 
DISTDIR="/usr/portage/distfiles" 
FEATURES="autoaddcvs autoconfig distlocks sandbox sfperms strict" 
GENTOO_MIRRORS="http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ 
http://www.gigaload.org/gentoo.org/ http://gentoo.inode.at/ 
ftp://gentoo.inode.at/source/" 
LINGUAS="de" 
MAKEOPTS="-j2" 
PKGDIR="/usr/portage/packages" 
PORTAGE_TMPDIR="/var/tmp" 
PORTDIR="/usr/portage" 
PORTDIR_OVERLAY="/usr/local/portage" 
SYNC="rsync://rsync.gentoo.org/gentoo-portage" 
USE="x86 X Xaw3d aac acpi adns alsa apache2 arts artswrappersuid avi 
bash-completion berkdb bitmap-fonts cdparanoia cdr crypt cups curl dvd emboss 
fam foomaticdb gd gdbm gif glut gphoto2 gtk gtk2 hal imagemagick imlib innodb 
jpeg jpeg2k kde kdeenablefinal libg++ libwww mad mikmod mmx mmxext motif 
mozsvg mp3 mpeg mysql nagios-dns nagios-ntp nagios-ping nagios-ssh ncurses nls 
nologin nosrc nptl nptlonly nvidia offensive ogg oggvorbis opengl pam pcmcia 
pda pdflib pic png qt quicktime rdesktop readline real rtc samba sdl slang 
snmp spell sse sse2 ssl subversion svg tcpd tetex tiff toolbar truetype 
truetype-fonts type1-fonts vorbis wifi wmf xinerama xml2 xscreensaver xv xvid 
zlib linguas_de userland_GNU kernel_linux elibc_glibc" 
Unset:  ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS
Comment 1 SpanKY gentoo-dev 2005-05-31 17:51:10 UTC

*** This bug has been marked as a duplicate of 70942 ***