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:622a:1a9b:: with SMTP id s27mr16383590qtc.165.1630243198309; Sun, 29 Aug 2021 06:19:58 -0700 (PDT) X-Received: by 2002:a25:1257:: with SMTP id 84mr16423460ybs.363.1630243197977; Sun, 29 Aug 2021 06:19:57 -0700 (PDT) Path: eternal-september.org!reader02.eternal-september.org!feeder1.feed.usenet.farm!feed.usenet.farm!tr2.eu1.usenetexpress.com!feeder.usenetexpress.com!tr1.iad1.usenetexpress.com!border1.nntp.dca1.giganews.com!nntp.giganews.com!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 06:19:57 -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: User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: <16242b6e-cfb6-4fb1-8f7f-566469de446an@googlegroups.com> Subject: Re: Help: Ada in NetBSD From: Stephane Carrez Injection-Date: Sun, 29 Aug 2021 13:19:58 +0000 Content-Type: text/plain; charset="UTF-8" Xref: reader02.eternal-september.org comp.lang.ada:62572 List-Id: Hi! On NetBSD there are several symbols that are replaced by the virtue of including a C header. If you include correctly the C header, the correct symbol is used and you don't get the linker warning. For gettimeofday the symbol is replaced by __gettimeofday50. These symbols are marked with __RENAME(XXX) macros in the C headers. I would suggest to have a look at the .o files to find out the one that has the `gettimeofday` symbol that is not replaced. By the way, I'm intertested by your work as I'm still stuck on gcc 6 for my NetBSD machines. 20 years ago I wrote the 68HC11 port that was integrated in GCC 3.3 so I have some past experience in working with GCC. Despite my very limited spare time, I could have a look if you provide me the sources of your port :-) Best regards, Stephane