Skip to content

PowerPC: Unsupported relocation against x0

On PowerPC/Linux, the perf build is failing for the file compiler/cmm/PprC.hs with a large number of errors like:

tmp/ghc29102_0/ghc_3.s:310927:0: error:
     Error: unsupported relocation against x0

tmp/ghc29102_0/ghc_3.s:310938:0: error:
     Error: unsupported relocation against x0

tmp/ghc29102_0/ghc_3.s:310959:0: error:
     Error: unsupported relocation against x0

All of the above error lines are of the form:

stwu    x0, 1 ,  13
Trac metadata
Trac field Value
Version 8.1
Type Bug
TypeOfFailure OtherFailure
Priority normal
Resolution Unresolved
Component Compiler (CodeGen)
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