From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from simark.ca by simark.ca with LMTP id 4aYNOX1Ou2rrwhUAWB0awg (envelope-from ) for ; Tue, 29 Sep 2026 01:37:01 -0400 Authentication-Results: simark.ca; dkim=pass (2048-bit key; unprotected) header.d=foss.st.com header.i=@foss.st.com header.a=rsa-sha256 header.s=selector2 header.b=lFFjqgQ6; dkim-atps=neutral Received: by simark.ca (Postfix, from userid 112) id DD8211E033; Tue, 29 Sep 2026 01:37:01 -0400 (EDT) X-Spam-Checker-Version: SpamAssassin 4.0.1 (2024-03-25) on simark.ca X-Spam-Level: X-Spam-Status: No, score=-5.4 required=5.0 tests=ARC_SIGNED,ARC_VALID,BAYES_00, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI, RCVD_IN_DNSWL_MED autolearn=ham autolearn_force=no version=4.0.1 Received: from vm01.sourceware.org (vm01.sourceware.org [IPv6:2620:52:6:3111::32]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by simark.ca (Postfix) with ESMTPS id 17BBC1E033 for ; Tue, 29 Sep 2026 01:37:01 -0400 (EDT) Received: from vm01.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 520EE4BB1C36 for ; Tue, 29 Sep 2026 05:36:59 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 520EE4BB1C36 Authentication-Results: sourceware.org; dkim=pass (2048-bit key, unprotected) header.d=foss.st.com header.i=@foss.st.com header.a=rsa-sha256 header.s=selector2 header.b=lFFjqgQ6 Received: from DU2PR03CU002.outbound.protection.outlook.com (mail-northeuropeazon11011045.outbound.protection.outlook.com [52.101.65.45]) by sourceware.org (Postfix) with ESMTPS id D752E4BB1C07; Tue, 29 Sep 2026 05:36:27 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org D752E4BB1C07 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=foss.st.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=foss.st.com ARC-Filter: OpenARC Filter v1.0.0 sourceware.org D752E4BB1C07 Authentication-Results: sourceware.org; arc=pass smtp.remote-ip=52.101.65.45 ARC-Seal: i=2; a=rsa-sha256; d=sourceware.org; s=key; t=1790660188; cv=pass; b=wbmL0Ar63gp4DSxHvwlUKiIAo98vffYlDOoTnVn/XmP0oWZFlhtfwzVmIvDyAIH2vmgjzUAUexyM/617qJPlPYtq5XwUuEQDvn09TRVWiMYrSdEaeLHQxvdAt20qWjgK3tDv/JXtxYvj9kFJLFLz3rIHwoetA5qGxnLl17tyDt0= ARC-Message-Signature: i=2; a=rsa-sha256; d=sourceware.org; s=key; t=1790660188; c=relaxed/simple; bh=WqyAKgJVUiLhtEbyze1YRZfLobOaUu0Ng2EazathKZQ=; h=DKIM-Signature:Message-ID:Date:MIME-Version:Subject:To:From; b=jmNoYZYdcOwxEH4urih6aaTSLdteqEm1NkTyPszbxKZyGsLdqyEJSVf3XioMLrFwE9kbNvWK1GOjvXV/izI2pg9PK2077LFZNE2PM8MrrJmUuRcWUy337QVyEfW1Ue71YDNB1lKiemtC2p+gFIlgFPZULPDuWnMhX4ONdt7YEWo= ARC-Authentication-Results: i=2; sourceware.org; dkim=pass (2048-bit key, unprotected) header.d=foss.st.com header.i=@foss.st.com header.a=rsa-sha256 header.s=selector2 header.b=lFFjqgQ6 DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org D752E4BB1C07 ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=cfJ7IVZjAVpIYtmAs3XKci0bU/5rFu+SBK0qecxdHZU0PaRGcDV+rESz8HVn0t1Yx7mL5nPmzPLknXzU3k0CfJyWV8DybDammb47v0rLC0FLx5K/417ic7GBEGK+qH58U0SjgtpQ8cVi8pVNxFQomvYUpX0XkDEn6oBCHchjWfoYc17FgNn1AEstRECB7q3M9pAxatum/DvQ5sWOpLz8ssY+toYh+HS2c9JSOXBt5rKWVP8hvQb296K/XNXyOLEaOMzKVdusCmXlwSf1JTD5Sa1ZjTf47Y1D7R7bxsLIcyDtEKbMvqKaF/GEvNJ+EhQxio2XTOa7ijJbQQi2zLvMxQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=QQ1cqFzMmaJhuydJQDdOKsV5dM7Q7nf0Ldt+yD++ruQ=; b=TljK59xK5xkya6sIthPQCCZSS7AAHYCRmUbzz8Dlb1F9nMfgWBg8XG2L806fJ1poukytigP6XTpmA7kePci1XF09XnoyZBG9uJ92HV07s0Sx5w3UZj6qWKyCTFBuIVUiOY4gJTu7RSbNN0TTTZ/Y3BZWHTTa4Aa9J4Np5XYw/OU57+JxObUuV71V/NJmrD8n5MiXgZyUsXV4yzf1WDY+JV7JH6yTjl2b4P6RFU5svONNV5jNKHGyOs1hjs5KIIS2x/IZwLEV1qnqHd6DKdoJ0TF5xzx93P7C853eddD9UBillwclzmip4XtpdM1X0YVb285A9Bl4eRFTZMx/QAOQqA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=fail (sender ip is 164.130.1.60) smtp.rcpttodomain=simark.ca smtp.mailfrom=foss.st.com; dmarc=fail (p=none sp=none pct=100) action=none header.from=foss.st.com; dkim=none (message not signed); arc=none (0) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=foss.st.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=QQ1cqFzMmaJhuydJQDdOKsV5dM7Q7nf0Ldt+yD++ruQ=; b=lFFjqgQ69A70P52NxtInV3O39XXVxYcs44lSjAhd4qusSRKERPSSeZBpEpaHwf5dC5tj1rZDoDlCOatoFp10YtUgJjuFGYhiWC7f0lzDF+vc/nIFBEJHPoUbLu638NCy9CwciXbbWYGBt97APadc6DNdhSrx954Zev3VgQisgRw0/gEAwnc6lNmSU5ExI0riRjZj7FDcNv6D9PueewjvK7tbLzq/zkWD5DPMIbQbTtzmBtAhcc0ecOaJvDd+3a0O2W+a+PXh4WyMWIcR6KjhwGdUXac95ciobgV9HKoRIjgPolnVp90sGoPuQNybeg3/vgoE3ZgX5NG7AHMgJ9HapA== Received: from VI4PEPF00000163.AUTP296.PROD.OUTLOOK.COM (2603:10a6:808:1::872) by PA4PR10MB5657.EURPRD10.PROD.OUTLOOK.COM (2603:10a6:102:262::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.21.451.24; Tue, 29 Sep 2026 05:36:20 +0000 Received: from MI3PEPF00008489.eurprd02.prod.outlook.com (2603:10a6:298:1::48) by VI4PEPF00000163.outlook.office365.com (2603:10a6:808:1::872) with Microsoft SMTP Server (version=TLS1_3, cipher=TLS_AES_256_GCM_SHA384) id 15.21.382.11 via Frontend Transport; Tue, 29 Sep 2026 05:36:20 +0000 X-MS-Exchange-Authentication-Results: mx.microsoft.com 1; spf=fail (sender IP is 164.130.1.60) smtp.mailfrom=foss.st.com; dkim=none (message not signed) header.d=none;dmarc=fail action=none header.from=foss.st.com; Received-SPF: Fail (protection.outlook.com: domain of foss.st.com does not designate 164.130.1.60 as permitted sender) receiver=protection.outlook.com; client-ip=164.130.1.60; helo=smtpO365.st.com; Received: from smtpO365.st.com (164.130.1.60) by MI3PEPF00008489.mail.protection.outlook.com (10.167.240.136) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.21.472.14 via Frontend Transport; Tue, 29 Sep 2026 05:36:19 +0000 Received: from STKDAG1NODE2.st.com (10.75.128.133) by smtpO365.st.com (10.250.44.72) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.2562.43; Tue, 29 Sep 2026 07:42:07 +0200 Received: from [10.252.27.38] (10.252.27.38) by STKDAG1NODE2.st.com (10.75.128.133) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.2562.43; Tue, 29 Sep 2026 07:36:14 +0200 Message-ID: <87770b91-13aa-426b-8e4f-0454b4f815bc@foss.st.com> Date: Tue, 29 Sep 2026 07:36:12 +0200 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH] configure: Support --with-zstd=PATH To: Simon Marchi , , References: <20260927115704.1214794-1-torbjorn.svensson@foss.st.com> Content-Language: en-US From: Torbjorn SVENSSON In-Reply-To: Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 8bit X-Originating-IP: [10.252.27.38] X-ClientProxiedBy: STKCAS1NODE1.st.com (10.75.128.134) To STKDAG1NODE2.st.com (10.75.128.133) X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: MI3PEPF00008489:EE_|PA4PR10MB5657:EE_ X-MS-Office365-Filtering-Correlation-Id: a36efb9d-6d21-48ad-55b5-08df1deb96ca X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; ARA:13230040|23010399003|376014|36860700016|82310400026|1800799024|11063799006|56012099006|10067099003|4143699003|13003099007|22082099003|18002099003; X-Microsoft-Antispam-Message-Info: TLDGwPvYjEAdjc8Kuhea3cEuiFVUYQuCs1h1qexFRFwB127+TIvBZPBXhxXDUAb5CXRWu6O1JmJ6wMpqp9pMy+09OFSER8tDyojhU74qYI7V5rVP02SZ6oN/hGbBTRApmYjjqVgXt5aiilJYTHtp41UQpfrtplxuAg716WDPzOzvroxSqPyh1ng9AVhAX5fKnazilkIxtSAWOiJSvDVSdFQ1lyzZsJoaje+hH5aRnwpmo2IxAURU5NGL9o+h2QRg07rwZ7Q/2wE9bDzs40/HU8QjGCviPTY42X3fzGJ6IWLw+7GdPDvYVDug0K7vjJ2yC1DDsx09IC4/sOqKJnKGxdpsl3NW0fYPUFsZtOJ5I2ATjJ6Qb5FKJadR5fkUYM8PZuvkcCBQG2HbNBpTf1fWy2uOw3TBD5W7eGdwGKfKC90rC2V9cK/pL5t1KEV3AMPC1G9ttfZV8y/xEicneRtk5Fv6lnAGTqH/C1RbhkBi68ZV7CQ/WK2WXDqhd/ghnkdfO+Nf6OLx5Y+K9r0sDV2EaZ/tI1EFoOYUxc/CwuqIOxbTUTf6cx3HEapMuL6uBcC56ROA67q3d0nAs8iStp1ypfb7tndUnzXM+U8ZMMT9nn0ZHW4/6OyyMO0U3SCQQL1qmwe1NwvpPC8aW8GH7bLPFg== X-Forefront-Antispam-Report: CIP:164.130.1.60; CTRY:IT; LANG:en; SCL:1; SRV:; IPV:CAL; SFV:NSPM; H:smtpO365.st.com; PTR:InfoDomainNonexistent; CAT:NONE; SFS:(13230040)(23010399003)(376014)(36860700016)(82310400026)(1800799024)(11063799006)(56012099006)(10067099003)(4143699003)(13003099007)(22082099003)(18002099003); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: MbMOsKnityphaE6KV4rQa34ER+0qRfvmjnKy5EjuQaA//6TjXfshHrB9JNjf9ZFBmsM8vxtVJ81g4Uutps9dbyuP2K9j7JOBU/LtykglI7scd640RumA4HZE5BAcw/GyEf8Hd5SvTmEdMJG300IAoISLMVznvgBSajeWGYe26NJWY0Kim/JdPpgmisW1ruFR/Hlh12G5Fzu82R+zi1UgOe+UcKngz7bkZ2I6cihwgPNi68q26f97OJXTu8wmqq2GotfW1Lzkcwi7bJr4GrzQG+aSAm4OadxDrlfg6CxlplEmA6SzPAeSJZT+T9h9/iE59hG9fD8P6KGW9OqKEkBtjiL/+hlypzOliayEXft4A8liRbAoxfaN5Fh4G0eBLxeblG7lb/zI3wR4Gk/DxMYd+zqPLsUbmG5odGzd+2SuLdXXwiVoguzjt4KcJJKeVtoN X-OriginatorOrg: foss.st.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 29 Sep 2026 05:36:19.3439 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: a36efb9d-6d21-48ad-55b5-08df1deb96ca X-MS-Exchange-CrossTenant-Id: 75e027c9-20d5-47d5-b82f-77d7cd041e8f X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=75e027c9-20d5-47d5-b82f-77d7cd041e8f; Ip=[164.130.1.60]; Helo=[smtpO365.st.com] X-MS-Exchange-CrossTenant-AuthSource: MI3PEPF00008489.eurprd02.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: PA4PR10MB5657 X-BeenThere: gdb-patches@sourceware.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: Gdb-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: gdb-patches-bounces~public-inbox=simark.ca@sourceware.org On 2026-09-29 03:55, Simon Marchi wrote: > > > On 2026-09-27 07:48, Torbjörn SVENSSON wrote: >> Hi, >> >> I noticed that the configure scripts in this repository does not use the path >> given to the --with-zstd option, while for example GCC does. This patch adds >> the missing logic in config/zstd.m4 and regenerat the configure files with that >> change. >> >> Also worth noting is that I see blocks like below (manually excluded in this >> patch) when I run autoconf2.69: >> >> -#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62)) >> +#define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31)) > > In which directory do you see that? > > Normally, this builder here re-generates a bunch of things, including > the configure machinery, and errors out if it sees any difference. Make > sure you use an upstream autoconf build, not a build from a distro. Ah, my bad! I have a vanilla autoconf 2.69, but apparently, it had got lost on my $PATH. With the one from the distro, I got the changes for: bfd/configure binutils/configure gas/configure gdb/configure ld/configure > > https://builder.sourceware.org/buildbot/#/builders/270 > > Simon Kind regards, Torbjörn