Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in / Register
  • GHC GHC
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 5,396
    • Issues 5,396
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
  • Merge requests 589
    • Merge requests 589
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
    • Test Cases
  • Deployments
    • Deployments
    • Releases
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Code review
    • Insights
    • Issue
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Glasgow Haskell CompilerGlasgow Haskell Compiler
  • GHCGHC
  • Issues
  • #10977
Closed
Open
Issue created Oct 16, 2015 by erikd@trac-erikd

Arm: Undeclared indentifier when compiling rts/Linker.c

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 04e83666 and the fix is pretty obvious.

Edited Mar 10, 2019 by erikd
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking