Firefox fails to build on main

Nuno Teixeira <[email protected]> Tue, 4 Aug 2026 17:32:26 +0100
Newsgroups gmane.os.freebsd.devel.arm
Message-ID <CAFDf7U+kWxX0fm2-bJmWvW6g=YodB2kVkFA6u9ry_Ts1AfA21Q@mail.gmail.com>
--000000000000fb533106583b33ee
Content-Type: text/plain; charset="UTF-8"

Hello all,

I'm seing this failure around 1 month with 3 worlds update.
Poudriere jail is clean and always match system.
Default port options.

portsfallout.com doesn't show build failures and maybe is a local problem.

Any hints?

Thanks,

---
/usr/local/bin/clang++19 -std=gnu++20 --target=wasm32-wasip1
--sysroot=/usr/local/share/wasi-sysroot -o rlbox.wasm -Wl,--export-all
-Wl,--stack-first -Wl,-z,stack-size=262144 -Wl,--no-entry
-Wl,--import-memory -W
l,--import-table ogg_alloc.wasm ogg_bitwise.wasm ogg_framing.wasm
moz_xmlparse.wasm moz_xmltok.wasm xmlrole.wasm wasm2c_sandbox_wrapper.wasm
mozHunspellRLBoxSandbox.wasm affentry.wasm affixmgr.wasm csutil.wasm ha
shmgr.wasm hunspell.wasm phonet.wasm replist.wasm suggestmgr.wasm
GraphiteExtra.wasm CmapCache.wasm Code.wasm Collider.wasm Decompressor.wasm
Face.wasm FeatureMap.wasm Font.wasm GlyphCache.wasm GlyphFace.wasm Int
ervals.wasm Justifier.wasm NameTable.wasm Pass.wasm Position.wasm
Segment.wasm Silf.wasm Slot.wasm Sparse.wasm TtfUtil.wasm UtfCodec.wasm
call_machine.wasm gr_char_info.wasm gr_face.wasm gr_features.wasm gr_font.
wasm gr_segment.wasm gr_slot.wasm mozalloc.wasm RLBoxWOFF2Sandbox.wasm
table_tags.wasm variable_length.wasm woff2_common.wasm woff2_dec.wasm
woff2_out.wasm -lwasi-emulated-process-clocks
wasm-ld: error:
/usr/local/share/wasi-sysroot/lib/wasm32-wasip1/libc++.a(stdexcept.cpp.o):
undefined symbol: __cxa_allocate_exception
wasm-ld: error:
/usr/local/share/wasi-sysroot/lib/wasm32-wasip1/libc++.a(stdexcept.cpp.o):
undefined symbol: __cxa_throw
wasm-ld: error:
/usr/local/share/wasi-sysroot/lib/wasm32-wasip1/libc++.a(string.cpp.o):
undefined symbol: __cxa_allocate_exception
wasm-ld: error:
/usr/local/share/wasi-sysroot/lib/wasm32-wasip1/libc++.a(string.cpp.o):
undefined symbol: __cxa_throw
wasm-ld: error:
/usr/local/share/wasi-sysroot/lib/wasm32-wasip1/libc++.a(string.cpp.o):
undefined symbol: __cxa_allocate_exception
wasm-ld: error:
/usr/local/share/wasi-sysroot/lib/wasm32-wasip1/libc++.a(string.cpp.o):
undefined symbol: __cxa_throw
wasm-ld: error:
/usr/local/share/wasi-sysroot/lib/wasm32-wasip1/libc++.a(string.cpp.o):
undefined symbol: __cxa_allocate_exception
wasm-ld: error:
/usr/local/share/wasi-sysroot/lib/wasm32-wasip1/libc++.a(string.cpp.o):
undefined symbol: __cxa_throw
wasm-ld: error:
/usr/local/share/wasi-sysroot/lib/wasm32-wasip1/libc++.a(string.cpp.o):
undefined symbol: __cxa_allocate_exception
wasm-ld: error:
/usr/local/share/wasi-sysroot/lib/wasm32-wasip1/libc++.a(string.cpp.o):
undefined symbol: __cxa_throw
wasm-ld: error:
/usr/local/share/wasi-sysroot/lib/wasm32-wasip1/libc++.a(system_error.cpp.o):
undefined symbol: __cxa_allocate_exception
wasm-ld: error:
/usr/local/share/wasi-sysroot/lib/wasm32-wasip1/libc++.a(system_error.cpp.o):
undefined symbol: __cxa_throw
wasm-ld: error:
/usr/local/share/wasi-sysroot/lib/wasm32-wasip1/libc++.a(new_helpers.cpp.o):
undefined symbol: __cxa_allocate_exception
wasm-ld: error:
/usr/local/share/wasi-sysroot/lib/wasm32-wasip1/libc++.a(new_helpers.cpp.o):
undefined symbol: __cxa_throw
wasm-ld: error:
/usr/local/share/wasi-sysroot/lib/wasm32-wasip1/libc++.a(ios.cpp.o):
undefined symbol: __cxa_allocate_exception
wasm-ld: error:
/usr/local/share/wasi-sysroot/lib/wasm32-wasip1/libc++.a(ios.cpp.o):
undefined symbol: __cxa_throw
wasm-ld: error:
/usr/local/share/wasi-sysroot/lib/wasm32-wasip1/libc++.a(ios.cpp.o):
undefined symbol: __cxa_rethrow
wasm-ld: error:
/usr/local/share/wasi-sysroot/lib/wasm32-wasip1/libc++.a(ios.cpp.o):
undefined symbol: __cxa_rethrow
wasm-ld: error:
/usr/local/share/wasi-sysroot/lib/wasm32-wasip1/libc++.a(locale.cpp.o):
undefined symbol: __cxa_allocate_exception
wasm-ld: error:
/usr/local/share/wasi-sysroot/lib/wasm32-wasip1/libc++.a(locale.cpp.o):
undefined symbol: __cxa_throw
wasm-ld: error: too many errors emitted, stopping now (use -error-limit=0
to see all errors)
clang++: error: linker command failed with exit code 1 (use -v to see
invocation)
gmake[3]: *** [/wrkdirs/usr/ports/www/firefox/work/firefox-153.0.1/config/
rules.mk:497: rlbox.wasm] Error 1
gmake[3]: Leaving directory
'/wrkdirs/usr/ports/www/firefox/work/.build/security/rlbox'
gmake[2]: *** [/wrkdirs/usr/ports/www/firefox/work/firefox-153.0.1/config/
recurse.mk:79: security/rlbox/pre-compile] Error 2
---

