[Kernel-packages] [Bug 1836045] Re: ftbfs: gnat cross targeting powerpc
** Tags added: cscc -- 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: Fix Released Status in gcc-9-cross package in Ubuntu: Fix Released Status in linux package in Ubuntu: Fix Released Bug description: both seen with gcc-8-cross and gcc-9-cross (search the build logs for "unfinished": /<>/gcc/build/./gcc/xgcc -B/<>/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 /< >/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 '/<>/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
[Kernel-packages] [Bug 1836045] Re: ftbfs: gnat cross targeting powerpc
If the cross-builds are working again, it sounds like this is resolved. ** Changed in: linux (Ubuntu) Status: Confirmed => Fix Released ** Changed in: gcc-9-cross (Ubuntu) Status: Confirmed => Fix Released ** Changed in: gcc-8-cross (Ubuntu) Status: Confirmed => Fix Released -- 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: Fix Released Status in gcc-9-cross package in Ubuntu: Fix Released Status in linux package in Ubuntu: Fix Released Bug description: both seen with gcc-8-cross and gcc-9-cross (search the build logs for "unfinished": /<>/gcc/build/./gcc/xgcc -B/<>/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 /< >/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 '/<>/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
[Kernel-packages] [Bug 1836045] Re: ftbfs: gnat cross targeting powerpc
now built linux-libc-dev-powerpc-cross from the linux 5.2 sources, and the cross builds are working again. I'm currently not spending time to investigate that further. -- 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": /<>/gcc/build/./gcc/xgcc -B/<>/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 /< >/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 '/<>/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
[Kernel-packages] [Bug 1836045] Re: ftbfs: gnat cross targeting powerpc
> /usr/include/powerpc64le-linux-gnu/asm/socket.h: this is the wrong header, I am talking about the powerpc-linux-gnu target. -- 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": /<>/gcc/build/./gcc/xgcc -B/<>/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 /< >/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 '/<>/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
[Kernel-packages] [Bug 1836045] Re: ftbfs: gnat cross targeting powerpc
gcc/ada/gsocket.h:#include 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": /<>/gcc/build/./gcc/xgcc -B/<>/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 /< >/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 '/<>/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
[Kernel-packages] [Bug 1836045] Re: ftbfs: gnat cross targeting powerpc
That's not true; most architectures don't have a match for SO_RCVTIMEO, as they're using the definition from asm-generic, just as powerpc should be. The others were updated differently because they do not include asm- generic/socket.h. And powerpc clearly does have a definition for it, since the build complains that SO_RCVTIMEO_OLD is not defined and not SO_RCVTIMEO. The question is why isn't SO_RCVTIMEO_OLD defined. I tried cross-compiling the following for ppc64el and did not receive any errors about SO_RCVTIMEO or SO_RCVTIMEO_OLD being undefined, nor did it complain when I used SO_RCVTIMEO_OLD, so it seems like it's working as intended. That leaves me wondering whether something isn't including asm-generic/socket.h when it should be including asm/socket.h, or something like that. I don't see any such mistakes in linux-libc-dev though. #include #include int main(void) { printf("%d\n", SO_RCVTIMEO); return 0; } -- 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": /<>/gcc/build/./gcc/xgcc -B/<>/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 /< >/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 '/<>/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
[Kernel-packages] [Bug 1836045] Re: ftbfs: gnat cross targeting powerpc
comparing the source trees of 5.0 and 5.2, it looks like all architectures except powerpc were updated (fgrep -r SO_RCVTIMEO). So this is a blocker for the powerpc cross compilers, which we need to build some firmware. ** Also affects: linux (Ubuntu) Importance: Undecided Status: New ** Changed in: linux (Ubuntu) Status: New => Confirmed ** Changed in: linux (Ubuntu) Importance: Undecided => High ** Tags added: rls-ee-incoming -- 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": /<>/gcc/build/./gcc/xgcc -B/<>/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 /< >/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 '/<>/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