no clue what's wrong :( "inplace/bin/mkdirhier" rts/dist/build/hooks//. "inplace/bin/mkdirhier" rts/dist/build/parallel//. rts_dist_HC rts/dist/build/sm/MBlock.o rts_dist_HC rts/dist/build/sm/Scav.o rts_dist_HC rts/dist/build/sm/GCUtils.o rts_dist_HC rts/dist/build/sm/Compact.o rts_dist_HC rts/dist/build/sm/Sweep.o rts_dist_HC rts/dist/build/sm/GCAux.o rts_dist_HC rts/dist/build/sm/MarkWeak.o rts_dist_HC rts/dist/build/sm/BlockAlloc.o rts_dist_HC rts/dist/build/sm/GC.o rts_dist_HC rts/dist/build/sm/Sanity.o rts_dist_HC rts/dist/build/sm/Evac.o rts_dist_HC rts/dist/build/sm/Storage.o "inplace/bin/mkdirhier" rts/dist/build/eventlog//. "inplace/bin/mkdirhier" rts/dist/build/posix//. rts_dist_HC rts/dist/build/StgStartup.o /var/tmp/portage/dev-lang/ghc-7.6.3-r1/work/ghc-7.6.3/:1:2: lexical error make[1]: *** [rts/dist/build/StgStartup.o] Error 1 make[1]: *** Waiting for unfinished jobs.... make: *** [all] Error 2 * ERROR: dev-lang/ghc-7.6.3-r1::gentoo failed (compile phase): * emake failed * [ebuild U ] dev-lang/ghc-7.6.3-r1:0/7.6.3 [7.6.3:0/7.6.3] USE="gmp -binary -doc -ghcbootstrap -ghcmakebinary -llvm" 0 kB
Created attachment 356684 [details] emerge --info
It could be either paralle build failure (quite common for ghc and a bit hard to fix). Try MAKEOPTS=-j1 to make sure it is. Or it's unreadable by SplitObjs assembler files. Would be interesting to trackdown exact CFLAGS killing ghc.
MAKEOPTS="" gives me the same result; removing -ggdb3 was the solution; maybe it should be replaced by -g ?
Pushed as: > 12 Feb 2014; Sergei Trofimovich <slyfox@gentoo.org> ghc-6.12.3-r2.ebuild, > ghc-7.0.4.ebuild, ghc-7.4.1-r1.ebuild, ghc-7.4.1.ebuild, ghc-7.4.2.ebuild, > ghc-7.6.2.ebuild, ghc-7.6.3-r1.ebuild, ghc-7.6.3.ebuild: > Demote -ggdb3+ down to -ggdb2 (CMM parser currently can't handle line > numbers). Bug #482086 by Alexis Ballier. Thanks! Will report upstream as sometimes -ggdb3 is the only way to get lines for temporary .c/.cmm files.