Bug#1056636: ghc: Please restore --disable-ld-override after build system switch
Hi! On Fri, 2023-11-24 at 09:34 +0100, John Paul Adrian Glaubitz wrote: > 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. I just realized that we're still calling the configure script. Thus, just removing the comment signs (#) in front of the section for disabling the linker override should fix the problem. Adrian -- .''`. John Paul Adrian Glaubitz : :' : Debian Developer `. `' Physicist `-GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913
Bug#1056636: ghc: Please restore --disable-ld-override after build system switch
Source: ghc Version: 9.4.7-1 Severity: normal User: debian-sp...@lists.debian.org Usertags: sparc64 X-Debbugs-Cc: debian-sp...@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