Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 468228 - www-client/firefox-20.0.1 fails to build on arm (js/src/ion/shared/IonAssemblerBufferWithConstantPools.h)
Summary: www-client/firefox-20.0.1 fails to build on arm (js/src/ion/shared/IonAssembl...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: ARM Linux
: Normal normal (vote)
Assignee: Mozilla Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-05-02 04:47 UTC by Markus Meier
Modified: 2013-12-01 12:38 UTC (History)
1 user (show)

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


Attachments
www-client:firefox-20.0.1:20130502-004510.log (www-client:firefox-20.0.1:20130502-004510.log,204.83 KB, text/plain)
2013-05-02 04:47 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-05-02 04:47:34 UTC
Created attachment 347102 [details]
www-client:firefox-20.0.1:20130502-004510.log

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


armv5tel-softfloat-linux-gnueabi-g++ -o jscrashreport.o -c  -fvisibility=hidden -DENABLE_TYPEDARRAY_MOVE -DENABLE_YARR_JIT=1 -DMOZ_GLUE_IN_PROGRAM -DNO_NSPR_10_SUPPORT -DEXPORT_JS_API -DJS_HAS_CTYPES -DDLL_PREFIX=\"lib\" -DDLL_SUFFIX=\".so\" -DUSE_ZLIB -I/usr/lib/libffi-3.0.13/include  -I.  -I/var/tmp/portage/www-client/firefox-20.0.1/work/mozilla-release/js/src/../../mfbt/double-conversion -I/var/tmp/portage/www-client/firefox-20.0.1/work/mozilla-release/js/src -I. -I./../../dist/include  -I/usr/include/nspr      -I/var/tmp/portage/www-client/firefox-20.0.1/work/mozilla-release/js/src -I/var/tmp/portage/www-client/firefox-20.0.1/work/mozilla-release/js/src/assembler -I/var/tmp/portage/www-client/firefox-20.0.1/work/mozilla-release/js/src/yarr  -fPIC  -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Wtype-limits -Wempty-body -Werror=conversion-null -Wno-ctor-dtor-privacy -Wno-overlength-strings -Wno-invalid-offsetof -Wno-variadic-macros -march=armv5te -pipe -fno-rtti -ffunction-sections -fdata-sections -fno-exceptions -pthread -pipe  -DNDEBUG -DTRIMMED -O3 -freorder-blocks  -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1   -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/jscrashreport.o.pp  /var/tmp/portage/www-client/firefox-20.0.1/work/mozilla-release/js/src/jscrashreport.cpp
jsinfer.cpp
In file included from /var/tmp/portage/www-client/firefox-20.0.1/work/mozilla-release/js/src/ion/arm/Assembler-arm.h:16:0,
                 from /var/tmp/portage/www-client/firefox-20.0.1/work/mozilla-release/js/src/ion/arm/MacroAssembler-arm.h:13,
                 from /var/tmp/portage/www-client/firefox-20.0.1/work/mozilla-release/js/src/ion/IonMacroAssembler.h:16,
                 from /var/tmp/portage/www-client/firefox-20.0.1/work/mozilla-release/js/src/jsgc.cpp:87:
/var/tmp/portage/www-client/firefox-20.0.1/work/mozilla-release/js/src/ion/shared/IonAssemblerBufferWithConstantPools.h: In instantiation of 'void js::ion::AssemblerBufferWithConstantPool<SliceSize, InstBaseSize, Inst, Asm, poolKindBits>::dumpPool() [with int SliceSize = 1024; int InstBaseSize = 4; Inst = js::ion::Instruction; Asm = js::ion::Assembler; int poolKindBits = 1]':
/var/tmp/portage/www-client/firefox-20.0.1/work/mozilla-release/js/src/ion/shared/IonAssemblerBufferWithConstantPools.h:934:13:   required from 'void js::ion::AssemblerBufferWithConstantPool<SliceSize, InstBaseSize, Inst, Asm, poolKindBits>::flushPool() [with int SliceSize = 1024; int InstBaseSize = 4; Inst = js::ion::Instruction; Asm = js::ion::Assembler; int poolKindBits = 1]'
/var/tmp/portage/www-client/firefox-20.0.1/work/mozilla-release/js/src/ion/arm/Assembler-arm.h:1565:28:   required from here
/var/tmp/portage/www-client/firefox-20.0.1/work/mozilla-release/js/src/ion/shared/IonAssemblerBufferWithConstantPools.h:872:18: warning: variable 'beforePool' set but not used [-Wunused-but-set-variable]
/var/tmp/portage/www-client/firefox-20.0.1/work/mozilla-release/js/src/ion/shared/IonAssemblerBufferWithConstantPools.h: In instantiation of 'void js::ion::AssemblerBufferWithConstantPool<SliceSize, InstBaseSize, Inst, Asm, poolKindBits>::finishPool() [with int SliceSize = 1024; int InstBaseSize = 4; Inst = js::ion::Instruction; Asm = js::ion::Assembler; int poolKindBits = 1]':
/var/tmp/portage/www-client/firefox-20.0.1/work/mozilla-release/js/src/ion/shared/IonAssemblerBufferWithConstantPools.h:935:9:   required from 'void js::ion::AssemblerBufferWithConstantPool<SliceSize, InstBaseSize, Inst, Asm, poolKindBits>::flushPool() [with int SliceSize = 1024; int InstBaseSize = 4; Inst = js::ion::Instruction; Asm = js::ion::Assembler; int poolKindBits = 1]'
/var/tmp/portage/www-client/firefox-20.0.1/work/mozilla-release/js/src/ion/arm/Assembler-arm.h:1565:28:   required from here
/var/tmp/portage/www-client/firefox-20.0.1/work/mozilla-release/js/src/ion/shared/IonAssemblerBufferWithConstantPools.h:678:13: error: 'realloc_' was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
/var/tmp/portage/www-client/firefox-20.0.1/work/mozilla-release/js/src/ion/shared/IonAssemblerBufferWithConstantPools.h:678:13: note: declarations in dependent base 'js::ion::IonAllocPolicy' are not found by unqualified lookup
/var/tmp/portage/www-client/firefox-20.0.1/work/mozilla-release/js/src/ion/shared/IonAssemblerBufferWithConstantPools.h:678:13: note: use 'this->realloc_' instead
make[5]: *** [jsgc.o] Error 1
make[5]: *** Waiting for unfinished jobs....
make[5]: Leaving directory `/var/tmp/portage/www-client/firefox-20.0.1/work/mozilla-release/obj-armv5tel-unknown-linux-gnueabi/js/src'
make[4]: *** [libs_tier_js] Error 2
make[4]: Leaving directory `/var/tmp/portage/www-client/firefox-20.0.1/work/mozilla-release/obj-armv5tel-unknown-linux-gnueabi'
make[3]: *** [tier_js] Error 2
make[3]: Leaving directory `/var/tmp/portage/www-client/firefox-20.0.1/work/mozilla-release/obj-armv5tel-unknown-linux-gnueabi'
make[2]: *** [default] Error 2
make[2]: Leaving directory `/var/tmp/portage/www-client/firefox-20.0.1/work/mozilla-release/obj-armv5tel-unknown-linux-gnueabi'
make[1]: *** [realbuild] Error 2
make[1]: Leaving directory `/var/tmp/portage/www-client/firefox-20.0.1/work/mozilla-release'
make: *** [build] Error 2
emake failed
 * ERROR: www-client/firefox-20.0.1 failed (compile phase):
 *   emake failed
 * 
 * Call stack:
 *     ebuild.sh, line  93:  Called src_compile
 *   environment, line 5047:  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.62 (default/linux/arm/13.0/armv5te/desktop, gcc-4.7.2, glibc-2.17, 3.7.0 armv5tel)
=================================================================
System uname: Linux-3.7.0-armv5tel-Feroceon_88FR131_rev_1_-v5l-with-gentoo-2.2
KiB Mem:      513800 total,     83288 free
KiB Swap:    2104508 total,   1949800 free
Timestamp of tree: Wed, 01 May 2013 10:00:01 +0000
ld GNU ld (GNU Binutils) 2.23.1
ccache version 3.1.9 [disabled]
app-shells/bash:          4.2_p45
dev-lang/python:          2.5.4-r5, 2.6.8-r1, 2.7.3-r3, 3.1.5-r1, 3.2.4
dev-util/ccache:          3.1.9
dev-util/cmake:           2.8.10.2-r2
dev-util/pkgconfig:       0.28
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.11.8
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.1
sys-devel/binutils:       2.23.1
sys-devel/gcc:            4.4.7, 4.5.4, 4.6.3, 4.7.2-r1
sys-devel/gcc-config:     1.8
sys-devel/libtool:        2.4.2
sys-devel/make:           3.82-r4
sys-kernel/linux-headers: 3.8 (virtual/os-headers)
sys-libs/glibc:           2.17
Repositories: gentoo x-portage
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/share/config /usr/share/gnupg/qualified.txt /usr/share/polkit-1/actions"
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.4/ext-active/ /etc/php/cgi-php5.4/ext-active/ /etc/php/cli-php5.4/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 protect-owned sandbox sfperms strict test test-fail-continue unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox"
FFLAGS="-O2 -pipe -march=armv5te"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
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 --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="/usr/local/portage"
SYNC="rsync://minil/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 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" 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 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 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" 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, LANG, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
Comment 1 Markus Meier gentoo-dev 2013-05-18 08:39:50 UTC
this is caused by USE=jit
Comment 2 Markus Meier gentoo-dev 2013-12-01 12:38:29 UTC
seems to be fixed with www-client/firefox-25.0.1, emerges w/o issues on armv5. closing.