>-----Original Message-----
>From: Todd Zullinger <t…@pobox.com>
>Sent: December 1, 2026 6:05 PM
>To: rsbe…@nexbridge.com
>Cc: g…@vger.kernel.org; SZEDER Gábor <szed…@gmail.com>
>Subject: Re: 2.98.0-rc0 Does not Build on NonStop x86
>
>rsbe…@nexbridge.com wrote:
>> The built for 2.98.0-rc0 fails immediately on NonStop. This appears to
>> be a portability issue.
>>
>> cc -c99 -o tools/precompiled.h.gch -c -g -O2
<snip>
>> tools/precompiled.h
>> c99: error: Invalid input file extension"tools/precompiled.h".
>> Makefile:2947: recipe for target 'tools/precompiled.h.gch' failed
>
>This seems like it may be the potential issue mentioned in 8d3a673147
>(Makefile: precompile "git-compat-util.h", 2026-09-15):
>
> Use the ".gch" suffix for the precompiled header file, because
> that's the only suffix GCC looks for when searching for a
> precompiled header. Clang apparently looks for both ".pch" and
> ".gch" suffixes. If we ever encounter a compiler which only
> supports a different precompiled header suffix, then we might make
> the suffix configurable via a Makefile knob; but until then it
> remains hard-coded for the sake of simplicity.
>
>I don't know anything about this, but some light checks in the git logs for
2.98.0
>pointed there and it looks like a good place to start. :)
>
>You might be able to confirm this by changing the suffix from .gch to .pch
(or
>something else if your compiler has a different preference).
>
>Alternately, you could define NO_PRECOMPILED_HEADER to skip this
optimization.
Because we have no precompiled header support or gcc, using
NO_PRECOMPILED_HEADER=Nope works fine. Thank you!
Randall