(cd rts ; \
    /<<PKGBUILDDIR>>/gcc/build/./gcc/xgcc -B/<<PKGBUILDDIR>>/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 /<<PKGBUILD
DIR>>/gcc/build/sys-include    -W -Wall -g -O2 -g -O2 -fexceptions -DIN_RTS 
-DHAVE_GETIPINFO   -E -C -DTARGET=\"powerpc-u
nknown-linux-gnu\" -iquote /<<PKGBUILDDIR>>/gcc/src/gcc/ada 
/<<PKGBUILDDIR>>/gcc/src/gcc/ada/s-oscons-tmplt.c > s-oscons-
tmplt.i ; \
    /<<PKGBUILDDIR>>/gcc/build/./gcc/xgcc -B/<<PKGBUILDDIR>>/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 /<<PKGBUILD
DIR>>/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 /<<PKGBUILDDIR>>/gcc/build/gcc/include-fixed/limits.h:194,
                 from 
/<<PKGBUILDDIR>>/gcc/build/gcc/include-fixed/syslimits.h:7,
                 from /<<PKGBUILDDIR>>/gcc/build/gcc/include-fixed/limits.h:34,
                 from /<<PKGBUILDDIR>>/gcc/src/gcc/ada/gsocket.h:177,
                 from /<<PKGBUILDDIR>>/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"
   ^~~~~~~
/<<PKGBUILDDIR>>/gcc/src/gcc/ada/s-oscons-tmplt.c: In function 'main':
/<<PKGBUILDDIR>>/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")
                                              ^              
/<<PKGBUILDDIR>>/gcc/src/gcc/ada/s-oscons-tmplt.c:1256:46: note: each 
undeclared identifier is reported only once for each function it appears in
/<<PKGBUILDDIR>>/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

[...]

/<<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
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 '/<<PKGBUILDDIR>>/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

Reply via email to