When I emerge ghc-9.0.2-r1 it fails. See the logs attached. Reproducible: Always
Created attachment 795853 [details] emerge --info '=dev-lang/ghc-9.0.2-r1::haskell
Created attachment 795856 [details] emerge -pqv '=dev-lang/ghc-9.0.2-r1::haskell
Fails with: "terminate called after throwing an instance of 'std::out_of_range' what(): nonstd::string_view::substr() `x86_64-pc-linux-gnu-gcc' failed in phase `Assembler'. (Exit code: -6)" I attached the build log.
Pastebin wasnt able to handle that many text, so I only uploaded the last 100 lines. https://pastebin.com/nFjJ5fgZ
To anyone having the same problem right now: I added the useflag 'binary' to the dev-lang/ghc. That obviously fixes the build problems for now. I would still like to be able to build it myself, though. Its gentoo after all.
(In reply to Pascal Jäger from comment #4) > Pastebin wasnt able to handle that many text, so I only uploaded the last > 100 lines. > > https://pastebin.com/nFjJ5fgZ Please attach it in full to this bug (compressed if necessary)
Created attachment 795946 [details] build.log
*** This bug has been marked as a duplicate of bug 837818 ***