[Bug 1836045] Re: ftbfs: gnat cross targeting powerpc

2019-07-24 Thread Brad Figg
** Tags added: cscc -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1836045 Title: ftbfs: gnat cross targeting powerpc To manage notifications about this bug go to:

[Bug 1836045] Re: ftbfs: gnat cross targeting powerpc

2019-07-11 Thread Steve Langasek
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

[Bug 1836045] Re: ftbfs: gnat cross targeting powerpc

2019-07-11 Thread Matthias Klose
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 Ubuntu Bugs, which is subscribed to Ubuntu.

[Bug 1836045] Re: ftbfs: gnat cross targeting powerpc

2019-07-10 Thread Matthias Klose
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

[Bug 1836045] Re: ftbfs: gnat cross targeting powerpc

2019-07-10 Thread Matthias Klose
> /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 Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1836045 Title: ftbfs:

[Bug 1836045] Re: ftbfs: gnat cross targeting powerpc

2019-07-10 Thread Seth Forshee
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

[Bug 1836045] Re: ftbfs: gnat cross targeting powerpc

2019-07-10 Thread Matthias Klose
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

[Bug 1836045] Re: ftbfs: gnat cross targeting powerpc

2019-07-10 Thread Seth Forshee
SO_SNDTIMEO_OLD and SO_RCVTIMEO_OLD are new in 5.1, due to some shuffling to support y2038-safe socket timeout options. They should be defined in headers installed by linux-libc-dev, as follows: usr/include/asm-generic/socket.h: #define SO_RCVTIMEO (sizeof(time_t) == sizeof(__kernel_long_t) ?

[Bug 1836045] Re: ftbfs: gnat cross targeting powerpc

2019-07-10 Thread Matthias Klose
** Summary changed: - ftbfs: gnat cross targeting powerpc on ppc64el + ftbfs: gnat cross targeting powerpc -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1836045 Title: ftbfs: gnat cross targeting

[Bug 1836045] Re: ftbfs: gnat cross targeting powerpc on ppc64el

2019-07-10 Thread Matthias Klose
(cd rts ; \ /<>/gcc/build/./gcc/xgcc -B/<>/gcc/build/./gcc/ -B/usr/powerpc-linux-gnu/bin/ -B/usr/powerp c-linux-gnu/lib/ -isystem /usr/powerpc-linux-gnu/include -isystem /usr/powerpc-linux-gnu/sys-include -isystem /<>/gcc/build/sys-include-W -Wall -g -O2 -g -O2 -fexceptions -DIN_RTS

[Bug 1836045] Re: ftbfs: gnat cross targeting powerpc on ppc64el

2019-07-10 Thread Matthias Klose
not specific on the host, ftbfs on amd64 as well ** Summary changed: - fftbfs: gnat cross targeting powerpc on ppc64el + ftbfs: gnat cross targeting powerpc on ppc64el -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu.