tech-pkg archive

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

Re: boost-libs breakage on lots of platforms



On Fri, Nov 05, 2021 at 11:02:11AM +0000, John Klos wrote:
> Now I just have to learn what "PCH" is and why it's an issue on Alpha...

Pre-Compiled-Headers - a way to improve the compiler performance by
avoiding re-parsing lots of system headers.

The way it is implemented in gcc is plain stupid: it dumps a binary blob
to a file and expects later to be able to mmap it at the same address
again. With ASLR this may work or not. Also it relies on the compiler
picking a good default address upfront. The in-tree compiler is patched
for most architectures where we ran into that, but maybe alpha was
not covered yet (or bad ASLR luck struck).

Martin


Home | Main Index | Thread Index | Old Index