Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 117815 - emerge ppc sys-apps/module-init-tools-3.2.1 fail
Summary: emerge ppc sys-apps/module-init-tools-3.2.1 fail
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: PPC Linux
: High normal
Assignee: PPC Porters
URL:
Whiteboard:
Keywords:
: 118046 (view as bug list)
Depends on:
Blocks:
 
Reported: 2006-01-04 19:56 UTC by Hsuan-i Bi
Modified: 2006-01-08 01:46 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 Hsuan-i Bi 2006-01-04 19:56:33 UTC
overview:
While upgrade module-init-tools from 3.0-r2 to 3.2.1, I got emerge fail message.


error message:
powerpc-unknown-linux-gnu-gcc -O2 -pipe -mcpu=7400 -maltivec -mabi=altivec -I./../include -D_GNU_SOURCE -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DCONFIG_ROOT_CHECK_OFF=0   -DCOMMON_3264 -DELF_MACHINE_H='"elf_ppc64.h"' -DARCH_ppc64 -DONLY_64  -DTAINT_URL='"http://www.tux.org/lkml/#export-tainted"' -DCOMBINE_rmmod -DCOMBINE_modprobe -DCOMBINE_lsmod -DCOMBINE_ksyms -DCOMBINE_kallsyms -c -o modinfo_64.o modinfo.c
powerpc-unknown-linux-gnu-gcc -static -O2 -pipe -mcpu=7400 -maltivec -mabi=altivec -o insmod.static insmod.o insmod_64.o kallsyms_64.o rmmod.o modprobe.o lsmod.o ksyms.o kallsyms.o ../obj/libobj.a ../util/libutil.a
/usr/lib/gcc/powerpc-unknown-linux-gnu/3.4.4/../../../../powerpc-unknown-linux-gnu/bin/ld: __libc_errno: TLS definition in /usr/lib/gcc/powerpc-unknown-linux-gnu/3.4.4/../../../libc.a(errno.o) section .tbss mismatches non-TLS reference in /usr/lib/gcc/powerpc-unknown-linux-gnu/3.4.4/../../../libc.a(check_fds.o)
/usr/lib/gcc/powerpc-unknown-linux-gnu/3.4.4/../../../libc.a: could not read symbols: Bad value
collect2: ld returned 1 exit status
make[1]: *** [insmod.static] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: Leaving directory `/var/tmp/portage/module-init-tools-3.2.1/work/modutils-2.4.27/insmod'
make: *** [all] Error 2
!!! ERROR: sys-apps/module-init-tools-3.2.1 failed.
!!! Function src_compile, Line 81, Exitcode 2
!!! emake modutils failed
!!! If you need support, post the topmost build error, NOT this status message.


build date & platform:
Build 2006-01-05 on Gentoo Linux 2005.1 PPC, Mac mini 1.25G


software env:
sys-devel/gcc-3.4.4-r1
sys-libs/glibc-2.3.5-r2
dev-libs/glib-1.2.10-r5
dev-libs/glib-2.6.5
Comment 1 Konrad Karczewski 2006-01-05 12:33:10 UTC
Same here, on a Pegasos platform (7447/7457, altivec supported)

powerpc-unknown-linux-gnu-gcc -static -mcpu=7450 -mtune=7450 -O2 -pipe -maltivec -mabi=altivec -fomit-frame-pointer -fno-strict-aliasing -o insmod.static insmod.o insmod_64.o kallsyms_64.o rmmod.o modprobe.o lsmod.o ksyms.o kallsyms.o ../obj/libobj.a ../util/libutil.a   
/usr/lib/gcc/powerpc-unknown-linux-gnu/3.4.4/../../../../powerpc-unknown-linux-gnu/bin/ld: __libc_errno: TLS definition in /usr/lib/gcc/powerpc-unknown-linux-gnu/3.4.4/../../../libc.a(errno.o) section .tbss mismatches non-TLS reference in /usr/lib/gcc/powerpc-unknown-linux-gnu/3.4.4/../../../libc.a(check_fds.o)
/usr/lib/gcc/powerpc-unknown-linux-gnu/3.4.4/../../../libc.a: could not read symbols: Bad value
collect2: ld returned 1 exit status
make[1]: *** [insmod.static] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: Leaving directory `/var/tmp/portage/module-init-tools-3.2.1/work/modutils-2.4.27/insmod'
make: *** [all] Error 2

!!! ERROR: sys-apps/module-init-tools-3.2.1 failed.


sys-libs/glibc-2.3.5-r2;
Reading specs from /usr/lib/gcc/powerpc-unknown-linux-gnu/3.4.4/specs
Configured with: /var/tmp/portage/gcc-3.4.4-r1/work/gcc-3.4.4/configure --prefix=/usr --bindir=/usr/powerpc-unknown-linux-gnu/gcc-bin/3.4.4 --includedir=/usr/lib/gcc/powerpc-unknown-linux-gnu/3.4.4/include --datadir=/usr/share/gcc-data/powerpc-unknown-linux-gnu/3.4.4 --mandir=/usr/share/gcc-data/powerpc-unknown-linux-gnu/3.4.4/man --infodir=/usr/share/gcc-data/powerpc-unknown-linux-gnu/3.4.4/info --with-gxx-include-dir=/usr/lib/gcc/powerpc-unknown-linux-gnu/3.4.4/include/g++-v3 --host=powerpc-unknown-linux-gnu --build=powerpc-unknown-linux-gnu --enable-altivec --enable-nls --without-included-gettext --with-system-zlib --disable-checking --disable-werror --disable-libunwind-exceptions --disable-multilib --disable-libgcj --enable-languages=c,c++,objc,f77 --enable-shared --enable-threads=posix --enable-__cxa_atexit --enable-clocale=gnu
Thread model: posix
gcc version 3.4.4 (Gentoo 3.4.4-r1, ssp-3.4.4-1.0, pie-8.7.8)



