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=-0.3 required=5.0 tests=BAYES_00, REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 Path: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!feeder.eternal-september.org!news.swapon.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail From: Bill Findlay Newsgroups: comp.lang.ada Subject: Re: GNAT Community Edition 2018 Date: Mon, 11 Jun 2018 14:36:09 +0100 Organization: none Message-ID: <0001HW.20CEB24901CDE39A70000133C2CF@news.individual.net> References: <0001HW.20CD5BA2017D944370000133C2CF@news.individual.net> <0001HW.20CD6DC80181D53370000133C2CF@news.individual.net> Reply-To: findlaybill@blueyonder.co.uk Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: individual.net zOFf/zkxKCBJLqLx+zwV7wvifqGDPkgXjAjYxqtfabjaSDix/D X-Orig-Path: not-for-mail Cancel-Lock: sha1:sKVTigZtVpz5uXmCUGtobAW+y4s= User-Agent: Hogwasher/5.18 Xref: reader02.eternal-september.org comp.lang.ada:53045 Date: 2018-06-11T14:36:09+01:00 List-Id: On 10 Jun 2018, Simon Wright wrote (in article): > Bill Findlay writes: > > > I have now tried on an external APFS SSD, and on a HD I also use for TM; > > neither solves the problem. > > We're now wondering whether the hang is caused by installing with the > 'detailed view' option selected. > > I've now found a way of provoking the behaviour you see: > > $ gnatmake -f raiser -largs -Wl,-macosx_version_min,10.11 > gcc -c raiser.adb > gnatbind -x raiser.ali > gnatlink raiser.ali -Wl,-macosx_version_min,10.11 > ld: warning: object file (b~raiser.o) was built for newer OSX version (10.13) > than being linked (10.11) > ld: warning: object file (./raiser.o) was built for newer OSX version (10.13) > than being linked (10.11) > ld: warning: object file > (/opt/gnat-gpl-2018/lib/gcc/x86_64-apple-darwin16.7.0/7.3.1/adalib/libgnat.a(i > nit.o)) was built for newer OSX version (10.12) than being linked (10.11) > [...] > > So, I wonder whether you've got some linker option hidden in a project > file or something? Thanks, Simon. I am old-school: I use only makefiles and gnatmake. I have re-confirmed that GNAT GPL 2017 and FSF GNAT 8.0.1 both work without complaint. I have this setting: "LINK_OPTIONS = -bargs -static -Sin -largs -Wl,-dead_strip -Wl,-dead_strip". I have tried removing each component of those flags separately; makes no difference. I have tried adding each of -Wl,-macosx_version_min,10.1[123]; makes no difference. Also I do not get messages analogous to your "object file (b~raiser.o) was built for newer OSX version (10.13) than being linked (10.11)" about my own .o files. What is baffling to me is that it seems to think it is running on macOS 10.11 even thoughI am running 13.5, and my XCode and Command Line Tools are all up to date. At least, that is how I interpret: "ld: warning: object file (/Users/wf/opt/gnat-2018/lib/gcc/x86_64-apple- darwin16.7.0/7.3.1/adalib/libgnat.a(s-valuns.o)) was built for newer OSX version (10.12) than being linked (10.11))". I am also surprised that AdaCoreapparently built a new GNAT on 10.12, when 10.13 is about to be superseded. All in all, rather a disappointing performance from AdaCore this time. -- Bill Findlay