Closed Bug 1777570 Opened 3 years ago Closed 3 years ago

Fedora 36 + clang-14: Executable "wasm-ld" doesn't exist!

Categories

(Firefox Build System :: Bootstrap Configuration, defect)

Firefox 102
x86_64
Linux
defect

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 1747145

People

(Reporter: WeirdAl, Unassigned)

Details

[Tracking Requested - why for this release]: unable to build Mozilla Firefox 102 ESR at present with a minimal configuration, after applying patch from https://bugzilla.mozilla.org/show_bug.cgi?id=1773259#c5 (which seems to be required)

make[3]: Entering directory '/home/ajvincent/compiled/ff102esr/fx-opt/security/rlbox'
security/rlbox/rlbox.wasm
rm -f rlbox.wasm
/usr/lib64/ccache/clang++ -std=gnu++17 --target=wasm32-wasi --sysroot=/home/ajvincent/.mozbuild/sysroot-wasm32-wasi -o rlbox.wasm -Wl,--export-all -Wl,--stack-first -Wl,-z,stack-size=262144 -Wl,--no-entry -Wl,--growable-table ogg_alloc.wasm ogg_bitwise.wasm ogg_framing.wasm xmlparse.wasm xmlrole.wasm xmltok.wasm wasm2c_sandbox_wrapper.wasm mozHunspellRLBoxSandbox.wasm affentry.wasm affixmgr.wasm csutil.wasm hashmgr.wasm hunspell.wasm phonet.wasm replist.wasm suggestmgr.wasm GraphiteExtra.wasm CmapCache.wasm Code.wasm Collider.wasm Decompressor.wasm Face.wasm FeatureMap.wasm FileFace.wasm Font.wasm GlyphCache.wasm GlyphFace.wasm Intervals.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_logging.wasm gr_segment.wasm gr_slot.wasm json.wasm RLBoxWOFF2Sandbox.wasm table_tags.wasm variable_length.wasm woff2_common.wasm woff2_dec.wasm woff2_out.wasm -lwasi-emulated-process-clocks
clang-14: error: unable to execute command: Executable "wasm-ld" doesn't exist!
clang-14: error: linker command failed with exit code 1 (use -v to see invocation)
make[3]: *** [/home/ajvincent/compiled/ff102esr/mozilla-esr102/config/rules.mk:498: rlbox.wasm] Error 1
make[3]: Leaving directory '/home/ajvincent/compiled/ff102esr/fx-opt/security/rlbox'
make[2]: *** [/home/ajvincent/compiled/ff102esr/mozilla-esr102/config/recurse.mk:72: security/rlbox/target-objects] Error 2
make[2]: Leaving directory '/home/ajvincent/compiled/ff102esr/fx-opt'
make[1]: *** [/home/ajvincent/compiled/ff102esr/mozilla-esr102/config/recurse.mk:34: compile] Error 2
make[1]: Leaving directory '/home/ajvincent/compiled/ff102esr/fx-opt'
make: *** [/home/ajvincent/compiled/ff102esr/mozilla-esr102/config/rules.mk:352: default] Error 2
make: Leaving directory '/home/ajvincent/compiled/ff102esr/fx-opt'
[ajvincent@fedora mozilla-esr102]$ uname -a
Linux fedora 5.18.7-200.fc36.x86_64 #1 SMP PREEMPT_DYNAMIC Sat Jun 25 20:06:14 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
[ajvincent@fedora mozilla-esr102]$ cat /etc/fedora-release 
Fedora release 36 (Thirty Six)
[ajvincent@fedora mozilla-esr102]$ cat ~/mozconfigs/fx-opt.mozconfig 
#
# See http://www.mozilla.org/build/ for build instructions.
#

. $topsrcdir/browser/config/mozconfig

# Options for client.mk.
mk_add_options MOZ_OBJDIR=@TOPSRCDIR@/../fx-opt

# Options for 'configure' (same as command-line options).
ac_add_options --enable-tests
ac_add_options --disable-debug
ac_add_options --enable-optimize

I'd done a mach bootstrap from mozilla-central before running this.

Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.