Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 404287

Summary: sys-libs/glibc-2.13-r4: fails checks forced unwind - ld: skipping incompatible /usr/lib/gcc/x86_64-pc-linux-gnu/4.5.3/libgcc.a when searching for -lgcc
Product: Gentoo Linux Reporter: Daniel Matei <daniel.matei>
Component: [OLD] Core systemAssignee: Gentoo Toolchain Maintainers <toolchain>
Status: RESOLVED INVALID    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge output
emerge --info
glibc build log
glibc-2.13-r4 config log
glibc-2.13-r4 config log

Description Daniel Matei 2012-02-17 17:44:31 UTC
Trying to make an world update. It got to glibc and wont pass due to failed checks.

Reproducible: Always

Steps to Reproduce:
1. emerge -uD world

Actual Results:  
It fails to compile giving out the following error: configure: error: forced unwind support is required

Expected Results:  
The package should compile fine without problems.

Portage 2.1.10.44 (hardened/linux/amd64/selinux, gcc-4.5.3, glibc-2.12.2, 3.0.4-hardened-r4 x86_64)
=================================================================
System uname: Linux-3.0.4-hardened-r4-x86_64-Intel-R-_Xeon-R-_CPU_E5420_@_2.50GHz-with-gentoo-2.0.3
Timestamp of tree: Fri, 17 Feb 2012 16:45:01 +0000
app-shells/bash:          4.1_p9
dev-lang/python:          2.4.6, 2.5.4-r4, 2.6.6-r2, 2.7.1-r1, 3.1.3-r1
dev-util/cmake:           2.8.4-r1
dev-util/pkgconfig:       0.26
sys-apps/baselayout:      2.0.3
sys-apps/openrc:          0.8.3-r1
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.13, 2.68
sys-devel/automake:       1.11.1
sys-devel/binutils:       2.21.1-r1
sys-devel/gcc:            4.1.2, 4.3.4, 4.5.3-r1
sys-devel/gcc-config:     1.4.1-r1
sys-devel/libtool:        2.4-r1
sys-devel/make:           3.82-r1
sys-kernel/linux-headers: 3.1 (virtual/os-headers)
sys-libs/glibc:           2.12.2
Repositories: gentoo
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -mtune=generic -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /var/bind /var/qmail/alias /var/qmail/control /var/vpopmail/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.3/ext-active/ /etc/php/cgi-php5.3/ext-active/ /etc/php/cli-php5.3/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=native -mtune=generic -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests binpkg-logs distlocks ebuild-locks fixlafiles news parallel-fetch protect-owned sandbox selinux sesandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS=""
GENTOO_MIRRORS="http://gentoo.inode.at/"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
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=""
SYNC="rsync://rsync.de.gentoo.org/gentoo-portage"
USE="7zip amd64 apache2 authdaemon bacula-console berkdb bzip2 cli cracklib crypt ctype cxx dri fontconfig gd gdbm gpm hardened iconv imap ipv6 javascript jpeg justify maildir mmx modules mudflap multilib mysql ncurses nls nptl nptlonly offensive open_perms openmp pam pax_kernel pcre php png pop3d pppd readline selinux session snmp sse sse2 ssl ssse3 sysfs tcpd truetype unicode urandom valias vhosts vim-syntax vpopmail xml xorg zip 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" CALLIGRA_FEATURES="kexi words flow plan stage tables krita karbon braindump" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="fbdev glint intel mach64 mga neomagic nouveau nv r128 radeon savage sis tdfx trident vesa via vmware dummy v4l" 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, INSTALL_MASK, LANG, LC_ALL, LINGUAS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2012-02-17 17:49:11 UTC
http://pastebin.com/fNKkc54N

Attach that file to this bug report, please.
Comment 2 Daniel Matei 2012-02-18 16:15:48 UTC
Created attachment 302389 [details]
emerge output
Comment 3 Alessandro Surace 2012-03-20 15:26:04 UTC
Created attachment 305999 [details]
emerge --info
Comment 4 Alessandro Surace 2012-03-20 15:27:22 UTC
Created attachment 306001 [details]
glibc build log
Comment 5 Alessandro Surace 2012-03-20 15:27:58 UTC
Same problem here.
Have you any suggestion ?
Comment 6 Daniel Matei 2012-04-01 21:16:10 UTC
Isn't there anyone that can give us a hint where the problem might lie?
This is a production box which haven't been updated in months now due to this problem.

I notice the status beeing NEEDINFO. What kind of info?
Comment 7 Jeroen Roovers (RETIRED) gentoo-dev 2012-04-17 15:13:14 UTC
(In reply to comment #6)
> Isn't there anyone that can give us a hint where the problem might lie?
> This is a production box which haven't been updated in months now due to
> this problem.
> 
> I notice the status beeing NEEDINFO. What kind of info?

Normally you would reopen the bug report when the requested information has been provided.

Could either one of you please attach the config.log that would have been produced in the work directory?
Comment 8 Daniel Matei 2012-04-18 07:12:31 UTC
Created attachment 309387 [details]
glibc-2.13-r4 config log
Comment 9 Daniel Matei 2012-04-18 07:13:08 UTC
Created attachment 309389 [details]
glibc-2.13-r4 config log
Comment 10 SpanKY gentoo-dev 2012-04-18 15:37:03 UTC
looks to me like your gcc lacks multilib support.  you can verify by doing:
  echo 'main(){}' | gcc -x c - -m32

if that fails, your gcc doesn't support multilib, so building glibc w/multilib won't work.  you must install gcc with multilib support, or don't use a multilib setup.