Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 330571 - Can't re-emerge glibc-2.11.2 with gcc-4.3.5
Summary: Can't re-emerge glibc-2.11.2 with gcc-4.3.5
Status: RESOLVED DUPLICATE of bug 326689
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High major (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-07-31 01:59 UTC by Ricardo I. Vieitez
Modified: 2010-07-31 10:43 UTC (History)
0 users

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


Attachments
messages (messages,148.14 KB, text/plain)
2010-07-31 02:01 UTC, Ricardo I. Vieitez
Details
gzipped build.log (build.log.gz,482.58 KB, application/gzipped)
2010-07-31 02:04 UTC, Ricardo I. Vieitez
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ricardo I. Vieitez 2010-07-31 01:59:17 UTC
After some updates my system began to malfunction (portage errors mainly), which was why I decided to reemerge glibc.

This yields a segmentation fault of some sort.

Reproducible: Didn't try

Steps to Reproduce:

Actual Results:  
glibc wasn't build

Expected Results:  
should be built

britannia ~ # emerge --info =sys-libs/glibc-2.11.2
Portage 2.1.8.3 (hardened/linux/amd64/10.0, gcc-4.3.5, glibc-2.11.2-r0, 2.6.33-hardened x86_64)
=================================================================
                        System Settings
=================================================================
System uname: Linux-2.6.33-hardened-x86_64-Intel-R-_Xeon-R-_CPU_L5520_@_2.27GHz-with-gentoo-2.0.1
Timestamp of tree: Thu, 29 Jul 2010 02:30:01 +0000
app-shells/bash:     4.1_p7
dev-lang/python:     2.6.4
dev-util/cmake:      2.8.1-r1
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.6.0
sys-apps/sandbox:    2.2
sys-devel/autoconf:  2.65-r1
sys-devel/automake:  1.9.6-r2, 1.10.2, 1.11.1
sys-devel/binutils:  2.20.1-r1
sys-devel/gcc:       4.3.5
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.10
virtual/os-headers:  2.6.34
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=native -fomit-frame-pointer -fstack-protector"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /var/qmail/alias /var/qmail/control /var/vpopmail/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/eselect/postgresql /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php4/ext-active/ /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php4/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php4/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -pipe -march=native -fomit-frame-pointer -fstack-protector"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests distlocks fixpackages news parallel-fetch protect-owned sandbox sfperms strict stricter unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en en_US es es_AR es_ES fr fr_FR de de_DE"
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/var/lib/layman/hardened-development"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X509 acl amd64 apache2 berkdb branding bzip2 cgi cjk cleartype cli cracklib crypt cxx dri fastcgi ftp gd gdbm geoip gif gmp gpm gzip hardened hash iconv idn imagemagick imap inifile ipv6 ithreads javascript jpeg json justify ldap lzma maildir mbox memlimit mime mmx mng modules mono mudflap multilib mysql mysqli ncurses nls nptl nptlonly nptls ntlm openmp openssl pam pcre perl pg-intdatetime php pic png posix postgres pppd python qmail-spp readline reflection savedconfig session sharedmem smp spl sse sse2 ssl ssp svg sysfs syslog tcpd threads tidy tiff truetype unicode urandom vhosts vpopmail xattr xinetd xml xorg zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias auth_digest log_forensic" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en en_US es es_AR es_ES fr fr_FR de de_DE" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="fbdev glint intel mach64 mga neomagic nv r128 radeon savage sis tdfx trident vesa via vmware voodoo" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" 
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

=================================================================
                        Package Settings
=================================================================

sys-libs/glibc-2.11.2 was built with the following:
USE="gd hardened (multilib) nls -debug -glibc-omitfp -profile (-selinux) -vanilla" 
CFLAGS="-pipe -O2 -fno-strict-aliasing"
CXXFLAGS="-pipe -O2 -fno-strict-aliasing"
LDFLAGS="-Wl,-O1"

britannia ~ # emerge -pqv =sys-libs/glibc-2.11.2
[ebuild   R   ] sys-libs/glibc-2.11.2  USE="gd hardened (multilib) nls -debug -glibc-omitfp -profile (-selinux) -vanilla" 


Relevant output from dmesg:
grsec: From 10.9.8.6: Segmentation fault occurred at 0000000000000028 in /var/tmp/portage/sys-libs/glibc-2.11.2/work/build-amd64-x86_64-pc-linux-gnu-nptl/elf/ld.so[ld-linux-x86-64:21205] uid/euid:250/250 gid/egid:250/250, parent /bin/bash[sh:21203] uid/euid:250/250 gid/egid:250/250
grsec: From 10.9.8.6: denied resource overstep by requesting 4096 for RLIMIT_CORE against limit 0 for /var/tmp/portage/sys-libs/glibc-2.11.2/work/build-amd64-x86_64-pc-linux-gnu-nptl/elf/ld.so[ld-linux-x86-64:21205] uid/euid:250/250 gid/egid:250/250, parent /bin/bash[sh:21203] uid/euid:250/250 gid/egid:250/250
grsec: From 10.9.8.6: Segmentation fault occurred at 0000000000000028 in /var/tmp/portage/sys-libs/glibc-2.11.2/work/build-amd64-x86_64-pc-linux-gnu-nptl/elf/ld.so[ld-linux-x86-64:21210] uid/euid:250/250 gid/egid:250/250, parent /bin/bash[sh:21206] uid/euid:250/250 gid/egid:250/250
grsec: From 10.9.8.6: denied resource overstep by requesting 4096 for RLIMIT_CORE against limit 0 for /var/tmp/portage/sys-libs/glibc-2.11.2/work/build-amd64-x86_64-pc-linux-gnu-nptl/elf/ld.so[ld-linux-x86-64:21210] uid/euid:250/250 gid/egid:250/250, parent /bin/bash[sh:21206] uid/euid:250/250 gid/egid:250/250
grsec: From 10.9.8.6: Segmentation fault occurred at 0000000000000028 in /var/tmp/portage/sys-libs/glibc-2.11.2/work/build-amd64-x86_64-pc-linux-gnu-nptl/elf/ld.so[ld-linux-x86-64:21213] uid/euid:250/250 gid/egid:250/250, parent /bin/bash[sh:21212] uid/euid:250/250 gid/egid:250/250
grsec: more alerts, logging disabled for 10 seconds
Comment 1 Ricardo I. Vieitez 2010-07-31 02:01:35 UTC
Created attachment 240763 [details]
messages
Comment 2 Ricardo I. Vieitez 2010-07-31 02:04:49 UTC
Created attachment 240765 [details]
gzipped build.log
Comment 3 Magnus Granberg gentoo-dev 2010-07-31 10:43:45 UTC
Move to 4.4.3-r3 or newer if you want -fstack-protector support on as default.

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