[hadrian/macos] build broken

Alp Mestanogullari alp at well-typed.com
Wed May 22 17:41:18 UTC 2019


Hello!

Could you create a ticket about this with all the relevant details (OS X 
version, boot ghc version, commit, hadrian command, etc), and the 
'hadrian' label? You should even feel free to mention @snowleopard and 
@alp there.

Cheers

On 22/05/2019 19:37, Shayne Fletcher via ghc-devs wrote:
> 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`:
> ```
>
> 00x1052e2748__assert_rtn + 129
>
> 10x1052be30fld::Fixup::Fixup(unsigned int, ld::Fixup::Cluster, 
> ld::Fixup::Kind, bool, char const*) + 95
>
> 20x1052e8736mach_o::relocatable::Parser<x86_64>::addFixup(mach_o::relocatable::Parser<x86_64>::SourceLocation 
> const&, ld::Fixup::Cluster, ld::Fixup::Kind, bool, char const*) + 34
>
> 30x1052eaa9cmach_o::relocatable::Section<x86_64>::addRelocFixup(mach_o::relocatable::Parser<x86_64>&, 
> macho_relocation_info<Pointer64<LittleEndian> > const*) + 1722
>
> 40x1052ff61bmach_o::relocatable::Section<x86_64>::makeFixups(mach_o::relocatable::Parser<x86_64>&, 
> mach_o::relocatable::Parser<x86_64>::CFI_CU_InfoArrays const&) + 105
>
> 50x1052faa66mach_o::relocatable::Parser<x86_64>::parse(mach_o::relocatable::ParserOptions 
> const&) + 2120
>
> 60x1052f1250mach_o::relocatable::Parser<x86_64>::parse(unsigned char 
> const*, unsigned long long, char const*, long, ld::File::Ordinal, 
> mach_o::relocatable::ParserOptions const&) + 282
>
> 70x10534352ald::tool::InputFiles::makeFile(Options::FileInfo const&, 
> bool) + 808
>
> 80x105345f22ld::tool::InputFiles::parseWorkerThread() + 530
>
> 90x7fff70a6b2eb_pthread_body + 126
>
> 100x7fff70a6e249_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 <mailto: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.
>
> _______________________________________________
> ghc-devs mailing list
> ghc-devs at haskell.org
> http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs

-- 
Alp Mestanogullari, Haskell Consultant
Well-Typed LLP, https://www.well-typed.com/

Registered in England and Wales, OC335890
118 Wymering Mansions, Wymering Road, London, W9 2NF, England

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/ghc-devs/attachments/20190522/237012ed/attachment.html>


More information about the ghc-devs mailing list