[hadrian/macos] build broken

Shayne Fletcher shayne.fletcher at daml.com
Wed May 22 17:37:19 UTC 2019


I'm trying to isolate the commit that's causing this, but the deal is on
MacOS I'm seeing stage1 `ld` crashes linking `HStime`:
```

0  0x1052e2748  __assert_rtn + 129

1  0x1052be30f  ld::Fixup::Fixup(unsigned int, ld::Fixup::Cluster,
ld::Fixup::Kind, bool, char const*) + 95

2  0x1052e8736
mach_o::relocatable::Parser<x86_64>::addFixup(mach_o::relocatable::Parser<x86_64>::SourceLocation
const&, ld::Fixup::Cluster, ld::Fixup::Kind, bool, char const*) + 34

3  0x1052eaa9c
mach_o::relocatable::Section<x86_64>::addRelocFixup(mach_o::relocatable::Parser<x86_64>&,
macho_relocation_info<Pointer64<LittleEndian> > const*) + 1722

4  0x1052ff61b
mach_o::relocatable::Section<x86_64>::makeFixups(mach_o::relocatable::Parser<x86_64>&,
mach_o::relocatable::Parser<x86_64>::CFI_CU_InfoArrays const&) + 105

5  0x1052faa66
mach_o::relocatable::Parser<x86_64>::parse(mach_o::relocatable::ParserOptions
const&) + 2120

6  0x1052f1250  mach_o::relocatable::Parser<x86_64>::parse(unsigned char
const*, unsigned long long, char const*, long, ld::File::Ordinal,
mach_o::relocatable::ParserOptions const&) + 282

7  0x10534352a  ld::tool::InputFiles::makeFile(Options::FileInfo const&,
bool) + 808

8  0x105345f22  ld::tool::InputFiles::parseWorkerThread() + 530

9  0x7fff70a6b2eb  _pthread_body + 126

10  0x7fff70a6e249  _pthread_start + 66

A linker snapshot was created at:

/tmp/HStime-1.9.2.o-2019-04-22-132113.ld-snapshot

ld: Assertion failed: (name != NULL), function Fixup, file
/Library/Caches/com.apple.xbs/Sources/ld64/ld64-450.3/src/ld/ld.hpp, line
724.
```
I can replicate this on multiple machines and different versions of xcode
command line tools.

Any ideas?

-- 
Shayne Fletcher
Language Engineer
c: +1 917 699 7763
e: shayne.fletcher at daml.com
Digital Asset Holdings, LLC
4 World Trade Center                                        150 Greenwich
Street, 47th Floor
<https://maps.google.com/?q=150+Greenwich+Street,+47th+Floor%C2%A0+%C2%A0+%C2%A0+%C2%A0+%C2%A0+New+York,+NY+10007,+USA&entry=gmail&source=g>
New York, NY 10007, USA
<https://maps.google.com/?q=150+Greenwich+Street,+47th+Floor%C2%A0+%C2%A0+%C2%A0+%C2%A0+%C2%A0+New+York,+NY+10007,+USA&entry=gmail&source=g>
digitalasset.com <http://www.digitalasset.com/>

-- 
This message, and any attachments, is for the intended recipient(s) only, 
may contain information that is privileged, confidential and/or proprietary 
and subject to important terms and conditions available at 
http://www.digitalasset.com/emaildisclaimer.html 
<http://www.digitalasset.com/emaildisclaimer.html>. If you are not the 
intended recipient, please delete this message.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/ghc-devs/attachments/20190522/b4f82657/attachment.html>


More information about the ghc-devs mailing list