Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 831338 - net-libs/toxext-0.0.2 fails to compile: ld.lld: error: cant 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
Summary: net-libs/toxext-0.0.2 fails to compile: ld.lld: error: cant create dynamic re...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Chiitoo
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks:
 
Reported: 2022-01-17 08:34 UTC by Agostino Sarubbo
Modified: 2022-03-15 20:03 UTC (History)
1 user (show)

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


Attachments
build.log (build.log,57.83 KB, text/plain)
2022-01-17 08:34 UTC, Agostino Sarubbo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2022-01-17 08:34:51 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: net-libs/toxext-0.0.2 fails to compile.
Discovered on: amd64 (internal ref: tinderbox)

NOTE:
This machine uses CLANG as a compiler and LLD as a linker
Comment 1 Agostino Sarubbo gentoo-dev 2022-01-17 08:34:53 UTC
Created attachment 762381 [details]
build.log

build log and emerge --info
Comment 2 Larry the Git Cow gentoo-dev 2022-03-15 20:03:58 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=49cc14c0f4f76a995d4764369523887320ebfa8c

commit 49cc14c0f4f76a995d4764369523887320ebfa8c
Author:     Jimi Huotari <chiitoo@gentoo.org>
AuthorDate: 2022-03-15 12:27:27 +0000
Commit:     Ionen Wolkens <ionen@gentoo.org>
CommitDate: 2022-03-15 20:03:15 +0000

    net-libs/toxext: append-flags -fPIC to fix build with CLANG and LLD
    
    Closes: https://bugs.gentoo.org/831338
    Package-Manager: Portage-3.0.30, Repoman-3.0.3
    Signed-off-by: Jimi Huotari <chiitoo@gentoo.org>
    Signed-off-by: Ionen Wolkens <ionen@gentoo.org>

 net-libs/toxext/toxext-0.0.3.ebuild | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)