All of lore.kernel.org
 help / color / mirror / Atom feed
* 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

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.