[GHC] #8916: "error: thread-local storage not supported for this target" when building cross-compiling GHC on OSX

GHC ghc-devs at haskell.org
Fri Mar 21 19:02:34 UTC 2014


#8916: "error: thread-local storage not supported for this target" when building
cross-compiling GHC on OSX
----------------------------------+----------------------------------------
       Reporter:  joelteon        |             Owner:
           Type:  bug             |            Status:  new
       Priority:  normal          |         Milestone:
      Component:  Compiler        |           Version:  7.6.3
       Keywords:                  |  Operating System:  MacOS X
   Architecture:                  |   Type of failure:  Building GHC failed
  Unknown/Multiple                |         Test Case:
     Difficulty:  Unknown         |          Blocking:
     Blocked By:                  |
Related Tickets:                  |
----------------------------------+----------------------------------------
 Target is `x86_64-pc-linux`. I'm using the toolchain from http://crossgcc
 .rts-software.org/doku.php, and configured `--with-target=x86_64-pc-
 linux`.

 {{{
 ===--- building phase 0
 /Applications/Xcode.app/Contents/Developer/usr/bin/make -r --no-print-
 directory -f ghc.mk phase=0 phase_0_builds
 make[1]: Nothing to be done for `phase_0_builds'.
 ===--- building phase 1
 /Applications/Xcode.app/Contents/Developer/usr/bin/make -r --no-print-
 directory -f ghc.mk phase=1 phase_1_builds
 utils/unlit/ghc.mk:18: utils/unlit/dist/build/.depend.c_asm: No such file
 or directory
 utils/hp2ps/ghc.mk:24: utils/hp2ps/dist/build/.depend.c_asm: No such file
 or directory
 includes/ghc.mk:146: includes/dist-derivedconstants/build/.depend.c_asm:
 No such file or directory
 includes/ghc.mk:184: includes/dist-ghcconstants/build/.depend.c_asm: No
 such file or directory
 utils/genapply/ghc.mk:26: utils/genapply/dist/build/.depend.haskell: No
 such file or directory
 utils/genapply/ghc.mk:26: utils/genapply/dist/build/.depend.c_asm: No such
 file or directory
 libraries/hpc/ghc.mk:3: libraries/hpc/dist-boot/build/.depend-v.haskell:
 No such file or directory
 libraries/hpc/ghc.mk:3: libraries/hpc/dist-boot/build/.depend-v.c_asm: No
 such file or directory
 libraries/Cabal/Cabal/ghc.mk:3: libraries/Cabal/Cabal/dist-
 boot/build/.depend-v.haskell: No such file or directory
 libraries/Cabal/Cabal/ghc.mk:3: libraries/Cabal/Cabal/dist-
 boot/build/.depend-v.c_asm: No such file or directory
 libraries/binary/ghc.mk:3: libraries/binary/dist-
 boot/build/.depend-v.haskell: No such file or directory
 libraries/binary/ghc.mk:3: libraries/binary/dist-
 boot/build/.depend-v.c_asm: No such file or directory
 libraries/bin-package-db/ghc.mk:3: libraries/bin-package-db/dist-
 boot/build/.depend-v.haskell: No such file or directory
 libraries/bin-package-db/ghc.mk:3: libraries/bin-package-db/dist-
 boot/build/.depend-v.c_asm: No such file or directory
 libraries/hoopl/ghc.mk:3: libraries/hoopl/dist-
 boot/build/.depend-v.haskell: No such file or directory
 libraries/hoopl/ghc.mk:3: libraries/hoopl/dist-boot/build/.depend-v.c_asm:
 No such file or directory
 compiler/ghc.mk:450: compiler/stage1/build/.depend-v.haskell: No such file
 or directory
   HC [stage 0] includes/dist-ghcconstants/build/mkDerivedConstants.o
 In file included from rts/Capability.h:25,

                  from includes/mkDerivedConstants.c:27:0:

 rts/Task.h:238:0:
      error: thread-local storage not supported for this target
 make[1]: *** [includes/dist-ghcconstants/build/mkDerivedConstants.o] Error
 1
 make: *** [all] Error 2
 }}}

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


More information about the ghc-tickets mailing list