NetBSD-Users archive

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

Re: gcc and precompiled headers



On Mon, Nov 03, 2025 at 08:03:57AM -0500, Greg Troxel wrote:
> and the Internet says that gcc's precompiled header support is buggy and
> can't deal with ASLR.
> 
>   - Is this a known issue on NetBSD?

Yes.

>   - Specific to some but not all gcc versions?

At least all relevant (and the ones older than that did not have precompiled
header support).

>   - Any other clues?

It should have been fixed in most systems with ASLR but I guess we need
to cleanup for NetBSD after that:

	https://gcc.gnu.org/bugzilla/show_bug.cgi?71934

(he notes he couldn't test NetBSD so didn't touch that part of the code)

I just filed a base system toolchain bug for this.

Martin


Home | Main Index | Thread Index | Old Index