Tested this locally and gcc is trying to find the linker with the multilib
prefix, but that's not available in SDK.
[pid  3784] newfstatat(AT_FDCWD,
"/home/sapiippo/build/toolchain/sysroots/x86_64-pokysdk-linux/usr/libexec/mips-poky-linux/gcc/mips-poky-linux/11.1.0/mips-pokymllib32-linux-ld",
0x7ffe380d44a0, 0) = -1 ENOENT (No such file or directory)

The same works on bitbake builds, where lib32-gcc-cross-mips add the
symlink:
mips-pokymllib32-linux-ld ->
../../../../../bin/mips-pokymllib32-linux/mips-pokymllib32-linux-ld
(even though the binary is built in lib32-binutils-cross-mips)

So, the cross-canadian builds are missing all the multilib links in libexec
that are available in cross builds.

-samuli

On Wed, 26 May 2021 at 12:44, Richard Purdie <
[email protected]> wrote:

> On Wed, 2021-05-26 at 12:23 +0300, Samuli Piippo wrote:
> > Was the "gcc-cross-canadian: add symlinks for ld.bfd and ld.gold" change
> > included in that test build?
>
> Yes, it was.
>
> Cheers,
>
> Richard
>
>
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#152339): 
https://lists.openembedded.org/g/openembedded-core/message/152339
Mute This Topic: https://lists.openembedded.org/mt/82987140/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to