Re: [PATCH]: PR target/80204 (Darwin macosx-version-min problem)

2017-09-12 Thread Jeff Law
On 09/04/2017 01:48 PM, Jakub Jelinek wrote: > On Mon, Sep 04, 2017 at 08:47:07PM +0100, Simon Wright wrote: >> On 1 Sep 2017, at 23:05, Simon Wright wrote: >>> >>> 2017-09-01 Simon Wright >>> >>> PR target/80204 >>> * config/darwin-driver.c (darwin_find_version_from_kernel): eliminat

Re: [PATCH]: PR target/80204 (Darwin macosx-version-min problem)

2017-09-11 Thread Iain Sandoe
> On 4 Sep 2017, at 21:48, Jakub Jelinek wrote: > > On Mon, Sep 04, 2017 at 08:47:07PM +0100, Simon Wright wrote: >> On 1 Sep 2017, at 23:05, Simon Wright wrote: >>> >>> 2017-09-01 Simon Wright >>> >>> PR target/80204 >>> * config/darwin-driver.c (darwin_find_version_from_kernel)

Re: [PATCH]: PR target/80204 (Darwin macosx-version-min problem)

2017-09-04 Thread Jakub Jelinek
On Mon, Sep 04, 2017 at 08:47:07PM +0100, Simon Wright wrote: > On 1 Sep 2017, at 23:05, Simon Wright wrote: > > > > 2017-09-01 Simon Wright > > > > PR target/80204 > > * config/darwin-driver.c (darwin_find_version_from_kernel): eliminate > > calculation of the > > minor vers

Re: [PATCH]: PR target/80204 (Darwin macosx-version-min problem)

2017-09-04 Thread Simon Wright
On 1 Sep 2017, at 23:05, Simon Wright wrote: > > 2017-09-01 Simon Wright > > PR target/80204 > * config/darwin-driver.c (darwin_find_version_from_kernel): eliminate > calculation of the > minor version, always output as 0. Like this? Do you need the patch to be resu

Re: [PATCH]: PR target/80204 (Darwin macosx-version-min problem)

2017-09-04 Thread Jakub Jelinek
On Mon, Sep 04, 2017 at 07:56:58PM +0100, Simon Wright wrote: > >>2017-09-01 Simon Wright > >> > >>PR target/80204 > >>* config/darwin-driver.c (darwin_find_version_from_kernel): eliminate > >> calculation of the > >> minor version, always output as 0. > >> > > OK > > jeff > >

Re: [PATCH]: PR target/80204 (Darwin macosx-version-min problem)

2017-09-04 Thread Simon Wright
(Apologies if this is a duplicate: Mac Mail vs the list's requirement for plain text) On 4 Sep 2017, at 07:09, Jeff Law wrote: > > On 09/01/2017 04:05 PM, Simon Wright wrote: >> In gcc/config/darwin-driver.c, darwin_find_version_from_kernel() assumes >> that the minor version in the Darwin kern

Re: [PATCH]: PR target/80204 (Darwin macosx-version-min problem)

2017-09-03 Thread Jeff Law
On 09/01/2017 04:05 PM, Simon Wright wrote: > In gcc/config/darwin-driver.c, darwin_find_version_from_kernel() assumes > that the minor version in the Darwin kernel version (16.7.0, => minor > version 7) is equal to the bugfix component of the macOS version, so that > the compiler receives -mmacosx

[PATCH]: PR target/80204 (Darwin macosx-version-min problem)

2017-09-01 Thread Simon Wright
In gcc/config/darwin-driver.c, darwin_find_version_from_kernel() assumes that the minor version in the Darwin kernel version (16.7.0, => minor version 7) is equal to the bugfix component of the macOS version, so that the compiler receives -mmacosx-version-min=10.12.7 and the linker receives -macosx

[PATCH]: PR target/80204 (Darwin macosx-version-min problem)

2017-09-01 Thread Simon Wright
In gcc/config/darwin-driver.c, darwin_find_version_from_kernel() assumes that the minor version in the Darwin kernel version (16.7.0, => minor version 7) is equal to the bugfix component of the macOS version, so that the compiler receives -mmacosx-version-min=10.12.7 and the linker receives -macosx