[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug gold/22221] add --no-dynamic-linker option

From: i at maskray dot me
Subject: [Bug gold/22221] add --no-dynamic-linker option
Date: Wed, 28 Jul 2021 22:49:21 +0000


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:

suppressing dynamic relocations for undefined weak symbols more aggressively.

I have a summary about the linker behaviors in 

You are receiving this mail because:
You are on the CC list for the bug.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]