public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/21457] New: ICE building glibc 2.3.5 nptl in gen_subprogram_die at dwarf2out.c:10913
@ 2005-05-08 22:46 benh at kernel dot crashing dot org
  2005-05-08 22:46 ` [Bug c/21457] " benh at kernel dot crashing dot org
                   ` (7 more replies)
  0 siblings, 8 replies; 9+ messages in thread
From: benh at kernel dot crashing dot org @ 2005-05-08 22:46 UTC (permalink / raw)
  To: gcc-bugs

So I get the above ICE   
   
(gen_subprogram_die at dwarf2out.c:10913) with debian's 3.4.4 shapshot  
(20050314). I'm currently building CVS top of branch to double check. It also  
happens with an older 20041116 build I have here.

-- 
           Summary: ICE building glibc 2.3.5 nptl in gen_subprogram_die at
                    dwarf2out.c:10913
           Product: gcc
           Version: 3.4.4
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: c
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: benh at kernel dot crashing dot org
                CC: gcc-bugs at gcc dot gnu dot org
 GCC build triplet: powerpc-linux-gcc
  GCC host triplet: powerpc-linux-gcc
GCC target triplet: powerpc-linux-gcc


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


^ permalink raw reply	[flat|nested] 9+ messages in thread

* [Bug c/21457] ICE building glibc 2.3.5 nptl in gen_subprogram_die at dwarf2out.c:10913
  2005-05-08 22:46 [Bug c/21457] New: ICE building glibc 2.3.5 nptl in gen_subprogram_die at dwarf2out.c:10913 benh at kernel dot crashing dot org
@ 2005-05-08 22:46 ` benh at kernel dot crashing dot org
  2005-05-08 22:47 ` benh at kernel dot crashing dot org
                   ` (6 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: benh at kernel dot crashing dot org @ 2005-05-08 22:46 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From benh at kernel dot crashing dot org  2005-05-08 22:46 -------
Created an attachment (id=8841)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=8841&action=view)
Here is the .i file


-- 


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


^ permalink raw reply	[flat|nested] 9+ messages in thread

* [Bug c/21457] ICE building glibc 2.3.5 nptl in gen_subprogram_die at dwarf2out.c:10913
  2005-05-08 22:46 [Bug c/21457] New: ICE building glibc 2.3.5 nptl in gen_subprogram_die at dwarf2out.c:10913 benh at kernel dot crashing dot org
  2005-05-08 22:46 ` [Bug c/21457] " benh at kernel dot crashing dot org
