Summary: | dev-lang/ghc-7.6.2 - Segmentation fault [libraries/haskell98/dist-install/build/Prelude.o] & others Error 139 | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Jason Mours <jason.mours> |
Component: | [OLD] Development | Assignee: | Gentoo's Haskell Language team <haskell> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | anton.kochkov, cornicx, gentoo, jmesmon, redneb |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
See Also: | https://bugs.gentoo.org/show_bug.cgi?id=473062 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | build.log.bz2 |
Description
Jason Mours
2013-02-10 05:51:12 UTC
Created attachment 338466 [details]
build.log.bz2
Unfortunately it's a paralle build failure. MAKEOPTS=-j1 will likely help you, but it increases build time severely. I think i'll put a workaround for it today. (In reply to comment #2) > Unfortunately it's a paralle build failure. > MAKEOPTS=-j1 will likely help you, but it increases build time severely. > > I think i'll put a workaround for it today. Sorry it took so long, my system was rethinking its' 'C' and needed to cook... but the workaround worked as of portage sync 2-14 and GHC-7.6.2 emerged successfully without governing the jobserver with MAKEOPTS="-j1" On a portage note, before executing haskell-updater --upgrade & completing the portage build tree prior, portage failed to include the following build dependencies. There were installed in 7.4 & included in world, co-notated with [ rR] in the build tree. dev-haskell/hunit - req. for dev-haskell/crypto dev-haskell/lazysmallcheck - req. for dev-haskell/stream dev-haskell/parsec - req. for dev-haskell/network dev-haskell/hxt-charproperties dev-haskell-unicode dev-haskell-regex-xmlschema req. for dev-haskell-hxt dev-haskell/regex-compat req. for dev-haskell/missingh dev-haskell/regex-base dev-haskell/regex-posix req. for dev-haskell/regex-compat *** Bug 459942 has been marked as a duplicate of this bug. *** (In reply to Jason Mours from comment #3) > but the workaround worked as of portage sync 2-14 and GHC-7.6.2 emerged > successfully without governing the jobserver with MAKEOPTS="-j1" > > On a portage note, before executing haskell-updater --upgrade & completing > the portage build tree prior, portage failed to include the following build > dependencies. There were installed in 7.4 & included in world, co-notated > with [ rR] in the build tree. > > dev-haskell/hunit - req. for dev-haskell/crypto > dev-haskell/lazysmallcheck - req. for dev-haskell/stream > dev-haskell/parsec - req. for dev-haskell/network > dev-haskell/hxt-charproperties dev-haskell-unicode > dev-haskell-regex-xmlschema req. for dev-haskell-hxt > dev-haskell/regex-compat req. for dev-haskell/missingh > dev-haskell/regex-base dev-haskell/regex-posix req. for > dev-haskell/regex-compat Thanks for the reference! I feel like a new feature sometimes... As an update, building dev-lang/GHC-7.6.3, The build still does fall apart around GMP, but governing the jobserver not to -j1 , but fitting it inside the number of physical cores, in my case -j6 and not exceeding it into my defined make.conf -j10 shows consistent builds. I have built my GHC from scratch, and with all the progress I'm glad I didn't remove it. *note* That I'm not coding, nor do am I good at it. My gentoo is a attempt at machine learning. Supreme GCC learned compile from function rich / IO tailored glibc w. python built GDB. '-Os baby!' That being said, you 'logic' guys should check out mercury, dev-lang/mercury-13.05 just rolled out. *** Bug 465936 has been marked as a duplicate of this bug. *** This bug is addressed in 7.6.3-r1. Before, I was able to run a successful compile setting -j6 manually specifying MAKEOPTS. This is on a Phenom2 6core. Since I'm moving up to an FX 8core soon, was thinking about a way to setup the ebuild to probe the cpu for natural jobserver based on physical cores. But everything works fine as is, so I throw two thumbs up for pushing it over the main portage tree. Thanks! |