[llvm-bugs] [Bug 36470] New: clang/llvm revision 325569 and newer are unable to build Firefox, with "test-ctors.so: terminate called after throwing an instance of 'std::runtime_error'" and then " what(): Unsupported relocation type"
via llvm-bugs
llvm-bugs at lists.llvm.org
Wed Feb 21 13:45:21 PST 2018
https://bugs.llvm.org/show_bug.cgi?id=36470
Bug ID: 36470
Summary: clang/llvm revision 325569 and newer are unable to
build Firefox, with "test-ctors.so: terminate called
after throwing an instance of 'std::runtime_error'"
and then " what(): Unsupported relocation type"
Product: new-bugs
Version: trunk
Hardware: PC
OS: Linux
Status: NEW
Severity: enhancement
Priority: P
Component: new bugs
Assignee: unassignedbugs at nondot.org
Reporter: dholbert at mozilla.com
CC: grimar at accesssoftek.com, llvm-bugs at lists.llvm.org,
mh+llvm at glandium.org, sylvestre at debian.org
I build Firefox with clang trunk (which I build locally ~weekly), and I noticed
today that I got a build failure with the newest clang trunk.
Specifically:
llvm revision 325568 builds Firefox fine
llvm revision 325569 hits a build error
So I believe this is a regression from grimar's https://reviews.llvm.org/D43383
The build error is in the "elfhack" stage of the build, and my output looks
like this:
4:21.16 === If you get failures below, please file a bug describing the error
4:21.16 === and your environment (compiler and linker versions), and
4:21.16 === provide the pre-elfhacked library as an attachment.
4:21.16 === Use --disable-elf-hack until this is fixed.
4:21.16 ===
4:21.17 0x000000000000000c (INIT) 0x4060
4:21.17 test-ctors.so: terminate called after throwing an instance of
'std::runtime_error'
4:21.17 what(): Unsupported relocation type
4:21.22 Makefile:17: recipe for target 'test-array.so' failed
4:21.22 make[4]: *** [test-array.so] Aborted (core dumped)
4:21.22 make[4]: *** Waiting for unfinished jobs....
4:21.28 Makefile:17: recipe for target 'test-ctors.so' failed
4:21.28 make[4]: *** [test-ctors.so] Aborted (core dumped)
4:21.28 /scratch/work/builds/mozilla-inbound/mozilla/config/recurse.mk:100:
recipe for target 'build/unix/elfhack/libs' failed
4:21.28 make[3]: *** [build/unix/elfhack/libs] Error 2
4:21.28 /scratch/work/builds/mozilla-inbound/mozilla/config/recurse.mk:32:
recipe for target 'libs' failed
4:21.28 make[2]: *** [libs] Error 2
4:21.28 /scratch/work/builds/mozilla-inbound/mozilla/config/rules.mk:434:
recipe for target 'default' failed
4:21.28 make[1]: *** [default] Error 2
4:21.28 client.mk:168: recipe for target 'build' failed
4:21.28 make: *** [build] Error 2
The "Aborted (core dumped)" there looks like it's saying the compiler crashed,
I think....
--
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20180221/2d1cc44f/attachment.html>
More information about the llvm-bugs
mailing list