public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "dave at hiauly1 dot hia dot nrc dot ca" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/35222] [4.3 Regression] EH output contains procedure label without P' selector
Date: Sun, 17 Feb 2008 16:45:00 -0000	[thread overview]
Message-ID: <20080217164505.28765.qmail@sourceware.org> (raw)
In-Reply-To: <bug-35222-276@http.gcc.gnu.org/bugzilla/>



------- Comment #4 from dave at hiauly1 dot hia dot nrc dot ca  2008-02-17 16:45 -------
Subject: Re:  [4.3 Regression] EH output contains procedure label without P'
selector

> Does this also fail for hppa2.0w-hp-hpux11.11 which would be a secondary target
> unlike hppa1.1-hp-hpux10.20 which is neither primary nor secondary?

It doesn't affect hppa2.0w-hp-hpux11.11.  There is a difference in the
methods used to achieve one-only support.  hppa2.0w-hp-hpux11.11 uses
secondary definitions and hppa1.1-hp-hpux10.20 COMDAT subspaces.

My current understanding of the problem is that the error occurs
when a COMDAT subspace is not used.  This leads to the situation
where the local symbols referenced in the EH data no longer are
satisfied.  It's still a puzzle as to why this didn't appear before.

I'm testing a one line fix to the encoding to add the P' descriptor.
This isn't exactly obvious as normally when the P' descriptor is used
the pointer ends up pointing to a function descriptor rather than
to the label in the code.  However, in this case, the labels are
local and not exported.  I think the linker is smart enough in this
case to create a direct pointer.  I'm hoping in the COMDAT case that
a function descriptor will be created and there won't be problems
with unresolved symbols.

If the above doesn't work, I have a small change to config.gcc to
force sjlj exception suport.

I've been trying to test the above change but hit the libstdc++
breakage on head.  I have had one successful build with the change
on hppa64-hp-hpux11.11 using 4.2.4.  libstdc++ builds with the
change on hppa2.0w-hp-hpux11.11 on head.  Unfortunately, my
hppa1.1-hp-hpux10.20 system is somewhat slow and I'm just restarting
the build there.  I'm also testing with 11.00.

Dave


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35222


  parent reply	other threads:[~2008-02-17 16:45 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-02-16 22:46 [Bug target/35222] New: " danglin at gcc dot gnu dot org
2008-02-16 23:37 ` [Bug target/35222] " danglin at gcc dot gnu dot org
2008-02-17  1:02 ` pinskia at gcc dot gnu dot org
2008-02-17  3:29 ` dave at hiauly1 dot hia dot nrc dot ca
2008-02-17 15:59 ` rguenth at gcc dot gnu dot org
2008-02-17 16:45 ` dave at hiauly1 dot hia dot nrc dot ca [this message]
2008-03-03 16:22 ` [Bug target/35222] [4.3/4.4 " rguenth at gcc dot gnu dot org
2008-03-03 16:34 ` dave at hiauly1 dot hia dot nrc dot ca
2008-03-04 23:32 ` danglin at gcc dot gnu dot org
2008-03-04 23:40 ` danglin at gcc dot gnu dot org
2008-03-05  1:12 ` danglin at gcc dot gnu dot org
2008-03-12  0:58 ` danglin at gcc dot gnu dot org

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=20080217164505.28765.qmail@sourceware.org \
    --to=gcc-bugzilla@gcc.gnu.org \
    --cc=gcc-bugs@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).