Bug#908487: mozjs60: FTBFS on mips: error: static assertion failed: atomics supported up to pointer size only
Simon McVittie <[email protected]>
| Newsgroups | gmane.linux.debian.ports.mips |
|---|---|
| Message-ID | <20180910110828.GB30189__46027.1011958413$1536577818$gmane$org@espresso.pseudorandom.co.uk> |
Source: mozjs60 Version: 60.1.0-1 Severity: serious Tags: ftbfs help Justification: fails to build from source X-Debbugs-Cc: [email protected] User: [email protected] Usertags: mips mozjs60 fails to build on mips: /<<PKGBUILDDIR>>/js/src/jit/mips-shared/AtomicOperations-mips-shared.h: In instantiation of 'static T js::jit::AtomicOperations::loadSafeWhenRacy(T*) [with T = long long int]': /<<PKGBUILDDIR>>/js/src/jit/AtomicOperations.h:227:32: required from 'static T js::jit::AtomicOperations::loadSafeWhenRacy(SharedMem<T*>) [with T = long long int]' /<<PKGBUILDDIR>>/js/src/builtin/AtomicsObject.cpp:591:48: required from 'js::FutexThread::WaitResult AtomicsWait(JSContext*, js::SharedArrayRawBuffer*, uint32_t, T, const mozilla::Maybe<mozilla::BaseTimeDuration<mozilla::TimeDurationValueCalculator> >&) [with T = long long int; uint32_t = unsigned int]' /<<PKGBUILDDIR>>/js/src/builtin/AtomicsObject.cpp:630:60: required from here /<<PKGBUILDDIR>>/js/src/jit/mips-shared/AtomicOperations-mips-shared.h:383:29: error: static assertion failed: atomics supported up to pointer size only static_assert(sizeof(T) <= sizeof(void*), "atomics supported up to pointer size only"); ~~~~~~~~~~^~~~~~~~~~~~~~~~ We can't upgrade gjs to a version that uses mozjs60 until either this is fixed somehow, or gjs and its dependencies (notably GNOME Shell) are removed from mips. smcv