pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Firefox 84.0 fails to build on aarch64



Hi,

Benny Siegert <bsiegert%gmail.com@localhost> writes:

> Hi!
>
> On evbarm-aarch64 (that is, on a Pinebook Pro), Firefox 84 compile fails 
> with the following error:
>
> In file included from 
> /usr/pkgsrc/www/firefox/work/build/dist/include/mozilla/AlreadyAddRefed.h:14:0,
>                   from 
> /usr/pkgsrc/www/firefox/work/firefox-84.0/js/src/jsapi.h:12,
>                   from 
> /usr/pkgsrc/www/firefox/work/firefox-84.0/js/src/debugger/DebugScript.h:14,
>                   from 
> /usr/pkgsrc/www/firefox/work/firefox-84.0/js/src/debugger/DebugScript.cpp:7,
>                   from Unified_cpp_js_src_debugger0.cpp:2:
> /usr/pkgsrc/www/firefox/work/firefox-84.0/js/src/jit/arm64/Architecture-arm64.h: 
> In member function 'constexpr uint32_t js::jit::FloatRegister::size() 
> const':
> /usr/pkgsrc/www/firefox/work/build/dist/include/mozilla/Assertions.h:44:57: 
> error: call to non-constexpr function 'void AnnotateMozCrashReason(const 
> char*)'
>   #  define MOZ_CRASH_ANNOTATE(...) AnnotateMozCrashReason(__VA_ARGS__)
>                                     ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~
> /usr/pkgsrc/www/firefox/work/build/dist/include/mozilla/Assertions.h:224:7: 
> note: in expansion of macro 'MOZ_CRASH_ANNOTATE'
>         MOZ_CRASH_ANNOTATE("MOZ_CRASH(" __VA_ARGS__ ")"); \
>         ^~~~~~~~~~~~~~~~~~
> /usr/pkgsrc/www/firefox/work/firefox-84.0/js/src/jit/arm64/Architecture-arm64.h:583:5: 
> note: in expansion of macro 'MOZ_CRASH'
>       MOZ_CRASH("No SIMD support");
>       ^~~~~~~~~
> gmake[3]: *** 
> [/usr/pkgsrc/www/firefox/work/firefox-84.0/config/rules.mk:676: 
> Unified_cpp_js_src_debugger0.o] Error 1
> gmake[3]: Leaving directory 
> '/usr/pkgsrc/www/firefox/work/build/js/src/debugger'
> gmake[2]: *** 
> [/usr/pkgsrc/www/firefox/work/firefox-84.0/config/recurse.mk:72: 
> js/src/debugger/target-objects] Error 2
> gmake[2]: Leaving directory '/usr/pkgsrc/www/firefox/work/build'
> gmake[1]: *** 
> [/usr/pkgsrc/www/firefox/work/firefox-84.0/config/recurse.mk:34: compile] 
> Error 2
> gmake[1]: Leaving directory '/usr/pkgsrc/www/firefox/work/build'
> gmake: *** [/usr/pkgsrc/www/firefox/work/firefox-84.0/config/rules.mk:355: 
> all] Error 2
> *** Error code 2
>
>
> It sounds like there is some architecture-specific code missing. Any 
> ideas?

I can successfully build www/firefox-84.0 under NetBSD/evbarm64 9.99.77.

Do you use netbsd-9?
I will try to check the build under NetBSD/evbarm64 9.2_STABLE.

Thank you.

> -- 
> Benny

-- 
Ryo ONODERA // ryo%tetera.org@localhost
PGP fingerprint = 82A2 DC91 76E0 A10A 8ABB  FD1B F404 27FA C7D1 15F3


Home | Main Index | Thread Index | Old Index