From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from simark.ca by simark.ca with LMTP id uUcwIMlg92rwYgkAWB0awg (envelope-from ) for ; Fri, 13 Nov 2026 14:11:05 -0500 Authentication-Results: simark.ca; dkim=pass (2048-bit key; unprotected) header.d=linaro.org header.i=@linaro.org header.a=rsa-sha256 header.s=google header.b=GPB5LfJf; dkim-atps=neutral Received: by simark.ca (Postfix, from userid 112) id 808631E087; Fri, 13 Nov 2026 14:11:05 -0500 (EST) 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 E9D671E087 for ; Fri, 13 Nov 2026 14:11:04 -0500 (EST) Received: from vm01.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id C12E64B1769E for ; Fri, 13 Nov 2026 19:11:03 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org C12E64B1769E Authentication-Results: sourceware.org; dkim=pass (2048-bit key, unprotected) header.d=linaro.org header.i=@linaro.org header.a=rsa-sha256 header.s=google header.b=GPB5LfJf Received: from mail-yx1-xb131.google.com (mail-yx1-xb131.google.com [IPv6:2607:f8b0:4864:20::b131]) by sourceware.org (Postfix) with ESMTPS id 6664C4C31830 for ; Fri, 13 Nov 2026 19:10:39 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 6664C4C31830 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=linaro.org ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 6664C4C31830 Authentication-Results: sourceware.org; arc=none smtp.remote-ip=2607:f8b0:4864:20::b131 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1794597039; cv=none; b=OyhUx8FrgDVUNYOgTenLeJ+Cs3sPwRnyBPGkgmNxsb8KvhOblsc/9wqT73d+CU9YtHZbGab2ZNy7v8jH7DyZfOsQ30g+A6+dzaTjUYPcwVORScBYiklJHgesVpPOfZJEBSHiIHZKYdZdyqZZhAzsaEP6t9lmnemdQhEU151gQfw= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1794597039; c=relaxed/simple; bh=K3JDODcIBM/rp49eTTGfuzM+J/0kRqDWkiJJ014qqxw=; h=DKIM-Signature:From:To:Subject:Date:Message-ID:MIME-Version; b=s5Xfgd1290dDoJBwOtjohm045xWlF6Oo2G9fKuTDJDknQf8eaV+/Neg3l2CkqVRHTTt6hlePHP7okyiMFAdGMta9SInriVJpqtOTh3aukrmDP7kyYrCwdHkLyOwuPtD9Ld5xr7UMCuIBKZ5tgtkvyuBhWiNKjhs0j7q61kbJjZU= ARC-Authentication-Results: i=1; sourceware.org; dkim=pass (2048-bit key, unprotected) header.d=linaro.org header.i=@linaro.org header.a=rsa-sha256 header.s=google header.b=GPB5LfJf DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 6664C4C31830 Received: by mail-yx1-xb131.google.com with SMTP id 956f58d0204a3-67c00f291e1so1169814d50.1 for ; Fri, 13 Nov 2026 11:10:39 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1794597039; x=1795201839; darn=sourceware.org; h=content-type:mime-version:message-id:date:user-agent:references :in-reply-to:subject:cc:to:from:from:to:cc:subject:date:message-id :reply-to:content-type; bh=wvl6tNEwd3YBWIuk7hM2msTaE2/z35RbUfQ8pR6TovY=; b=GPB5LfJfd3V+410tyyBM5153gflqNOwn34NiIAlau0/qWxfG2v2INjC0Y0LX8G9Cq0 XmMonH1v7dJWMBjzivsjj1YmFVbyLp9r7u3nY5+7bo5f775PD2nN4KP7N1ig8Vfq/s7X jC5YThtO4SQJv1dDZiLiQbuo9Dl4EICIEU4AUbWX9qb7CjkUVus9xsIH8ZnWxDgMNAMR ZTYfjphtLGEiMbHtZ9IjJLl+yWIAx6HgiOqzyp18bPRrK2/AzNhkPWRLhG6ri3k9VHBY pITVm/KDEmhpMa7zAEAYuvKxDjCKpRnZ8YHdIaSZcnyACqWdxLSLyT912eZD5ZF/Z6r7 ZJWQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1794597039; x=1795201839; h=content-type:mime-version:message-id:date:user-agent:references :in-reply-to:subject:cc:to:from:x-gm-gg:x-gm-message-state:from:to :cc:subject:date:message-id:reply-to:content-type; bh=wvl6tNEwd3YBWIuk7hM2msTaE2/z35RbUfQ8pR6TovY=; b=Uwjvs/N8SF7793thSR8ZShYSmWyEnGaMKFBSetzujKzluKV8tCkQD1Fcg8cSrm1sP5 BFBIlPopj/Gjax60ur//sDNCtFC/75RnCm/2MojNIOaIc5hjrJcs/fS8+qZJQkLcxl1T gIwhwGP+oIBTYeGyKBbByeIhpUrfQXGJPaA6QXaALwnrNKbSJYDqRNKbQJmtrFFkkjgg KnBWsA71YuKj43caRoocdgcm+Ouq15ug0GyDq5RlOyHOojtsBU9M/tyEAa9BFcjDF3mM gXGhveg4Ykw0Dq/DLusGoOqcMrhcU1gxIPtl5FJvsnuODsn7/xTMEyvmpaeXcy4kmxzE kB9Q== X-Gm-Message-State: APuU4Z/5iqJR0Mq61J4qGEzHknFKrqBXKecpTUDGtWJPkEsBy5Zb6I9q TrbBv8K8UAdbKQz+ZBkZTSjOBhlY4gzniCTihIL9JJJqu0UQj2ZhKC+A/dIR3XbqPq0= X-Gm-Gg: AYBFou2GVXRHnaVakqVb/sDOttcw4Wf6N/fdeumdxdhPAZFimLGBu/VrshF+0baG5QM f2hVEC2pWNEx1Rj7vuLoACKvYw2MMmAPxuQA9y5gdTlt09D11TmMWAbOyzcYqj+PhnXamF8mXVs PWBWlg1E1TjFPDgp2tisT1ZaqzTc4vTZa5nc8VWAkNg6mrGVybXvSw7rkBMiXvhNiT6tvzTpgN5 jIZCWdKJ2b1iERMJXPh+k1KtvwMYje9QsrkDCHBdYbAb0UzVJ/jlpIwrZAuyZR2YkUq9qBA9BjB 1CoBqetx2oFY6ZP/kMWtEXMEvqRthgZ5XDlZByV67Nr7Xos7XTTXEJ2NXWrYWr+MmnmpUwG/cCS X3lHyCRDM0U3a++4qKH7dfAMW5kfuyz573NmS3LbkClxS8bdhq+osjbcVX5iIPuyE3Nh+yFz+Fl OCMtrwGQ3/Uz3ur+8WS2d02BQuDrtP8Whszl3zumYWDNVnmg4D1+kFNaSn8o3sYou0MNzs9kiHI ELdOSRfxzhiB5YyLYO1mTVO9w35i7WpkNVqRVrXeU7RWcLtbwHc5wNk1tyMEwRjve9NzHtepdF5 2cSXYFW2BSx3JBVzKphtw/0Bz8wBYYCLNXDCWlXV X-Received: by 2002:a05:690e:4002:b0:67c:1557:7b4f with SMTP id 956f58d0204a3-67d897cc499mr1557001d50.141.1794597038552; Fri, 13 Nov 2026 11:10:38 -0800 (PST) Received: from localhost ([2804:14d:7e39:8083:f04c:42e3:5943:38f6]) by smtp.gmail.com with ESMTPSA id 00721157ae682-8b4aa67085bsm27947747b3.0.2026.11.13.11.10.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 13 Nov 2026 11:10:38 -0800 (PST) From: Thiago Jung Bauermann To: Tom de Vries Cc: gdb-patches@sourceware.org Subject: Re: [PATCH v2 2/2] [gdb/build] Use gnulib fnmatch In-Reply-To: <20261113144119.47839-3-tdevries@suse.de> References: <20261113144119.47839-1-tdevries@suse.de> <20261113144119.47839-3-tdevries@suse.de> User-Agent: mu4e 1.14.4; emacs 31.1 Date: Fri, 13 Nov 2026 19:10:36 +0000 Message-ID: <87fqx4bl8z.fsf@linaro.org> MIME-Version: 1.0 Content-Type: text/plain 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 Tom de Vries writes: > Fix this by changing the inclusion order in INTERNAL_CFLAGS. > > More concretely, by: > - factoring out GNULIB_LIBIBERTY_CFLAGS, > - using GNULIB_LIBIBERTY_CFLAGS in INTERNAL_CFLAGS instead of INCGNU and > INCLUDE_CFLAGS, and > - adding an extensive comment at GNULIB_LIBIBERTY_CFLAGS to explain why > inclusion order matters. > > Likewise in gdbserver and gdbsupport dirs. > > Tested on aarch64-macos by rebuilding and running the selftests. > > Tested on x86_64-linux. > > Bug: https://sourceware.org/bugzilla/show_bug.cgi?id=34877 > --- > gdb/Makefile.in | 56 ++++++++++++++++++++++++++++++++++++++++-- > gdbserver/Makefile.in | 8 ++++-- > gdbsupport/Makefile.am | 10 +++++--- > gdbsupport/Makefile.in | 10 +++++--- > 4 files changed, 74 insertions(+), 10 deletions(-) Thank you for your extra investigation and explanation on the v1 thread, and for the comment update. Reviewed-by: Thiago Jung Bauermann -- Thiago (he/him)