From: "Tomas Veiga" <tomas.veiga@codethink.co.uk>
To: yocto@lists.yoctoproject.org
Subject: libgfortran.spec not found
Date: Thu, 13 Feb 2025 10:03:25 +0000 [thread overview]
Message-ID: <247c3cd3a7efe93dfb3fcfa29944c175@codethink.co.uk> (raw)
In-Reply-To: <a61584d0a85706d66ed9acad0c7b1c1c@codethink.co.uk>
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?
parent reply other threads:[~2025-02-13 11:58 UTC|newest]
Thread overview: expand[flat|nested] mbox.gz Atom feed
[parent not found: <a61584d0a85706d66ed9acad0c7b1c1c@codethink.co.uk>]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=247c3cd3a7efe93dfb3fcfa29944c175@codethink.co.uk \
--to=tomas.veiga@codethink.co.uk \
--cc=yocto@lists.yoctoproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.