[GHC] #13091: Build broken on amd64 solaris 11

GHC ghc-devs at haskell.org
Mon Jan 9 21:59:36 UTC 2017


#13091: Build broken on amd64 solaris 11
-------------------------------------+-------------------------------------
           Reporter:  kgardas        |             Owner:
               Type:  bug            |            Status:  new
           Priority:  normal         |         Milestone:
          Component:  Build System   |           Version:  8.0.2
           Keywords:                 |  Operating System:  Solaris
       Architecture:  x86_64         |   Type of failure:  Building GHC
  (amd64)                            |  failed
          Test Case:                 |        Blocked By:
           Blocking:                 |   Related Tickets:
Differential Rev(s):                 |         Wiki Page:
-------------------------------------+-------------------------------------
 {{{
 ===--- building phase 1
 gmake --no-print-directory -f ghc.mk phase=1 phase_1_builds
 libraries/hpc/ghc.mk:3: libraries/hpc/dist-boot/build/.depend-v.haskell:
 No such file or directory
 compiler/ghc.mk:584: compiler/stage1/build/.depend-v.haskell: No such file
 or directory
 "/opt/ghc-7.10.2-amd64/bin/ghc" -hisuf hi -osuf  o -hcsuf hc -static
 -H32m -O -Wall   -package-db libraries/bootstrapping.conf  -hide-all-
 packages -i -iutils/hsc2hs/. -iutils/hsc2hs/dist/build
 -iutils/hsc2hs/dist/build/autogen -Iutils/hsc2hs/dist/build
 -Iutils/hsc2hs/dist/build/autogen     -optP-include
 -optPutils/hsc2hs/dist/build/autogen/cabal_macros.h -package-id
 base-4.8.1.0-bcc57434d4c4ded429bd4c7561dc7931 -package-id
 containers-0.5.6.2-3bd9811190df2d727713a53a0942b5c9 -package-id
 directory-1.2.2.0-17006ecadb146c26f40f44f8704a6547 -package-id
 filepath-1.4.0.0-8fee9c13b5e42926cc01f6aa7c403c4b -package-id
 process-1.2.3.0-47082ea082854427d5ceb7c692692d3c -XHaskell2010  -no-user-
 package-db -rtsopts       -odir utils/hsc2hs/dist/build -hidir
 utils/hsc2hs/dist/build -stubdir utils/hsc2hs/dist/build    -c
 utils/hsc2hs/./Main.hs -o utils/hsc2hs/dist/build/Main.o
 "/opt/ghc-7.10.2-amd64/bin/ghc" -o utils/hsc2hs/dist/build/tmp/hsc2hs
 -hisuf hi -osuf  o -hcsuf hc -static  -H32m -O -Wall   -package-db
 libraries/bootstrapping.conf  -hide-all-packages -i -iutils/hsc2hs/.
 -iutils/hsc2hs/dist/build -iutils/hsc2hs/dist/build/autogen
 -Iutils/hsc2hs/dist/build -Iutils/hsc2hs/dist/build/autogen     -optP-
 include -optPutils/hsc2hs/dist/build/autogen/cabal_macros.h -package-id
 base-4.8.1.0-bcc57434d4c4ded429bd4c7561dc7931 -package-id
 containers-0.5.6.2-3bd9811190df2d727713a53a0942b5c9 -package-id
 directory-1.2.2.0-17006ecadb146c26f40f44f8704a6547 -package-id
 filepath-1.4.0.0-8fee9c13b5e42926cc01f6aa7c403c4b -package-id
 process-1.2.3.0-47082ea082854427d5ceb7c692692d3c -XHaskell2010  -no-user-
 package-db -rtsopts       -odir utils/hsc2hs/dist/build -hidir
 utils/hsc2hs/dist/build -stubdir utils/hsc2hs/dist/build    -optl-optl-
 Wl,-m64 -static  -H32m -O -Wall   -package-db libraries/bootstrapping.conf
 -hide-all-packages -i -iutils/hsc2hs/. -iutils/hsc2hs/dist/build
 -iutils/hsc2hs/dist/build/autogen -Iutils/hsc2hs/dist/build
 -Iutils/hsc2hs/dist/build/autogen     -optP-include
 -optPutils/hsc2hs/dist/build/autogen/cabal_macros.h -package-id
 base-4.8.1.0-bcc57434d4c4ded429bd4c7561dc7931 -package-id
 containers-0.5.6.2-3bd9811190df2d727713a53a0942b5c9 -package-id
 directory-1.2.2.0-17006ecadb146c26f40f44f8704a6547 -package-id
 filepath-1.4.0.0-8fee9c13b5e42926cc01f6aa7c403c4b -package-id
 process-1.2.3.0-47082ea082854427d5ceb7c692692d3c -XHaskell2010  -no-user-
 package-db -rtsopts       utils/hsc2hs/dist/build/Main.o
 utils/hsc2hs/dist/build/C.o utils/hsc2hs/dist/build/Common.o
 utils/hsc2hs/dist/build/CrossCodegen.o
 utils/hsc2hs/dist/build/DirectCodegen.o utils/hsc2hs/dist/build/Flags.o
 utils/hsc2hs/dist/build/HSCParser.o utils/hsc2hs/dist/build/UtilsCodegen.o
 utils/hsc2hs/dist/build/Paths_hsc2hs.o
 ld: fatal: option '-optl-Wl,-m64' and option
 '-outils/hsc2hs/dist/build/tmp/hsc2hs' are multiple definitions
 collect2: error: ld returned 1 exit status
 gmake[1]: *** [utils/hsc2hs/dist/build/tmp/hsc2hs] Error 1
 gmake: *** [all] Error 2
 }}}

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


More information about the ghc-tickets mailing list