Closed Bug 1357588 Opened 7 years ago Closed 7 years ago

mozjs/Firefox 38.8.0 fails to build on MIPS64

Categories

(Core :: JavaScript Engine, defect)

38 Branch
defect
Not set
normal

Tracking

()

RESOLVED INCOMPLETE

People

(Reporter: jeffbai, Unassigned)

References

Details

Attachments

(1 file)

Attached file Build log.
User Agent: Mozilla/5.0 (X11; Linux ppc64; rv:45.9) Gecko/20100101 Goanna/3.0 Firefox/45.9 PaleMoon/27.1.2
Build ID: 20170413203234

Steps to reproduce:

- Compile MozJS/Firefox 38.8.0 with the following configuration on a MIPS64el machine (Loongson/Godson 3A-2000R2 in this case):
   ./configure ... \
        --with-system-nspr \
	--enable-threadsafe \
	--enable-readline \
	--enable-xterm-updates \
	--enable-shared-js \
	--enable-gcgenerational \
	--disable-optimize \
	--with-system-zlib \
	--enable-system-ffi \
	--with-system-icu \
	--without-intl-api \
	--enable-pie
- `make' source...


Actual results:

MozJS/Firefox 38.8.0 fails to build from source with multiple errors, build log attached below.


Expected results:

Source should build successfully.
It looks like you'll need to fix https://dxr.mozilla.org/mozilla-esr38/source/js/src/configure.in#2121 to take mips64 into account, though presumably there's a reason why mips64 didn't get handled specially by that case statement in the first place, and there might be more stuff to fix after that.  It looks like esr38 doesn't have support for mips64 in the JIT; esr45 might, though.

In any event, esr38 is no longer supported.  We'd take patches for current mozilla-central; it looks like mips64 detection works correctly there.
Status: UNCONFIRMED → RESOLVED
Closed: 7 years ago
Resolution: --- → INCOMPLETE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: