PowerPC: Symbol already defined
Building HEAD I get the following error from the stage 1 compiler:
/tmp/ghc9106_0/ghc_4.s:796:0: error:
Error: symbol `.Lc2l' is already defined
|
796 | .Lc2l:
| ^
`gcc' failed in phase `Assembler'. (Exit code: 1)
rts/ghc.mk:269: recipe for target 'rts/dist/build/Exception.o' failed
The relevant assembly code is:
.section ".opd","aw"
.align 3
.LcV:
.quad ..LcV,.TOC.@tocbase,0
.previous
.type .LcV, @function
..LcV:
.LcV:
ld 31, 8(22)
Note: The label has changed during recompile.
This affects powerpc64 (ELF 1.9) and powerpc64le (ELF 2.0) on Linux and I suspect also AIX.
This could be a fallout from: changeset:8b007abb
Trac metadata
Trac field | Value |
---|---|
Version | 8.3 |
Type | Bug |
TypeOfFailure | OtherFailure |
Priority | normal |
Resolution | Unresolved |
Component | Compiler |
Test case | |
Differential revisions | |
BlockedBy | |
Related | |
Blocking | |
CC | hvr |
Operating system | |
Architecture |