[GHC] #14311: PowerPC: Symbol already defined
GHC
ghc-devs at haskell.org
Tue Oct 3 17:50:14 UTC 2017
#14311: PowerPC: Symbol already defined
--------------------------------+----------------------------------------
Reporter: trommler | Owner: (none)
Type: bug | Status: new
Priority: normal | Milestone: 8.4.1
Component: Compiler | Version: 8.3
Keywords: | Operating System: Unknown/Multiple
Architecture: powerpc | Type of failure: Building GHC failed
Test Case: | Blocked By:
Blocking: | Related Tickets:
Differential Rev(s): | Wiki Page:
--------------------------------+----------------------------------------
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. at 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:8b007abbeb3045900a11529d907a835080129176
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/14311>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list