https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85638
--- Comment #9 from xantares09 at hotmail dot com --- Yes, I applied your patch, now the build fails with another error: gcc -c -I./ -I/usr/lib/gcc/x86_64-pc-linux-gnu/7.3.1/adalib/../adainclude -I/usr/lib/gcc/x86_64-pc-linux-gnu/7.3.1/adalib -I. -I/home/xantares/projects/aur-scripts/mingw-w64-gcc/src/gcc/gcc/ada -g -O2 -W -Wall -gnatpg -gnata -I- /home/xantares/projects/aur-scripts/mingw-w64-gcc/src/gcc-8.1.0/gcc/ada/fmap.adb fmap.adb:304:18: "Null_FD" is undefined gnatmake: "/home/xantares/projects/aur-scripts/mingw-w64-gcc/src/gcc-8.1.0/gcc/ada/fmap.adb" compilation error