From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from simark.ca by simark.ca with LMTP id 5yOVKj7IG2l1+g0AWB0awg (envelope-from ) for ; Mon, 17 Nov 2025 20:13:34 -0500 Authentication-Results: simark.ca; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20230601 header.b=eMWZjlpY; dkim-atps=neutral Received: by simark.ca (Postfix, from userid 112) id 9A5E31E08D; Mon, 17 Nov 2025 20:13:34 -0500 (EST) X-Spam-Checker-Version: SpamAssassin 4.0.1 (2024-03-25) on simark.ca X-Spam-Level: X-Spam-Status: No, score=-2.4 required=5.0 tests=ARC_SIGNED,ARC_VALID,BAYES_00, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,MAILING_LIST_MULTI, RCVD_IN_DNSWL_MED,RCVD_IN_VALIDITY_CERTIFIED_BLOCKED, RCVD_IN_VALIDITY_RPBL_BLOCKED,RCVD_IN_VALIDITY_SAFE_BLOCKED autolearn=ham autolearn_force=no version=4.0.1 Received: from server2.sourceware.org (server2.sourceware.org [8.43.85.97]) (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 E7E381E08D for ; Mon, 17 Nov 2025 20:13:33 -0500 (EST) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 5417D3857C7A for ; Tue, 18 Nov 2025 01:13:33 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 5417D3857C7A Authentication-Results: sourceware.org; dkim=pass (2048-bit key, unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20230601 header.b=eMWZjlpY Received: from mail-ed1-x535.google.com (mail-ed1-x535.google.com [IPv6:2a00:1450:4864:20::535]) by sourceware.org (Postfix) with ESMTPS id 7B6F83858428 for ; Tue, 18 Nov 2025 01:12:37 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 7B6F83858428 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=gmail.com ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 7B6F83858428 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=2a00:1450:4864:20::535 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1763428357; cv=none; b=TjqnTq4rZUeyxhj57PJhjF3uWy+3j+BEr98k2G9ShUnomUIxprFyqUEwOcmv2Qe0VQpP7/uxzf5vbYsoxSUW2gTWk6Q49Sch3TLK9J/TeuzEUc+Yk6l9w4wPdDh+k8zk3sMjAzyo0qn2iYiigYjL+/i/Iqlyz83m3ac9rKBePEc= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1763428357; c=relaxed/simple; bh=xYpOakR+RLoAoenTOmXuDQ+Adb9LYNR2CRgD3wAXjMk=; h=DKIM-Signature:MIME-Version:From:Date:Message-ID:Subject:To; b=D18F2I2/XckKNKxCrK5JPuoUKXBG4qe858BS/DCGOpiZIMb+pPjfwuLpj+MVhc6r2JPFqK9G+ogD1FIpMOPhPYVT2RBMumGBMgI8jnqUpmGBWWs8UBDrf2DZZ+YZfpPWwFZ1FlHpKJI7hWHtoY2oq12DGKINsIWX96GX6k/vC3s= ARC-Authentication-Results: i=1; server2.sourceware.org DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 7B6F83858428 Received: by mail-ed1-x535.google.com with SMTP id 4fb4d7f45d1cf-640d0ec9651so8221472a12.3 for ; Mon, 17 Nov 2025 17:12:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1763428356; x=1764033156; darn=sourceware.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=PoqXUooPn4NtNd6fZxLSiqPJEWt46Ix3HmUwz+uPM28=; b=eMWZjlpYKetGiOYB3vsLzZjq4l5wGlRLZa2V8hJXaJ05fQr4GoVcWyIFBlRl2Nr8ZB e1k0ll5kQHLby8HajX7FfkfHx9ff1lXIZTgugK7SqyuWnbf3bTSifLPyF9veH8VDZaUE ObmLpHUCRymVZowh0HOFz7oyfXP3JhyGvO9KnDeRET1JzF0kGL6r9fcvb0oUVsWD+ZCT 3/uo51ejPhupQouZ437i9KNyjAsnTq6wdhefa3WXljaKYgyLF6+uegRHgxybnN+9OlM7 olg7r0gkPqgH2vl1FnqxXk1AzvNfQ4EXlZifDOYPdUlD9PHx3gSkh+Y1gGxA4TLn54+L AJKw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1763428356; x=1764033156; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=PoqXUooPn4NtNd6fZxLSiqPJEWt46Ix3HmUwz+uPM28=; b=A4VQHS/KYgaGnFZdh7ltpPXHQoDSDVffESvRig1FRHegwFOz0hVPLMXO85WECWdYjt wUle+J/Jz9etDiEfjbSPQduqjSNUK+49u0KkEsr6+DMbuJ+w2N79e7y9asBg0WSoIybF HhZ24M4q5wTNFS1iMw6GBMaqjVTsN9kVm++pD80kLD0DJqTTsjKdqGmz1vukhp5WjeNf xNsMl2RAIzJybHuGIxroFuLloQjhhys0uQsp+480wvC05+BmMIdLr2Zy+V1MGkE6Gw8h M1iM4JbqiausNGDU6w6wZ6aYb7SAtPXY6yUG8xAX/PJEw+xiMVIxxM4z0KblsQaWaUsn 9Aiw== X-Gm-Message-State: AOJu0Yx42za8AvYLKcRrfgPYGhycbHqHIlYWPw+4wg2pmgcNHI9hYiGF /6MgQI2txf3YTKvjfvTD1pobnlQz7mN02VgYFEavyY+6JKZ17xsah4pp7oLBM79BPkL4Wxbb0gW RBC8Dxc88DkToxht5+D4MQLJO4lHKnrhsN2Oz X-Gm-Gg: ASbGncv7xPCT9SKYZzpIBZ9rq70TvzHvNG47YFAzSangK/381L8cG8Wrm8Eu1X7iH69 DfRznY61OBaXy0wRW0AOz1bRqiWnfFh2m4DBNMkX99q8ELqI3xZ45fXw4XR7SGVXJ2MVooCG5KF u+Gw1lDb8oT7vPsvClxMQTRVEuQYXikST8kyqES7KX/dyhZA5tZXQiakbjLDI12JE0KboOZ6l4r 7sTY8b4tYIaIZUGi0fD5xyawEHimT6/Rd6s/XCBt1XuOMAOHO93OOqdm/J37f212PXv+ZazQh58 C/rQ3U2fY6FyQ5Z6aIeus5SsZI+6ODRuHdSyp+fW47rQrZwSuWI9lezQG1b3JQyNBYxW0QfpcCI 0Wb7CQvd6vu0L9c9ICD8uA2p9JgMdI7UzeLbd8ThhmjnqftItZQ== X-Google-Smtp-Source: AGHT+IF9d7La9/YUSAV9c5XKlXM5usEhtxZMPsw7ItQM+EQQ47wyk74nah7rZuww5CfNZM9jnzsENsvyV4C6dsA9GSk= X-Received: by 2002:a17:907:980b:b0:b72:eaba:aac2 with SMTP id a640c23a62f3a-b73678be1admr1365655366b.26.1763428355463; Mon, 17 Nov 2025 17:12:35 -0800 (PST) MIME-Version: 1.0 References: <20251117012752.2657208-1-tom@tromey.com> <20251117012752.2657208-3-tom@tromey.com> <87o6p088oe.fsf@tromey.com> In-Reply-To: <87o6p088oe.fsf@tromey.com> From: Matt Rice Date: Tue, 18 Nov 2025 01:12:24 +0000 X-Gm-Features: AWmQ_bmxAeSqK9gmKaz5gOjC7nsWkXjGTO7anMRXjbErJqZuR2qV7PlXfifa22I Message-ID: Subject: Re: [PATCH 2/7] Make the gdb.objc tests compile To: Tom Tromey Cc: gdb-patches@sourceware.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable 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 Tue, Nov 18, 2025 at 12:51=E2=80=AFAM Tom Tromey wrote: > > Matt> I guess at the time all this stuff broke I never felt that was an > Matt> option (and still feel it is terrible, yet better than the status > Matt> quo)... Since it is likely *most* people running the testsuite > Matt> won't have gnustep-base installed, nor all its shell script > Matt> environment variables since it tends to install its header files > Matt> in weird locations. > > Matt> I don't see all those -I and -L flags though, so this seems likely > Matt> it depends upon a certain installation/configuration of > Matt> gnustep-base which installs stuff in places the compiler will pick > Matt> them up (likely a distro's specific configuration which isn't the > Matt> default to conform to distribution specific installation rules) > > Yeah, at least on Fedora, if I "dnf install" the gnustep-base-devel > package, that is enough. > > I personally think it's fine to require gdb developers to install random > stuff like this, at least if it is pre-packaged. > > Anyway if there's a better way to do it, I'm open to that as well. I guess the only concrete suggestion I'd have is using the `gnustep-config --base-libs`, and `gnustep-config --objc-flags`, for the header files/link flags. The cpp flags aren't really shown in this patch, I think that should allow it to work for the case where someone installs gnustep by hand, using the default configuration as well as these distro packages.