[GHC] #10977: Arm: Undeclared indentifier when compiling rts/Linker.c (was: Arm: Undeclared indentifier when build un-registerised)
GHC
ghc-devs at haskell.org
Fri Oct 16 07:12:33 UTC 2015
#10977: Arm: Undeclared indentifier when compiling rts/Linker.c
----------------------------------------+----------------------------------
Reporter: erikd | Owner: erikd
Type: bug | Status: new
Priority: normal | Milestone: 8.0.1
Component: Compiler | Version: 7.11
Resolution: | Keywords: rts linker
Operating System: Unknown/Multiple | Architecture: arm
Type of failure: Building GHC failed | Test Case:
Blocked By: | Blocking:
Related Tickets: | Differential Rev(s):
Wiki Page: |
----------------------------------------+----------------------------------
Description changed by erikd:
Old description:
> I have a Jenkins job which builds un-registerised on armhf and just got
> this:
>
> {{{
> rts/Linker.c:6209:21: error:
> error: ‘target_shndx’ undeclared (first use in this function)
> if (oc->sections[target_shndx].kind == SECTIONKIND_OTHER) {
> ^
>
> rts/Linker.c:6209:21: error:
> note: each undeclared identifier is reported only once for each
> function it appears in
> `gcc' failed in phase `C Compiler'. (Exit code: 1)
> }}}
>
> Seems this is a result of 04e8366608 and the fix is pretty obvious.
New description:
I have a Jenkins job which builds GHC on armhf and just got this:
{{{
rts/Linker.c:6209:21: error:
error: ‘target_shndx’ undeclared (first use in this function)
if (oc->sections[target_shndx].kind == SECTIONKIND_OTHER) {
^
rts/Linker.c:6209:21: error:
note: each undeclared identifier is reported only once for each
function it appears in
`gcc' failed in phase `C Compiler'. (Exit code: 1)
}}}
Seems this is a result of 04e8366608 and the fix is pretty obvious.
--
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/10977#comment:2>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list