Skip to content

Commit

Permalink
src/poky:gfortran: update runtime dependencies
Browse files Browse the repository at this point in the history
It fails to run both `gcc` and `gfortran` with errors:

| rootqemux86-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:

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

And gcc provides liblto_plugin.so:

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

(From OE-Core rev: 44fc7aa1468ff042739cc5a91c84ef5c2a09e0a3)

Signed-off-by: Kai Kang <kai.kangwindriver.com>
Signed-off-by: Richard Purdie <richard.purdielinuxfoundation.org>
  • Loading branch information
kkang-wr authored and rpurdie committed Jun 18, 2024
1 parent 21ad1b9 commit dbcfa6f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/poky
Submodule poky updated from e288d1 to da616e

0 comments on commit dbcfa6f

Please sign in to comment.