* EXTERNAL_TOOLCHAIN + systemd: Unable to compile
@ 2024-05-23 13:34 Parthiban
2024-05-23 21:47 ` [meta-arm] _TOOLCHAIN " Denys Dmytriyenko
0 siblings, 1 reply; 2+ messages in thread
From: Parthiban @ 2024-05-23 13:34 UTC (permalink / raw)
To: meta-arm; +Cc: Parthiban
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?
--
Thanks,
Parthiban N
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [meta-arm] _TOOLCHAIN + systemd: Unable to compile
2024-05-23 13:34 EXTERNAL_TOOLCHAIN + systemd: Unable to compile Parthiban
@ 2024-05-23 21:47 ` Denys Dmytriyenko
0 siblings, 0 replies; 2+ messages in thread
From: Denys Dmytriyenko @ 2024-05-23 21:47 UTC (permalink / raw)
To: Parthiban; +Cc: meta-arm
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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2024-05-23 21:47 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-05-23 13:34 EXTERNAL_TOOLCHAIN + systemd: Unable to compile Parthiban
2024-05-23 21:47 ` [meta-arm] _TOOLCHAIN " Denys Dmytriyenko
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.