Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 495298 - www-client/firefox-26.0 fails to link libxul.so on arm
Summary: www-client/firefox-26.0 fails to link libxul.so on arm
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:
: 496902 (view as bug list)
Depends on:
Blocks:
 
Reported: 2013-12-25 09:12 UTC by Markus Meier
Modified: 2014-02-20 19:16 UTC (History)
3 users (show)

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


Attachments
firefox-26.0-20131220-073641.log.tar.bz2 (firefox-26.0-20131220-073641.log.tar.bz2,307.58 KB, application/x-bzip2)
2013-12-25 09:12 UTC, Markus Meier
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Markus Meier gentoo-dev 2013-12-25 09:12:08 UTC
Created attachment 366160 [details]
firefox-26.0-20131220-073641.log.tar.bz2

I'm hitting this on armv5 and armv7. www-client/firefox-25.0.1 built w/o issues on both boxes.

 * Package:    www-client/firefox-26.0
 * Repository: gentoo
 * Maintainer: mozilla@gentoo.org
 * USE:        alsa arm dbus elibc_glibc jit kernel_linux libnotify minimal startup-notification test userland_GNU
 * FEATURES:   preserve-libs sandbox test userpriv usersandbox

/var/tmp/portage/www-client/firefox-26.0/work/mozilla-release/obj-armv5tel-softfloat-linux-gnueabi/_virtualenv/bin/python /var/tmp/portage/www-client/firefox-26.0/work/mozilla-release/config/expandlibs_exec.py --depend .deps/.//libxul.so.pp --target libxul.so --uselist --  armv5tel-softfloat-linux-gnueabi-g++  -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Wtype-limits -Wempty-body -Wsign-compare -Wno-invalid-offsetof -march=armv5te -pipe -fno-exceptions -fno-strict-aliasing -fno-rtti -fno-exceptions -fno-math-errno -std=gnu++0x -pthread -pipe  -DNDEBUG -DTRIMMED -Os -freorder-blocks  -fomit-frame-pointer -fPIC -shared -Wl,-z,defs -Wl,-h,libxul.so -o libxul.so  nsBidiUtils.o nsSpecialCasingData.o nsUnicharUtils.o nsUnicodeProperties.o nsRDFResource.o nsStaticXULComponents.o   -lpthread -Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu -Wl,-z,noexecstack -Wl,-z,text -B /var/tmp/portage/www-client/firefox-26.0/work/mozilla-release/obj-armv5tel-softfloat-linux-gnueabi/build/unix/gold  -Wl,-rpath-link,/var/tmp/portage/www-client/firefox-26.0/work/mozilla-release/obj-armv5tel-softfloat-linux-gnueabi/dist/bin -Wl,-rpath-link,/usr/lib   ../../media/kiss_fft/libkiss_fft.a ../../toolkit/xre/libxulapp_s.a  ../../accessible/src/base/libaccessibility_base_s.a ../../accessible/src/generic/libaccessibility_generic_s.a ../../accessible/src/html/libaccessibility_html_s.a ../../accessible/src/xpcom/libaccessibility_xpcom_s.a  ../../accessible/src/libaccessibility_toolkit_s.a  ../../accessible/src/xul/libaccessibility_xul_s.a ../../staticlib/libnecko.a ../../staticlib/libuconv.a ../../staticlib/libi18n.a ../../staticlib/libchardet.a ../../staticlib/libjar.a ../../staticlib/libstartupcache.a ../../staticlib/libpref.a ../../staticlib/libhtmlpars.a ../../staticlib/libidentity.a ../../staticlib/libimglib2.a ../../staticlib/libmediasniffer.a ../../staticlib/libgkgfx.a ../../staticlib/libgklayout.a ../../staticlib/libdocshell.a ../../staticlib/libembedcomponents.a ../../staticlib/libwebbrwsr.a ../../staticlib/libnsappshell.a ../../staticlib/libtxmgr.a ../../staticlib/libcommandlines.a ../../staticlib/libtoolkitcomps.a ../../staticlib/libpipboot.a ../../staticlib/libpipnss.a ../../staticlib/libappcomps.a ../../staticlib/libjsreflect.a ../../staticlib/libcomposer.a ../../staticlib/libtelemetry.a ../../staticlib/libjsinspector.a ../../staticlib/libjsdebugger.a ../../staticlib/libstoragecomps.a ../../staticlib/librdf.a ../../staticlib/libwindowds.a ../../staticlib/libdiskspacewatcher.a ../../staticlib/libjsctypes.a ../../staticlib/libjsperf.a ../../staticlib/libgkplugin.a ../../staticlib/libunixproxy.a ../../staticlib/libjsd.a ../../staticlib/libautoconfig.a ../../staticlib/libauth.a ../../staticlib/libcookie.a ../../staticlib/libpermissions.a ../../staticlib/libuniversalchardet.a ../../staticlib/libfileview.a ../../staticlib/libplaces.a ../../staticlib/libtkautocomplete.a ../../staticlib/libsatchel.a ../../staticlib/libpippki.a ../../staticlib/libwidget_gtk2.a ../../staticlib/libimgicon.a ../../staticlib/libremoteservice.a ../../staticlib/libspellchecker.a ../../staticlib/libzipwriter.a ../../staticlib/libservices-crypto.a ../../staticlib/libnkgio.a ../../staticlib/libpeerconnection.a ../../staticlib/libjsipc_s.a ../../staticlib/libdomipc_s.a ../../staticlib/libdomplugins_s.a ../../staticlib/libmozipc_s.a ../../staticlib/libmozipdlgen_s.a ../../staticlib/libipcshell_s.a ../../staticlib/libgfxipc_s.a ../../staticlib/libhal_s.a ../../staticlib/libdombindings_s.a ../../staticlib/libxpcom_core.a ../../staticlib/libucvutil_s.a ../../staticlib/libchromium_s.a ../../staticlib/libsnappy_s.a ../../staticlib/libgtkxtbin.a ../../staticlib/libthebes.a ../../staticlib/libgl.a ../../staticlib/libycbcr.a  -Wl,-version-script,symverscript -L../../dist/bin -L../../dist/lib /var/tmp/portage/www-client/firefox-26.0/work/mozilla-release/obj-armv5tel-softfloat-linux-gnueabi/dist/lib/libjs_static.a -lffi  -lssl3 -lsmime3 -lnss3 -lnssutil3 -lcrmf   -L/usr/lib -lXrender  ../../dist/lib/libmozsqlite3.a  -lpng -lz -lhunspell-1.3  -L/usr/lib -levent -lvpx  ../../dist/lib/libgkmedias.a ../../media/mtransport/build/libmtransport.a ../../media/webrtc/signaling/signaling_ecc/libecc.a ../../media/webrtc/signaling/signaling_sipcc/libsipcc.a  -lasound   -L../../dist/bin -L../../dist/lib -lplds4 -lplc4 -lnspr4 -lpthread -ldl ../../dist/lib/libmozalloc.a -ldbus-glib-1 -ldbus-1 -lgobject-2.0 -lglib-2.0  -lgtk-x11-2.0 -latk-1.0 -lgio-2.0 -lpangoft2-1.0 -lfontconfig -lfreetype -lgdk-x11-2.0 -lpangocairo-1.0 -lpango-1.0 -lcairo -lgdk_pixbuf-2.0 -lgobject-2.0 -lglib-2.0  -lstartup-notification-1  -L/usr/lib -lX11  -lXext  -lpangoft2-1.0 -lfontconfig -lfreetype -lpangocairo-1.0 -lpango-1.0 -lgobject-2.0 -lglib-2.0 -lcairo  -lfontconfig -lfreetype  -lXt -lgthread-2.0 -lfreetype  -lstartup-notification-1   -ldl  -lrt     
Executing: armv5tel-softfloat-linux-gnueabi-g++ -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Wtype-limits -Wempty-body -Wsign-compare -Wno-invalid-offsetof -march=armv5te -pipe -fno-exceptions -fno-strict-aliasing -fno-rtti -fno-exceptions -fno-math-errno -std=gnu++0x -pthread -pipe -DNDEBUG -DTRIMMED -Os -freorder-blocks -fomit-frame-pointer -fPIC -shared -Wl,-z,defs -Wl,-h,libxul.so -o libxul.so /var/tmp/portage/www-client/firefox-26.0/work/mozilla-release/obj-armv5tel-softfloat-linux-gnueabi/toolkit/library/tmpEhz9qD.list -lpthread -Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu -Wl,-z,noexecstack -Wl,-z,text -B ../../build/unix/gold -Wl,-rpath-link,/var/tmp/portage/www-client/firefox-26.0/work/mozilla-release/obj-armv5tel-softfloat-linux-gnueabi/dist/bin -Wl,-rpath-link,/usr/lib ../../dist/lib/libxpt.a -Wl,-version-script,symverscript -L../../dist/bin -L../../dist/lib ../../dist/lib/libjs_static.a -lffi -lssl3 -lsmime3 -lnss3 -lnssutil3 -lcrmf -L/usr/lib -lXrender ../../dist/lib/libmozsqlite3.so -lpng -lz -lhunspell-1.3 -L/usr/lib -levent -lvpx -lasound -L../../dist/bin -L../../dist/lib -lplds4 -lplc4 -lnspr4 -lpthread -ldl ../../dist/lib/libmozalloc.so -ldbus-glib-1 -ldbus-1 -lgobject-2.0 -lglib-2.0 -lgtk-x11-2.0 -latk-1.0 -lgio-2.0 -lpangoft2-1.0 -lfontconfig -lfreetype -lgdk-x11-2.0 -lpangocairo-1.0 -lpango-1.0 -lcairo -lgdk_pixbuf-2.0 -lgobject-2.0 -lglib-2.0 -lstartup-notification-1 -L/usr/lib -lX11 -lXext -lpangoft2-1.0 -lfontconfig -lfreetype -lpangocairo-1.0 -lpango-1.0 -lgobject-2.0 -lglib-2.0 -lcairo -lfontconfig -lfreetype -lXt -lgthread-2.0 -lfreetype -lstartup-notification-1 -ldl -lrt
/var/tmp/portage/www-client/firefox-26.0/work/mozilla-release/obj-armv5tel-softfloat-linux-gnueabi/toolkit/library/tmpEhz9qD.list:
    INPUT("nsBidiUtils.o")
