Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 918484 - dev-lang/ghc-9.2.8 - /.../ld: .../Main.o: relocation R_X86_64_32S against symbol stg_bh_upd_frame_info can not be used when making a PIE object; recom
Summary: dev-lang/ghc-9.2.8 - /.../ld: .../Main.o: relocation R_X86_64_32S against sym...
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo's Haskell Language team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-11-25 09:02 UTC by Toralf Förster
Modified: 2023-11-25 09:03 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge-info.txt (emerge-info.txt,16.92 KB, text/plain)
2023-11-25 09:02 UTC, Toralf Förster
Details
dev-lang:ghc-9.2.8:20231125-034850.log.xz (dev-lang:ghc-9.2.8:20231125-034850.log.xz,178.59 KB, application/x-xz)
2023-11-25 09:02 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,26.66 KB, text/plain)
2023-11-25 09:02 UTC, Toralf Förster
Details
environment (environment,194.25 KB, text/plain)
2023-11-25 09:02 UTC, Toralf Förster
Details
etc.clang.tar.xz (etc.clang.tar.xz,964 bytes, application/x-xz)
2023-11-25 09:02 UTC, Toralf Förster
Details
etc.portage.tar.xz (etc.portage.tar.xz,36.69 KB, application/x-xz)
2023-11-25 09:02 UTC, Toralf Förster
Details
logs.tar.xz (logs.tar.xz,35.47 KB, application/x-xz)
2023-11-25 09:02 UTC, Toralf Förster
Details
qlist-info.txt (qlist-info.txt,68.08 KB, text/plain)
2023-11-25 09:02 UTC, Toralf Förster
Details
temp.tar.xz (temp.tar.xz,235.43 KB, application/x-xz)
2023-11-25 09:03 UTC, Toralf Förster
Details
var.tmp.clang.tar.xz (var.tmp.clang.tar.xz,2.27 KB, application/x-xz)
2023-11-25 09:03 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2023-11-25 09:02:49 UTC
too long lines were shrinked:

    Call hs_init_ghc() from your main() function to set these options.
Warning: 'eqWord8' is out of scope.
    If you qualify the identifier, haddock can try to link it anyway.
"inplace/bin/ghc-stage1" -o utils/iserv/stage2_dyn/build/tmp/ghc-iserv-dyn -hisuf dyn_hi -osuf  dyn_o -hcsuf dyn_hc -fPIC -dynamic  -H32m -O -optc-march=native -opta-march=native -optl-Wl,-O1 -optl-Wl,--as-needed -optl-Wl,--defsym=__gentoo_check_ldflags__=0 -Wall     -hide-all-packages -package-env 
Warning: -rtsopts and -with-rtsopts have no effect with -no-hs-main.
    Call hs_init_ghc() from your main() function to set these options.
/usr/lib/gcc/x86_64-pc-linux-gnu/13/../../../../x86_64-pc-linux-gnu/bin/ld: utils/iserv/stage2/build/Main.o: relocation R_X86_64_32S against symbol `stg_bh_upd_frame_info' can not be used when making a PIE object; recompile with -fPIE
/usr/lib/gcc/x86_64-pc-linux-gnu/13/../../../../x86_64-pc-linux-gnu/bin/ld: failed to set dynamic section sizes: bad value
clang-17: error: linker command failed with exit code 1 (use -v to see invocation)

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_no_multilib_systemd-20231124-052518

  -------------------------------------------------------------------

CC=clang
CXX=clang++
gcc-config -l:
 [1] x86_64-pc-linux-gnu-13 *
clang/llvm (if any):
clang version 17.0.5
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/17/bin
Configuration file: /etc/clang/x86_64-pc-linux-gnu-clang.cfg
/usr/lib/llvm/17
17.0.5
Python 3.11.6
Available Rust versions:
  [1]   rust-bin-1.73.0 *
php cli (if any):

  HEAD of ::gentoo
commit ee9d89dffaed4f03daeb6a752508911d90b2bf83
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Sat Nov 25 02:16:59 2023 +0000

    2023-11-25 02:16:58 UTC

emerge -qpvO dev-lang/ghc
[ebuild  N    ] dev-lang/ghc-9.2.8  USE="gmp (-big-endian) -binary -doc -elfutils -ghcbootstrap -ghcmakebinary -llvm -numa -profile -test -unregisterised"
Comment 1 Toralf Förster gentoo-dev 2023-11-25 09:02:50 UTC
Created attachment 875562 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2023-11-25 09:02:51 UTC
Created attachment 875563 [details]
dev-lang:ghc-9.2.8:20231125-034850.log.xz
Comment 3 Toralf Förster gentoo-dev 2023-11-25 09:02:52 UTC
Created attachment 875564 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2023-11-25 09:02:54 UTC
Created attachment 875565 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2023-11-25 09:02:55 UTC
Created attachment 875566 [details]
etc.clang.tar.xz
Comment 6 Toralf Förster gentoo-dev 2023-11-25 09:02:56 UTC
Created attachment 875567 [details]
etc.portage.tar.xz
Comment 7 Toralf Förster gentoo-dev 2023-11-25 09:02:57 UTC
Created attachment 875568 [details]
logs.tar.xz
Comment 8 Toralf Förster gentoo-dev 2023-11-25 09:02:58 UTC
Created attachment 875569 [details]
qlist-info.txt
Comment 9 Toralf Förster gentoo-dev 2023-11-25 09:03:00 UTC
Created attachment 875570 [details]
temp.tar.xz
Comment 10 Toralf Förster gentoo-dev 2023-11-25 09:03:01 UTC
Created attachment 875571 [details]
var.tmp.clang.tar.xz