https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108929
Bug ID: 108929 Summary: bfin-openbsd: Issues calling `as` when trying to build Module-2 components Product: gcc Version: 13.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: driver Assignee: unassigned at gcc dot gnu.org Reporter: jbg...@lug-owl.de Target Milestone: --- Hi! For --target=bfin-openbsd, I see the assembler being called in some way that doesn't seem to work: [all 2023-02-21 19:37:03] test -d /var/lib/laminar/run/gcc-bfin-openbsd/35/toolchain-build/gcc/m2/gm2-libs || /bin/bash ../../gcc/gcc/../mkinstalldirs /var/lib/laminar/run/gcc-bfin-openbsd/35/toolchain-build/gcc/m2/gm2-libs [all 2023-02-21 19:37:03] echo "GM2_FOR_TARGET /var/lib/laminar/run/gcc-bfin-openbsd/35/toolchain-build/./gcc/gm2 -B/var/lib/laminar/run/gcc-bfin-openbsd/35/toolchain-build/./gcc/ " [all 2023-02-21 19:37:03] GM2_FOR_TARGET /var/lib/laminar/run/gcc-bfin-openbsd/35/toolchain-build/./gcc/gm2 -B/var/lib/laminar/run/gcc-bfin-openbsd/35/toolchain-build/./gcc/ [all 2023-02-21 19:37:03] echo "GCC_FOR_TARGET /var/lib/laminar/run/gcc-bfin-openbsd/35/toolchain-build/./gcc/xgcc -B/var/lib/laminar/run/gcc-bfin-openbsd/35/toolchain-build/./gcc/ " [all 2023-02-21 19:37:03] GCC_FOR_TARGET /var/lib/laminar/run/gcc-bfin-openbsd/35/toolchain-build/./gcc/xgcc -B/var/lib/laminar/run/gcc-bfin-openbsd/35/toolchain-build/./gcc/ [all 2023-02-21 19:37:03] /bin/bash ../../gcc/gcc/m2/tools-src/makeSystem -fpim \ [all 2023-02-21 19:37:03] ../../gcc/gcc/m2/gm2-libs/SYSTEM.def \ [all 2023-02-21 19:37:03] ../../gcc/gcc/m2/gm2-libs/SYSTEM.mod \ [all 2023-02-21 19:37:03] -I../../gcc/gcc/m2/gm2-libs \ [all 2023-02-21 19:37:03] "/var/lib/laminar/run/gcc-bfin-openbsd/35/toolchain-build/./gcc/gm2 -B/var/lib/laminar/run/gcc-bfin-openbsd/35/toolchain-build/./gcc/ " /var/lib/laminar/run/gcc-bfin-openbsd/35/toolchain-build/gcc/m2/gm2-libs/SYSTEM.def [all 2023-02-21 19:37:04] /var/lib/laminar/run/gcc-bfin-openbsd/35/toolchain-build/./gcc/as: 114: exec: -o: not found [all 2023-02-21 19:37:04] SYSTEM module creates type: LOC [all 2023-02-21 19:37:04] SYSTEM module creates type: WORD [all 2023-02-21 19:37:04] SYSTEM module creates type: BYTE [all 2023-02-21 19:37:04] SYSTEM module creates type: ADDRESS [all 2023-02-21 19:37:04] SYSTEM module creates type: INTEGER8 [all 2023-02-21 19:37:04] SYSTEM module creates type: INTEGER16 [all 2023-02-21 19:37:04] SYSTEM module creates type: INTEGER32 [all 2023-02-21 19:37:04] SYSTEM module creates type: INTEGER64 [all 2023-02-21 19:37:04] SYSTEM module creates type: CARDINAL8 [all 2023-02-21 19:37:04] SYSTEM module creates type: CARDINAL16 [all 2023-02-21 19:37:04] SYSTEM module creates type: CARDINAL32 [all 2023-02-21 19:37:04] SYSTEM module creates type: CARDINAL64 [all 2023-02-21 19:37:04] SYSTEM module creates type: WORD16 [all 2023-02-21 19:37:04] SYSTEM module creates type: WORD32 [all 2023-02-21 19:37:04] SYSTEM module creates type: WORD64 [all 2023-02-21 19:37:04] SYSTEM module creates type: BITSET8 [all 2023-02-21 19:37:04] SYSTEM module creates type: BITSET16 [all 2023-02-21 19:37:04] SYSTEM module creates type: BITSET32 [all 2023-02-21 19:37:04] SYSTEM module creates type: REAL32 [all 2023-02-21 19:37:04] SYSTEM module creates type: REAL64 [all 2023-02-21 19:37:04] SYSTEM module creates type: COMPLEX32 [all 2023-02-21 19:37:04] SYSTEM module creates type: COMPLEX64 [all 2023-02-21 19:37:04] SYSTEM module creates type: CSIZE_T [all 2023-02-21 19:37:04] SYSTEM module creates type: CSSIZE_T [all 2023-02-21 19:37:04] /var/lib/laminar/run/gcc-bfin-openbsd/35/toolchain-build/./gcc/as: 114: exec: -o: not found [all 2023-02-21 19:37:04] make[1]: *** [../../gcc/gcc/m2/Make-lang.in:1564: /var/lib/laminar/run/gcc-bfin-openbsd/35/toolchain-build/gcc/m2/gm2-libs/SYSTEM.def] Error 1 [all 2023-02-21 19:37:04] rm m2/gm2-compiler-boot/P2Build.mod m2/gm2-compiler-boot/P0SyntaxCheck.mod m2/gm2-compiler-boot/PCBuild.mod m2/gm2-compiler-boot/PHBuild.mod m2/gm2-compiler-boot/P1Build.mod m2/gm2-compiler-boot/P3Build.mod [all 2023-02-21 19:37:04] make[1]: Leaving directory '/var/lib/laminar/run/gcc-bfin-openbsd/35/toolchain-build/gcc' [all 2023-02-21 19:37:05] make: *** [Makefile:4623: all-gcc] Error 2 (Full build lot at http://toolchain.lug-owl.de/laminar/log/gcc-bfin-openbsd/35)