gcc/ada/gsocket.h:#include <sys/socket.h> so this is using the glibc header, no kernel header directly.
It looks like that with linux-libc-dev built using linux 5.2, I'm able to build the cross compiler. I'll update once the build finishes. -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu. https://bugs.launchpad.net/bugs/1836045 Title: ftbfs: gnat cross targeting powerpc Status in gcc-8-cross package in Ubuntu: Confirmed Status in gcc-9-cross package in Ubuntu: Confirmed Status in linux package in Ubuntu: Confirmed Bug description: both seen with gcc-8-cross and gcc-9-cross (search the build logs for "unfinished": /<<PKGBUILDDIR>>/gcc/build/./gcc/xgcc -B/<<PKGBUILDDIR>>/gcc/build/./gcc/ -B/usr/powerpc-linux-gnu/bin/ -B/usr/powerpc-li nux-gnu/lib/ -isystem /usr/powerpc-linux-gnu/include -isystem /usr/powerpc-linux-gnu/sys-include -isystem /<<PKGBUILDDIR> >/gcc/build/sys-include -c -g -O2 -W -Wall -gnatpg -nostdinc -gnatn a-direct.adb -o a-direct.o a-direct.adb:734:27: "NAME_MAX" is undefined a-direct.adb:743:28: "SIZEOF_struct_dirent_alloc" is undefined a-direct.adb:1210:24: "ENOENT" is undefined s-filatt.ads:62:18: "SIZEOF_struct_file_attributes" not declared in "OS_Constants" s-oscons.ads:50:26: "Target_OS" is undefined s-oscons.ads:54:01: (style) multiple blank lines s-oscons.ads:59:01: (style) multiple blank lines s-oscons.ads:64:01: (style) multiple blank lines s-oscons.ads:69:01: (style) multiple blank lines s-oscons.ads:74:01: (style) multiple blank lines s-oscons.ads:79:01: (style) multiple blank lines s-oscons.ads:86:01: (style) multiple blank lines s-oscons.ads:91:01: (style) multiple blank lines s-oscons.ads:96:01: (style) multiple blank lines s-oscons.ads:101:01: (style) multiple blank lines s-oscons.ads:106:01: (style) multiple blank lines s-oscons.ads:111:01: (style) multiple blank lines s-oscons.ads:116:01: (style) multiple blank lines s-oscons.ads:121:01: (style) multiple blank lines s-oscons.ads:126:01: (style) multiple blank lines s-oscons.ads:131:01: (style) multiple blank lines s-oscons.ads:136:01: (style) multiple blank lines s-oscons.ads:147:01: (style) multiple blank lines s-oscons.ads:166:01: (style) multiple blank lines s-oscons.ads:173:01: (style) multiple blank lines s-oscons.ads:176:01: (style) multiple blank lines s-oscons.ads:181:01: (style) multiple blank lines make[9]: *** [../gcc-interface/Makefile:299: a-direct.o] Error 1 make[9]: Leaving directory '/<<PKGBUILDDIR>>/gcc/build/gcc/ada/rts' make[8]: *** [gcc-interface/Makefile:623: gnatlib] Error 2 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gcc-8-cross/+bug/1836045/+subscriptions -- Mailing list: https://launchpad.net/~kernel-packages Post to : kernel-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~kernel-packages More help : https://help.launchpad.net/ListHelp