<snip>
/var/tmp/portage/www-client/firefox-26.0/work/mozilla-release/obj-armv5tel-softfloat-linux-gnueabi/toolkit/library/../../media/libtheora/lib/decode.o:decode.c:function th_decode_packetin: error: undefined reference to 'oc_pack_read1_arm'
/var/tmp/portage/www-client/firefox-26.0/work/mozilla-release/obj-armv5tel-softfloat-linux-gnueabi/toolkit/library/../../media/libtheora/lib/decode.o:decode.c:function th_decode_packetin: error: undefined reference to 'oc_pack_read1_arm'
/var/tmp/portage/www-client/firefox-26.0/work/mozilla-release/obj-armv5tel-softfloat-linux-gnueabi/toolkit/library/../../media/libtheora/lib/decode.o:decode.c:function th_decode_packetin: error: undefined reference to 'oc_pack_read1_arm'
collect2: error: ld returned 1 exit status
/var/tmp/portage/www-client/firefox-26.0/work/mozilla-release/config/rules.mk:1007: recipe for target 'libxul.so' failed
make[4]: *** [libxul.so] Error 1
make[4]: Leaving directory '/var/tmp/portage/www-client/firefox-26.0/work/mozilla-release/obj-armv5tel-softfloat-linux-gnueabi/toolkit/library'
/var/tmp/portage/www-client/firefox-26.0/work/mozilla-release/config/recurse.mk:16: recipe for target 'libs' failed
make[3]: *** [libs] Error 2
make[3]: Leaving directory '/var/tmp/portage/www-client/firefox-26.0/work/mozilla-release/obj-armv5tel-softfloat-linux-gnueabi'
/var/tmp/portage/www-client/firefox-26.0/work/mozilla-release/config/rules.mk:694: recipe for target 'default' failed
make[2]: *** [default] Error 2
make[2]: Leaving directory '/var/tmp/portage/www-client/firefox-26.0/work/mozilla-release/obj-armv5tel-softfloat-linux-gnueabi'
/var/tmp/portage/www-client/firefox-26.0/work/mozilla-release/client.mk:401: recipe for target 'realbuild' failed
make[1]: *** [realbuild] Error 2
make[1]: Leaving directory '/var/tmp/portage/www-client/firefox-26.0/work/mozilla-release'
client.mk:186: recipe for target 'build' failed
make: *** [build] Error 2
emake failed
 * ERROR: www-client/firefox-26.0::gentoo failed (compile phase):
 *   emake failed
 * 
 * Call stack:
 *     ebuild.sh, line  93:  Called src_compile
 *   environment, line 5251:  Called die
 * The specific snippet of code:
 *           CC="$(tc-getCC)" CXX="$(tc-getCXX)" LD="$(tc-getLD)" MOZ_MAKE_FLAGS="${MAKEOPTS}" SHELL="${SHELL}" emake -f client.mk || die "emake failed";

Portage 2.2.7 (default/linux/arm/13.0/armv5te/desktop, gcc-4.8.2, glibc-2.17, 3.9.2 armv5tel)
=================================================================
System uname: Linux-3.9.2-armv5tel-with-gentoo-2.2
KiB Mem:      513632 total,    132808 free
KiB Swap:    2104508 total,   1407976 free
Timestamp of tree: Thu, 19 Dec 2013 19:00:01 +0000
ld GNU ld (GNU Binutils) 2.23.2
ccache version 3.1.9 [disabled]
app-shells/bash:          4.2_p45
dev-lang/python:          2.6.8-r3, 2.7.6, 3.2.5-r3, 3.3.3
dev-util/ccache:          3.1.9-r3
dev-util/cmake:           2.8.12.1-r2
dev-util/pkgconfig:       0.28
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.12.4
sys-apps/sandbox:         2.6-r1
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.4_p6-r1, 1.8.5-r4, 1.9.6-r3, 1.10.3, 1.11.6, 1.12.6, 1.13.4, 1.14
sys-devel/binutils:       2.23.2
sys-devel/gcc:            4.6.4, 4.7.3-r1, 4.8.2
sys-devel/gcc-config:     1.8
sys-devel/libtool:        2.4.2
sys-devel/make:           4.0-r1
sys-kernel/linux-headers: 3.12 (virtual/os-headers)
sys-libs/glibc:           2.17
Repositories: gentoo
ACCEPT_KEYWORDS="arm ~arm"
ACCEPT_LICENSE="* -@EULA"
CBUILD="armv5tel-softfloat-linux-gnueabi"
CFLAGS="-O2 -march=armv5te -pipe"
CHOST="armv5tel-softfloat-linux-gnueabi"
CONFIG_PROTECT="/etc /usr/lib/python2.7/site-packages/buildbot/status/web /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/polkit-1/actions /var/spool/munin-async/.ssh"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.3/ext-active/ /etc/php/apache2-php5.4/ext-active/ /etc/php/apache2-php5.5/ext-active/ /etc/php/cgi-php5.3/ext-active/ /etc/php/cgi-php5.4/ext-active/ /etc/php/cgi-php5.5/ext-active/ /etc/php/cli-php5.3/ext-active/ /etc/php/cli-php5.4/ext-active/ /etc/php/cli-php5.5/ext-active/ /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=armv5te -pipe"
DISTDIR="/mnt/distfiles"
EMERGE_DEFAULT_OPTS="--quiet-build=n --jobs=2 --keep-going --with-bdeps=y"
FCFLAGS="-O2 -pipe -march=armv5te"
FEATURES="assume-digests binpkg-logs collision-protect config-protect-if-modified distlocks ebuild-locks fail-clean fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict test test-fail-continue unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync"
FFLAGS="-O2 -pipe -march=armv5te"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://192.168.1.168/gentoo-portage"
USE="X a52 aac acl acpi alsa apache2 arm berkdb bluetooth branding bzip2 cairo cdda cdr cli consolekit cracklib crypt cups cxx dbus dri dts dvdr emboss encode exif fam firefox flac fortran gdbm gif gpm graphite gtk iconv jpeg lcms libnotify mad mng modules mp3 mp4 mpeg mudflap ncurses nls nptl ogg opengl pam pango pcre pdf png policykit ppds qt3support qt4 readline sdl semantic-desktop session spell ssl startup-notification svg tcpd test threads tiff truetype udev udisks unicode upower usb vorbis wxwidgets xcb xml xv xvid zlib" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd 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 sheets stage tables krita karbon braindump author" 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 ublox ubx" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-3 php5-4" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_5 python2_6 python2_7 python3_1 python3_2" RUBY_TARGETS="ruby18 ruby19 ruby20" USERLAND="GNU" VIDEO_CARDS="exynos fbdev omap omapfb 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, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
Comment 1 Jory A. Pratt gentoo-dev 2014-01-04 04:07:57 UTC
*** Bug 496902 has been marked as a duplicate of this bug. ***
Comment 2 Markus Meier gentoo-dev 2014-02-20 19:16:51 UTC
seems to be fixed in www-client/firefox-27.0, builds fine on armv5 and armv7.