* libgfortran.spec not found
[not found] <a61584d0a85706d66ed9acad0c7b1c1c@codethink.co.uk>
@ 2025-02-13 10:03 ` Tomas Veiga
0 siblings, 0 replies; only message in thread
From: Tomas Veiga @ 2025-02-13 10:03 UTC (permalink / raw)
To: yocto
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?
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2025-02-13 11:58 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <a61584d0a85706d66ed9acad0c7b1c1c@codethink.co.uk>
2025-02-13 10:03 ` libgfortran.spec not found Tomas Veiga
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.