This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [fixincludes] Fix macOS 10.12 <AvailabilityInternal.h> and <os/trace.h> (PR sanitizer/78267)
- From: Rainer Orth <ro at CeBiTec dot Uni-Bielefeld dot DE>
- To: Jack Howarth <howarth dot at dot gcc at gmail dot com>
- Cc: GCC Patches <gcc-patches at gcc dot gnu dot org>, Bruce Korb <bkorb at gnu dot org>
- Date: Mon, 14 Nov 2016 15:22:43 +0100
- Subject: Re: [fixincludes] Fix macOS 10.12 <AvailabilityInternal.h> and <os/trace.h> (PR sanitizer/78267)
- Authentication-results: sourceware.org; auth=none
- References: <ydd7f8awce3.fsf@CeBiTec.Uni-Bielefeld.DE> <CAJMcOU-k7qAJC9qpPo1ybTjWpsP7aEQGgZLwaOWomoVqMyMn8A@mail.gmail.com> <ydd37ivr6qp.fsf@CeBiTec.Uni-Bielefeld.DE> <CAJMcOU93wuAXjLz7fRR1vRmgXn-BU7ajcOafxUWRfd1Rs4jk5g@mail.gmail.com> <CAJMcOU8m_8oCKpV4RD=1wo=PEs9fBcP52gyD1wtsO4B1v85dfQ@mail.gmail.com>
Hi Jack,
> In case it helps, attached is a diff of the os/trace.h header from OS X 11.11 vs that
> from MacOS X 11.12. It looks like the context of the changes that you are trying to
> apply into are different between the two OS releases and are the cause of the build
> failures on darwin15.
as I wrote, there are two issues, one a slightly different context, the
other a broken function definition (which is gone in Darwin 16), both of
which should be fixed by my updated patch.
Rainer
--
-----------------------------------------------------------------------------
Rainer Orth, Center for Biotechnology, Bielefeld University