Closed Bug 2088732 Opened 13 days ago Closed 11 days ago

[clang-23][LTO] Perma ld.lld: error: undefined symbol: typeinfo for std::out_of_range

Categories

(Firefox Build System :: General, defect, P5)

defect

Tracking

(firefox162 fixed)

RESOLVED FIXED
162 Branch
Tracking Status
firefox162 --- fixed

People

(Reporter: intermittent-bug-filer, Assigned: glandium)

References

(Blocks 1 open bug)

Details

Attachments

(1 external file)

Filed by: mh [at] glandium.org
Parsed log: https://treeherder.mozilla.org/logviewer?job_id=603471786&repo=try&task=Yps_i0dMS3GlD7IwdgZllA.0
Full log: https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/Yps_i0dMS3GlD7IwdgZllA/runs/0/artifacts/public/logs/live_backing.log


[task 2026-10-30T04:29:52.115+00:00] 04:29:52 ERROR - ld.lld: error: undefined symbol: typeinfo for std::out_of_range
[task 2026-10-30T04:29:52.115+00:00] 04:29:52 INFO - >>> referenced by stdexcept:251 (out/lib/device-libcxx-aarch64-ndk-cxx/include/c++/v1/stdexcept:251)
[task 2026-10-30T04:29:52.116+00:00] 04:29:52 INFO - >>> /builds/worker/fetches/android-ndk/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/lib/aarch64-linux-android/logalloc-replay.lto.libc++_static.a(string.cpp.o at 6129750).o:(std::__ndk1::__throw_out_of_range[abi:ne210000](char const*))
[task 2026-10-30T04:29:52.116+00:00] 04:29:52 INFO - >>> referenced by stdexcept:251 (out/lib/device-libcxx-aarch64-ndk-cxx/include/c++/v1/stdexcept:251)
[task 2026-10-30T04:29:52.117+00:00] 04:29:52 INFO - >>> /builds/worker/fetches/android-ndk/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/lib/aarch64-linux-android/logalloc-replay.lto.libc++_static.a(string.cpp.o at 6129750).o:(std::__ndk1::__throw_out_of_range[abi:ne210000](char const*))
[task 2026-10-30T04:29:52.117+00:00] 04:29:52 ERROR - ld.lld: error: undefined symbol: std::out_of_range::~out_of_range()
[task 2026-10-30T04:29:52.117+00:00] 04:29:52 INFO - >>> referenced by stdexcept:251 (out/lib/device-libcxx-aarch64-ndk-cxx/include/c++/v1/stdexcept:251)
[task 2026-10-30T04:29:52.117+00:00] 04:29:52 INFO - >>> /builds/worker/fetches/android-ndk/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/lib/aarch64-linux-android/logalloc-replay.lto.libc++_static.a(string.cpp.o at 6129750).o:(std::__ndk1::__throw_out_of_range[abi:ne210000](char const*))
[task 2026-10-30T04:29:52.118+00:00] 04:29:52 INFO - >>> referenced by stdexcept:251 (out/lib/device-libcxx-aarch64-ndk-cxx/include/c++/v1/stdexcept:251)
[task 2026-10-30T04:29:52.118+00:00] 04:29:52 INFO - >>> /builds/worker/fetches/android-ndk/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/lib/aarch64-linux-android/logalloc-replay.lto.libc++_static.a(string.cpp.o at 6129750).o:(std::__ndk1::__throw_out_of_range[abi:ne210000](char const*))
[task 2026-10-30T04:29:52.118+00:00] 04:29:52 ERROR - ld.lld: error: undefined symbol: std::bad_array_new_length::bad_array_new_length()
[task 2026-10-30T04:29:52.119+00:00] 04:29:52 INFO - >>> referenced by exceptions.h:66 (out/lib/device-libcxx-aarch64-ndk-cxx/include/c++/v1/__new/exceptions.h:66)
[task 2026-10-30T04:29:52.119+00:00] 04:29:52 INFO - >>> /builds/worker/fetches/android-ndk/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/lib/aarch64-linux-android/logalloc-replay.lto.libc++_static.a(string.cpp.o at 6129750).o:(std::__throw_bad_array_new_lengthabi:ne210000)

Assignee: nobody → mh+mozilla
Blocks: clang-23
Attachment #9673880 - Attachment description: Bug 2088732 - Drop dead symbols from legacy bitcode without GUID metadata. → Bug 2088732 - Apply upstream fix to handle legacy bitcode without GUID metadata properly.
Pushed by mh@glandium.org: https://github.com/mozilla-firefox/firefox/commit/e300a81c9ce8 https://hg.mozilla.org/integration/autoland/rev/fc151ceb0cca Apply upstream fix to handle legacy bitcode without GUID metadata properly. r=firefox-build-system-reviewers,ahochheiden
Status: NEW → RESOLVED
Closed: 11 days ago
Resolution: --- → FIXED
Target Milestone: --- → 162 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: