]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commit
gfortran: update runtime dependencies
authorKai Kang <kai.kang@windriver.com>
Sun, 16 Jun 2024 15:31:35 +0000 (23:31 +0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 18 Jun 2024 07:41:55 +0000 (08:41 +0100)
commit44fc7aa1468ff042739cc5a91c84ef5c2a09e0a3
tree7222cb48a3811cb3ebbfa35fe8f0ed580e9e2653
parentb32290d9bbcfccc9b85fa5acbeaee5d32d9a9091
gfortran: update runtime dependencies

It fails to run both `gcc` and `gfortran` with errors:

| root@qemux86-64:~# x86_64-poky-linux-gcc a.c
| x86_64-poky-linux-gcc: fatal error: cannot execute 'as': posix_spawnp: No such file or directory

then add binutils which provides `as` to RDEPENDS of gcc.

libgfortran-dev provides libgfortran.spec which required by gfortran:

| root@qemux86-64:~# gfortran hello.f95
| gfortran: fatal error: cannot read spec file 'libgfortran.spec': No such file or directory

And gcc provides liblto_plugin.so:

| root@qemux86-64:~# gfortran hello.f95
| gfortran: fatal error: '-fuse-linker-plugin', but liblto_plugin.so not found

Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-devtools/gcc/gcc-target.inc