Source: ghc Version: 8.2.2-6 Severity: normal User: debian-sparc@lists.debian.org Usertags: sparc64
Hi! Like on powerpcspe in #904915, the gold linker has issues on sparc64 when building GHC: /usr/bin/ar: creating compiler/stage2/build/libHSghc-8.2.2.a Warning: -rtsopts and -with-rtsopts have no effect with -shared. Call hs_init_ghc() from your main() function to set these options. collect2: fatal error: ld terminated with signal 11 [Segmentation fault] compilation terminated. `gcc' failed in phase `Linker'. (Exit code: 1) <<ghc: 35673096 bytes, 10 GCs, 406596/698536 avg/max bytes residency (2 samples), 29M in use, 0.002 INIT (0.002 elapsed), 1.380 MUT (69.116 elapsed), 0.180 GC (0.180 elapsed) :ghc>> make[3]: *** [compiler/ghc.mk:588: compiler/stage2/build/libHSghc-8.2.2-ghc8.2.2.so] Error 1 make[3]: *** Deleting file 'compiler/stage2/build/libHSghc-8.2.2-ghc8.2.2.so' make[3]: *** Waiting for unfinished jobs.... To work around this issue, we can just switch to the bfd linker for the time being. Hence, please add "sparc64" to the --disable-ld-override list in debian/rules. PS: I'm doing a final test with the gold linker now just to be sure we can't use gold at the moment. I will report back within the next hours or days (doing an unregisterised build is slow). Adrian -- .''`. John Paul Adrian Glaubitz : :' : Debian Developer - glaub...@debian.org `. `' Freie Universitaet Berlin - glaub...@physik.fu-berlin.de `- GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913