Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 169270 - sys-libs/glibc-2.3.6-r5 fail to compile
Summary: sys-libs/glibc-2.3.6-r5 fail to compile
Status: RESOLVED DUPLICATE of bug 111217
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-03-04 11:56 UTC by GNUtoo
Modified: 2007-03-04 11:58 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 GNUtoo 2007-03-04 11:56:05 UTC
i am converting to selinux according to this guide:
http://www.gentoo.org/proj/en/hardened/selinux/selinux-handbook.xml?full=1
i am at the point where i need to compile glibc
and so portage want to upgrade to sys-libs/glibc-2.3.6-r5
but it fails:

compilation...

6-pc-linux-gnu-linuxthreads/linuxthreads /var/tmp/portage/sys-libs/glibc-2.3.6-r5/work/build-default-i386-pc-linux-gnu-linuxthreads/libc.so.6 /var/tmp/portage/sys-libs/glibc-2.3.6-r5/work/build-default-i386-pc-linux-gnu-linuxthreads/libc_nonshared.a -lgcc -Wl,--as-needed -lgcc_s  -Wl,--no-as-needed `i386-pc-linux-gnu-gcc --print-file-name=crtend.o` /var/tmp/portage/sys-libs/glibc-2.3.6-r5/work/build-default-i386-pc-linux-gnu-linuxthreads/csu/crtn.o
/var/tmp/portage/sys-libs/glibc-2.3.6-r5/work/build-default-i386-pc-linux-gnu-linuxthreads/csu/crtn.o:/var/tmp/portage/sys-libs/glibc-2.3.6-r5/work/build-default-i386-pc-linux-gnu-linuxthreads/csu/crtn.S:15: undefined reference to `.LC2'
/var/tmp/portage/sys-libs/glibc-2.3.6-r5/work/build-default-i386-pc-linux-gnu-linuxthreads/csu/crtn.o:/var/tmp/portage/sys-libs/glibc-2.3.6-r5/work/build-default-i386-pc-linux-gnu-linuxthreads/csu/crtn.S:38: undefined reference to `.LC3'
collect2: ld returned 1 exit status
make[2]: *** [/var/tmp/portage/sys-libs/glibc-2.3.6-r5/work/build-default-i386-pc-linux-gnu-linuxthreads/iconv/iconvconfig] Error 1
make[2]: Leaving directory `/var/tmp/portage/sys-libs/glibc-2.3.6-r5/work/glibc-2.3.6/iconv'
make[1]: *** [iconv/others] Error 2
make[1]: Leaving directory `/var/tmp/portage/sys-libs/glibc-2.3.6-r5/work/glibc-2.3.6'
make: *** [all] Error 2

!!! ERROR: sys-libs/glibc-2.3.6-r5 failed.
Call stack:
  ebuild.sh, line 1614:   Called dyn_compile
  ebuild.sh, line 971:   Called qa_call 'src_compile'
  environment, line 4084:   Called src_compile
  glibc-2.3.6-r5.ebuild, line 1138:   Called toolchain-glibc_src_compile
  glibc-2.3.6-r5.ebuild, line 221:   Called die

!!! make for default failed
!!! If you need support, post the topmost build error, and the call stack if relevant.
!!! A complete build log is located at '/var/tmp/portage/sys-libs/glibc-2.3.6-r5/temp/build.log'.

Reproducible: Always




# emerge --info
Portage 2.1.2-r9 (selinux/2005.1/x86/hardened, gcc-3.3.5-20050130, glibc-2.3.4.20041102-r1, 2.6.20-gentoo_sempron_2500 i686)
=================================================================
System uname: 2.6.20-gentoo_sempron_2500 i686 Intel(R) Pentium(R) M processor 2.00GHz
Gentoo Base System version 1.6.12
Timestamp of tree: Sat, 03 Mar 2007 11:00:09 +0000
dev-lang/python:     2.3.5
dev-python/pycrypto: 2.0.1-r5
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.60
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.5, 1.10
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.14
sys-devel/libtool:   1.5.18-r1
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i386-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=pentium3 -msse2 -fstack-protector-all -fomit-frame-pointer"
CHOST="i386-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/terminfo"
CXXFLAGS="-O2 -pipe -march=pentium3 -msse2 -fstack-protector-all -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox selinux sesandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="berkdb crypt hardened midi ncurses pam pic python readline selinux ssl x86 zlib" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2007-03-04 11:58:47 UTC

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