Closed
Bug 1872748
Opened 2 years ago
Closed 1 year ago
Speedup old-configure by caching linker checks
Categories
(Firefox Build System :: General, task)
Firefox Build System
General
Tracking
(firefox124 fixed)
RESOLVED
FIXED
124 Branch
Tracking | Status | |
---|---|---|
firefox124 | --- | fixed |
People
(Reporter: sergesanspaille, Assigned: sergesanspaille)
References
(Blocks 1 open bug)
Details
Attachments
(1 file, 1 obsolete file)
old-configure (and js/src/old-configure) always perform a bunch of linker option tests. It would be great not to perform these checks twice as we use the same linker for all steps.
autoconf caching system would be helpful here, also it is not automatically invalidated when the linker changes...
Assignee | ||
Comment 1•2 years ago
|
||
As the same check is done twice (once in old-configure and once in
js/src/old-configure) we already have a 180ms gain in a single run.
Assignee | ||
Updated•2 years ago
|
Assignee | ||
Comment 2•1 years ago
|
||
Updated•1 years ago
|
Attachment #9370837 -
Attachment is obsolete: true
Updated•1 years ago
|
Attachment #9375770 -
Attachment description: Bug 1872748 - Move linker checks from old-configure to configure r=glandium → Bug 1872748 - Move linker checks from old-configure to configure r=glandium!
Updated•1 years ago
|
Attachment #9375770 -
Attachment description: Bug 1872748 - Move linker checks from old-configure to configure r=glandium! → Bug 1872748 - Move linker checks from old-configure to configure r=glandium
Updated•1 years ago
|
Attachment #9375770 -
Attachment description: Bug 1872748 - Move linker checks from old-configure to configure r=glandium → Bug 1872748 - Move linker checks from old-configure to configure r=glandium!
Updated•1 years ago
|
Attachment #9375770 -
Attachment is obsolete: true
Updated•1 years ago
|
Attachment #9375770 -
Attachment is obsolete: false
Updated•1 years ago
|
Attachment #9375770 -
Attachment description: Bug 1872748 - Move linker checks from old-configure to configure r=glandium! → Bug 1872748 - Move linker checks from old-configure to configure r=glandium
Pushed by sguelton@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/5985445bd5c1
Move linker checks from old-configure to configure r=glandium
Backed out for causing multiple failures on Linux asan opt
- Backout link
- Push with failures
- Failure Log
- Failure line:
[task 2024-02-06T11:12:33.635Z] 11:12:33 ERROR - ==1324==ERROR: AddressSanitizer: odr-violation (0x559063d820c0):
[task 2024-02-06T11:12:33.656Z] 11:12:33 INFO - [1] size=40 'vtable for std::thread::_State' /builds/worker/checkouts/gecko/build/unix/stdc++compat/stdc++compat.cpp
[task 2024-02-06T11:12:33.656Z] 11:12:33 INFO - [2] size=40 'vtable for std::thread::_State' /builds/worker/checkouts/gecko/build/unix/stdc++compat/stdc++compat.cpp
[task 2024-02-06T11:12:33.656Z] 11:12:33 INFO - These globals were registered at these points:
[task 2024-02-06T11:12:33.656Z] 11:12:33 INFO - [1]:
[task 2024-02-06T11:12:33.659Z] 11:12:33 INFO - #0 0x559063b014a6 in __asan_register_globals /builds/worker/fetches/llvm-project/compiler-rt/lib/asan/asan_globals.cpp:365:3
[task 2024-02-06T11:12:33.660Z] 11:12:33 INFO - #1 0x559063d7e81e in asan.module_ctor stdc++compat.cpp
[task 2024-02-06T11:12:33.660Z] 11:12:33 INFO - #2 0x559063d7e90c in __libc_csu_init (/builds/worker/workspace/build/tests/bin/xpcshell+0x35f90c)
[task 2024-02-06T11:12:33.661Z] 11:12:33 INFO - [2]:
[task 2024-02-06T11:12:33.661Z] 11:12:33 INFO - #0 0x559063b014a6 in __asan_register_globals /builds/worker/fetches/llvm-project/compiler-rt/lib/asan/asan_globals.cpp:365:3
[task 2024-02-06T11:12:33.662Z] 11:12:33 INFO - #1 0x7f47719f7bfe in asan.module_ctor stdc++compat.cpp
[task 2024-02-06T11:12:33.663Z] 11:12:33 INFO - #2 0x7f47718c7782 (/lib64/ld-linux-x86-64.so.2+0x10782) (BuildId: 822d3943c4bb51a173776d69a167a71a31522761)
[task 2024-02-06T11:12:33.663Z] 11:12:33 INFO - ==1324==HINT: if you don't care about these errors you may set ASAN_OPTIONS=detect_odr_violation=0
[task 2024-02-06T11:12:33.664Z] 11:12:33 INFO - SUMMARY: AddressSanitizer: odr-violation: global 'vtable for std::thread::_State' at /builds/worker/checkouts/gecko/build/unix/stdc++compat/stdc++compat.cpp
[task 2024-02-06T11:12:33.664Z] 11:12:33 INFO - ==1324==ABORTING
[task 2024-02-06T11:14:03.811Z] 11:14:03 ERROR - TEST-UNEXPECTED-FAIL | runtests.py | Timed out while waiting for server startup.
Flags: needinfo?(sguelton)
Updated•1 years ago
|
Attachment #9375770 -
Attachment description: Bug 1872748 - Move linker checks from old-configure to configure r=glandium → Bug 1872748 - Move linker checks from old-configure to configure r=glandium!
Pushed by sguelton@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/4c0ab62d6ccb
Move linker checks from old-configure to configure r=glandium
Comment 6•1 year ago
|
||
bugherder |
Status: NEW → RESOLVED
Closed: 1 year ago
status-firefox124:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 124 Branch
Assignee | ||
Updated•1 year ago
|
Flags: needinfo?(sguelton)
Assignee | ||
Updated•1 year ago
|
You need to log in
before you can comment on or make changes to this bug.
Description
•