From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp002.apm-internet.net (smtp002.apm-internet.net [85.119.248.221]) by sourceware.org (Postfix) with ESMTPS id 03490384F89E for ; Fri, 25 Nov 2022 15:01:24 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 03490384F89E Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=sandoe.co.uk Authentication-Results: sourceware.org; spf=none smtp.mailfrom=sandoe.co.uk Received: (qmail 14290 invoked from network); 25 Nov 2022 15:01:19 -0000 X-APM-Out-ID: 16693884791428 X-APM-Authkey: 257869/1(257869/1) 2 Received: from unknown (HELO smtpclient.apple) (81.138.1.83) by smtp002.apm-internet.net with SMTP; 25 Nov 2022 15:01:19 -0000 Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3696.120.41.1.1\)) Subject: Re: Configuring GCC 10.3 on PPC Mac OS X 10.4.11/Tiger for build reveals problems when removing relics From: Iain Sandoe In-Reply-To: Date: Fri, 25 Nov 2022 15:01:19 +0000 Cc: GCC Development Content-Transfer-Encoding: quoted-printable Message-Id: <40F98AB1-5707-4A25-8D86-CF92F788A793@sandoe.co.uk> References: To: Peter Dyballa X-Mailer: Apple Mail (2.3696.120.41.1.1) X-Spam-Status: No, score=-8.2 required=5.0 tests=BAYES_00,KAM_COUK,KAM_DMARC_STATUS,KAM_LAZY_DOMAIN_SECURITY,RCVD_IN_DNSWL_LOW,SPF_HELO_NONE,SPF_NONE,TXREP autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: Hi Pete, > On 25 Nov 2022, at 10:36, Peter Dyballa via Gcc = wrote: > On Mac OS X/macOS configure scripts leave conftest.dSYM subdirectories = behind, created by dsymutil: >=20 > checking for build system preprocessor... rm: conftest.dSYM: is = a directory > checking for build system executable suffix... rm: = conftest.dSYM: is a directory > checking whether build system compiler is ANSI... rm: = conftest.dSYM: is a directory > checking for build system compiler math library... rm: = conftest.dSYM: is a directory >=20 > Building GCC 10.3 with MacPorts the configure scripts produce 178 such = reports (and more than 11,000 checking lines without complaint). (The = relation is worse when building smaller software packages.) I agree it=E2=80=99s an irritation (although not a show-stopper, so = other things are higher priority right now on my list). > Is it possible to replace the simple "rm" with "rm -r", at least on = darwin, the macOS/Mac OS X? Or create a special macro to be used when = dsymutil gets involved? It is likely to be possible, where the configure tests can be modified = in the GCC sources. The best course of action is to take them one by one and see where the = configure source comes from, go to that source and modify the rm = (hopefully, conditionally on *-*-darwin*) to deal with this. If the = source of the problems is primarily libtool.m4 =E2=80=A6 then we do make = local modifications, but now that (libtool) is maintained again we = should look into how much we can sync with upstream. I=E2=80=99m happy to review patches (if they are macOS/darwin-specific, = then I can even approve them). Iain >=20 > -- >=20 > Greetings >=20 > Pete >=20 > Every instructor assumes that you have nothing else to do except study = for that instructor's course.=20 > =E2=80=93 Fourth Law of Applied Terror >=20