Stream: bugs

Topic: wasm relocations order


view this post on Zulip Steve Howell (Sep 15 2026 at 18:45):

https://github.com/roc-lang/roc/issues/11419 is an interesting bug that Claude found for me and reported.

I'm mentioning it here in case folks have seen similar issues. The rudimentary searches on GH suggest this is a new reporting. The error message is below:

$ roc build test/wasm/static_record_reloc_order_app.roc --target=wasm32 --opt=dev
wasm-ld: error: ~/.cache/roc/nightly-2026-09-11-793f9d8/src/roc_build/roc_app_unsealed_wasm32.o: relocations not in offset order

view this post on Zulip Luke Boswell (Sep 15 2026 at 21:08):

Im guessing that is a regression from the recent changes that have landed. Would you mind making an Issue for this?

view this post on Zulip Steve Howell (Sep 15 2026 at 21:12):

#11419 (I already posted it above)

view this post on Zulip Luke Boswell (Sep 15 2026 at 21:20):

Sorry, half asleep :man_facepalming:

view this post on Zulip Steve Howell (Sep 16 2026 at 17:16):

I had Claude fix it--see https://github.com/roc-lang/roc/pull/11422

I can't vouch for the fix, but Greptile gave it 5/5, and it unblocked my own work.

view this post on Zulip Richard Feldman (Sep 17 2026 at 00:24):

landed - thanks @Steve Howell! :tada:


Last updated: Sep 24 2026 at 15:59 UTC