Hello,
I'm trying to build the gcc toolchain with Yocto.
I'm currently building it with `bitbake meta-toolchain -c populate_sdk`
and then running the installer
`tmp/deploy/sdk/poky-glibc-x86_64-core-image-sato-core2-64-toolchain-ext-5.2.999.sh`.
gcc and g++ work fine, but gfortran doesn't, getting the error:
`x86_64-poky-linux-gfortran: fatal error: cannot read spec file
‘libgfortran.spec’: No such file or directory
compilation terminated.`
I've tried copying the `libgfortran.spec` file from
`./build/tmp/sysroots-components/core2-64/libgfortran/usr/lib/libgfortran.spec`
to
`sysroots/x86_64-pokysdk-linux/usr/lib/x86_64-poky-linux/gcc/x86_64-poky-linux/14.2.0/libgfortran.spec`
but then I get several `no such file or directory` errors for Scrt1.o,
crti.o, crtbegins.o, etc....
I've also tried these suggestions but made no difference.
https://low-level.wiki/yocto/yocto-insectarium.html
Hoping anyone has got any insight?
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#64799): https://lists.yoctoproject.org/g/yocto/message/64799
Mute This Topic: https://lists.yoctoproject.org/mt/111161098/21656
Group Owner: yocto+ow...@lists.yoctoproject.org
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-