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,248
    • Issues 5,248
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
  • Merge requests 561
    • Merge requests 561
  • 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
  • #17300
Closed
Open
Issue created Oct 04, 2019 by Ben Gamari@bgamari🐢Maintainer

T14028 is broken in dyn way

I noticed while finishing up !14 (closed) that T14028 (which hasn't run in a very long time due to #16042 (closed)) fails in the dyn way on Debian 9:

Wrong exit code for T14028()(expected 0 , actual 2 )
Stdout ( T14028 ):
Makefile:13: recipe for target 'T14028' failed
Stderr ( T14028 ):
ld.lld: error: can't create dynamic relocation R_X86_64_32 against local symbol in readonly segment; recompile object files with -fPIC or pass '-Wl,-z,notext' to allow text relocations in the output
>>> defined in T14028C.o
>>> referenced by T14028C.c
>>>               T14028C.o:(hi)

ld.lld: error: relocation R_X86_64_PC32 cannot be used against symbol puts; recompile with -fPIC
>>> defined in //lib/x86_64-linux-gnu/libc.so.6
>>> referenced by T14028C.c
>>>               T14028C.o:(hi)
collect2: error: ld returned 1 exit status
`cc' failed in phase `Linker'. (Exit code: 1)
make[2]: *** [T14028] Error 1
*** unexpected failure for T14028(dyn)
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking