git/list[1] front-page[2] threads[3] people[4] search[5] about
 

RE: 2.98.0-rc0 Does not Build on NonStop x86

From
rsbecker@nexbridge.com <rsbecker@nexbridge.com>
Date
Dec 2, 2026, 17:05 UTC
Message-ID
<061201dd827f$69f934a0$3deb9de0$@nexbridge.com>
In-Reply-To
<20261201230524.W1hmljSP@teonanacatl.net>
Show 12 quoted lines
>-----Original Message-----
>From: Todd Zullinger <tmz@pobox.com>
>Sent: December 1, 2026 6:05 PM
>To: rsbecker@nexbridge.com
>Cc: git@vger.kernel.org; SZEDER Gábor <szeder.dev@gmail.com>
>Subject: Re: 2.98.0-rc0 Does not Build on NonStop x86
>
>rsbecker@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>
Show 16 quoted lines
>> 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
Previous: SZEDER Gábor
Message 4 of 4 in “2.98.0-rc0 Does not Build on NonStop x86”
  1. rsbecker@nexbridge.comDec 1, 2026
  2. Todd ZullingerDec 1, 2026
  3. SZEDER GáborDec 2, 2026
  4. rsbecker@nexbridge.comDec 2, 2026

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.