On Thu, Jan 15, 2026 at 9:51 PM Rainer Orth <[email protected]> 
wrote:
>
> On FreeBSD/amd64, more than 700 tests FAIL like
>
> FAIL: gcc.dg/pch/common-1.c  -O0 -g -I. -Dwith_PCH (test for excess errors)
> Excess errors:
> gcc/testsuite/gcc.dg/pch/common-1.c:1: sorry, unimplemented: PCH allocation 
> failure
>
> This can easily be fixed by implementing the
> host_hooks.gt_pch_get_address hook.  The code is shamelessly stolen from
> the openbsd implementation, only changing the names and omitting the
> hppa and i386 code.  The former isn't supported by FreeBSD at all AFAIK,
> while the latter has just been removed in FreeBSD 15.0.
>
> Bootstrapped without regressions on x86_64-unknown-freebsd14.3: all PCH
> failures are gone.
>
> Ok for trunk?

OK.  Is there possibly a PR about this?

Richard.

>         Rainer
>
> --
> -----------------------------------------------------------------------------
> Rainer Orth, Center for Biotechnology, Bielefeld University
>
>
> 2026-01-15  Rainer Orth  <[email protected]>
>
>         gcc:
>         * config/host-freebsd.cc: New file.
>         * config.host <*-*-freebsd*>: Use it.
>         * config/x-freebsd: New file.
>

Reply via email to