public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug middle-end/54630] [4.8 Regression] GCC 4.8 --enable-languages=c build fails: Undefined symbols: ___cxa_guard_acquire and ___cxa_guard_release
Date: Thu, 20 Sep 2012 11:37:00 -0000	[thread overview]
Message-ID: <bug-54630-4-a0U0VBTwBK@http.gcc.gnu.org/bugzilla/> (raw)
In-Reply-To: <bug-54630-4@http.gcc.gnu.org/bugzilla/>


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

Richard Guenther <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2012-09-20
          Component|libstdc++                   |middle-end
                 CC|                            |crowl at gcc dot gnu.org,
                   |                            |dnovillo at gcc dot
                   |                            |gnu.org, rguenth at gcc dot
                   |                            |gnu.org
     Ever Confirmed|0                           |1
            Summary|GCC 4.8                     |[4.8 Regression] GCC 4.8
                   |--enable-languages=c build  |--enable-languages=c build
                   |fails: Undefined symbols:   |fails: Undefined symbols:
                   |___cxa_guard_acquire and    |___cxa_guard_acquire and
                   |___cxa_guard_release        |___cxa_guard_release
   Target Milestone|---                         |4.8.0

--- Comment #1 from Richard Guenther <rguenth at gcc dot gnu.org> 2012-09-20 11:37:04 UTC ---
Ick.  Now

  static hash_table <ssa_name_var_hash> ssa_name_hash;

appearantly has a guarded init!?

  D.38548 = __cxa_guard_acquire (&_ZGVZ17coalesce_ssa_namevE13ssa_name_hash);
  retval.1 = D.38548 != 0;
  if (retval.1 != 0) goto <D.38549>; else goto <D.38550>;
  <D.38549>:
  D.38265 = 0;
  try
    {
      hash_table<ssa_name_var_hash>::hash_table (&ssa_name_hash);
      D.38265 = 1;
      __cxa_guard_release (&_ZGVZ17coalesce_ssa_namevE13ssa_name_hash);
    }
  catch
    {
      if (D.38265 != 0) goto <D.38551>; else goto <D.38552>;
      <D.38551>:
      goto <D.38553>;
      <D.38552>:
      __cxa_guard_abort (&_ZGVZ17coalesce_ssa_namevE13ssa_name_hash);
      <D.38553>:
    }

I suppose easiest is to remove the 'static' keyword here.

Larry, can you test that?


  reply	other threads:[~2012-09-20 11:37 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-09-19 21:15 [Bug libstdc++/54630] New: " baker at usgs dot gov
2012-09-20 11:37 ` rguenth at gcc dot gnu.org [this message]
2012-09-20 20:28 ` [Bug middle-end/54630] [4.8 Regression] " baker at usgs dot gov
2012-09-20 20:30 ` baker at usgs dot gov
2012-09-21 18:58 ` baker at usgs dot gov
2012-09-21 19:17 ` baker at usgs dot gov
2012-09-21 20:35 ` baker at usgs dot gov
2012-09-22  1:14 ` baker at usgs dot gov
2012-09-22  1:45 ` baker at usgs dot gov
2012-09-25  1:53 ` baker at usgs dot gov
2012-11-19  3:02 ` jason at gcc dot gnu.org
2012-11-19 13:44 ` jakub at gcc dot gnu.org
2012-11-20  9:24 ` jakub at gcc dot gnu.org
2012-11-20 19:58 ` baker at usgs dot gov
2012-11-20 20:20 ` jakub at gcc dot gnu.org
2012-11-20 22:25 ` baker at usgs dot gov
2012-11-21 11:20 ` redi at gcc dot gnu.org
2012-11-21 21:38 ` baker at usgs dot gov
2012-11-22  0:51 ` ian at airs dot com
2012-11-26 19:44 ` baker at usgs dot gov

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=bug-54630-4-a0U0VBTwBK@http.gcc.gnu.org/bugzilla/ \
    --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).