Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 122992 - sys-apps/busybox-1.1.0 will not compile (on PPC64 only?)
Summary: sys-apps/busybox-1.1.0 will not compile (on PPC64 only?)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: PPC64 Linux
: High enhancement (vote)
Assignee: Embedded Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-02-16 00:52 UTC by Markus Rothe (RETIRED)
Modified: 2006-03-11 22:50 UTC (History)
1 user (show)

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


Attachments
busybox-1.1.0 output new (busybox-1.1.0.txt,3.22 KB, text/plain)
2006-03-11 10:53 UTC, Markus Rothe (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Markus Rothe (RETIRED) gentoo-dev 2006-02-16 00:52:06 UTC
Hi,

testing ~ppc64 packages I found out that sys-apps/busybox-1.1.0 will not compile:

/var/tmp/portage/busybox-1.1.0/work/busybox-1.1.0/modutils/insmod.c: In function `arch_apply_relocation':
/var/tmp/portage/busybox-1.1.0/work/busybox-1.1.0/modutils/insmod.c:856: warning: unused variable `ifile'
/var/tmp/portage/busybox-1.1.0/work/busybox-1.1.0/modutils/insmod.c:1313: error: label `bb_use_plt' used but not defined


$ emerge --info
Portage 2.1_pre4-r1 (default-linux/ppc/2005.1/ppc64/64bit-userland, gcc-3.4.4, glibc-2.3.6-r2, 2.6.12.2-vios ppc64)
=================================================================
System uname: 2.6.12.2-vios ppc64 POWER5 (gr)
Gentoo Base System version 1.12.0_pre15
dev-lang/python:     2.3.5-r2, 2.4.2-r1
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1-r1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r4
ACCEPT_KEYWORDS="ppc64 ~ppc64"
AUTOCLEAN="yes"
CBUILD="powerpc64-unknown-linux-gnu"
CFLAGS="-O3 -pipe -mtune=power5 -mcpu=power5"
CHOST="powerpc64-unknown-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/texmf/web2c /etc/env.d"
CXXFLAGS="-O3 -pipe -mtune=power5 -mcpu=power5"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LINGUAS="de"
MAKEOPTS="-j9"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="ppc64 X a52 altivec berkdb bitmap-fonts dbus dga djbfft dlloader dv dvd dvdr dvdread encode fame fortran fpx gif gpm graphviz gtk2 ibm ieee1394 imlib2 ipv6 jpeg jpeg2k kde kdeenablefinal latex lzo mjpeg mp3 mpeg mpeg2 mpeg4 ncurses network nls nptl nptlonly oggvorbis opengl pam perl png python quicktime readline ssl tcpd theora truetype truetype-fonts type1-fonts unicode v4l vcd xv yv12 zlib elibc_glibc kernel_linux linguas_de userland_GNU"
Unset:  ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, LANG, LC_ALL, LDFLAGS, PORTDIR_OVERLAY
Comment 1 Markus Rothe (RETIRED) gentoo-dev 2006-02-16 00:52:54 UTC
sorry, I should have assigned to embedded@g.o and not dev-embedded@g.o...
Comment 2 SpanKY gentoo-dev 2006-02-17 22:16:42 UTC
stupid ppc64 defining __powerpc__

fixed in cvs and in upstream svn now
Comment 3 Markus Rothe (RETIRED) gentoo-dev 2006-03-11 10:53:47 UTC
Created attachment 81936 [details]
busybox-1.1.0 output new

I am getting another failure now. there are several warnings and this errors:

/usr/lib/gcc/powerpc64-unknown-linux-gnu/3.4.5/../../../../powerpc64-unknown-linux-gnu/bin/ld: /usr/lib/gcc/powerpc64-unknown-linux-gnu/3.4.5/../../../../lib64/libc.a(bsd-_setjmp.o)(.text+0x4): sibling call optimization to `.__vmx__sigsetjmp_ent' does not allow automatic multiple TOCs; recompile with -mminimal-toc or -fno-optimize-sibling-calls, or make `.__vmx__sigsetjmp_ent' extern              /usr/lib/gcc/powerpc64-unknown-linux-gnu/3.4.5/../../../../powerpc64-unknown-linux-gnu/bin/ld: /usr/lib/gcc/powerpc64-unknown-linux-gnu/3.4.5/../../../../lib64/libc.a(bsd-_setjmp.o)(.text+0x2c): sibling call optimization to `.__vmx__sigsetjmp_ent' does not allow automatic multiple TOCs; recompile with -mminimal-toc or -fno-optimize-sibling-calls, or make `.__vmx__sigsetjmp_ent' extern             /usr/lib/gcc/powerpc64-unknown-linux-gnu/3.4.5/../../../../powerpc64-unknown-linux-gnu/bin/ld: final link failed: Bad value
Comment 4 Markus Rothe (RETIRED) gentoo-dev 2006-03-11 10:55:52 UTC
how would I set CFLAGS for busybox, so that I can compile with -mminimal-toc?
Comment 5 SpanKY gentoo-dev 2006-03-11 22:50:22 UTC
different bug, that is a toolchain issue

file a new one for this and assign it to yourself :p