flang port

Jack Howarth howarth.at.macports at gmail.com
Wed Jul 10 21:56:12 UTC 2019


Even if they cook up a fix includes patch to fix the FSF gcc compiler, they
will end up with something that still barfs on the availability attribute
when seen by the built compiler.

On Wed, Jul 10, 2019 at 12:25 PM Chris Jones <jonesc at hep.phy.cam.ac.uk>
wrote:

>
>
> On 10 Jul 2019, at 5:19 pm, Jack Howarth <howarth.at.macports at gmail.com>
> wrote:
>
> Chris,
>       This is a heavier lift than most darwin related fixes as FSF gcc
> will have to implement the missing availability attribute support (by, I
> assume, using the clang implementation as the reference code spec).
>
>
> Either that, or use their fix includes mechanism to cook something up.
>
> Either way, If Apple does not change anything come final release ( which
> whilst possible i doubt, as this to me looks like an intentional change) I
> still feel gcc will feel compelled to do something as I doubt they want
> loose support on macos. I might be wrong,  but i doubt that.
>
> Chris
>
>        Jack
>
> On Wed, Jul 10, 2019 at 8:17 AM Chris Jones <jonesc at hep.phy.cam.ac.uk>
> wrote:
>
>>
>>
>> On 09/07/2019 11:48 pm, Jack Howarth wrote:
>> > Just saying that since gcc will be broken on the 10.15 SDK that the
>> path
>> > of least resistance (and the best long term decision) would be to put
>> > some effort behind getting flang to build (as older patches exist as a
>> > starting point).
>>
>> Whilst I happen to suspect gcc will, come the final release of macOS10,
>> get around to fixing their issues (the problem is really with gcc, not
>> Apple), I also agree having a build of flang would be great. Whether
>> though we wait for them to fix flang, or we take a look, is another
>> question...
>>
>> Chris
>>
>> >
>> > On Tue, Jul 9, 2019 at 12:35 PM Ryan Schmidt <ryandesign at macports.org
>> > <mailto:ryandesign at macports.org>> wrote:
>> >
>> >
>> >
>> >     On Jul 8, 2019, at 14:37, Jack Howarth wrote:
>> >
>> >      >    Since the legacy header support for avoiding the availability
>> >     attribute has been dropped from the 10.15 SDK...
>> >      >
>> >      > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90835
>> >      >
>> >      > and it is unclear when and if the missing availability attribute
>> >     support will be added to FSF gcc, the path of least resistance might
>> >     be to get a flang package into MacPorts to replace gfortran.
>> >      >      Currently flang doesn't build on macOS...
>> >      >
>> >      > https://github.com/flang-compiler/flang/issues/678
>> >      > https://github.com/flang-compiler/flang/issues/212
>> >      >
>> >      > https://github.com/flang-compiler/flang/pull/592
>> >
>> >     Certainly, a prerequisite for being able to add a port for something
>> >     is that it builds.
>> >
>> >
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macports.org/pipermail/macports-dev/attachments/20190710/f60e6cd3/attachment-0001.html>


More information about the macports-dev mailing list