pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Compiler with PCH support? gcc-aux and gcc5-aux fail to build

On Tue, Jul 04, 2017 at 05:14:22AM +0000, wrote:
> I can build gcc-aux fine on a NetBSD/amd64 machine.
> I've added --disable-libstdcxx-pch to all gcc versions since gcc49.
> Nobody complained about its absence in the lang/gcc48 package yet,
> but maybe it should be added to it too.

When I first ran into this, I reported in gcc bugzilla and added
patches to fix them to the gcc 4.8 pkg.

They are:

Add host hooks for NetBSD - needed for working precompiled headers.

When failing a PCH read-in, restore some globals to allow the generic
error reporting to work in pre-PCH context.

default mmap based implementation
(mmap_gt_pch_get_address/mmap_gt_pch_use_address) is useless

which has no patch in pkgsrc, the first three patches above avoid it.

First thing should be to make sure this are properly applied and effective
for gcc-aux.


Home | Main Index | Thread Index | Old Index