[GHC] #13542: Solaris build fails with collect2: execv: Arg list too long

GHC ghc-devs at haskell.org
Tue Apr 11 06:01:19 UTC 2017


#13542: Solaris build fails with collect2: execv: Arg list too long
-------------------------------------+-------------------------------------
        Reporter:  kgardas           |                Owner:  (none)
            Type:  bug               |               Status:  infoneeded
        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 kgardas):

 Just going thorough search of split-sections and SplitSection in the tree
 and general feeling about it is that the feature is supported only when
 GNU linker is used. This is unfortunately not the case on Solaris as
 Solaris gcc is using Solaris own linker:
 {{{
 $ gcc -v
 Using built-in specs.
 COLLECT_GCC=gcc
 COLLECT_LTO_WRAPPER=/usr/gcc/4.8/lib/gcc/i386-pc-solaris2.11/4.8.2/lto-
 wrapper
 Target: i386-pc-solaris2.11
 Configured with: /builds/hudson/workspace/nightly-
 update/build/i386/components/gcc48/gcc-4.8.2/configure
 CC=/usr/gcc/4.7/bin/gcc CXX=/usr/gcc/4.7/bin/g++ --prefix=/usr/gcc/4.8
 --mandir=/usr/gcc/4.8/share/man --bindir=/usr/gcc/4.8/bin
 --libdir=/usr/gcc/4.8/lib --sbindir=/usr/gcc/4.8/sbin
 --infodir=/usr/gcc/4.8/share/info --libexecdir=/usr/gcc/4.8/lib --enable-
 languages=c,c++,fortran,objc --enable-shared --with-gmp-
 include=/usr/include/gmp --with-mpfr-include=/usr/include/mpfr --without-
 gnu-ld --with-ld=/usr/bin/ld --with-gnu-as --with-as=/usr/gnu/bin/as
 CFLAGS='-g -O2  -mtune=opteron -march=opteron' CXXFLAGS='-g -O2
 -mtune=opteron -march=opteron'
 Thread model: posix
 gcc version 4.8.2 (GCC)
 }}}
 anyway, I'll give it a try and report back.

--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/13542#comment:4>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the ghc-tickets mailing list