Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 929075 - dev-lang/ghc-9.2.8 - [slibtool] [clang] ld: error: relocation R_X86_64_32S cannot be used against symbol ghcizm9zi2zi8_GHCiziMessage_QFail_con_info; recompile with -fPIC
Summary: dev-lang/ghc-9.2.8 - [slibtool] [clang] ld: error: relocation R_X86_64_32S ca...
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo's Haskell Language team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-04-10 18:02 UTC by Toralf Förster
Modified: 2024-04-10 18:02 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,18.88 KB, text/plain)
2024-04-10 18:02 UTC, Toralf Förster
Details
dev-lang:ghc-9.2.8:20240409-234326.log.xz (dev-lang:ghc-9.2.8:20240409-234326.log.xz,179.26 KB, application/x-xz)
2024-04-10 18:02 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,41.44 KB, text/plain)
2024-04-10 18:02 UTC, Toralf Förster
Details
environment (environment,199.07 KB, text/plain)
2024-04-10 18:02 UTC, Toralf Förster
Details
etc.clang.tar.xz (etc.clang.tar.xz,1.16 KB, application/x-xz)
2024-04-10 18:02 UTC, Toralf Förster
Details
etc.portage.tar.xz (etc.portage.tar.xz,41.63 KB, application/x-xz)
2024-04-10 18:02 UTC, Toralf Förster
Details
logs.tar.xz (logs.tar.xz,35.62 KB, application/x-xz)
2024-04-10 18:02 UTC, Toralf Förster
Details
qlist-info.txt (qlist-info.txt,83.49 KB, text/plain)
2024-04-10 18:02 UTC, Toralf Förster
Details
temp.tar.xz (temp.tar.xz,59.61 KB, application/x-xz)
2024-04-10 18:02 UTC, Toralf Förster
Details
var.tmp.clang.tar.xz (var.tmp.clang.tar.xz,2.20 KB, application/x-xz)
2024-04-10 18:02 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 2024-04-10 18:02:21 UTC
too long lines were shrinked:

    Call hs_init_ghc() from your main() function to set these options.
"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,-z,pack-relative-relocs -optl-Wl,--defsym=__gentoo_check_ldflags__=0 -Wall    
Warning: -rtsopts and -with-rtsopts have no effect with -no-hs-main.
    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.
ld: error: relocation R_X86_64_32S cannot be used against symbol 'ghcizm9zi2zi8_GHCiziMessage_QFail_con_info'; recompile with -fPIC
>>> defined in /var/tmp/portage/dev-lang/ghc-9.2.8/work/ghc-9.2.8/libraries/ghci/dist-install/build/libHSghci-9.2.8.a(Message.o)
>>> referenced by Message.o:(ghcizm9zi2zi8_GHCiziMessage_QFail_info) in archive /var/tmp/portage/dev-lang/ghc-9.2.8/work/ghc-9.2.8/libraries/ghci/dist-install/build/libHSghci-9.2.8.a

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 23.0_desktop_plasma-20240409-062805

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

CC=clang
CXX=clang++
gcc-config -l:
 [1] x86_64-pc-linux-gnu-13 *
clang/llvm (if any):
clang version 18.1.3
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/18/bin
Configuration file: /etc/clang/x86_64-pc-linux-gnu-clang.cfg
/usr/lib/llvm/18
18.1.3
Python 3.11.9
Available Ruby profiles:
  (none found)
Available Rust versions:
  [1]   rust-bin-1.77.1 *
The following VMs are available for generation-2:
1)	Eclipse Temurin JDK 21.0.2_p13 [openjdk-bin-21]
*)	Eclipse Temurin JDK 8.402_p06 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8  system-vm
  [2]   openjdk-bin-21 

php cli (if any):
go version go1.22.2 linux/amd64

  HEAD of ::gentoo
commit bfb61085c14f8fea95531fab772e6a3b34c07ef1
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Tue Apr 9 23:04:21 2024 +0000

    2024-04-09 23:04:19 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 2024-04-10 18:02:22 UTC
Created attachment 890208 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2024-04-10 18:02:23 UTC
Created attachment 890209 [details]
dev-lang:ghc-9.2.8:20240409-234326.log.xz
Comment 3 Toralf Förster gentoo-dev 2024-04-10 18:02:24 UTC
Created attachment 890210 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2024-04-10 18:02:25 UTC
Created attachment 890211 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2024-04-10 18:02:26 UTC
Created attachment 890212 [details]
etc.clang.tar.xz
Comment 6 Toralf Förster gentoo-dev 2024-04-10 18:02:27 UTC
Created attachment 890213 [details]
etc.portage.tar.xz
Comment 7 Toralf Förster gentoo-dev 2024-04-10 18:02:28 UTC
Created attachment 890214 [details]
logs.tar.xz
Comment 8 Toralf Förster gentoo-dev 2024-04-10 18:02:29 UTC
Created attachment 890215 [details]
qlist-info.txt
Comment 9 Toralf Förster gentoo-dev 2024-04-10 18:02:30 UTC
Created attachment 890216 [details]
temp.tar.xz
Comment 10 Toralf Förster gentoo-dev 2024-04-10 18:02:31 UTC
Created attachment 890217 [details]
var.tmp.clang.tar.xz