comp.lang.ada
 help / color / mirror / Atom feed
From: Fernando Oleo Blanco <irvise_ml@irvise.xyz>
Subject: Re: Help: Ada in NetBSD
Date: Mon, 30 Aug 2021 12:24:49 +0200	[thread overview]
Message-ID: <sgibli$1qp5$1@gioia.aioe.org> (raw)
In-Reply-To: sgi40d$1red$1@gioia.aioe.org

Actually, I am wrong about the compiler not complaining.

In the last stage of building GCC I get:

.o \
         -Wl,-soname,libgnat-10.so \
         -lutil -lm
/usr/bin/ld: s-osprim.o: in function `system__os_primitives__timed_delay':
/usr/pkgsrc/wip/gcc10-aux/work/build/gcc/ada/rts/s-optide.adb:75: 
warning: warning: reference to compatibility nanosleep(); include 
<time.h> to generate correct reference
/usr/bin/ld: g-socket.o: in function `gnat__sockets__check_selector__2':
/usr/pkgsrc/wip/gcc10-aux/work/build/gcc/ada/rts/g-socket.adb:566: 
warning: warning: reference to compatibility select(); include 
<sys/select.h> to generate correct reference
/usr/bin/ld: g-socthi.o: in function `gnat__sockets__thin__c_socket':
/usr/pkgsrc/wip/gcc10-aux/work/build/gcc/ada/rts/g-socthi.adb:388: 
warning: warning: reference to compatibility socket(); include 
<sys/socket.h> for correct reference
/usr/bin/ld: s-osprim.o: in function `system__os_primitives__clock':
/usr/pkgsrc/wip/gcc10-aux/work/build/gcc/ada/rts/s-osprim.adb:91: 
warning: warning: reference to compatibility gettimeofday(); include 
<sys/time.h> to generate correct reference
cd rts; `echo "/usr/pkgsrc/wip/gcc10-aux/work/build/./gcc/xgcc 
-B/usr/pkgsrc/wip/gcc10-aux/work/build/./gcc/ 
-B/usr/pkg/gcc10/x86_64--netbsd/bin/ 
-B/usr/pkg/gcc10/x86_64--netbsd/lib/ -isystem 
/usr/pkg/gcc10/x86_64--netbsd/include -isystem 
/usr/pkg/gcc10/x86_64--netbsd/sys-include   " \
                 | sed -e 's,\./xgcc,../../xgcc,' -e 
's,-B\./,-B../../,'` -shared -g -O2  \
         -fpic \
         -o libgnarl-10.so \
         a-dispat.o a-dynpri.o a-interr.o a-intnam.o a-reatim.o 
a-retide.o a-rttiev.o a-synbar.o a-sytaco.o a-tasatt.o a-taside.o 
a-taster.o g-boubuf.o g-boumai.o g-semaph.o g-signal.o g-tastus.o 
g-thread.o s-inmaop.o s-interr.o s-intman.o s-mudido.o s-osinte.o 
s-proinf.o s-solita.o s-stusta.o s-taenca.o s-taprob.o s-taprop.o 
s-tarest.o s-tasdeb.o s-tasinf.o s-tasini.o s-taskin.o s-taspri.o 
s-tasque.o s-tasres.o s-tasren.o s-tassta.o s-tasuti.o s-taasde.o 
s-tadeca.o s-tadert.o s-tataat.o s-tpinop.o s-tpoben.o s-tpobop.o 
s-tposen.o thread.o  \
         -Wl,-soname,libgnarl-10.so \
         -lpthread -lrt
