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

Bug 454732

Summary: www-client/firefox-18.0.1 fails to link on armv7
Product: Gentoo Linux Reporter: Markus Meier <maekke>
Component: Current packagesAssignee: Mozilla Gentoo Team <mozilla>
Status: RESOLVED DUPLICATE    
Severity: normal CC: arm, kripton
Priority: Normal    
Version: unspecified   
Hardware: ARM   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: build.log.tar.bz2

Description Markus Meier gentoo-dev 2013-01-30 20:10:49 UTC
Created attachment 337340 [details]
build.log.tar.bz2

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

/var/tmp/portage/www-client/firefox-18.0.1/work/mozilla-release/obj-armv7l-unknown-linux-gnueabi/_virtualenv/bin/python /var/tmp/portage/www-client/firefox-18.0.1/work/mozilla-rele
ase/config/pythonpath.py -I../../config /var/tmp/portage/www-client/firefox-18.0.1/work/mozilla-release/config/expandlibs_exec.py --depend .deps/libxul.so.pp --target libxul.so --u
selist --  armv7a-hardfloat-linux-gnueabi-g++  -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Wtype-limits -Wempty-body -Werror=conversion-null -Wno-ctor-dtor-priv
acy -Wno-overlength-strings -Wno-invalid-offsetof -Wno-variadic-macros -pipe -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fno-exceptions -fno-strict-aliasing -fno-rtti -ffuncti
on-sections -fdata-sections -fno-exceptions -std=gnu++0x -pthread -pipe  -DNDEBUG -DTRIMMED -g -Os -freorder-blocks  -fomit-frame-pointer -fPIC -shared -Wl,-z,defs -Wl,--gc-section
s -Wl,-h,libxul.so -o libxul.so  nsStaticXULComponents.o nsUnicharUtils.o nsBidiUtils.o nsSpecialCasingData.o nsUnicodeProperties.o nsRDFResource.o    -lpthread -Wl,-O1 -Wl,--as-ne
eded -Wl,-z,noexecstack   -Wl,-rpath-link,/var/tmp/portage/www-client/firefox-18.0.1/work/mozilla-release/obj-armv7l-unknown-linux-gnueabi/dist/bin -Wl,-rpath-link,/usr/lib   ../..
/toolkit/components/osfile/libosfile_s.a ../../toolkit/xre/libxulapp_s.a  ../../staticlib/components/libnecko.a ../../staticlib/components/libuconv.a ../../staticlib/components/lib
i18n.a ../../staticlib/components/libchardet.a ../../staticlib/components/libjar50.a ../../staticlib/components/libstartupcache.a ../../staticlib/components/libpref.a ../../staticl
ib/components/libhtmlpars.a ../../staticlib/components/libidentity.a ../../staticlib/components/libimglib2.a ../../staticlib/components/libmediasniffer.a ../../staticlib/components
/libgkgfx.a ../../staticlib/components/libgklayout.a ../../staticlib/components/libdocshell.a ../../staticlib/components/libembedcomponents.a ../../staticlib/components/libwebbrwsr
.a ../../staticlib/components/libnsappshell.a ../../staticlib/components/libtxmgr.a ../../staticlib/components/libcommandlines.a ../../staticlib/components/libtoolkitcomps.a ../../
staticlib/components/libpipboot.a ../../staticlib/components/libpipnss.a ../../staticlib/components/libappcomps.a ../../staticlib/components/libjsreflect.a ../../staticlib/componen
ts/libcomposer.a ../../staticlib/components/libtelemetry.a ../../staticlib/components/libjsinspector.a ../../staticlib/components/libjsdebugger.a ../../staticlib/components/libstor
agecomps.a ../../staticlib/components/librdf.a ../../staticlib/components/libwindowds.a ../../staticlib/components/libjsctypes.a ../../staticlib/components/libjsperf.a ../../static
lib/components/libgkplugin.a ../../staticlib/components/libunixproxy.a ../../staticlib/components/libjsd.a ../../staticlib/components/libautoconfig.a ../../staticlib/components/lib
auth.a ../../staticlib/components/libcookie.a ../../staticlib/components/libpermissions.a ../../staticlib/components/libuniversalchardet.a ../../staticlib/components/libfileview.a 
../../staticlib/components/libplaces.a ../../staticlib/components/libtkautocomplete.a ../../staticlib/components/libsatchel.a ../../staticlib/components/libpippki.a ../../staticlib
/components/libwidget_gtk2.a ../../staticlib/components/libimgicon.a ../../staticlib/components/libaccessibility.a ../../staticlib/components/libremoteservice.a ../../staticlib/com
ponents/libspellchecker.a ../../staticlib/components/libzipwriter.a ../../staticlib/components/libservices-crypto.a ../../staticlib/components/libnkgio.a ../../staticlib/components
/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-18.0.1/work/mozilla-release/obj-armv7l-unknown-linux-gnueabi/dist/lib/libjs_static.a -lffi  -Wl,-R/usr/lib -L/usr/lib -lssl3 -lsmime3 -lnss3 -lnssutil3 -lcrmf -lcairo   -L/usr/lib -lcairo -lXext -lXrender -lX11   ../../dist/lib/libmozsqlite3.a  -lpng -lz -lhunspell-1.3  -L/usr/lib -levent -lvpx  -lpixman-1  ../../dist/lib/libgkmedias.a ../../media/mtransport/build/libmtransport.a ../../media/webrtc/signaling/signaling_ecc/libecc.a ../../media/webrtc/signaling/signaling_sipcc/libsipcc.a  -lasound  -lrt -L../../dist/bin -L../../dist/lib  -Wl,-R/usr/lib -L/usr/lib -lplds4 -lplc4 -lnspr4 -lpthread -ldl ../../dist/lib/libmozalloc.a -ldbus-glib-1 -ldbus-1 -lgobject-2.0 -lglib-2.0  -L/usr/lib -lX11  -lXext  -lpangoft2-1.0 -lfreetype -lfontconfig -lpangocairo-1.0 -lpango-1.0 -lgobject-2.0 -lglib-2.0 -lcairo  -lfontconfig  -lgtk-x11-2.0 -latk-1.0 -lgio-2.0 -lpangoft2-1.0 -lfreetype -lfontconfig -lgdk-x11-2.0 -lpangocairo-1.0 -lpango-1.0 -lcairo -lgdk_pixbuf-2.0 -lgobject-2.0 -lglib-2.0  -lXt -lgthread-2.0 -lfreetype  -lstartup-notification-1   -ldl  -lrt    
../../media/webrtc/trunk/src/modules/modules_aecm/audio_processing/aecm/aecm_core.o: In function `WebRtcAecm_InitCore':
/var/tmp/portage/www-client/firefox-18.0.1/work/mozilla-release/media/webrtc/trunk/src/modules/audio_processing/aecm/aecm_core.c:699: undefined reference to `WebRtcAecm_WindowAndFFTNeon'
/var/tmp/portage/www-client/firefox-18.0.1/work/mozilla-release/media/webrtc/trunk/src/modules/audio_processing/aecm/aecm_core.c:699: undefined reference to `WebRtcAecm_InverseFFTAndWindowNeon'
/var/tmp/portage/www-client/firefox-18.0.1/work/mozilla-release/media/webrtc/trunk/src/modules/audio_processing/aecm/aecm_core.c:699: undefined reference to `WebRtcAecm_CalcLinearEnergiesNeon'
/var/tmp/portage/www-client/firefox-18.0.1/work/mozilla-release/media/webrtc/trunk/src/modules/audio_processing/aecm/aecm_core.c:699: undefined reference to `WebRtcAecm_StoreAdaptiveChannelNeon'
/var/tmp/portage/www-client/firefox-18.0.1/work/mozilla-release/media/webrtc/trunk/src/modules/audio_processing/aecm/aecm_core.c:699: undefined reference to `WebRtcAecm_ResetAdaptiveChannelNeon'
collect2: error: ld returned 1 exit status
make[5]: *** [libxul.so] Error 1
make[5]: Leaving directory `/var/tmp/portage/www-client/firefox-18.0.1/work/mozilla-release/obj-armv7l-unknown-linux-gnueabi/toolkit/library'
make[4]: *** [libs_tier_platform] Error 2
make[4]: Leaving directory `/var/tmp/portage/www-client/firefox-18.0.1/work/mozilla-release/obj-armv7l-unknown-linux-gnueabi'
make[3]: *** [tier_platform] Error 2
make[3]: Leaving directory `/var/tmp/portage/www-client/firefox-18.0.1/work/mozilla-release/obj-armv7l-unknown-linux-gnueabi'
make[2]: *** [default] Error 2
make[2]: Leaving directory `/var/tmp/portage/www-client/firefox-18.0.1/work/mozilla-release/obj-armv7l-unknown-linux-gnueabi'
make[1]: *** [realbuild] Error 2
make[1]: Leaving directory `/var/tmp/portage/www-client/firefox-18.0.1/work/mozilla-release'
make: *** [build] Error 2
emake failed
 * ERROR: www-client/firefox-18.0.1 failed (compile phase):
 *   emake failed
 * 
 * Call stack:
 *     ebuild.sh, line  93:  Called src_compile
 *   environment, line 4799:  Called die
 * The specific snippet of code:
 *           CC="$(tc-getCC)" CXX="$(tc-getCXX)" LD="$(tc-getLD)" MOZ_MAKE_FLAGS="${MAKEOPTS}" emake -f client.mk || die "emake failed";


Portage 2.1.11.50 (default/linux/arm/10.0/armv7a/desktop, gcc-4.7.2, glibc-2.16.0, 3.4.0 armv7l)
=================================================================
System uname: Linux-3.4.0-armv7l-ARMv7_Processor_rev_4_-v7l-with-gentoo-2.2
KiB Mem:     2069816 total,   1567092 free
KiB Swap:    1048572 total,   1045052 free
Timestamp of tree: Tue, 29 Jan 2013 18:30:01 +0000
ld GNU ld (GNU Binutils) 2.23.1
app-shells/bash:          4.2_p42
dev-lang/python:          2.7.3-r3, 3.2.3-r2
dev-util/cmake:           2.8.10.2-r1
dev-util/pkgconfig:       0.28
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.11.8
sys-apps/sandbox:         2.6
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.11.6, 1.12.6, 1.13.1
sys-devel/binutils:       2.23.1
sys-devel/gcc:            4.7.2
sys-devel/gcc-config:     1.8
sys-devel/libtool:        2.4.2
sys-devel/make:           3.82-r4
sys-kernel/linux-headers: 3.7 (virtual/os-headers)
sys-libs/glibc:           2.16.0
Repositories: gentoo maekke
ACCEPT_KEYWORDS="arm ~arm"
ACCEPT_LICENSE="* -@EULA"
CBUILD="armv7a-hardfloat-linux-gnueabi"
CFLAGS="-O2 -pipe -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard"
CHOST="armv7a-hardfloat-linux-gnueabi"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -pipe -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--jobs=2 --keep-going"
FCFLAGS="-O2 -pipe -march=armv7-a"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans"
FFLAGS="-O2 -pipe -march=armv7-a"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --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="/home/maekke/cvs/maekke"
SYNC="rsync://minil/gentoo-portage"
USE="X a52 aac acpi alsa arm berkdb bluetooth branding bzip2 cairo cdda cdr cli consolekit cracklib crypt cxx dbus dri dts dvdr emboss encode exif fam firefox flac gdbm gif gles gles1 gles2 gpm gtk iconv ipv6 jpeg lcms libnotify mad mng modules mp3 mp4 mpeg mudflap ncurses neon nls nptl ogg opengl openmp pam pango pcre pdf png policykit ppds qt3support readline session spell ssl startup-notification svg tcpd threads tiff truetype udev udisks unicode upower usb vorbis wxwidgets xcb xml xv xvid zlib" 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="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" 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 keyboard mouse synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" PHP_TARGETS="php5-3" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_2" RUBY_TARGETS="ruby18 ruby19" USERLAND="GNU" VIDEO_CARDS="omap omapfb dummy fbdev exynos" 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, LANG, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
Comment 1 Markus Meier gentoo-dev 2013-01-30 20:11:53 UTC
just FYI, www-client/firefox-18.0 emerged w/o issues, www-client/firefox-18.0-r1 had the same issue as 18.0.1.
Comment 2 Jory A. Pratt gentoo-dev 2013-01-30 20:14:08 UTC

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