Re: Issue with SDK in Nifty Needlefish v14.0.0

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Carles,

yes, I can confirm both compilers show up. And in your case the wrong one is 
found by VSCode. You'd need to use aarch64-agl-linux   as prefix and not  
aarch64-agl-linux-musl .

Quick hack: remove all binaries with -musl in its name and let VSCode rescan.

I'll investigate why both show up.

Best,
Jan-Simon

Am Donnerstag, 1. September 2022, 16:25:45 CEST schrieb Carles Sole via 
lists.automotivelinux.org:
> Hello Jan-Simon,
> 
> thanks for the feedback. I agree that musl is not available in the generated
> image. However it clearly seems to be available in the sdk. I've built the
> image again in another machine (both using Ubuntu 20.04 LTS) and I have the
> same issue.
> 
> In the environment setup script environment-setup-aarch64-agl-linux I see
> only this related to musl:
> 
> export
> PATH=/opt/agl-sdk/14.0.0-aarch64/sysroots/x86_64-aglsdk-linux/usr/bin:/opt/
> agl-sdk/14.0.0-aarch64/sysroots/x86_64-aglsdk-linux/usr/sbin:/opt/agl-sdk/14
> .0.0-aarch64/sysroots/x86_64-aglsdk-linux/bin:/opt/agl-sdk/14.0.0-aarch64/sy
> sroots/x86_64-aglsdk-linux/sbin:/opt/agl-sdk/14.0.0-aarch64/sysroots/x86_64-
> aglsdk-linux/usr/bin/../x86_64-aglsdk-linux/bin:/opt/agl-sdk/14.0.0-aarch64/
> sysroots/x86_64-aglsdk-linux/usr/bin/aarch64-agl-linux:/opt/agl-sdk/14.0.0-a
> arch64/sysroots/x86_64-aglsdk-linux/usr/bin/aarch64-agl-linux- *musl* :$PATH
> 
> However in /opt/agl-sdk/14.0.0-aarch64/sysroots/x86_64-aglsdk-linux/usr
> there are these two folders: - aarch64-agl-linux
> - aarch64-agl-linux-musl
> 
> and after sourcing the environment setup script and starting VSCode, when I
> choose the agl kit I see that it is definitely using the musl libraries
> (see screenshot attached). I am following exactly the same procedure as
> with Lamprey, where that was not the case. Do you know if something has
> changed related to the sdk?
> 
> 
> 






-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#10128): https://lists.automotivelinux.org/g/agl-dev-community/message/10128
Mute This Topic: https://lists.automotivelinux.org/mt/93266208/2167316
Group Owner: agl-dev-community+owner@xxxxxxxxxxxxxxxxxxxxxxxxx
Unsubscribe: https://lists.automotivelinux.org/g/agl-dev-community/leave/4543822/2167316/883735764/xyzzy [list-automotive-discussions82@xxxxxxxxxxx]
-=-=-=-=-=-=-=-=-=-=-=-






[Index of Archives]     [LARTC]     [Bugtraq]     [Yosemite Forum]     [Photo]

  Powered by Linux