-- 
Nuno Teixeira
FreeBSD UNIX:  <[email protected]>   Web:  https://FreeBSD.org

--000000000000fb533106583b33ee
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div dir=3D"ltr"><div>Hello all,<br><br></div><div>I&#39;m=
 seing this failure around 1 month with 3 worlds update.<br></div><div>Poud=
riere jail is clean and always match system.<br></div><div>Default port opt=
ions.<br><br></div><div><a href=3D"http://portsfallout.com">portsfallout.co=
m</a> doesn&#39;t show build failures and maybe is a local problem.<br><br>=
</div><div>Any hints?<br><br></div><div>Thanks,</div><div><br>---<br>/usr/l=
ocal/bin/clang++19 -std=3Dgnu++20 --target=3Dwasm32-wasip1 --sysroot=3D/usr=
/local/share/wasi-sysroot -o rlbox.wasm -Wl,--export-all -Wl,--stack-first =
-Wl,-z,stack-size=3D262144 -Wl,--no-entry -Wl,--import-memory -W<br>l,--imp=
ort-table ogg_alloc.wasm ogg_bitwise.wasm ogg_framing.wasm moz_xmlparse.was=
m moz_xmltok.wasm xmlrole.wasm wasm2c_sandbox_wrapper.wasm mozHunspellRLBox=
Sandbox.wasm affentry.wasm affixmgr.wasm csutil.wasm ha<br>shmgr.wasm hunsp=
ell.wasm phonet.wasm replist.wasm suggestmgr.wasm GraphiteExtra.wasm CmapCa=
che.wasm Code.wasm Collider.wasm Decompressor.wasm Face.wasm FeatureMap.was=
m Font.wasm GlyphCache.wasm GlyphFace.wasm Int<br>ervals.wasm Justifier.was=
m NameTable.wasm Pass.wasm Position.wasm Segment.wasm Silf.wasm Slot.wasm S=
parse.wasm TtfUtil.wasm UtfCodec.wasm call_machine.wasm gr_char_info.wasm g=
r_face.wasm gr_features.wasm gr_font.<br>wasm gr_segment.wasm gr_slot.wasm =
mozalloc.wasm RLBoxWOFF2Sandbox.wasm table_tags.wasm variable_length.wasm w=
off2_common.wasm woff2_dec.wasm woff2_out.wasm -lwasi-emulated-process-cloc=
ks<br>wasm-ld: error: /usr/local/share/wasi-sysroot/lib/wasm32-wasip1/libc+=
+.a(stdexcept.cpp.o): undefined symbol: __cxa_allocate_exception<br>wasm-ld=
: error: /usr/local/share/wasi-sysroot/lib/wasm32-wasip1/libc++.a(stdexcept=
.cpp.o): undefined symbol: __cxa_throw<br>wasm-ld: error: /usr/local/share/=
wasi-sysroot/lib/wasm32-wasip1/libc++.a(string.cpp.o): undefined symbol: __=
cxa_allocate_exception<br>wasm-ld: error: /usr/local/share/wasi-sysroot/lib=
/wasm32-wasip1/libc++.a(string.cpp.o): undefined symbol: __cxa_throw<br>was=
m-ld: error: /usr/local/share/wasi-sysroot/lib/wasm32-wasip1/libc++.a(strin=
g.cpp.o): undefined symbol: __cxa_allocate_exception<br>wasm-ld: error: /us=
r/local/share/wasi-sysroot/lib/wasm32-wasip1/libc++.a(string.cpp.o): undefi=
ned symbol: __cxa_throw<br>wasm-ld: error: /usr/local/share/wasi-sysroot/li=
b/wasm32-wasip1/libc++.a(string.cpp.o): undefined symbol: __cxa_allocate_ex=
ception<br>wasm-ld: error: /usr/local/share/wasi-sysroot/lib/wasm32-wasip1/=
libc++.a(string.cpp.o): undefined symbol: __cxa_throw<br>wasm-ld: error: /u=
sr/local/share/wasi-sysroot/lib/wasm32-wasip1/libc++.a(string.cpp.o): undef=
ined symbol: __cxa_allocate_exception<br>wasm-ld: error: /usr/local/share/w=
asi-sysroot/lib/wasm32-wasip1/libc++.a(string.cpp.o): undefined symbol: __c=
xa_throw<br>wasm-ld: error: /usr/local/share/wasi-sysroot/lib/wasm32-wasip1=
/libc++.a(system_error.cpp.o): undefined symbol: __cxa_allocate_exception<b=
r>wasm-ld: error: /usr/local/share/wasi-sysroot/lib/wasm32-wasip1/libc++.a(=
system_error.cpp.o): undefined symbol: __cxa_throw<br>wasm-ld: error: /usr/=
local/share/wasi-sysroot/lib/wasm32-wasip1/libc++.a(new_helpers.cpp.o): und=
efined symbol: __cxa_allocate_exception<br>wasm-ld: error: /usr/local/share=
/wasi-sysroot/lib/wasm32-wasip1/libc++.a(new_helpers.cpp.o): undefined symb=
ol: __cxa_throw<br>wasm-ld: error: /usr/local/share/wasi-sysroot/lib/wasm32=
-wasip1/libc++.a(ios.cpp.o): undefined symbol: __cxa_allocate_exception<br>=
wasm-ld: error: /usr/local/share/wasi-sysroot/lib/wasm32-wasip1/libc++.a(io=
s.cpp.o): undefined symbol: __cxa_throw<br>wasm-ld: error: /usr/local/share=
/wasi-sysroot/lib/wasm32-wasip1/libc++.a(ios.cpp.o): undefined symbol: __cx=
a_rethrow<br>wasm-ld: error: /usr/local/share/wasi-sysroot/lib/wasm32-wasip=
1/libc++.a(ios.cpp.o): undefined symbol: __cxa_rethrow<br>wasm-ld: error: /=
usr/local/share/wasi-sysroot/lib/wasm32-wasip1/libc++.a(locale.cpp.o): unde=
fined symbol: __cxa_allocate_exception<br>wasm-ld: error: /usr/local/share/=
wasi-sysroot/lib/wasm32-wasip1/libc++.a(locale.cpp.o): undefined symbol: __=
cxa_throw<br>wasm-ld: error: too many errors emitted, stopping now (use -er=
ror-limit=3D0 to see all errors)<br>clang++: error: linker command failed w=
ith exit code 1 (use -v to see invocation)<br>gmake[3]: *** [/wrkdirs/usr/p=
orts/www/firefox/work/firefox-153.0.1/config/<a href=3D"http://rules.mk:497=
" target=3D"_blank">rules.mk:497</a>: rlbox.wasm] Error 1<br>gmake[3]: Leav=
ing directory &#39;/wrkdirs/usr/ports/www/firefox/work/.build/security/rlbo=
x&#39;<br>gmake[2]: *** [/wrkdirs/usr/ports/www/firefox/work/firefox-153.0.=
1/config/<a href=3D"http://recurse.mk:79" target=3D"_blank">recurse.mk:79</=
a>: security/rlbox/pre-compile] Error 2<br>---</div><br><span class=3D"gmai=
l_signature_prefix">-- </span><br><div dir=3D"ltr" class=3D"gmail_signature=
" data-smartmail=3D"gmail_signature"><div dir=3D"ltr"><div><font color=3D"#=
888888">Nuno Teixeira</font></div><div><div><font color=3D"#888888">
FreeBSD UNIX:=C2=A0 &lt;[email protected]&gt;=C2=A0 =C2=A0Web:=C2=A0 <a h=
ref=3D"https://FreeBSD.org" rel=3D"noreferrer" target=3D"_blank">https://Fr=
eeBSD.org</a><br></font></div></div></div></div></div>
</div>

--000000000000fb533106583b33ee--