
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

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
::addFixup(mach_o::relocatable::Parser ::SourceLocation const&, ld::Fixup::Cluster, ld::Fixup::Kind, bool, char const*) + 34 30x1052eaa9cmach_o::relocatable::Section
::addRelocFixup(mach_o::relocatable::Parser &, macho_relocation_info const*) + 1722 40x1052ff61bmach_o::relocatable::Section
::makeFixups(mach_o::relocatable::Parser &, mach_o::relocatable::Parser ::CFI_CU_InfoArrays const&) + 105 50x1052faa66mach_o::relocatable::Parser
::parse(mach_o::relocatable::ParserOptions const&) + 2120 60x1052f1250mach_o::relocatable::Parser
::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@daml.com mailto:shayne.fletcher@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@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

Here you go Alp https://gitlab.haskell.org/ghc/ghc/issues/16685. Hope this
helps!
On Wed, May 22, 2019 at 1:41 PM Alp Mestanogullari
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`: ```
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
::addFixup(mach_o::relocatable::Parser ::SourceLocation const&, ld::Fixup::Cluster, ld::Fixup::Kind, bool, char const*) + 34 3 0x1052eaa9c mach_o::relocatable::Section
::addRelocFixup(mach_o::relocatable::Parser &, macho_relocation_info const*) + 1722 4 0x1052ff61b mach_o::relocatable::Section
::makeFixups(mach_o::relocatable::Parser &, mach_o::relocatable::Parser ::CFI_CU_InfoArrays const&) + 105 5 0x1052faa66 mach_o::relocatable::Parser
::parse(mach_o::relocatable::ParserOptions const&) + 2120 6 0x1052f1250 mach_o::relocatable::Parser
::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@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. If you are not the intended recipient, please delete this message.
_______________________________________________ ghc-devs mailing listghc-devs@haskell.orghttp://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
_______________________________________________ ghc-devs mailing list ghc-devs@haskell.org http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs
-- Shayne Fletcher Language Engineer c: +1 917 699 7763 e: shayne.fletcher@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.

Hi Alp,
Just confirming now but it seems its
https://gitlab.haskell.org/ghc/ghc/commit/e529c65eacf595006dd5358491d28c202d...
where
the breakage came in ("Remove all target specific portions of Config.hs"
@John Ericson).
On Wed, May 22, 2019 at 1:56 PM Shayne Fletcher
Here you go Alp https://gitlab.haskell.org/ghc/ghc/issues/16685. Hope this helps!
On Wed, May 22, 2019 at 1:41 PM Alp Mestanogullari
wrote: 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`: ```
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
::addFixup(mach_o::relocatable::Parser ::SourceLocation const&, ld::Fixup::Cluster, ld::Fixup::Kind, bool, char const*) + 34 3 0x1052eaa9c mach_o::relocatable::Section
::addRelocFixup(mach_o::relocatable::Parser &, macho_relocation_info const*) + 1722 4 0x1052ff61b mach_o::relocatable::Section
::makeFixups(mach_o::relocatable::Parser &, mach_o::relocatable::Parser ::CFI_CU_InfoArrays const&) + 105 5 0x1052faa66 mach_o::relocatable::Parser
::parse(mach_o::relocatable::ParserOptions const&) + 2120 6 0x1052f1250 mach_o::relocatable::Parser
::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@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. If you are not the intended recipient, please delete this message.
_______________________________________________ ghc-devs mailing listghc-devs@haskell.orghttp://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
_______________________________________________ ghc-devs mailing list ghc-devs@haskell.org http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs
-- Shayne Fletcher Language Engineer c: +1 917 699 7763 e: shayne.fletcher@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/
-- Shayne Fletcher Language Engineer c: +1 917 699 7763 e: shayne.fletcher@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.

I @'d the author of that patch on your ticket. On 22/05/2019 21:15, Shayne Fletcher wrote:
Hi Alp,
Just confirming now but it seems its https://gitlab.haskell.org/ghc/ghc/commit/e529c65eacf595006dd5358491d28c202d... where the breakage came in ("Remove all target specific portions of Config.hs" @John Ericson).
On Wed, May 22, 2019 at 1:56 PM Shayne Fletcher
mailto:shayne.fletcher@daml.com> wrote: Here you go Alp https://gitlab.haskell.org/ghc/ghc/issues/16685. Hope this helps!
On Wed, May 22, 2019 at 1:41 PM Alp Mestanogullari
mailto:alp@well-typed.com> wrote: 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
::addFixup(mach_o::relocatable::Parser ::SourceLocation const&, ld::Fixup::Cluster, ld::Fixup::Kind, bool, char const*) + 34 30x1052eaa9cmach_o::relocatable::Section
::addRelocFixup(mach_o::relocatable::Parser &, macho_relocation_info const*) + 1722 40x1052ff61bmach_o::relocatable::Section
::makeFixups(mach_o::relocatable::Parser &, mach_o::relocatable::Parser ::CFI_CU_InfoArrays const&) + 105 50x1052faa66mach_o::relocatable::Parser
::parse(mach_o::relocatable::ParserOptions const&) + 2120 60x1052f1250mach_o::relocatable::Parser
::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@daml.com mailto:shayne.fletcher@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. If you are not the intended recipient, please delete this message.
_______________________________________________ ghc-devs mailing list ghc-devs@haskell.org mailto:ghc-devs@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
_______________________________________________ ghc-devs mailing list ghc-devs@haskell.org mailto:ghc-devs@haskell.org http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs
-- Shayne Fletcher Language Engineer c: +1 917 699 7763 e: shayne.fletcher@daml.com mailto:shayne.fletcher@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/
-- Shayne Fletcher Language Engineer c: +1 917 699 7763 e: shayne.fletcher@daml.com mailto:shayne.fletcher@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.
-- 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
participants (2)
-
Alp Mestanogullari
-
Shayne Fletcher