From: Denys Dmytriyenko <denis@denix.org>
To: Parthiban <parthiban@linumiz.com>
Cc: meta-arm@lists.yoctoproject.org
Subject: Re: [meta-arm] _TOOLCHAIN + systemd: Unable to compile
Date: Thu, 23 May 2024 17:47:38 -0400 [thread overview]
Message-ID: <20240523214738.GK21287@denix.org> (raw)
In-Reply-To: <ebb15d2e-db13-4f8f-a26f-b8c0477b394a@linumiz.com>
On Thu, May 23, 2024 at 07:04:42PM +0530, Parthiban wrote:
> Dear All,
>
> Am trying to use external=arm toolchain with scarthgap mainline together with systemd as INIT_MANAGER.
> With my current understanding, as systemd mandates "usrmerge" DISTRO_FEATURES, both the destination
> and source path changes to same and resulted in the below error.
>
> | mv: 'build/tmp/work/cortexa53-poky-linux/external-arm-toolchain/12.2.Rel1/image/usr/lib/libasan.a' and 'build/tmp/work/cortexa53-poky-linux/external-arm-toolchain/12.2.Rel1/image/usr/lib/libasan.a' are the same file
>
> From conf/local.conf:
> DISTRO_FEATURES:append = " systemd usrmerge "
> EXTERNAL_TOOLCHAIN = "/opt/tooling/aarch64"
> TCMODE = "external-arm"
>
> External toolchain version: gcc version 12.2.1 20221205 (Arm GNU Toolchain 12.2.Rel1 (Build arm-12.24))
>
> When I try to ignore this error "|| true" or skip it, packages compilation failed with libc linking.
> | /opt/tooling/arm-gnu-toolchain-12.2.rel1-x86_64-aarch64-none-linux-gnu/bin/../lib/gcc/aarch64-none-linux-gnu/12.2.1/../../../../aarch64-none-linux-gnu/bin/ld: cannot find ../../lib/libc.so.6: No such file or directory
> | /opt/tooling/arm-gnu-toolchain-12.2.rel1-x86_64-aarch64-none-linux-gnu/bin/../lib/gcc/aarch64-none-linux-gnu/12.2.1/../../../../aarch64-none-linux-gnu/bin/ld: cannot find ../../lib/ld-linux-aarch64.so.1: No such file or directory
>
> Is it possible to use external-arm + systemd with scarthgap?
This is due to "usrmerge"
There were patches on the mailing list couple weeks ago trying to address
this, but some minor comments haven't been addressed yet, hence not merged:
https://lists.yoctoproject.org/g/meta-arm/topic/105575080
The original submitter hasn't responded yet and I almost forgot about it - let
me try to re-spin the patches...
--
Denys
prev parent reply other threads:[~2024-05-23 21:47 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-05-23 13:34 EXTERNAL_TOOLCHAIN + systemd: Unable to compile Parthiban
2024-05-23 21:47 ` Denys Dmytriyenko [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20240523214738.GK21287@denix.org \
--to=denis@denix.org \
--cc=meta-arm@lists.yoctoproject.org \
--cc=parthiban@linumiz.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.