Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 112809 - sys-apps/shadow-4.0.13 link failure on MIPS: "not enough GOT space for local GOT entries"
Summary: sys-apps/shadow-4.0.13 link failure on MIPS: "not enough GOT space for local ...
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: MIPS Linux
: High normal (vote)
Assignee: MIPS Porters
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-11-17 05:24 UTC by Karl-Johan Karlsson
Modified: 2006-07-14 18:22 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 Karl-Johan Karlsson 2005-11-17 05:24:43 UTC
During a world update on an SGI Octane (MIPS IP30), sys-apps/shadow-4.0.13 
failed to link the "login" program (see "make" output below). Everything 
compiled without error before that, and the "groups" program was linked 
correctly. Rebuilding 4.0.12, which I was upgrading from, works.

if mips-unknown-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../lib -I../libmisc 
-DLOCALEDIR=\"/usr/share/locale\"   -O2 -pipe -mips4 -mabi=32 -MT groups.o -MD -
MP -MF ".deps/groups.Tpo" -c -o groups.o groups.c; \
then mv -f ".deps/groups.Tpo" ".deps/groups.Po"; else rm -f ".deps/groups.Tpo"; 
exit 1; fi
/bin/sh ../libtool --tag=CC --mode=link mips-unknown-linux-gnu-gcc  -O2 -pipe -
mips4 -mabi=32  -Wl,-z,now -o groups  groups.o ../libmisc/libmisc.a ../lib/
libshadow.la
mkdir .libs
mips-unknown-linux-gnu-gcc -O2 -pipe -mips4 -mabi=32 -Wl,-z -Wl,now -o groups 
groups.o  ../libmisc/libmisc.a ../lib/.libs/libshadow.a -lcrypt
if mips-unknown-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../lib -I../libmisc 
-DLOCALEDIR=\"/usr/share/locale\"   -O2 -pipe -mips4 -mabi=32 -MT login.o -MD -
MP -MF ".deps/login.Tpo" -c -o login.o login.c; \
then mv -f ".deps/login.Tpo" ".deps/login.Po"; else rm -f ".deps/login.Tpo"; 
exit 1; fi
if mips-unknown-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../lib -I../libmisc 
-DLOCALEDIR=\"/usr/share/locale\"   -O2 -pipe -mips4 -mabi=32 -MT login_nopam.o 
-MD -MP -MF ".deps/login_nopam.Tpo" -c -o login_nopam.o login_nopam.c; \
then mv -f ".deps/login_nopam.Tpo" ".deps/login_nopam.Po"; else rm -f ".deps/
login_nopam.Tpo"; exit 1; fi
/bin/sh ../libtool --tag=CC --mode=link mips-unknown-linux-gnu-gcc  -O2 -pipe -
mips4 -mabi=32  -Wl,-z,now -o login  login.o login_nopam.o ../libmisc/libmisc.a
 ../lib/libshadow.la -lpam -lpam_misc
mips-unknown-linux-gnu-gcc -O2 -pipe -mips4 -mabi=32 -Wl,-z -Wl,now -o login 
login.o login_nopam.o  ../libmisc/libmisc.a ../lib/.libs/libshadow.a -lcrypt -
lpam -lpam_misc
/usr/lib/gcc/mips-unknown-linux-gnu/3.4.4/../../../../mips-unknown-linux-gnu/
bin/ld: not enough GOT space for local GOT entries
/usr/lib/gcc/mips-unknown-linux-gnu/3.4.4/../../../../mips-unknown-linux-gnu/
bin/ld: BFD 2.16.90.0.3 20050510 internal error, aborting at /var/tmp/portage/
binutils-2.16.90.0.3/work/binutils-2.16.90.0.3/bfd/elfxx-mips.c line 7209 in 
_bfd_mips_elf_relocate_section

/usr/lib/gcc/mips-unknown-linux-gnu/3.4.4/../../../../mips-unknown-linux-gnu/
bin/ld: Please report this bug.

collect2: ld returned 1 exit status
make[2]: *** [login] Error 1
make[2]: Leaving directory `/var/tmp/portage/shadow-4.0.13/work/shadow-4.0.13/
src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/shadow-4.0.13/work/shadow-4.0.13'
make: *** [all] Error 2

!!! ERROR: sys-apps/shadow-4.0.13 failed.

Reproducible: Always
Steps to Reproduce:




Portage 2.0.53_rc7 (default-linux/mips/mips64/2005.0, gcc-3.4.4, glibc-2.3.5-r2, 
2.6.13.4-mipscvs-20050914 mips64)
=================================================================
System uname: 2.6.13.4-mipscvs-20050914 mips64 R10000 V2.7  FPU V0.0
Gentoo Base System version 1.12.0_pre9
dev-lang/python:     2.3.4-r1, 2.4.2
sys-apps/sandbox:    1.2.13
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.90.0.3
sys-devel/libtool:   1.5.20-r1
virtual/os-headers:  2.6.11-r1
ACCEPT_KEYWORDS="mips ~mips"
AUTOCLEAN="yes"
CBUILD="mips-unknown-linux-gnu"
CFLAGS="-O2 -pipe -mips4 -mabi=32"
CHOST="mips-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/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 -pipe -mips4 -mabi=32"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig buildpkg ccache distlocks sfperms strict userpriv"
GENTOO_MIRRORS="http://mirror.gentoo.se http://distfiles.gentoo.org http://www.
ibiblio.org/pub/Linux/distributions/gentoo"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="mips X bash-completion berkdb bitmap-fonts bzip2 cairo cups expat fam gdbm 
gif idn ip30 jpeg kerberos lcms libwww mng motif ncurses nls opengl pam pcre 
perl png python readline sdl sqlite ssl tcpd tetex tiff truetype truetype-fonts 
type1-fonts udev unicode usb xml2 xv zlib userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS, 
PORTDIR_OVERLAY
Comment 1 Stephen Becker (RETIRED) gentoo-dev 2005-11-17 14:20:56 UTC
You are using a broken version of binutils.  Please try again with 2.16.1 and
report this upstream.

-Steve
Comment 2 Karl-Johan Karlsson 2005-11-18 02:23:12 UTC
It worked with binutils 2.16.1. I've reported this upstream at <URL:http://
sourceware.org/bugzilla/show_bug.cgi?id=1882>.
Comment 3 Stephen Becker (RETIRED) gentoo-dev 2006-07-14 18:22:50 UTC
closing this bug as upstream for now...please reopen if there are any more problems