public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
From: Iain Sandoe <iain@sandoe.co.uk>
To: Peter Dyballa <Peter_Dyballa@Web.DE>
Cc: GCC Development <gcc@gcc.gnu.org>
Subject: Re: Configuring GCC 10.3 on PPC Mac OS X 10.4.11/Tiger for build reveals problems when removing relics
Date: Fri, 25 Nov 2022 15:01:19 +0000	[thread overview]
Message-ID: <40F98AB1-5707-4A25-8D86-CF92F788A793@sandoe.co.uk> (raw)
In-Reply-To: <ACB45A81-3901-4B52-9FB9-5328381A5B5A@Web.DE>

Hi Pete,

> On 25 Nov 2022, at 10:36, Peter Dyballa via Gcc <gcc@gcc.gnu.org> wrote:

> On Mac OS X/macOS configure scripts leave conftest.dSYM subdirectories behind, created by dsymutil:
> 
> 	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
> 
> 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’s 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 … 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’m happy to review patches (if they are macOS/darwin-specific, then I can even approve them).

Iain

> 
> --
> 
> Greetings
> 
>  Pete
> 
> Every instructor assumes that you have nothing else to do except study for that instructor's course. 
> 				– Fourth Law of Applied Terror
> 


      reply	other threads:[~2022-11-25 15:01 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-11-25 10:36 Peter Dyballa
2022-11-25 15:01 ` Iain Sandoe [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=40F98AB1-5707-4A25-8D86-CF92F788A793@sandoe.co.uk \
    --to=iain@sandoe.co.uk \
    --cc=Peter_Dyballa@Web.DE \
    --cc=gcc@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).