[lttng-dev] Wrong "ar" used when cross-building lttng

Rolf Eike Beer eb at emlix.com
Thu Nov 14 02:58:36 EST 2019


The unprefixed version of "ar" is being used, leading to this error:

arm-unknown-linux-gnueabi-gcc  -I. -Wall -I../../../include/ -I../../../
include/ \
        -O2 -g -march=armv7-a -mtune=cortex-a9 -mfpu=neon-fp16 -mfloat-
abi=hard -mthumb-interwork -pipe -Wl,--no-copy-dt-needed-entries,--as-needed -
Wl,--build-id -Wdate-time -c -o lttng-ust-provider-hello.o tp.c
ar -rc lttng-ust-provider-hello.a lttng-ust-provider-hello.o
make[4]: ar: Command not found

I fixed it for the moment with "make AR=arm-unknown-linux-gnueabi-ar", but 
ideally this would not be needed.

Greetings,

Eike
-- 
Rolf Eike Beer, emlix GmbH, http://www.emlix.com
Fon +49 551 30664-0, Fax +49 551 30664-11
Gothaer Platz 3, 37083 Göttingen, Germany
Sitz der Gesellschaft: Göttingen, Amtsgericht Göttingen HR B 3160
Geschäftsführung: Heike Jordan, Dr. Uwe Kracke – Ust-IdNr.: DE 205 198 055

emlix - smart embedded open source
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 313 bytes
Desc: This is a digitally signed message part.
URL: <https://lists.lttng.org/pipermail/lttng-dev/attachments/20191114/44c95580/attachment.sig>


More information about the lttng-dev mailing list