/usr/bin/ld: s-inmaop.o: in function 
`system__interrupt_management__operations___elabb':
/usr/pkgsrc/wip/gcc10-aux/work/build/gcc/ada/rts/s-inmaop.adb:280: 
warning: warning: reference to compatibility sigaction(); include 
<signal.h> for correct reference
/usr/bin/ld: s-taprop.o: in function 
`system__task_primitives__operations__monotonic__monotonic_clockXnn':
/usr/pkgsrc/wip/gcc10-aux/work/build/gcc/ada/rts/s-tpopmo.adb:60: 
warning: warning: reference to compatibility clock_gettime(); include 
<time.h> to generate correct reference
/usr/bin/ld: s-taprop.o: in function 
`system__task_primitives__operations__monotonic__rt_resolutionXnn':
/usr/pkgsrc/wip/gcc10-aux/work/build/gcc/ada/rts/s-tpopmo.adb:76: 
warning: warning: reference to compatibility clock_getres(); include 
<time.h> to generate correct reference
/usr/bin/ld: s-inmaop.o: in function 
`system__interrupt_management__operations__thread_block_interrupt':
/usr/pkgsrc/wip/gcc10-aux/work/build/gcc/ada/rts/s-inmaop.adb:70: 
warning: warning: reference to compatibility sigaddset(); include 
<signal.h> for correct reference
/usr/bin/ld: s-inmaop.o: in function 
`system__interrupt_management__operations___elabb':
/usr/pkgsrc/wip/gcc10-aux/work/build/gcc/ada/rts/s-inmaop.adb:314: 
warning: warning: reference to compatibility sigdelset(); include 
<signal.h> for correct reference
/usr/bin/ld: s-inmaop.o: in function 
`system__interrupt_management__operations__thread_block_interrupt':
/usr/pkgsrc/wip/gcc10-aux/work/build/gcc/ada/rts/s-inmaop.adb:68: 
warning: warning: reference to compatibility sigemptyset(); include 
<signal.h> for correct reference
/usr/bin/ld: s-inmaop.o: in function 
`system__interrupt_management__operations___elabb':
/usr/pkgsrc/wip/gcc10-aux/work/build/gcc/ada/rts/s-inmaop.adb:295: 
warning: warning: reference to compatibility sigfillset(); include 
<signal.h> for correct reference
/usr/bin/ld: s-inmaop.o: in function 
`system__interrupt_management__operations__is_member':
/usr/pkgsrc/wip/gcc10-aux/work/build/gcc/ada/rts/s-inmaop.adb:230: 
warning: warning: reference to compatibility sigismember(); include 
<signal.h> for correct reference

when GCC tries to compile libgnarl... So... lets get to renaming these 
symbols! And there are noticeable many more failures here that during 
ACATS. Maybe I did not get to see all the failures that ACATS was 
generating. However, I do not expect any more warnings than these ones, 
since this the linking of libgnarl from ALL the object files.


Regards,
-- 
Fernando Oleo Blanco
https://irvise.xyz

  reply	other threads:[~2021-08-30 10:24 UTC|newest]

Thread overview: 34+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-08-29 11:06 Help: Ada in NetBSD Fernando Oleo Blanco
2021-08-29 13:19 ` Stephane Carrez
2021-08-29 18:08   ` Fernando Oleo Blanco
2021-08-29 18:25     ` Simon Wright
2021-08-29 20:36       ` Fernando Oleo Blanco
2021-08-29 22:08         ` Stephane Carrez
2021-08-30  7:37           ` Simon Wright
2021-08-30  8:14           ` Fernando Oleo Blanco
2021-08-30 10:24             ` Fernando Oleo Blanco [this message]
2021-08-30 12:15               ` Fernando Oleo Blanco
2021-08-30 18:49                 ` Fernando Oleo Blanco
2021-08-30 19:23                   ` Simon Wright
2021-09-01  9:44                     ` Fernando Oleo Blanco
2021-09-01 21:41                       ` Simon Wright
2021-09-02 22:16                       ` Randy Brukardt
2021-09-03 20:18                         ` Simon Wright
2021-08-29 17:34 ` Simon Wright
2021-08-29 17:45   ` Fernando Oleo Blanco
2021-09-01 13:28 ` John R. Marino
2021-09-01 14:58   ` Fernando Oleo Blanco
2021-09-17 17:36     ` Fernando Oleo Blanco
2021-09-18 16:39       ` Fernando Oleo Blanco
2021-09-22 20:05         ` Fernando Oleo Blanco
2021-09-22 20:57           ` Simon Wright
2021-09-23  8:04           ` Luke A. Guest
2021-09-23 10:48             ` Kevin Chadwick
2021-09-23 17:01               ` Fernando Oleo Blanco
2021-09-23 17:04             ` Fernando Oleo Blanco
2021-09-23 19:53           ` Fernando Oleo Blanco
2021-09-24  7:48             ` Simon Wright
2021-09-24  9:44               ` Fernando Oleo Blanco
2021-09-13 18:49   ` Fernando Oleo Blanco
2021-09-13 22:24     ` Dennis Lee Bieber
2021-09-17 17:19       ` Fernando Oleo Blanco
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox