Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 689366 - sys-apps/coreutils-8.31 USE=static - libc.a(malloc.o): relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `_dl_tunable_set_mallopt_check' which may bind externally can not be used when making a shared object; recompile with -fPIC
Summary: sys-apps/coreutils-8.31 USE=static - libc.a(malloc.o): relocation R_AARCH64_A...
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-07-06 17:02 UTC by Alpha Bravo
Modified: 2019-07-07 16:10 UTC (History)
1 user (show)

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


Attachments
build.log (coreutils-8.31+static_build.log,380.78 KB, text/plain)
2019-07-06 17:02 UTC, Alpha Bravo
Details
emerge --info coreutils (coreutils-8.31_emerge-info.txt,5.46 KB, text/plain)
2019-07-07 07:09 UTC, Alpha Bravo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alpha Bravo 2019-07-06 17:02:10 UTC
Created attachment 582062 [details]
build.log

On aarch64-unknown-linux-gnu, gcc-9.1.0, compiling sys-apps/coreutils-8.31 with
USE="static" fails:
libc.a(malloc.o): [...] recompile with -fPIC [...] dangerous relocation [...]
libc.a(dl-debug.o): [...] recompile with -fPIC [...] dangerous relocation [...]
Comment 1 Jonas Stein gentoo-dev 2019-07-06 20:24:26 UTC
Thank you for the report. Please recompile and 
paste the emerge info as described on
https://wiki.gentoo.org/wiki/Attach_the_logs_to_the_bug_ticket
The logs must be part of the ticket, but not on external websites.
We need to have all information at hand before ticket assignment, so that the maintainer can look after it in one session with minimal number of callbacks.
Please reopen this ticket (Status:unconfirmed) afterwards.
Comment 2 Alpha Bravo 2019-07-07 07:09:35 UTC
Created attachment 582092 [details]
emerge --info coreutils