public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
From: Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
To: Jakub Jelinek <jakub@redhat.com>
Cc: Mark Mitchell <mark@codesourcery.com>,
	"Martin v. Loewis" <martin@v.loewis.de>,
	Richard Henderson <rth@twiddle.net>,"gcc@gcc.gnu.org"
	<gcc@gcc.gnu.org>
Subject: Re: [PATCH] Default to --enable-threads=posix on Linux (was Re: libgcc_s, Linux, and PT_GNU_EH_FRAME, and binutils)
Date: Tue, 06 Aug 2002 05:21:00 -0000	[thread overview]
Message-ID: <5.1.1.5.2.20020806140516.0285de78@mail.lauterbach.com> (raw)
In-Reply-To: <20020806062031.J1596@devserv.devel.redhat.com>

At 12:20 06.08.2002, Jakub Jelinek wrote:
>On Tue, Aug 06, 2002 at 11:54:26AM +0200, Franz Sirl wrote:
> > At 11:31 06.08.2002, Jakub Jelinek wrote:
> > >On Mon, Aug 05, 2002 at 02:58:40PM -0700, Mark Mitchell wrote:
> > > > Do it quickly, send me a patch, and we can obviate the debate by having
> > > > the change in.  I just can't see holding up the release for that.
> > >
> > >Here is the proposed minimum patch to default to --enable-threads=posix
> > >unless either some other --enable-threads option or --disable-threads
> > >is given on Linux. I don't see why somebody might want not to build thread
> > >aware gcc/libstdc++ by default.
> > >
> > >I've verified that configure with --disable-threads gives the 
> configuration
> > >which used to be, ie. no thread support and that no --*threads option 
> given
> > >to configure causes posix threads to be used.
> > >
> > >Ok to commit to mainline/3.2 branch?
> >
> > Uhm, wouldn't it be easier to put one test under *-*-linux* instead of
> > duplicating it all over?
>
>Well, *-*-linux* covers all the unwanted variants like
>*-*-linux*ecoff*
>*-*-linux*libc1*
>*-*-linux*oldld*
>*-*-linux*aout*

These can exit early in a global test by listing them first.

>That can be of course solved by one case ... esac. What I'm not sure
>is whether ports like xtensa-*-linux* want threading by
>default, I don't see any support for them in glibc.

Hmm, but xtensa-*-linux* supports the enable-threads switch..., I guess the 
port hasn't been contributed to glibc yet.

The questionable ones matching are:

hppa*64*-*-linux* | parisc*64*-*-linux*): doesn't handle --enable-threads, 
possibly a bug since 32bit hppa supports it

pj*-linux*): isn't this one already gone in the mainline?

powerpc64-*-linux*): wow, no --enable-threads support here? sounds very 
much like a bug too

We could force thread_file='single' for these if enable_threads is unset, 
this would still result in less code duplication.

But maybe this can wait for the mainline/3.2.1 and we go with your patch 
for 3.2.

Franz.

  reply	other threads:[~2002-08-06 12:21 UTC|newest]

Thread overview: 53+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-08-04 21:44 libgcc_s, Linux, and PT_GNU_EH_FRAME, and binutils Martin v. Loewis
2002-08-04 23:11 ` Jakub Jelinek
2002-08-05  1:05   ` Martin v. Loewis
2002-08-05  1:12     ` Jakub Jelinek
2002-08-05  1:51       ` Martin v. Loewis
2002-08-05  2:57       ` Richard Henderson
2002-08-05  5:45         ` Daniel Jacobowitz
2002-08-05  7:25           ` Richard Henderson
2002-08-05  7:33             ` Mark Mitchell
2002-08-05  7:57               ` Daniel Jacobowitz
2002-08-05  8:04                 ` Mark Mitchell
2002-08-05  8:14                 ` Jakub Jelinek
2002-08-05  8:22                   ` Daniel Jacobowitz
2002-08-05  8:34                     ` Jakub Jelinek
2002-08-05  8:51                       ` Daniel Jacobowitz
2002-08-05 13:15                 ` Martin v. Loewis
2002-08-05  7:05         ` Mark Mitchell
2002-08-05 13:17           ` Martin v. Loewis
2002-08-05 13:45             ` Mark Mitchell
2002-08-05 13:48               ` Jakub Jelinek
2002-08-05 13:51                 ` Mark Mitchell
2002-08-05 15:03                   ` Martin v. Loewis
2002-08-05 22:21                   ` Andreas Jaeger
2002-08-06  8:46                     ` Mark Mitchell
2002-08-06  4:04                   ` Gerald Pfeifer
2002-08-06  8:51                     ` Mark Mitchell
2002-08-05 14:21               ` Martin v. Loewis
2002-08-05 15:00                 ` Mark Mitchell
2002-08-05 15:12                   ` Franz Sirl
2002-08-05 18:40                     ` Mark Mitchell
2002-08-05 15:29                   ` Jakub Jelinek
2002-08-05 16:48                     ` Richard Henderson
2002-08-05 23:36                       ` Jakub Jelinek
2002-08-06  0:00                         ` Neil Booth
2002-08-06  3:11                         ` Richard Henderson
2002-08-06  9:16                           ` Mark Mitchell
2002-08-06  9:45                             ` Jakub Jelinek
2002-08-06 10:05                               ` Mark Mitchell
2002-08-06 10:56                                 ` Jakub Jelinek
2002-08-06 11:20                                   ` Mark Mitchell
2002-08-06 13:17                                     ` Richard Henderson
2002-08-06 13:35                                       ` Mark Mitchell
2002-08-06 15:12                                         ` Geoff Keating
2002-08-07  4:38                                         ` Michael Matz
2002-08-05 18:42                     ` Mark Mitchell
2002-08-06  2:32                   ` [PATCH] Default to --enable-threads=posix on Linux (was Re: libgcc_s, Linux, and PT_GNU_EH_FRAME, and binutils) Jakub Jelinek
2002-08-06  2:47                     ` Christoph Hellwig
2002-08-06  2:54                     ` Franz Sirl
2002-08-06  3:20                       ` Jakub Jelinek
2002-08-06  5:21                         ` Franz Sirl [this message]
2002-08-06  6:00                           ` Daniel Jacobowitz
2002-08-06  8:15                           ` [PATCH] Default to --enable-threads=posix on Linux (was " Mark Mitchell
2002-08-06  8:12                     ` Mark Mitchell

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=5.1.1.5.2.20020806140516.0285de78@mail.lauterbach.com \
    --to=franz.sirl-kernel@lauterbach.com \
    --cc=gcc@gcc.gnu.org \
    --cc=jakub@redhat.com \
    --cc=mark@codesourcery.com \
    --cc=martin@v.loewis.de \
    --cc=rth@twiddle.net \
    /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).