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)

x86_64
Linux
defect
Not set
critical

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)

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.
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.
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
Attached patch asan-bustage-fix.patch (deleted) — Splinter Review
Add --enable-stdcxx-compat back to mozconfig.asan to unbreak builds. r=bustage-fix.
Assignee: nobody → choller
Status: NEW → ASSIGNED
Attachment #781806 - Flags: review+
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla25
Product: Core → Firefox Build System
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: