https://sourceware.org/bugzilla/show_bug.cgi?id=22221
Fangrui Song <i at maskray dot me> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |i at maskray dot me
--- Comment #5 from Fangrui Song <i at maskray dot me> ---
Lack of --no-dynamic-linker makes gold unable to build glibc in
--enable-static-pie mode
mkdir -p out/gold
cd out/gold
../../configure --prefix=/tmp/glibc/gold --enable-static-pie
>From ld.lld's experience, supporting the option is just a matter of:
https://github.com/llvm/llvm-project/commit/0fbf28f7aae0ceb70071cac56de345e3ff04439c
suppressing dynamic relocations for undefined weak symbols more aggressively.
I have a summary about the linker behaviors in
https://maskray.me/blog/2021-04-25-weak-symbol
--
You are receiving this mail because:
You are on the CC list for the bug.