Comment 2 Jakub Moc (RETIRED) gentoo-dev 2006-01-06 07:50:08 UTC
*** Bug 118046 has been marked as a duplicate of this bug. ***
Comment 3 Luca Barbato gentoo-dev 2006-01-06 21:04:39 UTC
emerge info please
Comment 4 Hsuan-i Bi 2006-01-07 02:16:00 UTC
Portage 2.0.53 (default-linux/ppc/2005.1/ppc, gcc-3.4.4, glibc-2.3.5-r2, 2.6.14-gentoo-r2 ppc)
=================================================================
System uname: 2.6.14-gentoo-r2 ppc 7447A, altivec supported
Gentoo Base System version 1.6.13
dev-lang/python:     2.3.5-r2, 2.4.2
sys-apps/sandbox:    1.2.12
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.6-r1
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.20
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="ppc"
AUTOCLEAN="yes"
CBUILD="powerpc-unknown-linux-gnu"
CFLAGS="-O2 -pipe -mcpu=7400 -maltivec -mabi=altivec"
CHOST="powerpc-unknown-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/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -pipe -mcpu=7400 -maltivec -mabi=altivec"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks sandbox sfperms strict"
GENTOO_MIRRORS="ftp://ftp.nsysu.edu.tw/Linux/Gentoo ftp://ftp.cdpa.nsysu.edu.tw/Gentoo/ http://distro.ibiblio.org/pub/linux/distributions/gentoo ftp://ftp.planetmirror.com/pub/gentoo"
LANG="zh_TW"
LC_ALL="zh_TW.UTF-8"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="ppc alsa altivec apache2 audiofile berkdb bitmap-fonts bzip2 cdr cjk crypt cups curl dvd dvdr eds emboss esd exif expat fam fbcon ffmpeg foomaticdb fortran gd gdbm gif glut gnome gpm gstreamer gtk gtk2 idn imap imlib innodb ipv6 jpeg lcms libwww mad maildir mhash mng motif mozilla mp3 mpeg mysql ncurses nls nptl nptlonly ogg oggvorbis opengl pam pcre pdflib perl png postgres python readline samba sasl2 snmp spell sqlite ssl tcpd tiff truetype truetype-fonts type1-fonts udev unicode usb vhosts vorbis xine xml xml2 xmms xv xvid zlib userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LDFLAGS, LINGUAS, PORTDIR_OVERLAY
Comment 5 Pier Fumagalli 2006-01-07 05:46:20 UTC
Portage 2.0.53 (default-linux/ppc/2005.1/ppc/G4, gcc-3.4.4, glibc-2.3.5-r2, 2.6.9-gentoo-r9-g4 ppc)
=================================================================
System uname: 2.6.9-gentoo-r9-g4 ppc 7450, altivec supported
Gentoo Base System version 1.6.13
dev-lang/python:     2.4.2
sys-apps/sandbox:    1.2.12
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.6-r1
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.20
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="ppc"
AUTOCLEAN="yes"
CBUILD="powerpc-unknown-linux-gnu"
CFLAGS="-O2 -mtune=G4 -maltivec -mabi=altivec -fno-strict-aliasing -pipe"
CHOST="powerpc-unknown-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /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="-O2 -mtune=G4 -maltivec -mabi=altivec -fno-strict-aliasing -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://www.mirror.ac.uk/mirror/distro.ibiblio.org/pub/linux/distributions/gentoo/ http://gentoo.osuosl.org/ http://adelie.polymtl.ca/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="ppc alsa berkdb bitmap-fonts bzip2 cups curl eds emboss expat fortran gd gdbm gif gmp gnome gstreamer gtk2 idn imagemagick jpeg kde libwww motif mp3 mpeg ncurses nls nptl nptlonly ogg oggvorbis opengl pam pcre pdflib perl png python qt readline snmp spell ssl truetype truetype-fonts type1-fonts udev unicode vorbis xml2 xv zlib userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS
Comment 6 Joe Jezak (RETIRED) gentoo-dev 2006-01-07 07:15:41 UTC
Try the process outlined here, it sounds like your toolchain is a little bit messed up:
http://forums.gentoo.org/viewtopic-t-419763.html
Comment 7 Pier Fumagalli 2006-01-07 21:46:31 UTC
As described in the forums, doing the following fixed the whole thing:

emerge linux-headers gcc glibc
emerge --deep --update --newuse world

(the last one rebuilt only sys-apps/module-init-tools-3.2.1)

Thanks for helping...
Comment 8 Hsuan-i Bi 2006-01-08 01:46:01 UTC
It's work!
Thanks for help.