From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=209.85.128.46 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796195642; b=ujGM1a4gScuzzaCZ/O6NJVtwEmgzVwCZNhJr6Pal7VFV9eqNsWN4dhWQn3TAGQ7tX+7O HXpxN4mP8zcHX8rfOQs1SV8luNOsMPDxMGcqmGyzICCrBS1NFA0iTWc0WO0OxAdHrvxJC kana8Yph8SSmYsRdyDDPTI1PeyV6ZGnsKFyeAHg2nv74G2vf7RAbmq8MURHs1gmG4g0b6 fJ0vhAHK6q/tUfXIhSbX+t73rdkVg9Kw4HOiB0aNeePYyix+zJyWv8aHu3kquz82+NKdU iPJMQ9CSAfN2qCBxcvZGZRVR7MXlEiZuYsxVhcOUfQsOXm/Gao9qdqwQ2vpwU9SJg4Q== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796195642; h=DMARC-Filter:Received:DKIM-Signature:X-Google-DKIM-Signature: X-Forwarded-Encrypted:X-Gm-Message-State:X-Gm-Gg:X-Received:Received: Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:Content-Transfer-Encoding: In-Reply-To; bh=qaHbgPuNhVDqgK+ERuhwup2XxF04iCoz+peowhnJDjA=; b=CSzg5sJpuDIEfFIyH/rlZpl1mcejme5MolUrxJjqj5yZwVQ+agYAadL/JVDyCE+GO3Nx Ys7f41Uysdx8rL3lmwBOJexfFHRO/6q0MWDgnT1zEXNdJ6TECnXHOz43VE4Blen7DdNp6 LtIybNt9Ts/YK3U5m6UJdPw2lbXE731qlgtpbluppur/Dy+c4kZz4mN0Jy/RqwxeC6Dkj nnVbZx1IWAPRpXK57NeRJy9NLYvXM8H7x19qwVumvkWp7QFQhBvX5EDSF5nRULmd7UQf/ GW+Yz48a86thoY4bCZp4u8nqgLxU+1DA/rUk4E1nNFht9dVwWbspIprEJ2cWWOhlszQ== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20260707 header.b=ow5XFMmT; arc=none smtp.remote-ip=209.85.128.46 Received: from mail-wm1-f46.google.com (mail-wm1-f46.google.com [209.85.128.46]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 03BF0606A336 for ; Wed, 2 Dec 2026 07:14:01 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 03BF0606A336 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20260707 header.b=ow5XFMmT Received: by mail-wm1-f46.google.com with SMTP id 5b1f17b1804b1-4bb6ba3b244so129935535e9.3 for ; Tue, 01 Dec 2026 23:14:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20260707; t=1796195640; x=1796800440; darn=vger.kernel.org; h=in-reply-to:content-transfer-encoding:content-disposition :content-type:mime-version:references:message-id:subject:cc:to:from :date:from:to:cc:subject:date:message-id:reply-to:content-type; bh=qaHbgPuNhVDqgK+ERuhwup2XxF04iCoz+peowhnJDjA=; b=ow5XFMmT4bTgGegb1Bin8zkFtRbTIKmKN992wwsaoHn/lpXYL07PffzIha4j62mF7t NLfIBFVqCG5tjKcW1D+KV25FpbSWvRK/QnrjIApvJZ/gkN1UJcGzpZdSSW1qAjKlevva 1hyksjz5ciingTEhKJdOWJppbDT3/HTq0weNe9RinXhkTYb9HRWZ8+YnWv3gVwDvNX1z wIAj7lNmDbcohGRnGzrODiq8co3xgwjHXj2PKXBzlamXzYZRExN+fEYfoFyH4sQC22sG K/NB1zwS6/hSp0/TduMq5yNuRCWfVeZK+oY4CPUZz15AQDfwE82gIRFA1PDf9jd1H71d hLyQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1796195640; x=1796800440; h=in-reply-to:content-transfer-encoding:content-disposition :content-type:mime-version:references:message-id:subject:cc:to:from :date:x-gm-gg:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to:content-type; bh=qaHbgPuNhVDqgK+ERuhwup2XxF04iCoz+peowhnJDjA=; b=2WOoJlFKaa9WLYrgNoa4eyu4mhbzkxbJHSw3mqAhHKOYGLTJ+J6edbaKGJXQdh0vXU fNPMQlA7UKnGEOEWpM5wAiRq++PsFAGJHnlGvh6i6b0VstJAASqUrZ6T0CigKQNFpt6w qiSzesLjDEsi6TGbilFMjGGK0xwDRtAcWWlQuJ89bWFXeW82it7gs2Knxl8jO9yDFhP3 gkzubijUCS9enHSfX9zLoISPyU7x/ObqsSJ7cjIfES70q4cWV8aJpTv87W6AzkvzP2ZB ziEhD3J3Iq9do4fRVpS6EPHmoTx7+sPvKfxhYy4ZpSYuSKhyPLC7Q9ge0Rv8Bbrcgkdy oDUQ== X-Forwarded-Encrypted: i=1; AL+hErEBUIaIRG2ZY3LIdoDsz7PXvHrFIxBfUmq8pwvhAvIHro8mq/iTl3SbjA+2jkHoTP3uuzo=@vger.kernel.org X-Gm-Message-State: APuU4Z/RfdGJqdUXIysp29qCiLPQ0lJquo8HoCtm0Y+Mj1qV8Jh1LKZJ xYS3d6fECsPYXjfA+JuYg+uWfqWVBpkNUjDS9j72PtJkNKSUrIGoqFvoKI29yw== X-Gm-Gg: AZFdTZeEGhDEF+BlXIR5PgQDDMBiTrn/gw+wijdoy/j2GIfr3KooFg+IK1tqpLpI6Aw r8OcfmkN8KjsGfOV2EQ4fMIT0tDTl0iJTbR83WVFAVyPGQsmkwJRkKktKjdnPeQKQ67JkXFfreE tBEIiumMWH8SupmiEs/nOQ5SqiUpm1DDZ6o42/yRpaHOMNtz9mEfWjHiDPMRiSSUFawAFHD3bEa l7rncmBm9bCvxelV72k+CPsk2a+61wfCyMebsokOQkNffbdtBPfE6pWq7R3zt+CucGZjebl9wAN NgHsiKPLjrMbFhGsdR7v/LqdUx1FL46RB07tJ25xuFhgCtCz0xT1VWxGb3s091ImBLiNorOly2N Wdk5Y13DPq28O/V1SBiWaxgxiTxbvy8+CkhJScZdxwlvxsUxs5GfCOddTxoLk8xUoD3kl6NQIPP xTlf/9Plv4tMK25WYl5c48EMeXlNDBLnl+X+rkyksYTLkABw8C2fkW4+hDYBPIf4UUDz9S05WjW 4fYJqoiZdmOdh2wTHwgSa6V1ht4rK7HKJOIaMVXWzEHzACyrNl+SMWhqWOanzp0ugghDTgay00F UUqvATMCMhZURoMjNXfvAZ/knM7eorGuc4cVZWvBhodm/p1xlGbjP72JZw== X-Received: by 2002:a05:600c:3b91:b0:4bb:7e4e:de53 with SMTP id 5b1f17b1804b1-4bb8881059bmr936480275e9.12.1796195640202; Tue, 01 Dec 2026 23:14:00 -0800 (PST) Received: from localhost (92-249-246-77.pool.digikabel.hu. [92.249.246.77]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-4bb8526cbd0sm1428210945e9.0.2026.12.01.23.13.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 01 Dec 2026 23:13:59 -0800 (PST) Date: Wed, 2 Dec 2026 08:13:58 +0100 From: SZEDER =?utf-8?B?R8OhYm9y?= To: Todd Zullinger Cc: rsbecker@nexbridge.com, git@vger.kernel.org Subject: Re: 2.98.0-rc0 Does not Build on NonStop x86 Message-ID: References: <059301dd81a0$a9109690$fb31c3b0$@nexbridge.com> <20261201230524.W1hmljSP@teonanacatl.net> X-Mailing-List: git@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20261201230524.W1hmljSP@teonanacatl.net> On Tue, Dec 01, 2026 at 06:05:24PM -0500, Todd Zullinger wrote: > 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). But .gch/.pch is the extension of the output of that command, and the error message complains about the extension of the input file... So whatever compiler it is, it seems to complain about the .h suffix of our precompiled.h?! Weird. > Alternately, you could define NO_PRECOMPILED_HEADER to skip > this optimization. Yeah, I think that should work.