summaryrefslogtreecommitdiffstats
path: root/scripts/lib/devtool/build.py
diff options
context:
space:
mode:
authorJoerg Vehlow <joerg.vehlow@aox.de>2024-05-14 11:30:10 +0100
committerSteve Sakoman <steve@sakoman.com>2024-05-29 05:24:08 -0700
commit04b2e68c4ffe66381784d4dd18c6afce55d6d9bc (patch)
tree712117b00ebf0790fed985cb96f36912949d40f2 /scripts/lib/devtool/build.py
parent8d93dec85fa50503999deb1c9e94b34e62e8e00b (diff)
downloadpoky-04b2e68c4ffe66381784d4dd18c6afce55d6d9bc.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: 69128ca66991b13358f2552fcd5a7cfa6dda4952) 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> (cherry picked from commit 6b54215074d7f3dbba07f096f16b9c0acf51527c) Signed-off-by: Jose Quaresma <jose.quaresma@foundries.io> Signed-off-by: Steve Sakoman <steve@sakoman.com>
Diffstat (limited to 'scripts/lib/devtool/build.py')
0 files changed, 0 insertions, 0 deletions