Source: mozjs60
Version: 60.1.0-1
Severity: serious
Tags: ftbfs help
Justification: fails to build from source
X-Debbugs-Cc: debian-m...@lists.debian.org
User: debian-m...@lists.debian.org
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

Reply via email to