[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 
-DHAVE_GETIPINFO   -E -C -DTARGET=\"powerpc-u
nknown-linux-gnu\" -iquote /<>/gcc/src/gcc/ada 
/<>/gcc/src/gcc/ada/s-oscons-tmplt.c > s-oscons-
tmplt.i ; \
/<>/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 
-DHAVE_GETIPINFO   -S s-oscons-tmplt.i ; \
../bldtools/oscons/xoscons s-oscons)
In file included from 
/usr/powerpc-linux-gnu/include/bits/libc-header-start.h:33,
 from /usr/powerpc-linux-gnu/include/limits.h:26,
 from /<>/gcc/build/gcc/include-fixed/limits.h:194,
 from 
/<>/gcc/build/gcc/include-fixed/syslimits.h:7,
 from /<>/gcc/build/gcc/include-fixed/limits.h:34,
 from /<>/gcc/src/gcc/ada/gsocket.h:177,
 from /<>/gcc/src/gcc/ada/s-oscons-tmplt.c:103:
/usr/powerpc-linux-gnu/include/features.h:185:3: warning: #warning "_BSD_SOURCE 
and _SVID_SOURCE are deprecated, use _DEF
AULT_SOURCE" [-Wcpp]
 # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
   ^~~
/<>/gcc/src/gcc/ada/s-oscons-tmplt.c: In function 'main':
/<>/gcc/src/gcc/ada/s-oscons-tmplt.c:1256:46: error: 
'SO_SNDTIMEO_OLD' undeclared (first use in this function)
 CND(SO_SNDTIMEO, "Emission timeout")
  ^  
/<>/gcc/src/gcc/ada/s-oscons-tmplt.c:1256:46: note: each 
undeclared identifier is reported only once for each function it appears in
/<>/gcc/src/gcc/ada/s-oscons-tmplt.c:1261:46: error: 
'SO_RCVTIMEO_OLD' undeclared (first use in this function)
 CND(SO_RCVTIMEO, "Reception timeout")
  ^  
test -f rts/s-oscons.ads || exit 1

[...]

/<>/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
checking for sinl... a-direct.adb:722:27: "NAME_MAX" is undefined
a-direct.adb:731:28: "SIZEOF_struct_dirent_alloc" is undefined
a-direct.adb:1099: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:137:01: (style) multiple blank lines
s-oscons.ads:156:01: (style) multiple blank lines
s-oscons.ads:163:01: (style) multiple blank lines
s-oscons.ads:166:01: (style) multiple blank lines
s-oscons.ads:171:01: (style) multiple blank lines
make[9]: *** [../gcc-interface/Makefile:296: a-direct.o] Error 1
make[9]: Leaving directory '/<>/gcc/build/gcc/ada/rts'
make[8]: *** [gcc-interface/Makefile:2451: gnatlib] Error 2

the mid-june build didn't complain about the missing O_SNDTIMEO_OLD and
SO_RCVTIMEO_OLD identifiers.

-- 
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 on ppc64el

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gcc-8-cross/+bug/1836045/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[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.
https://bugs.launchpad.net/bugs/1836045

Title:
  ftbfs: gnat cross targeting powerpc on ppc64el

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gcc-8-cross/+bug/1836045/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs