https://gcc.gnu.org/bugzilla/show_bug.cgi?id=124152
Bug ID: 124152
Summary: ga68 does not fail when find module's static library
which doesn't have any export data
Product: gcc
Version: unknown
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: algol68
Assignee: algol68 at gcc dot gnu.org
Reporter: mnabipoor at gnu dot org
Target Milestone: ---
Hi.
After building `[PATCH V2] a68: standard Algol 68 preludes in Algol 68' patch
and
running compile tests for arm-none-eabi target, I encountered the following
error
while building my code:
```
arm-none-eabi-ga68 -static -specs=nosys.specs -mcpu=cortex-m33 -mthumb -ggdb3
-L_build -c -o _build/board.o board.a68
a681: error: file
'$HOME/dev/arm-none-eabi/lib/gcc/arm-none-eabi/16.0.1/../../../../arm-none-eabi/lib/thumb/v8-m.main/nofp/libga68.a'
exists but does not contain any export data
a681: error: file
'$HOME/dev/arm-none-eabi/lib/gcc/arm-none-eabi/16.0.1/../../../../arm-none-eabi/lib/libga68.a'
exists but does not contain any export data
board.a68:5:1: error: cannot find module 'STANDARD'
5 | module Board =
| ^
```
`arm-none-eabi-ga68' continued the search despite finding candidate archive
`thumb/v8-m.main/nofp/libga68.a'.