summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/gcc
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2023-06-10 08:50:21 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2023-06-13 22:10:32 +0100
commit616f694b72c4445648de24850a06e4e8d90d64b2 (patch)
treec2df42fceea00da7fb836579a747690dd1f8e668 /meta/recipes-devtools/gcc
parent44f23725b070617b5715dee2bf784e78265f4ddf (diff)
downloadpoky-616f694b72c4445648de24850a06e4e8d90d64b2.tar.gz
glibc: Pass linker choice via compiler flags
glibc configury tries to detect ld version and assumes BFD or gold linker but when system ld is pointing to lld or mold it might fail the linker check, therefore pass LD variable to explicitly point at ld.bfd we are using BFD linker only to link glibc after all. Second problem in such a case is that some partial objects are linked with CC -r which will fail if we do not inform the compiler to use BFD linker thusly pass it via appending to CC variable (From OE-Core rev: 63248d2cbd7a15aec5b864d0058fe919eb17c46c) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/gcc')
0 files changed, 0 insertions, 0 deletions