Closed Quuxplusone closed 8 years ago
Bugzilla Link | PR28179 |
Status | RESOLVED FIXED |
Importance | P normal |
Reported by | Davide Italiano (ditaliano@apple.com) |
Reported on | 2016-06-17 14:00:34 -0700 |
Last modified on | 2016-06-22 16:55:49 -0700 |
Version | unspecified |
Hardware | PC All |
CC | compnerd@compnerd.org, llvm-bugs@lists.llvm.org, rafael@espindo.la |
Fixed by commit(s) | |
Attachments | |
Blocks | |
Blocked by | |
See also |
https://drive.google.com/open?id=0BypHPYysMK9ieDN3STZKSEFCZE0
Repro uploaded to drive as bugzilla doesn't like large attachments.
The armap problem looks to be just that that the library was created with an old version of llvm-ar.
Just extracting the members and recreating the library I get
__libc_sigaction in sigaction.So
With that the error goes down to
undefined symbol: __stack_chk_fail
The problem here is that this is a codegen introduced reference. lld has to learn to not internalize it, which probably means having TargetLibraryInfo expose a nice list of library names and plug that in lld's -u option.
Fixed, r273451.