Skip to content

powerpc/linux: undefined reference to `__sync_sub_and_fetch_8

Ever since [changeset:"04e83666/ghc"] I've been getting this on powerpc/linux:

/home/erikd/Git/ghc-upstream/rts/dist/build/libHSrts.a(Linker.o):
In function `m32_free_internal':

/home/erikd/Git/ghc-upstream/rts/Linker.c:1220:0: error:
     undefined reference to `__sync_sub_and_fetch_8'
collect2: error: ld returned 1 exit status
Trac metadata
Trac field Value
Version 7.11
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