From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on ip-172-31-74-118.ec2.internal X-Spam-Level: * X-Spam-Status: No, score=1.1 required=3.0 tests=BAYES_00,FROM_SUSPICIOUS_NTLD, FROM_SUSPICIOUS_NTLD_FP,PDS_OTHER_BAD_TLD autolearn=no autolearn_force=no version=3.4.6 Path: eternal-september.org!reader02.eternal-september.org!aioe.org!tmr9BI+uueYJMT3TC5a5oA.user.46.165.242.75.POSTED!not-for-mail From: Fernando Oleo Blanco Newsgroups: comp.lang.ada Subject: Re: Help: Ada in NetBSD Date: Mon, 30 Aug 2021 12:24:49 +0200 Organization: Aioe.org NNTP Server Message-ID: References: <16242b6e-cfb6-4fb1-8f7f-566469de446an@googlegroups.com> <7b5879f1-6d8a-46d7-b761-82c9cf483984n@googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Info: gioia.aioe.org; logging-data="60197"; posting-host="tmr9BI+uueYJMT3TC5a5oA.user.gioia.aioe.org"; mail-complaints-to="abuse@aioe.org"; User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.0.3 X-Notice: Filtered by postfilter v. 0.9.2 Content-Language: en-US Xref: reader02.eternal-september.org comp.lang.ada:62584 List-Id: 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 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 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 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 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 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 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 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 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 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 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 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 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