Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 734890

Summary: app-text/fbreader-0.99.4-r6 fails to compile: Linking FBReader ...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 t
Product: Gentoo Linux Reporter: Agostino Sarubbo <ago>
Component: Current packagesAssignee: Andrey Grozin <grozin>
Status: CONFIRMED ---    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 731004    
Attachments: build.log

Description Agostino Sarubbo gentoo-dev 2020-07-31 06:13:23 UTC

Issue: app-text/fbreader-0.99.4-r5 fails to compile.
Discovered on: amd64 (internal ref: tinderbox)

This machine uses a clang/LLVM toolchain.
If you think that this issue is strictly related to clang/LLVM please block bug 408963. If you think that this issue isstrictly related to the LLD linker, please block bug 731004.
Comment 1 Agostino Sarubbo gentoo-dev 2020-07-31 06:13:30 UTC
Created attachment 651794 [details]

build log and emerge --info
Comment 2 Andrey Grozin gentoo-dev 2020-08-14 09:53:47 UTC
Cannot reproduce: compiles and works fine for me
Comment 3 Andrey Grozin gentoo-dev 2020-08-14 09:59:19 UTC
Sorry, haven't noticed your note about llvm and lld. I use gcc-10.2.0 and GNU ld-2.34.0. Error messages are about linking, so, probably, the issue is related to lld.
Comment 4 Agostino Sarubbo gentoo-dev 2021-12-14 19:28:31 UTC
tinderbox has reproduced this issue with version 0.99.4-r6 - Updating summary.