On Tue, Sep 28, 2021 at 11:58:48AM +0300, daniel.le...@amk-drives.bg wrote:
> Hello, 
> 
> first, thanks for your great support on meta-arago layer and further
> enthusiastic developing.
> 
> I'm trying to build a project with an external toolchain but failing on the
> recipe
> /meta-arm/meta-arm-toolchain/recipes-devtools/external-arm-toolchain/externa
> l-arm-toolchain.bb:do_install. I'm building in a docker container, with
> reduced layers using the ./oe-layertool-setup.sh command with following test
> config file. I've tried first
> gcc-arm-10.3-2021.07-x86_64-arm-none-linux-gnueabihf but it fails also, so I
> downgraded to gcc-arm-9.2-2019.12-x86_64-arm-none-linux-gnueabihf without
> success.

Hi, Daniel,

In order to post to the list you need to subscribe first. Otherwise your 
messages are held in moderation queue along with other spam posts and have 
very low chance to be seen.

It appears your layer configuration is not exactly correct. Arago Project uses 
oe-layersetup tool along with config files to setup layers:
http://arago-project.org/git/projects/?p=oe-layersetup.git;a=summary

If you need to use prebuilt Arm external toolchain with meta-arago/dunfell, 
then you should use 9.2-2019.12 version, according to this table:
http://arago-project.org/wiki/index.php/Setting_Up_Build_Environment#Available_Layer_Configurations

Also, you need to pin meta-arm/meta-arm-toolchain layer to commit 
c4f04f3fb66f8f4365b08b553af8206372e90a63, per the layer config:
http://arago-project.org/git/projects/?p=oe-layersetup.git;a=blob;f=configs/arago-dunfell-config.txt;hb=HEAD

That is due to some later changes in meta-arm-toolchain backported from master 
that broke meta-arago. This hasn't been resolved yet.

Alternatively, instead of using prebuilt Arm toolchain, you can build and use 
the internal toolchain, by setting or passing TOOLCHAIN_TYPE="internal"

-- 
Regards,
Denys Dmytriyenko <de...@denix.org>
PGP: 0x420902729A92C964 - https://denix.org/0x420902729A92C964
Fingerprint: 25FC E4A5 8A72 2F69 1186  6D76 4209 0272 9A92 C964
_______________________________________________
meta-arago mailing list
meta-arago@arago-project.org
http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago

Reply via email to