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

Bug 689366

Summary: 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
Product: Gentoo Linux Reporter: Alpha Bravo <aos>
Component: Current packagesAssignee: Gentoo's Team for Core System packages <base-system>
Status: UNCONFIRMED ---    
Severity: normal CC: jstein
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: build.log
emerge --info coreutils

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