[GHC] #13542: Solaris build fails with collect2: execv: Arg list too long
GHC
ghc-devs at haskell.org
Fri Apr 7 12:50:49 UTC 2017
#13542: Solaris build fails with collect2: execv: Arg list too long
-------------------------------------+-------------------------------------
Reporter: kgardas | Owner: (none)
Type: bug | Status: new
Priority: normal | Milestone:
Component: Compiler | Version: 8.1
Resolution: | Keywords:
Operating System: Solaris | Architecture:
Type of failure: Building GHC | Unknown/Multiple
failed | Test Case:
Blocked By: | Blocking:
Related Tickets: | Differential Rev(s):
Wiki Page: |
-------------------------------------+-------------------------------------
Comment (by rwbarton):
The builder shows that 89168849a781626fc794ae97375da979ac83bf96 succeeded
but 98e494afed3c73f88ff1d57a9ca46b1f6ddbd1b9 failed (clicking through to
"8: configuring" shows the commit id).
The likely culprit in that range is Type-indexed Typeable
8fa4bf9ab3f4ea4b208f4a43cc90857987e6d497 which produces many more top-
level bindings, which in conjunction with `-split-objs` means many more
object files to be passed to the linker. I guess it hit a limit in
Solaris.
I wonder whether we can simply use `-split-sections` on Solaris? It's
generally preferable to `-split-objs` and won't produce long command
lines.
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/13542#comment:2>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list