https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117708
Bug ID: 117708 Summary: [15 Regression] gnat fails to build on s390x-linux-gnu Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: ada Assignee: unassigned at gcc dot gnu.org Reporter: doko at gcc dot gnu.org CC: dkm at gcc dot gnu.org Target Milestone: --- seen with trunk 20241120, gnat fails to build on s390x-linux-gnu: libtool: compile: /<<PKGBUILDDIR>>/build/./gcc/xgcc -B/<<PKGBUILDDIR>>/build/./gcc/ -B/usr/lib/ gcc-snapshot/s390x-linux-gnu/bin/ -B/usr/lib/gcc-snapshot/s390x-linux-gnu/lib/ -isystem /usr/lib /gcc-snapshot/s390x-linux-gnu/include -isystem /usr/lib/gcc-snapshot/s390x-linux-gnu/sys-include -DHAVE_CONFIG_H -I. -I../../../src/libgfortran -iquote../../../src/libgfortran/io -I../../../sr c/libgfortran/../gcc -I../../../src/libgfortran/../gcc/config -I../.././gcc -I../../../src/libgf ortran/../libgcc -I../libgcc -I../../../src/libgfortran/../libbacktrace -I../libbacktrace -I../l ibbacktrace -std=gnu11 -Wall -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -We xtra -Wwrite-strings -Werror=implicit-function-declaration -Werror=vla -fcx-fortran-rules -ffunc tion-sections -fdata-sections -g -O2 -MT generated/iall_i4.lo -MD -MP -MF generated/.deps/iall_i 4.Tpo -c ../../../src/libgfortran/generated/iall_i4.c -fPIC -DPIC -o generated/.libs/iall_i4.o /<<PKGBUILDDIR>>/build/./gcc/xgcc -B/<<PKGBUILDDIR>>/build/./gcc/ -B/usr/lib/gcc-snapshot/s390x- linux-gnu/bin/ -B/usr/lib/gcc-snapshot/s390x-linux-gnu/lib/ -isystem /usr/lib/gcc-snapshot/s390x -linux-gnu/include -isystem /usr/lib/gcc-snapshot/s390x-linux-gnu/sys-include -c -g -O2 -fPI C -fno-lto -W -Wall -gnatpg -nostdinc s-mmap.adb -o s-mmap.o make[9]: *** No rule to make target 's-mmosin.o'. Stop. make[9]: *** Waiting for unfinished jobs.... s-mmap.adb:38:06: error: "System.Mmap.Os_Interface" is not a predefined library unit make[9]: *** [../gcc-interface/Makefile:300: s-mmap.o] Error 1