@ 2005-05-08 22:47 ` benh at kernel dot crashing dot org
  2005-05-08 22:48 ` benh at kernel dot crashing dot org
                   ` (5 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: benh at kernel dot crashing dot org @ 2005-05-08 22:47 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From benh at kernel dot crashing dot org  2005-05-08 22:47 -------
Created an attachment (id=8842)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=8842&action=view)
And the half-generated .s file in case it's useful too


-- 


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


^ permalink raw reply	[flat|nested] 9+ messages in thread

* [Bug c/21457] ICE building glibc 2.3.5 nptl in gen_subprogram_die at dwarf2out.c:10913
  2005-05-08 22:46 [Bug c/21457] New: ICE building glibc 2.3.5 nptl in gen_subprogram_die at dwarf2out.c:10913 benh at kernel dot crashing dot org
  2005-05-08 22:46 ` [Bug c/21457] " benh at kernel dot crashing dot org
  2005-05-08 22:47 ` benh at kernel dot crashing dot org
@ 2005-05-08 22:48 ` benh at kernel dot crashing dot org
  2005-05-08 23:19 ` benh at kernel dot crashing dot org
                   ` (4 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: benh at kernel dot crashing dot org @ 2005-05-08 22:48 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From benh at kernel dot crashing dot org  2005-05-08 22:48 -------
Oh, and sorry if I got the triplets wrong, I can never remember what are the 
"proper" ones ... 
 

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|ICE building glibc 2.3.5    |ICE building glibc 2.3.5
                   |nptl in gen_subprogram_die  |nptl in gen_subprogram_die
                   |at dwarf2out.c:10913        |at dwarf2out.c:10913


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


^ permalink raw reply	[flat|nested] 9+ messages in thread

* [Bug c/21457] ICE building glibc 2.3.5 nptl in gen_subprogram_die at dwarf2out.c:10913
  2005-05-08 22:46 [Bug c/21457] New: ICE building glibc 2.3.5 nptl in gen_subprogram_die at dwarf2out.c:10913 benh at kernel dot crashing dot org
                   ` (2 preceding siblings ...)
  2005-05-08 22:48 ` benh at kernel dot crashing dot org
@ 2005-05-08 23:19 ` benh at kernel dot crashing dot org
  2005-05-08 23:24 ` benh at kernel dot crashing dot org
                   ` (3 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: benh at kernel dot crashing dot org @ 2005-05-08 23:19 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From benh at kernel dot crashing dot org  2005-05-08 23:19 -------
Ok, this is with a CVS checkout of today, without the debian patches (that
changes the line number a bit). I now get:

../elf/tst-execstack-mod.c:24: internal compiler error: in gen_subprogram_die,
at dwarf2out.c:10887

The program is simple:

/* Test module for making nonexecutable stacks executable
   on load of a DSO that requires executable stacks.  */

#include <stdbool.h>
#include <stdio.h>
#include <stdlib.h>

void callme (void (*callback) (void));

/* This is a function that makes use of executable stack by
   using a local function trampoline.  */
void
tryme (void)
{
  bool ok = false;
  void callback (void) { ok = true; }

  callme (&callback);

  if (ok)
    printf ("DSO called ok (local %p, trampoline %p)\n", &ok, &callback);
  else
    abort ();
}

void
callme (void (*callback) (void))
{
  (*callback) ();
}

-- 


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


^ permalink raw reply	[flat|nested] 9+ messages in thread

* [Bug c/21457] ICE building glibc 2.3.5 nptl in gen_subprogram_die at dwarf2out.c:10913
  2005-05-08 22:46 [Bug c/21457] New: ICE building glibc 2.3.5 nptl in gen_subprogram_die at dwarf2out.c:10913 benh at kernel dot crashing dot org
                   ` (3 preceding siblings ...)
  2005-05-08 23:19 ` benh at kernel dot crashing dot org
@ 2005-05-08 23:24 ` benh at kernel dot crashing dot org
  2005-05-08 23:39 ` benh at kernel dot crashing dot org
                   ` (2 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: benh at kernel dot crashing dot org @ 2005-05-08 23:24 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From benh at kernel dot crashing dot org  2005-05-08 23:23 -------
Hrm... smells a bit like 16676 ... It really needs to be fixed asap, it prevents
building glibc in it's current state.


-- 


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


^ permalink raw reply	[flat|nested] 9+ messages in thread

* [Bug c/21457] ICE building glibc 2.3.5 nptl in gen_subprogram_die at dwarf2out.c:10913
  2005-05-08 22:46 [Bug c/21457] New: ICE building glibc 2.3.5 nptl in gen_subprogram_die at dwarf2out.c:10913 benh at kernel dot crashing dot org
                   ` (4 preceding siblings ...)
  2005-05-08 23:24 ` benh at kernel dot crashing dot org
@ 2005-05-08 23:39 ` benh at kernel dot crashing dot org
  2005-05-09  0:00 ` pinskia at gcc dot gnu dot org
  2005-05-09  0:03 ` pinskia at gcc dot gnu dot org
  7 siblings, 0 replies; 9+ messages in thread
From: benh at kernel dot crashing dot org @ 2005-05-08 23:39 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From benh at kernel dot crashing dot org  2005-05-08 23:39 -------
Same goes for iconvconfig.c:1244 in glibc too, so at least now 2 occurences of
this bug preventing build of glibc. This one is a nested function too, so I
suppose that is the real issue.


-- 


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


^ permalink raw reply	[flat|nested] 9+ messages in thread

* [Bug c/21457] ICE building glibc 2.3.5 nptl in gen_subprogram_die at dwarf2out.c:10913
  2005-05-08 22:46 [Bug c/21457] New: ICE building glibc 2.3.5 nptl in gen_subprogram_die at dwarf2out.c:10913 benh at kernel dot crashing dot org
                   ` (5 preceding siblings ...)
  2005-05-08 23:39 ` benh at kernel dot crashing dot org
@ 2005-05-09  0:00 ` pinskia at gcc dot gnu dot org
  2005-05-09  0:03 ` pinskia at gcc dot gnu dot org
  7 siblings, 0 replies; 9+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-05-09  0:00 UTC (permalink / raw)
  To: gcc-bugs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |ice-on-valid-code


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


^ permalink raw reply	[flat|nested] 9+ messages in thread

* [Bug c/21457] ICE building glibc 2.3.5 nptl in gen_subprogram_die at dwarf2out.c:10913
  2005-05-08 22:46 [Bug c/21457] New: ICE building glibc 2.3.5 nptl in gen_subprogram_die at dwarf2out.c:10913 benh at kernel dot crashing dot org
                   ` (6 preceding siblings ...)
  2005-05-09  0:00 ` pinskia at gcc dot gnu dot org
@ 2005-05-09  0:03 ` pinskia at gcc dot gnu dot org
  7 siblings, 0 replies; 9+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-05-09  0:03 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-05-09 00:03 -------


*** This bug has been marked as a duplicate of 16676 ***

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |DUPLICATE


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


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2005-05-09  0:03 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-05-08 22:46 [Bug c/21457] New: ICE building glibc 2.3.5 nptl in gen_subprogram_die at dwarf2out.c:10913 benh at kernel dot crashing dot org
2005-05-08 22:46 ` [Bug c/21457] " benh at kernel dot crashing dot org
2005-05-08 22:47 ` benh at kernel dot crashing dot org
2005-05-08 22:48 ` benh at kernel dot crashing dot org
2005-05-08 23:19 ` benh at kernel dot crashing dot org
2005-05-08 23:24 ` benh at kernel dot crashing dot org
2005-05-08 23:39 ` benh at kernel dot crashing dot org
2005-05-09  0:00 ` pinskia at gcc dot gnu dot org
2005-05-09  0:03 ` pinskia at gcc dot gnu dot org

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).