Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 491294 - =dev-lang/spidermonkey-17.0.0-r1: build fail on MIPS, MacroAssembler is not supported
Summary: =dev-lang/spidermonkey-17.0.0-r1: build fail on MIPS, MacroAssembler is not s...
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: MIPS Linux
: Normal normal
Assignee: Mozilla Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-11-15 05:50 UTC by Yixun Lan
Modified: 2017-08-26 17:55 UTC (History)
0 users

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


Attachments
full build log (build.log.xz,4.25 KB, application/x-xz)
2013-11-15 05:51 UTC, Yixun Lan
Details
full build log (build.log.xz,55.43 KB, application/x-xz)
2013-11-18 02:17 UTC, Yixun Lan
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Yixun Lan archtester gentoo-dev 2013-11-15 05:50:04 UTC
mips64el-unknown-linux-gnu-g++ -o YarrJIT.o -c  -fvisibility=hidden -DENABLE_YARR_JIT=1 -DIMPL_MFBT -DEXPORT_JS_API -DNO_NSPR_10_SUPPORT -DUSE_ZLIB -I./../../mfbt/double-conversion -I. -I. -I./dist/include  -I/usr/include/nspr      -I. -I./assembler -I./yarr  -fPIC  -pedantic -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Wtype-limits -Wempty-body -Wno-ctor-dtor-privacy -Wno-overlength-strings -Wno-invalid-offsetof -Wno-variadic-macros -Wcast-align -Wno-long-long -O2 -march=loongson2f -Wa,-mfix-loongson2f-nop -pipe -fno-rtti -ffunction-sections -fdata-sections -fno-exceptions -pthread -pipe  -DNDEBUG -DTRIMMED -g -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/YarrJIT.o.pp /var/tmp/portage/dev-lang/spidermonkey-17.0.0-r1/work/mozjs17.0.0/js/src/yarr/YarrJIT.cpp
pm_linux.cpp
In file included from /var/tmp/portage/dev-lang/spidermonkey-17.0.0-r1/work/mozjs17.0.0/js/src/yarr/YarrJIT.h:37:0,
                 from /var/tmp/portage/dev-lang/spidermonkey-17.0.0-r1/work/mozjs17.0.0/js/src/yarr/YarrJIT.cpp:30:
./assembler/assembler/MacroAssembler.h:62:2: error: #error "The MacroAssembler is not supported on this platform."
 #error "The MacroAssembler is not supported on this platform."
  ^
mips64el-unknown-linux-gnu-g++ -o jsperf.o -c  -fvisibility=hidden -DENABLE_YARR_JIT=1 -DIMPL_MFBT -DEXPORT_JS_API -DNO_NSPR_10_SUPPORT -DUSE_ZLIB -I./../../mfbt/double-conversion -I. -I. -I./dist/include  -I/usr/include/nspr      -I. -I./assembler -I./yarr  -fPIC  -pedantic -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Wtype-limits -Wempty-body -Wno-ctor-dtor-privacy -Wno-overlength-strings -Wno-invalid-offsetof -Wno-variadic-macros -Wcast-align -Wno-long-long -O2 -march=loongson2f -Wa,-mfix-loongson2f-nop -pipe -fno-rtti -ffunction-sections -fdata-sections -fno-exceptions -pthread -pipe  -DNDEBUG -DTRIMMED -g -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/jsperf.o.pp /var/tmp/portage/dev-lang/spidermonkey-17.0.0-r1/work/mozjs17.0.0/js/src/perf/jsperf.cpp
In file included from /var/tmp/portage/dev-lang/spidermonkey-17.0.0-r1/work/mozjs17.0.0/js/src/yarr/YarrJIT.h:37:0,
                 from /var/tmp/portage/dev-lang/spidermonkey-17.0.0-r1/work/mozjs17.0.0/js/src/yarr/YarrJIT.cpp:30:
