libgfortran.spec not found
A message that is not in the archive (sent off-list or not yet received): [email protected]
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?