Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Register
  • Sign in
  • GHC GHC
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
    • Locked files
  • Issues 5.5k
    • Issues 5.5k
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
  • Merge requests 635
    • Merge requests 635
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Artifacts
    • Schedules
    • Test cases
  • Deployments
    • Deployments
    • Releases
  • Packages and registries
    • Packages and registries
    • Model experiments
  • Analytics
    • Analytics
    • 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
  • #5176

RTS build failure with gcc-4.6.1

Building ghc from git HEAD on x86_64-linux (Debian unstable) with gcc-4.6 and getting:

"inplace/bin/ghc-stage1" -optc-Wall -optc-Werror -optc-Wall -optc-Wextra -optc-Wstrict-prototypes -optc-Wmissing-prototypes -optc-Wmissing-declarations -optc-Winline -optc-Waggregate-return -optc-Wpointer-arith -optc-Wmissing-noreturn -optc-Wnested-externs -optc-Wredundant-decls -optc-Iincludes -optc-Irts -optc-DCOMPILING_RTS -optc-fno-strict-aliasing -optc-fno-common -optc-Ilibffi/build/include -optc-fomit-frame-pointer -optc-DRtsWay=\"rts_thr\" -optc-DTHREADED_RTS  -H32m -O -Wall -Werror -H64m -O0 -Iincludes -Irts -DCOMPILING_RTS -package-name rts  -dcmm-lint  -Ilibffi/build/include     -i -irts -irts/dist/build -irts/dist/build/autogen -Irts/dist/build -Irts/dist/build/autogen           -optc-O2   -c rts/Capability.c -o rts/dist/build/Capability.thr_o
rts/Capability.c: In function 'releaseCapability_':

rts/Capability.c:341:1:
     error: inlining failed in call to 'giveCapabilityToTask.isra.12.part.13': call is unlikely and code size would grow [-Werror=inline]

rts/Capability.c:368:1:  error: called from here [-Werror=inline]

rts/Capability.c:341:1:
     error: inlining failed in call to 'giveCapabilityToTask.isra.12.part.13': call is unlikely and code size would grow [-Werror=inline]

rts/Capability.c:368:1:  error: called from here [-Werror=inline]

rts/Capability.c:341:1:
     error: inlining failed in call to 'giveCapabilityToTask.isra.12.part.13': call is unlikely and code size would grow [-Werror=inline]

rts/Capability.c:368:1:  error: called from here [-Werror=inline]
cc1: all warnings being treated as errors

make[1]: *** [rts/dist/build/Capability.thr_o] Error 1
Trac metadata
Trac field Value
Version 7.1
Type Bug
TypeOfFailure OtherFailure
Priority normal
Resolution Unresolved
Component Runtime System
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
Assignee
Assign to
Time tracking