comp.lang.ada
 help / color / mirror / Atom feed
From: Bill Findlay <findlaybill@blueyonder.co.uk>
Subject: Re: GNAT Community Edition 2018
Date: Mon, 11 Jun 2018 14:36:09 +0100
Date: 2018-06-11T14:36:09+01:00	[thread overview]
Message-ID: <0001HW.20CEB24901CDE39A70000133C2CF@news.individual.net> (raw)
In-Reply-To: lya7s2616h.fsf@pushface.org

On 10 Jun 2018, Simon Wright wrote (in article<lya7s2616h.fsf@pushface.org>):

> Bill Findlay<findlaybill@blueyonder.co.uk>  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


  reply	other threads:[~2018-06-11 13:36 UTC|newest]

Thread overview: 40+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-06-08 17:58 GNAT Community Edition 2018 Simon Wright
2018-06-08 18:15 ` eduardsapotski
2018-06-08 19:52   ` Björn Lundin
2018-06-08 18:44 ` Shark8
2018-06-08 19:19   ` Bill Findlay
2018-06-10 14:11     ` Simon Wright
2018-06-10 14:36       ` Bill Findlay
2018-06-08 19:27 ` Dmitry A. Kazakov
2018-06-09  4:29 ` eduardsapotski
2018-06-09 10:28   ` Björn Lundin
2018-06-10 10:37 ` M. Enzmann
2018-06-10 10:48   ` Simon Wright
2018-06-10 13:14     ` Bill Findlay
2018-06-10 14:14       ` Simon Wright
2018-06-10 14:31         ` Bill Findlay
2018-06-10 16:44           ` Simon Wright
2018-06-11 13:36             ` Bill Findlay [this message]
2018-06-11 14:15               ` Simon Wright
2018-06-11 14:44                 ` Bill Findlay
2018-06-11 17:00                   ` Simon Wright
2018-06-11 19:27                     ` Bill Findlay
2018-06-11 19:41                       ` Simon Wright
2018-06-11 19:57                         ` Simon Wright
2018-06-11 20:37                           ` Bill Findlay
2018-06-11 21:06                         ` Simon Wright
2018-06-10 18:22     ` M. Enzmann
2018-06-10 19:54 ` Alejandro R. Mosteo
2018-06-10 20:11   ` Dan'l Miller
2018-06-10 21:31     ` Alejandro R. Mosteo
2018-06-10 22:39       ` Dan'l Miller
2018-06-11  7:58         ` Alejandro R. Mosteo
2018-06-11  8:28           ` Simon Wright
2018-06-11  9:32             ` Alejandro R. Mosteo
2018-06-11 10:38               ` Simon Wright
2018-06-11 11:04                 ` Alejandro R. Mosteo
2018-06-11 14:03               ` Dmitry A. Kazakov
2018-06-12 16:03         ` fabien.chouteau
2018-07-14 11:22 ` Vincent
2018-07-14 19:34   ` Simon Wright
2018-07-16 11:53     ` Vincent
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox