Closed
Bug 1748372
Opened 2 years ago
Closed 2 years ago
dyld: Symbol not found: _replace_init
Categories
(Firefox Build System :: Toolchains, defect)
Firefox Build System
Toolchains
Tracking
(firefox97 fixed)
RESOLVED
FIXED
97 Branch
Tracking | Status | |
---|---|---|
firefox97 | --- | fixed |
People
(Reporter: glandium, Assigned: glandium)
References
Details
Attachments
(1 file)
LTO builds fail to run Firefox when linking with lld with:
[task 2021-12-31T11:06:29.330Z] 11:06:29 INFO - PID 2793 | dyld: Symbol not found: _replace_init
[task 2021-12-31T11:06:29.331Z] 11:06:29 INFO - PID 2793 | Referenced from: /opt/worker/tasks/task_1640946733/build/application/Firefox Nightly.app/Contents/MacOS/libmozglue.dylib
[task 2021-12-31T11:06:29.332Z] 11:06:29 INFO - PID 2793 | Expected in: flat namespace
[task 2021-12-31T11:06:29.332Z] 11:06:29 INFO - PID 2793 | in /opt/worker/tasks/task_1640946733/build/application/Firefox Nightly.app/Contents/MacOS/libmozglue.dylib
lld doesn't respect the -Wl,-U,_replace_init
flag (but only when LTO is on).
Assignee | ||
Comment 1•2 years ago
|
||
Pushed by mh@glandium.org: https://hg.mozilla.org/integration/autoland/rev/9dffaac531f8 Apply lld trunk fix for weak symbols with LTO on mac. r=firefox-build-system-reviewers,mhentges
Comment 3•2 years ago
|
||
bugherder |
Status: NEW → RESOLVED
Closed: 2 years ago
status-firefox97:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 97 Branch
You need to log in
before you can comment on or make changes to this bug.
Description
•