From: <rsbecker@nexbridge.com>
To: "'Todd Zullinger'" <tmz@pobox.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
Date: Wed, 2 Dec 2026 12:05:58 -0500 [thread overview]
Message-ID: <061201dd827f$69f934a0$3deb9de0$@nexbridge.com> (raw)
In-Reply-To: <20261201230524.W1hmljSP@teonanacatl.net>
>-----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>
>> 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
prev parent reply other threads:[~2026-12-02 17:06 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-12-01 14:31 2.98.0-rc0 Does not Build on NonStop x86 rsbecker
2026-12-01 23:05 ` Todd Zullinger
2026-12-02 7:13 ` SZEDER Gábor
2026-12-02 17:05 ` rsbecker [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='061201dd827f$69f934a0$3deb9de0$@nexbridge.com' \
--to=rsbecker@nexbridge.com \
--cc=git@vger.kernel.org \
--cc=szeder.dev@gmail.com \
--cc=tmz@pobox.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.