Closed
Bug 898484
Opened 11 years ago
Closed 11 years ago
ASan build bustage due to libstdc++ problems (GLIBCXX_3.4.14/15 referenced)
Categories
(Firefox Build System :: General, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
mozilla25
People
(Reporter: decoder, Assigned: decoder)
References
(Blocks 1 open bug)
Details
(Keywords: sec-want, Whiteboard: [asan][security-assurance-q3])
Attachments
(1 file)
(deleted),
patch
|
decoder
:
review+
|
Details | Diff | Splinter Review |
ASan builds are currently broken (likely fallout from the recent Clang update):
Executing /builds/slave/m-cen-l64-dbg-asan-00000000000/build/obj-firefox/dist/bin/xpcshell -g /builds/slave/m-cen-l64-dbg-asan-00000000000/build/obj-firefox/dist/bin/ -a /builds/slave/m-cen-l64-dbg-asan-00000000000/build/obj-firefox/dist/bin/ -f /builds/slave/m-cen-l64-dbg-asan-00000000000/build/toolkit/mozapps/installer/precompile_cache.js -e precompile_startupcache("resource://gre/");
/builds/slave/m-cen-l64-dbg-asan-00000000000/build/obj-firefox/dist/bin/xpcshell: /usr/lib64/libstdc++.so.6: version `GLIBCXX_3.4.15' not found (required by /builds/slave/m-cen-l64-dbg-asan-00000000000/build/obj-firefox/dist/bin/libxul.so)
/builds/slave/m-cen-l64-dbg-asan-00000000000/build/obj-firefox/dist/bin/xpcshell: /usr/lib64/libstdc++.so.6: version `GLIBCXX_3.4.14' not found (required by /builds/slave/m-cen-l64-dbg-asan-00000000000/build/obj-firefox/dist/bin/libxul.so)
Traceback (most recent call last):
File "/builds/slave/m-cen-l64-dbg-asan-00000000000/build/toolkit/mozapps/installer/packager.py", line 375, in <module>
main()
File "/builds/slave/m-cen-l64-dbg-asan-00000000000/build/toolkit/mozapps/installer/packager.py", line 367, in main
args.source, gre_path, base)
File "/builds/slave/m-cen-l64-dbg-asan-00000000000/build/toolkit/mozapps/installer/packager.py", line 148, in precompile_cache
errors.fatal('Error while running startup cache precompilation')
File "/builds/slave/m-cen-l64-dbg-asan-00000000000/build/python/mozbuild/mozpack/errors.py", line 101, in fatal
self._handle(self.FATAL, msg)
File "/builds/slave/m-cen-l64-dbg-asan-00000000000/build/python/mozbuild/mozpack/errors.py", line 96, in _handle
raise ErrorMessage(msg)
mozpack.errors.ErrorMessage: Error: Error while running startup cache precompilation
make[3]: *** [stage-package] Error 1
make[2]: make[3]: Leaving directory `/builds/slave/m-cen-l64-dbg-asan-00000000000/build/obj-firefox/browser/installer'
make[2]: Leaving directory `/builds/slave/m-cen-l64-dbg-asan-00000000000/build/obj-firefox/browser/installer'
*** [make-package] Error 2
make[1]: *** [default] Error 2
make: *** [package] Error 2
Rafael Espindola pointed out that this is likely due to additional symbols required in build/unix/stdc++compat/stdc++compat.cpp. I'll try to figure out which ones are missing there and add them.
Assignee | ||
Comment 1•11 years ago
|
||
On a local build I see these:
$ readelf -W --dyn-syms libxul.so | egrep 'GLIBCXX_3.4.1(4|5)' | awk '{print $(NF-1)}'
_ZNSsC1EOSs@GLIBCXX_3.4.14
_ZNSsaSEOSs@GLIBCXX_3.4.14
_ZNSt8__detail15_List_node_base4swapERS0_S1_@GLIBCXX_3.4.15
_ZNSt8__detail15_List_node_base7_M_hookEPS0_@GLIBCXX_3.4.15
_ZNSbIwSt11char_traitsIwESaIwEEaSEOS2_@GLIBCXX_3.4.14
_ZNSt8__detail15_List_node_base9_M_unhookEv@GLIBCXX_3.4.15
_ZNSbIwSt11char_traitsIwESaIwEEC1EOS2_@GLIBCXX_3.4.14
_ZNSbIwSt11char_traitsIwESaIwEE18_S_construct_aux_2EmwRKS1_@GLIBCXX_3.4.14
_ZNSbIwSt11char_traitsIwESaIwEE6assignEOS2_@GLIBCXX_3.4.14
_ZNSs18_S_construct_aux_2EmcRKSaIcE@GLIBCXX_3.4.14
_ZNSt8__detail15_List_node_base11_M_transferEPS0_S1_@GLIBCXX_3.4.15
Assignee | ||
Comment 2•11 years ago
|
||
Last comment isn't right, that local build was built without stdcxx-compat. With the new build, I'm not seeing any symbols in there depending on GLIBCXX_3.4.14 or 15. Will check further.
Assignee | ||
Comment 3•11 years ago
|
||
Nice, bug 895248 removed --enable-stdcxx-compat from the ASan mozconfigs, but didn't add it anywhere else for those configs. I'll add it to mozconfig.asan to unbreak the builds for now.
Blocks: 895248
Assignee | ||
Comment 4•11 years ago
|
||
Add --enable-stdcxx-compat back to mozconfig.asan to unbreak builds. r=bustage-fix.
Assignee | ||
Comment 5•11 years ago
|
||
Comment 6•11 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla25
Updated•7 years ago
|
Product: Core → Firefox Build System
You need to log in
before you can comment on or make changes to this bug.
Description
•