public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
From: "Giovanni Bajo" <giovannibajo@libero.it>
To: "Jason Merrill" <jason@redhat.com>
Cc: "Paolo Carlini" <pcarlini@suse.de>, "Gerald Pfeifer" <gp@suse.de>,
	<gcc@gcc.gnu.org>, <libstdc++@gcc.gnu.org>,
	"Andreas Jaeger" <aj@suse.de>
Subject: Re: pthread related breakage (mainline)
Date: Tue, 09 Dec 2003 04:05:00 -0000	[thread overview]
Message-ID: <04c401c3bdf6$89521bd0$d7bb2997@bagio> (raw)
In-Reply-To: <xypvfoqsxyq.fsf@miranda.boston.redhat.com>

Jason Merrill <jason@redhat.com> wrote:

> Indeed, reverting your patch fixes the bootstrap.  I'll go ahead and check
> that in.  .


I tested that patch so many times I can't believe it still caused breakage.
See: http://gcc.gnu.org/ml/gcc-patches/2003-11/msg01725.html. I wonder how my
linux bootstrap succeeded. Probably I had pthreads disabled for some reason.

My sincere apologies to everybody.


> Perhaps we should try a different approach to fixing the using testcase

To me, it seems that we're only dealing with fallouts, where there was code not
prepared to handle overloaded function in the first place (and not even testing
properly for the condition), and thus probably already broken per-se. The first
breakage with libjava was totally my fault, since I didn't know exactly the
testing procedures. This was a little more delicate since it appears only on
some platforms.

Anyway, if you have a different idea, just let me know, I can try to work out
something. Building always overload sets looked to me like the clean,
orthogonal way to solve the issue.


> The problem is that
> the #pragma weaks for the pthread functions are now being ignored, because
> handle_pragma_weak expects an affected function to be the
> identifier_global_value of its name, and now it isn't.

... which, if I understand correctly, means that #pragma weaks are already
broken in the first place for really overloaded functions, right? Would you
please give me a hint on where to put my hands to fix this? It seems everything
is handled in C frontend.

Giovanni Bajo


  reply	other threads:[~2003-12-09  1:48 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-12-08 10:20 Gerald Pfeifer
2003-12-08 10:34 ` Eric Christopher
2003-12-08 12:12   ` Gerald Pfeifer
2003-12-08 12:47     ` Paolo Carlini
2003-12-08 12:57       ` Gerald Pfeifer
2003-12-08 13:02         ` Paolo Carlini
2003-12-08 13:16           ` Giovanni Bajo
2003-12-08 13:25             ` Paolo Carlini
2003-12-08 14:43               ` Giovanni Bajo
2003-12-08 23:15             ` Jason Merrill
2003-12-08 23:17               ` Jason Merrill
2003-12-09  4:05                 ` Giovanni Bajo [this message]
2003-12-09  5:08                   ` Jason Merrill
2003-12-09 19:09                     ` Giovanni Bajo
2003-12-09 20:11                       ` Jason Merrill
2003-12-08 23:31               ` Paolo Carlini
2003-12-09  1:48                 ` Gabriel Dos Reis
2003-12-08 18:24 Giovanni Bajo
2003-12-08 18:24 ` Paolo Carlini
2003-12-08 18:48   ` Paolo Carlini
2003-12-08 18:59     ` Paolo Carlini
2003-12-08 19:25       ` Janis Johnson

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='04c401c3bdf6$89521bd0$d7bb2997@bagio' \
    --to=giovannibajo@libero.it \
    --cc=aj@suse.de \
    --cc=gcc@gcc.gnu.org \
    --cc=gp@suse.de \
    --cc=jason@redhat.com \
    --cc=libstdc++@gcc.gnu.org \
    --cc=pcarlini@suse.de \
    /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).