Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Bug#1056636: ghc: Please restore --disable-ld-override after build system switch

1 view
Skip to first unread message

John Paul Adrian Glaubitz

unread,
Nov 24, 2023, 3:40:05 AM11/24/23
to
Source: ghc
Version: 9.4.7-1
Severity: normal
User: debian...@lists.debian.org
Usertags: sparc64
X-Debbugs-Cc: debian...@lists.debian.org

Hello!

After the build system was switched from GNU Make to Hadrian, the configure
option --disable-ld-override was lost in the process but is still required
for previously affected architectures powerpc, powerpcspe and sparc64.

This became evident after building GHC on sparc64 and ld.gold segfaulted in
the final stage when linking more than 600 object files which does not seem
to be 100% on sparc64 (and 32-bit PowerPC). I will file a separate upstream
bug report for binutils regarding that issue.

I have not figured out yet what the proper option would be but looking at [1],
it would be something like *.*.ghc.link.opts+=bla. I have already asked on the
#ghc IRC channel for advise and will report back once I know more.

Thanks,
Adrian

--
.''`. John Paul Adrian Glaubitz
: :' : Debian Developer
`. `' Physicist
`- GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913
0 new messages