All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [bug] SDK with Arm AArch64 2018.08 toolchain can't find ld-linux-aarch64.so.1
@ 2018-12-04 23:15 Joel Carlson
  0 siblings, 0 replies; only message in thread
From: Joel Carlson @ 2018-12-04 23:15 UTC (permalink / raw)
  To: buildroot

I was upgrading from 2018.08.3 to 2018.11.  I did the build with "Arm
AArch64 2018.08" as the toolchain.  I ran make sdk, extracted it, and
ran relocate-sdk.sh.  Then I have a simple C program test.c that is
just main() and returns 0.

When I run:
$ ./tt_compute_sdk/bin/aarch64-linux-gnu-gcc
--sysroot=/home/joelcarlson/work/sdks/tt_compute_sdk/aarch64-buildroot-linux-gnu/sysroot
test.c

I get:
/home/joelcarlson/work/sdks/tt_compute_sdk/opt/ext-toolchain/bin/../lib/gcc/aarch64-linux-gnu/8.2.1/../../../../aarch64-linux-gnu/bin/ld:
cannot find /lib/ld-linux-aarch64.so.1 inside
/home/joelcarlson/work/sdks/tt_compute_sdk/aarch64-buildroot-linux-gnu/sysroot
collect2: error: ld returned 1 exit status

But ld-linux-aarch64.so.1 does exist at
/home/joelcarlson/work/sdks/tt_compute_sdk/aarch64-buildroot-linux-gnu/sysroot/lib/ld-linux-aarch64.so.1

I did a clean build with it configured to use the "Linaro AArch64
2018.05" toolchain (which I believe is the same one that I had been
using in 2018.08.3).  I made, extracted, and relocated the sdk, and I
was able to compile test.c without any issue.

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2018-12-04 23:15 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-12-04 23:15 [Buildroot] [bug] SDK with Arm AArch64 2018.08 toolchain can't find ld-linux-aarch64.so.1 Joel Carlson

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.