Skip to content

powerpc64: error Cannot find a way to declare the thread-local gc variable

Building 7.8.RC1 on powerpc64 fails with:

[ 2883s] In file included from rts/sm/GCUtils.h:19:0,
[ 2883s]                  from rts/sm/Scav.c:20:
[ 2883s] rts/sm/GCTDecl.h:139:2: error: #error Cannot find a way to declare the thread-local gc variable!
[ 2883s]  #error Cannot find a way to declare the thread-local gc variable!
[ 2883s]   ^
[ 2883s] rts/ghc.mk:512: recipe for target 'rts/dist/build/.depend-v-l-debug-thr-thr_debug-thr_l.c_asm' failed
[ 2883s] make[1]: *** [rts/dist/build/.depend-v-l-debug-thr-thr_debug-thr_l.c_asm] Error 1

The build is unregisterized (default) and does not use dynamic linking (DYNAMIC_GHC_PROGRAMS=NO and DYNAMIC-BY_DEFAULT=NO).

It might be related to #8301 (closed).

Trac metadata
Trac field Value
Version 7.8.1-rc1
Type Bug
TypeOfFailure OtherFailure
Priority normal
Resolution Unresolved
Component Compiler
Test case
Differential revisions
BlockedBy
Related
Blocking
CC
Operating system
Architecture
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information