diff options
author | Joerg Vehlow <joerg.vehlow@aox.de> | 2022-04-11 14:35:20 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2022-04-19 14:42:20 +0100 |
commit | 460012e04a89e0b84fd5949c9a2229ef46e7a341 (patch) | |
tree | 5f6c88f0ece2fa68a3582ba5725b3349908efad9 /README.qemu.md | |
parent | f99183484822db34e4a87588baa041ac7c729815 (diff) | |
download | poky-460012e04a89e0b84fd5949c9a2229ef46e7a341.tar.gz |
go: Always pass interpreter to linker
When gos internal linker is used, it uses hardcoded paths to the
interpreter (dynamic linker). For x86_64 this hardcoded path is
/lib64/ld-linux-x86-64.so.2, but yocto's default dynamic linker path
is /lib64/ld-linux-x86-64.so.2.
Most of the time, the internal linker is not used and binutils linker
sets the correct path, but sometimes the internal linker is used and
the resulting binary will not work on x86_64.
To ensure the path is always correct, pass it to the linker.
(From OE-Core rev: 6b54215074d7f3dbba07f096f16b9c0acf51527c)
Signed-off-by: Joerg Vehlow <joerg.vehlow@aox.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'README.qemu.md')
0 files changed, 0 insertions, 0 deletions