./assembler/assembler/MacroAssembler.h:68:50: error: expected class-name before '{' token
 class MacroAssembler : public MacroAssemblerBase {
                                                  ^
./assembler/assembler/MacroAssembler.h:71:11: error: 'MacroAssemblerBase' has not been declared
./assembler/assembler/MacroAssembler.h:72:11: error: 'MacroAssemblerBase' has not been declared
     using MacroAssemblerBase::jump;
           ^
./assembler/assembler/MacroAssembler.h:73:11: error: 'MacroAssemblerBase' has not been declared
     using MacroAssemblerBase::branch32;
           ^
./assembler/assembler/MacroAssembler.h:74:11: error: 'MacroAssemblerBase' has not been declared
     using MacroAssemblerBase::branch16;
           ^
./assembler/assembler/MacroAssembler.h:88:15: error: 'RegisterID' has not been declared
     void peek(RegisterID dest, int index = 0)
               ^
./assembler/assembler/MacroAssembler.h:93:15: error: 'RegisterID' has not been declared
     void poke(RegisterID src, int index = 0)
               ^
./assembler/assembler/MacroAssembler.h:98:15: error: 'TrustedImm32' has not been declared


Reproducible: Always




Portage 2.2.7 (default/linux/mips/13.0/mipsel/multilib/n32, gcc-4.8.1, glibc-2.17, 3.5.4 mips64)[47/1015]
=================================================================
                        System Settings
=================================================================
System uname: Linux-3.5.4-mips64-ICT_Loongson-2_V0.3_FPU_V0.1-with-gentoo-2.2
KiB Mem:     1034096 total,     72592 free
KiB Swap:     524272 total,    468592 free
Timestamp of tree: Fri, 01 Nov 2013 08:45:01 +0000
ld GNU ld (GNU Binutils) 2.23.2
app-shells/bash:          4.2_p45
dev-lang/python:          2.7.5-r4, 3.1.5, 3.2.5-r3, 3.3.2-r2
dev-util/cmake:           2.8.12
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.11.6, 1.12.4, 1.13.4, 1.14
sys-devel/binutils:       2.23.2
sys-devel/gcc:            4.6.3, 4.8.1-r1
sys-devel/gcc-config:     1.8
sys-devel/libtool:        2.4.2
sys-devel/make:           3.82-r4
sys-kernel/linux-headers: 3.11 (virtual/os-headers)
sys-libs/glibc:           2.17
Repositories: gentoo yeeloong enlightenment-dlan dlan
ACCEPT_KEYWORDS="mips ~mips"
ACCEPT_LICENSE="* -@EULA"
CBUILD="mips64el-unknown-linux-gnu"
CFLAGS="-O2 -march=loongson2f -Wa,-mfix-loongson2f-nop -pipe"
CHOST="mips64el-unknown-linux-gnu"
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-re
lease /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=loongson2f -Wa,-mfix-loongson2f-nop -pipe"
DISTDIR="/mnt/test/home/gentoo/locals"

FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-
logs unmerge-orphans userfetch userpriv usersandbox usersync"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://mirrors.163.com/gentoo http://mirrors.xmu.edu.cn/gentoo http://mirrors.stuhome.net
/gentoo/ http://gentoo.mirrors.hoobly.com/"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j3 -l3"
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 --excl
ude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/var/lib/layman/yeeloong /var/lib/layman/enlightenment-dlan /var/lib/layman/dlan"
USE="X acl alsa artworkextra avahi berkdb bindist bzip2 cairo cli consolekit cracklib crypt cups cxx dbus
 exif ffmpeg flac gdbm gdu glchess gtk gtk3 gudev hwdb iconv id3tag ipv6 jpeg latex lcms libsamplerate lo
ck math midi mips modules mp3 mudflap multilib ncurses nls nptl openxml ots pam pcre pic png policykit py
thon readline session soundtouch spell ssl startup-notification tcpd threads thunar tiff twolame udev udi
sks unicode vamp vorbis wmf wordperfect zlib" ABI_MIPS="n32" ALSA_CARDS="au1x00" APACHE2_MODULES="authn_c
ore authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_defaul
t authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cg
i cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers includ
e info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id u
serdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon br
aindump 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 nme
a ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt u
bx" INPUT_DEVICES="evdev keyboard mouse" 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-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python
2_7 python3_2" RUBY_TARGETS="ruby19 ruby18" USERLAND="GNU" VIDEO_CARDS="fbdev" XTABLES_ADDONS="quota2 psd
 pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat l
ogmark ipmark dhcpmac delude chaos account"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORT
AGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, SYNC, USE_PYTHON

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

dev-lang/spidermonkey-1.8.5-r4 was built with the following:
USE="-debug -minimal -static-libs -test"
Comment 1 Yixun Lan archtester gentoo-dev 2013-11-15 05:51:02 UTC
Created attachment 363314 [details]
full build log
Comment 2 Jeroen Roovers (RETIRED) gentoo-dev 2013-11-15 12:51:40 UTC
Comment on attachment 363314 [details]
full build log

media-libs/elementary-1.8.0_alpha1 ?

Please attach the proper build log to this bug report.
Comment 3 Yixun Lan archtester gentoo-dev 2013-11-18 02:17:38 UTC
Created attachment 363462 [details]
full build log
Comment 4 Anthony Basile gentoo-dev 2013-12-23 15:27:47 UTC
(In reply to Dennis 'dlan' Lan from comment #3)
> Created attachment 363462 [details]
> full build log

I've masked >=dev-lang/spidermonkey-1.8.6 on mips.
Comment 5 Anthony Basile gentoo-dev 2013-12-29 00:00:33 UTC
(In reply to Anthony Basile from comment #4)
> (In reply to Dennis 'dlan' Lan from comment #3)
> > Created attachment 363462 [details]
> > full build log
> 
> I've masked >=dev-lang/spidermonkey-1.8.6 on mips.

After talking with ssuominen, I removed the mask and just set -mips on 17.0.0-r1.
Comment 6 Jory A. Pratt gentoo-dev 2017-08-26 17:55:56 UTC
If you feel I have closed your bug and it is still a current issue, please reopen and update it completely. We will not work bugs that have no ebuild in tree any longer or can not be reproduced with a current system.

Thank You for your support and understanding
The Mozilla Team