* 2.98.0-rc0 Does not Build on NonStop x86
@ 2026-12-01 14:31 rsbecker
2026-12-01 23:05 ` Todd Zullinger
0 siblings, 1 reply; 2+ messages in thread
From: rsbecker @ 2026-12-01 14:31 UTC (permalink / raw)
To: git
The built for 2.98.0-rc0 fails immediately on NonStop. This appears to be a
portability issue.
/usr/coreutils/bin/bash t/unit-tests/generate-clar-decls.sh
"t/unit-tests/clar-decls.h" t/unit-tests/u-ctype.c t/unit-tests/u-dir.c
t/unit-tests/u-example-decorate.c t/unit-tests/u-hash.c
t/unit-tests/u-hashmap.c t/unit-tests/u-list-objects-filter-options.c
t/unit-tests/u-mem-pool.c t/unit-tests/u-odb-inmemory.c
t/unit-tests/u-oid-array.c t/unit-tests/u-oidmap.c t/unit-tests/u-oidtree.c
t/unit-tests/u-prio-queue.c t/unit-tests/u-reftable-basics.c
t/unit-tests/u-reftable-block.c t/unit-tests/u-reftable-merged.c
t/unit-tests/u-reftable-pq.c t/unit-tests/u-reftable-readwrite.c
t/unit-tests/u-reftable-stack.c t/unit-tests/u-reftable-table.c
t/unit-tests/u-reftable-tree.c t/unit-tests/u-strbuf.c
t/unit-tests/u-strcmp-offset.c t/unit-tests/u-string-list.c
t/unit-tests/u-strvec.c t/unit-tests/u-trailer.c
t/unit-tests/u-urlmatch-normalization.c t/unit-tests/u-utf8-width.c
/usr/coreutils/bin/bash t/unit-tests/generate-clar-suites.sh
t/unit-tests/clar-decls.h t/unit-tests/clar.suite
cc -c99 -o tools/precompiled.h.gch -c -g -O2 -D_LARGEFILE64_SOURCE=1
-D_FILE_OFFSET_BITS=64 -Winline -I/usr/local-ssl3.5/include
-I/usr/coreutils/include -I/usr/tandem/xml/T0625L01_AAE/include -I.
-DGIT_HOST_CPU="\"NSV\"" -DCURL_STATICLIB -I/usr/local/include
-DUSE_CURL_FOR_IMAP_SEND -DNO_D_TYPE_IN_DIRENT -DNO_ST_BLOCKS_IN_STRUCT_STAT
-DNO_NSEC -DNO_GETTEXT -DNO_SYS_SELECT_H -DNO_POLL_H -DNO_SYS_POLL_H
-DOLD_ICONV -DSHA1_DC -DSHA1DC_NO_STANDARD_INCLUDES
-DSHA1DC_INIT_SAFE_HASH_DEFAULT=0
-DSHA1DC_CUSTOM_INCLUDE_SHA1_C="\"git-compat-util.h\""
-DSHA1DC_CUSTOM_INCLUDE_UBC_CHECK_C="\"git-compat-util.h\"" -DSHA256_BLK
-DNO_PTHREADS -DHAVE_LIBCHARSET_H -DHAVE_STRINGS_H -DHAVE_DEV_TTY
-DHAVE_OPENSSL_CSPRNG -DSA_RESTART=0 -DHAVE_STRING_H=1
-DFREAD_READS_DIRECTORIES -DNO_POLL -Icompat/poll -DNO_STRCASESTR
-DNO_STRLCPY -DNO_SETENV -DNO_MKDTEMP -DNO_UNSETENV -DNO_MMAP -DNO_PREAD
-DNO_WRITEV -DNO_INTPTR_T -DNO_HSTRERROR -DNO_MEMMEM -Icompat/regex
-DSHELL_PATH='"/usr/coreutils/bin/bash"' tools/precompiled.h
c99: error: Invalid input file extension"tools/precompiled.h".
Makefile:2947: recipe for target 'tools/precompiled.h.gch' failed
Help requested.
Randall
--
Brief whoami: NonStop&UNIX developer since approximately
UNIX(421664400)
NonStop(211288444200000000)
-- In real life, I talk too much.
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: 2.98.0-rc0 Does not Build on NonStop x86
2026-12-01 14:31 2.98.0-rc0 Does not Build on NonStop x86 rsbecker
@ 2026-12-01 23:05 ` Todd Zullinger
0 siblings, 0 replies; 2+ messages in thread
From: Todd Zullinger @ 2026-12-01 23:05 UTC (permalink / raw)
To: rsbecker; +Cc: git, SZEDER Gábor
rsbecker@nexbridge.com wrote:
> The built for 2.98.0-rc0 fails immediately on NonStop. This appears to be a
> portability issue.
>
> /usr/coreutils/bin/bash t/unit-tests/generate-clar-decls.sh
> "t/unit-tests/clar-decls.h" t/unit-tests/u-ctype.c t/unit-tests/u-dir.c
> t/unit-tests/u-example-decorate.c t/unit-tests/u-hash.c
> t/unit-tests/u-hashmap.c t/unit-tests/u-list-objects-filter-options.c
> t/unit-tests/u-mem-pool.c t/unit-tests/u-odb-inmemory.c
> t/unit-tests/u-oid-array.c t/unit-tests/u-oidmap.c t/unit-tests/u-oidtree.c
> t/unit-tests/u-prio-queue.c t/unit-tests/u-reftable-basics.c
> t/unit-tests/u-reftable-block.c t/unit-tests/u-reftable-merged.c
> t/unit-tests/u-reftable-pq.c t/unit-tests/u-reftable-readwrite.c
> t/unit-tests/u-reftable-stack.c t/unit-tests/u-reftable-table.c
> t/unit-tests/u-reftable-tree.c t/unit-tests/u-strbuf.c
> t/unit-tests/u-strcmp-offset.c t/unit-tests/u-string-list.c
> t/unit-tests/u-strvec.c t/unit-tests/u-trailer.c
> t/unit-tests/u-urlmatch-normalization.c t/unit-tests/u-utf8-width.c
> /usr/coreutils/bin/bash t/unit-tests/generate-clar-suites.sh
> t/unit-tests/clar-decls.h t/unit-tests/clar.suite
>
> cc -c99 -o tools/precompiled.h.gch -c -g -O2 -D_LARGEFILE64_SOURCE=1
> -D_FILE_OFFSET_BITS=64 -Winline -I/usr/local-ssl3.5/include
> -I/usr/coreutils/include -I/usr/tandem/xml/T0625L01_AAE/include -I.
> -DGIT_HOST_CPU="\"NSV\"" -DCURL_STATICLIB -I/usr/local/include
> -DUSE_CURL_FOR_IMAP_SEND -DNO_D_TYPE_IN_DIRENT -DNO_ST_BLOCKS_IN_STRUCT_STAT
> -DNO_NSEC -DNO_GETTEXT -DNO_SYS_SELECT_H -DNO_POLL_H -DNO_SYS_POLL_H
> -DOLD_ICONV -DSHA1_DC -DSHA1DC_NO_STANDARD_INCLUDES
> -DSHA1DC_INIT_SAFE_HASH_DEFAULT=0
> -DSHA1DC_CUSTOM_INCLUDE_SHA1_C="\"git-compat-util.h\""
> -DSHA1DC_CUSTOM_INCLUDE_UBC_CHECK_C="\"git-compat-util.h\"" -DSHA256_BLK
> -DNO_PTHREADS -DHAVE_LIBCHARSET_H -DHAVE_STRINGS_H -DHAVE_DEV_TTY
> -DHAVE_OPENSSL_CSPRNG -DSA_RESTART=0 -DHAVE_STRING_H=1
> -DFREAD_READS_DIRECTORIES -DNO_POLL -Icompat/poll -DNO_STRCASESTR
> -DNO_STRLCPY -DNO_SETENV -DNO_MKDTEMP -DNO_UNSETENV -DNO_MMAP -DNO_PREAD
> -DNO_WRITEV -DNO_INTPTR_T -DNO_HSTRERROR -DNO_MEMMEM -Icompat/regex
> -DSHELL_PATH='"/usr/coreutils/bin/bash"' 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.
--
Todd
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2026-12-01 23:05 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-12-01 14:31 2.98.0-rc0 Does not Build on NonStop x86 rsbecker
2026-12-01 23:05 ` Todd Zullinger
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox