Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 372853 - www-client/firefox-5.0-r1 fails to build: obj-x86_64-unknown-linux-gnu/build/unix/elfhack/elfhack -b test.so; test.so: terminate called after throwing an instance of 'std::runtime_error'
Summary: www-client/firefox-5.0-r1 fails to build: obj-x86_64-unknown-linux-gnu/build/...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Mozilla Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-06-24 15:21 UTC by Cyprien Nicolas (fulax)
Modified: 2011-10-03 12:19 UTC (History)
1 user (show)

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


Attachments
build log (firefox-5.0:20110624-135340.log,130.64 KB, text/plain)
2011-06-24 15:21 UTC, Cyprien Nicolas (fulax)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Cyprien Nicolas (fulax) 2011-06-24 15:21:15 UTC
Created attachment 278021 [details]
build log

I don't know what to specify for the Hardware field, as I'm running an x86 userland with an x86_64 kernel.

# emerge --info --ignore-default-opts
Portage 2.2.0_alpha41 (default/linux/x86/10.0/desktop, gcc-4.5.2, glibc-2.13-r2, 2.6.38-gentoo-r5 x86_64)
=================================================================
System uname: Linux-2.6.38-gentoo-r5-x86_64-Intel-R-_Xeon-R-_CPU_5120_@_1.86GHz-with-gentoo-2.0.3
Timestamp of tree: Fri, 24 Jun 2011 13:30:01 +0000
app-shells/bash:          4.2_p10
dev-java/java-config:     2.1.11-r3
dev-lang/python:          2.7.1-r1, 3.1.3-r1, 3.2
dev-util/cmake:           2.8.4-r1
sys-apps/baselayout:      2.0.3
sys-apps/openrc:          0.8.3
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.13, 2.68
sys-devel/automake:       1.10.3, 1.11.1-r1
sys-devel/binutils:       2.21
sys-devel/gcc:            4.5.2
sys-devel/gcc-config:     1.4.1-r1
sys-devel/libtool:        2.4-r1
sys-devel/make:           3.82-r1
sys-kernel/linux-headers: 2.6.38 (virtual/os-headers)
sys-libs/glibc:           2.13-r2
Repositories: gentoo lisp emacs mozilla sita fulax
Installed sets: 
ACCEPT_KEYWORDS="x86 ~x86"
ACCEPT_LICENSE="* -@EULA"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=i686 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-O2 -march=i686 -pipe"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--verbose"
FEATURES="assume-digests binpkg-logs distlocks ebuild-locks fixlafiles fixpackages news parallel-fetch preserve-libs protect-owned sandbox sfperms split-log strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS=""
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="en_IE.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu"
LINGUAS="en"
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages"
PORTAGE_COMPRESS="xz"
PORTAGE_COMPRESS_FLAGS="-9"
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/lisp /var/lib/layman/emacs /var/lib/layman/mozilla /usr/local/portage /home/cnicolas/gentoo/dev/fulax-gentoo-overlay"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi alsa bash-completion berkdb branding bzip2 cairo cdr cli consolekit cracklib crypt cups cxx dbus dri dts dvd dvdr emboss encode exif fam firefox flac fortran gdbm gdu gif gpm gtk iconv ipv6 jpeg lcms ldap libnotify mad mng modules mp3 mp4 mpeg mudflap ncurses network-cron nls nptl nptlonly ogg opengl openmp pam pango pcre pdf perl png policykit ppds pppd python qt3support qt4 readline sdl session spell ssl startup-notification svg sysfs tcpd threads tiff truetype udev unicode usb vorbis x264 x86 xcb xft xinerama xml xorg xulrunner xv xvid zlib" ALSA_CARDS="hda-intel" 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="braindump flow karbon kexi kpresenter krita tables words" 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="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en" PHP_TARGETS="php5-3" QEMU_SOFTMMU_TARGETS="i386 x86_64" QEMU_USER_TARGETS="i386 x86_64" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="nouveau" 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, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Cyprien Nicolas (fulax) 2011-06-27 07:13:29 UTC
Still occurring with firefox-5.0-r1

I think it could come from the system detection, early during configure:

loading site script /usr/share/config.site
configure: loading site script /usr/share/crossdev/include/site/linux
creating cache ./config.cache
checking host system type... x86_64-unknown-linux-gnu
checking target system type... x86_64-unknown-linux-gnu
checking build system type... x86_64-unknown-linux-gnu

I can't find anything revelant in /var/tmp/portage/www-client/firefox-5.0-r1/work/mozilla-release/obj-x86_64-unknown-linux-gnu/config.log


This does not occur with xulrunner-5.0_beta5:

loading site script /usr/share/config.site
configure: loading site script /usr/share/crossdev/include/site/linux
creating cache ./config.cache
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking build system type... i686-pc-linux-gnu

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

www-client/firefox-5.0_beta5 was built with the following:
USE="alsa custom-optimization dbus ipc libnotify startup-notification system-sqlite webm -bindist -debug -wifi"
CFLAGS="-march=i686 -pipe -Wno-return-type -w"
CXXFLAGS="-march=i686 -pipe -Wno-return-type -w"


net-libs/xulrunner-5.0_beta5 was built with the following:
USE="alsa crashreporter custom-optimization dbus ipc libnotify startup-notification system-sqlite webm -debug -gconf -wifi"
CFLAGS="-march=i686 -pipe -Wno-return-type -w -mno-avx"
CXXFLAGS="-march=i686 -pipe -Wno-return-type -w -mno-avx"
Comment 2 Dima Tisnek 2011-06-28 23:27:31 UTC
This bugs me too, as I build large x86 packages in x86 chroot jail on x86_64 host.
A workaround would be very welcome!
Comment 3 Thomas Sachau gentoo-dev 2011-07-07 18:04:13 UTC
This is not limited to 32bit userland, i get this on my multilib amd64 system too
Comment 4 Jory A. Pratt gentoo-dev 2011-10-03 01:55:05 UTC
Can you still produce with fx-7?
Comment 5 Cyprien Nicolas (fulax) 2011-10-03 08:29:46 UTC
(In reply to comment #4)
> Can you still produce with fx-7?

I Can't. firefox-7.0.1-r1 compiled fine. Thank you.
Comment 6 Jory A. Pratt gentoo-dev 2011-10-03 12:19:05 UTC
Closing bug as fixed.