public inbox for newlib@sourceware.org
 help / color / mirror / Atom feed
From: Corinna Vinschen <vinschen@redhat.com>
To: newlib@sourceware.org
Subject: Re: [PATCH/RFC] libgloss: build with -nostdinc
Date: Wed, 16 Feb 2022 09:43:38 +0100	[thread overview]
Message-ID: <Ygy5OmlGNicogHsd@calimero.vinschen.de> (raw)
In-Reply-To: <20220212072337.21734-1-vapier@gentoo.org>

On Feb 12 02:23, Mike Frysinger wrote:
> We don't want libgloss building against C library headers that happened
> to be installed with the toolchain, so add -nostdinc to the build.  We
> still need access to the compiler internal headers, so probe those and
> include them via -isystem.  This uses a similar probing style as glibc,
> which has used it for over a decade, so it should be safe & stable.
> 
> This should prevent any latent bugs due to testing with a toolchain that
> is fully configured & installed already.
> ---
> NB: tested against these targets:
> aarch64-elf arc-elf arm-eabi
> bfin-elf
> cr16-elf cris-elf csky-elf
> epiphany-elf
> frv-elf
> h8300-elf
> i686-pc-cygwin iq2000-elf
> m68k-elf microblaze-elf mips-elf mn10300-elf moxie-elf
> nds32le-elf
> or1k-elf
> powerpc-elf
> sparc-elf sparc-rtems
> v850e-elf visium-elf
> 
>  libgloss/configure    | 20 ++++++++++++++++++++
>  libgloss/configure.ac | 11 +++++++++++
>  2 files changed, 31 insertions(+)

Great, please push.


Thanks,
Corinna


      reply	other threads:[~2022-02-16  8:43 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-02-12  7:23 Mike Frysinger
2022-02-16  8:43 ` Corinna Vinschen [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=Ygy5OmlGNicogHsd@calimero.vinschen.de \
    --to=vinschen@redhat.com \
    --cc=newlib@sourceware.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).