[PATCH] Add INCLUDE_UNIQUE_PTR and use it (PR bootstrap/82610)

David Malcolm dmalcolm@redhat.com
Mon Oct 23 20:07:00 GMT 2017


On Mon, 2017-10-23 at 21:43 +0200, Gerald Pfeifer wrote:
> On Mon, 23 Oct 2017, David Malcolm wrote:
> > Here's a different patch, which instead moves the include of our
> > "unique-ptr.h" to system.h (conditionalized on INCLUDE_UNIQUE_PTR),
> > after the decl of "free" and before the redefinition of "abort".
> 
> Thanks for your persistance in tackling this, David!
> 
> > I don't know if it actually fixes the bootstrap issue seen with
> > clang on Darwin and OpenBSD, though - but I expect it to.
> 
> I didn't know OpenBSD was broken too. ;-)  I just applied your patch
> on the FreeBSD tester that exhibited the issue for me, and that is
> now
> happily into stage 2, whereas previous it would fail during stage 1.

Ooops, yes, I meant to say FreeBSD above.  Thanks for verifying the
fix.

Dave



More information about the Gcc-patches mailing list