From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM autolearn=unavailable autolearn_force=no version=3.4.4 X-Received: by 10.36.65.3 with SMTP id x3mr4792019ita.36.1515269804525; Sat, 06 Jan 2018 12:16:44 -0800 (PST) X-Received: by 10.157.85.80 with SMTP id h16mr322121oti.1.1515269804224; Sat, 06 Jan 2018 12:16:44 -0800 (PST) Path: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!feeder.eternal-september.org!border1.nntp.ams1.giganews.com!nntp.giganews.com!peer03.ams1!peer.ams1.xlned.com!news.xlned.com!peer03.am4!peer.am4.highwinds-media.com!peer03.iad!feed-me.highwinds-media.com!news.highwinds-media.com!g80no924396itg.0!news-out.google.com!s63ni1260itb.0!nntp.google.com!g80no924390itg.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Sat, 6 Jan 2018 12:16:43 -0800 (PST) In-Reply-To: Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=173.71.208.22; posting-account=QF6XPQoAAABce2NyPxxDAaKdAkN6RgAf NNTP-Posting-Host: 173.71.208.22 References: <6042baa6-7743-48aa-8237-87181ab41a02@googlegroups.com> <7c41ec78-ba73-4f85-a7a7-837c3d582fa0@googlegroups.com> <726b2d23-1089-4a0d-a8f6-2b05c6939abe@googlegroups.com> User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: <5d9e3056-5c2d-4d64-a478-e120fed6253e@googlegroups.com> Subject: Re: Linker_Alias From: Jere Injection-Date: Sat, 06 Jan 2018 20:16:44 +0000 Content-Type: text/plain; charset="UTF-8" X-Received-Bytes: 2301 X-Received-Body-CRC: 23845620 Xref: reader02.eternal-september.org comp.lang.ada:49795 Date: 2018-01-06T12:16:43-08:00 List-Id: On Saturday, January 6, 2018 at 11:58:30 AM UTC-5, Simon Wright wrote: > Jere writes: > > > Does mine run exception free for you on Mac (If you don't mind > > checking of course)? > > Yes, it does. > > But I tried on Windows 7 running GNAT GPL 2017 and got the same result > as you. Below is a screen grab of the debug where the next instruction > is the offending one; looks to me as though the linker doesn't know how > to deal with the weak symbol??? > > Not much help, I know. > > https://www.dropbox.com/s/mxvvop99yd82ccy/Screen%20grab%20for%20Jere.jpg?dl=0 Thanks for checking it. That at least confirms it for me. I might try and send a bug report to AdaCore. Problem is I don't know if it is actually a bug since this is all implementation pragmas. And in the case of pragma Linker_Alias, they say they don't have to support it. Right now my work around on windows is to use outside of Ada means or just accept the exception when nothing is used to override it. I can live with that. Thanks again!