Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 734890 - 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
Summary: app-text/fbreader-0.99.4-r6 fails to compile: Linking FBReader ...ld.lld: err...
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Andrey Grozin
Depends on:
Blocks: LD-is-lld, systemwide-lld
  Show dependency tree
Reported: 2020-07-31 06:13 UTC by Agostino Sarubbo
Modified: 2021-12-15 08:05 UTC (History)
0 users

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

build.log (build.log,236.87 KB, text/plain)
2020-07-31 06:13 UTC, Agostino Sarubbo

Note You need to log in before you can comment on or make changes to this bug.
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.