Opened 16 months ago

#8916 new bug

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

Reported by: joelteon Owned by:
Priority: normal Milestone:
Component: Compiler Version: 7.6.3
Keywords: Cc:
Operating System: MacOS X Architecture: Unknown/Multiple
Type of failure: Building GHC failed Test Case:
Blocked By: Blocking:
Related Tickets: Differential Revisions:

Description

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

Change History (0)

Note: See TracTickets for help on using tickets.