tech-toolchain archive

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

Re: gcc8 and "fatal error: had to relocate PCH" with boost-libs



On Mon, 29 Oct 2018 at 04:18, <maya%netbsd.org@localhost> wrote:
>
> Nice. I lacked a way to reproduce the PCH problems, which makes
> it hard to update the patch and push it upstream.

Its always nice to find new things that bread reproducibly :)

> for boost-libs we have:
> .if ${OPSYS} == "NetBSD" && ((${MACHINE_ARCH} == "i386") || (!empty(MACHINE_ARCH:Mearm*) && !empty(PKGSRC_COMPILER:Mgcc)))
> BJAM_ARGS+=             pch=off
> .endif
>
> But maybe it needs to be all netbsd.

Ahh, I shouldn't have missed that - thanks.

Its definitely needed in gcc7 and gcc8 on amd64. We could keep adding
arch conditionals but I agree it feels like a general netbsd && gcc
case is probably better.

Rebuilding boost-libs and depending packages with that change now...

Thanks

David


Home | Main Index | Thread Index | Old Index