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=0.8 required=3.0 tests=BAYES_50,FREEMAIL_FROM autolearn=ham autolearn_force=no version=3.4.6 X-Received: by 2002:a05:620a:135c:: with SMTP id c28mr19343246qkl.18.1630274908169; Sun, 29 Aug 2021 15:08:28 -0700 (PDT) X-Received: by 2002:a25:5556:: with SMTP id j83mr19335006ybb.309.1630274907868; Sun, 29 Aug 2021 15:08:27 -0700 (PDT) Path: eternal-september.org!reader02.eternal-september.org!news.mixmin.net!proxad.net!feeder1-2.proxad.net!209.85.160.216.MISMATCH!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Sun, 29 Aug 2021 15:08:27 -0700 (PDT) In-Reply-To: Injection-Info: google-groups.googlegroups.com; posting-host=5.51.16.193; posting-account=lzjH_AoAAABq5H4FTxZ1AkonVQLbXoxB NNTP-Posting-Host: 5.51.16.193 References: <16242b6e-cfb6-4fb1-8f7f-566469de446an@googlegroups.com> User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: <7b5879f1-6d8a-46d7-b761-82c9cf483984n@googlegroups.com> Subject: Re: Help: Ada in NetBSD From: Stephane Carrez Injection-Date: Sun, 29 Aug 2021 22:08:28 +0000 Content-Type: text/plain; charset="UTF-8" Xref: reader02.eternal-september.org comp.lang.ada:62579 List-Id: Hi! Simon is right, the symbol used by the Ada import statement must be renamed. The reason for the symbol change is some NetBSD libc change in the signature of some system calls. Some information in: http://ftp.netbsd.org/pub/NetBSD/NetBSD-current/src/lib/libc/README The __gettimeofday50 is the new function signature while _gettimeofday is the old one. The gettimeofday is the weak alias to _gettimeofday and produces the warning. Beware that the symbol name that you specify for some import statement is platform specific. Having a different symbol names for NetBSD is quite common. FreeBSD is different than NetBSD, likewise for OpenBSD :-) Thanks for the link to the NetBSD git sources, I'm trying to build and keep you informed in my progress :-) Stephane