public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/23541] New: all error messages produce segfault ICE
@ 2005-08-24  5:37 fgccbz0 at greynode dot net
  2005-08-24 11:44 ` [Bug other/23541] " pinskia at gcc dot gnu dot org
                   ` (7 more replies)
  0 siblings, 8 replies; 13+ messages in thread
From: fgccbz0 at greynode dot net @ 2005-08-24  5:37 UTC (permalink / raw)
  To: gcc-bugs

when compiled not just to target sparc64 but also to be hosted on sparc64
instead of just sparc, the resulting compiler segfaults most of the time when it
tries to print error messages. For instance, when compiling a file containing
just a bogus preprocessor directive, like so:

#asdfadfa

The problem seems to be that gcc-4.0.1/intl/dcgettext.c:53 can't see a
declaration of libintl_dcgettext, and so the result of the call is cast to an
int, losing its high word, before being returned.  I think
gcc-4.0.1/intl/gettextP.h:213 has caused libgnuintl.h to provide only macros
instead of declarations. Perhaps in libgnuintl.h the various extern libintl_FOO
declarations should be outside of the #ifdef _INTL_REDIRECT_INLINE conditionals,
so that even when using _INTL_REDIRECT_MACROS and not INTL_REDIRECT_INLINE, the
declarations of the libintl_FOO are published to the includer.

Using a handy 32-bit hosted gcc-4.0.1 I had already built, I built using
./configure --enable-languages=c,c++ --with-gnu-as --with-as=BLAH/bin/as
--with-gnu-ld --with-ld=BLAH/bin/ld sparc64-sun-solaris2.9

-- 
           Summary: all error messages produce segfault ICE
           Product: gcc
           Version: 4.0.1
            Status: UNCONFIRMED
          Severity: critical
          Priority: P2
         Component: c
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: fgccbz0 at greynode dot net
                CC: gcc-bugs at gcc dot gnu dot org
 GCC build triplet: sparc64-sun-solaris2.9
  GCC host triplet: sparc64-sun-solaris2.9
GCC target triplet: sparc64-sun-solaris2.9


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


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

* [Bug other/23541] all error messages produce segfault ICE
  2005-08-24  5:37 [Bug c/23541] New: all error messages produce segfault ICE fgccbz0 at greynode dot net
@ 2005-08-24 11:44 ` pinskia at gcc dot gnu dot org
  2005-08-25 13:35 ` fgccbz0 at greynode dot net
                   ` (6 subsequent siblings)
  7 siblings, 0 replies; 13+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-08-24 11:44 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-08-24 11:37 -------
This sounds like a bug in your configuration as nobody else I know of has had this problem.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|critical                    |normal
          Component|c                           |other


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


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

* [Bug other/23541] all error messages produce segfault ICE
  2005-08-24  5:37 [Bug c/23541] New: all error messages produce segfault ICE fgccbz0 at greynode dot net
  2005-08-24 11:44 ` [Bug other/23541] " pinskia at gcc dot gnu dot org
@ 2005-08-25 13:35 ` fgccbz0 at greynode dot net
  2005-08-25 13:47 ` pinskia at gcc dot gnu dot org
                   ` (5 subsequent siblings)
  7 siblings, 0 replies; 13+ messages in thread
From: fgccbz0 at greynode dot net @ 2005-08-25 13:35 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From fgccbz0 at greynode dot net  2005-08-25 13:30 -------
(In reply to comment #1)
> This sounds like a bug in your configuration as nobody else I know of has had
this problem.

Are you sure these unnamed other people are using not just 64-bit targeted but
64-bit hosted builds?

What exactly kind of bug in my configuration do you mean? I've pointed you at
exactly what's going wrong - do you mean that I shouldn't wind up in this case
where I don't pick up the declarations of the libintl_* functions?


-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|normal                      |critical


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


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

* [Bug other/23541] all error messages produce segfault ICE
  2005-08-24  5:37 [Bug c/23541] New: all error messages produce segfault ICE fgccbz0 at greynode dot net
  2005-08-24 11:44 ` [Bug other/23541] " pinskia at gcc dot gnu dot org
  2005-08-25 13:35 ` fgccbz0 at greynode dot net
@ 2005-08-25 13:47 ` pinskia at gcc dot gnu dot org
  2005-08-25 14:37 ` fgccbz0 at greynode dot net
                   ` (4 subsequent siblings)
  7 siblings, 0 replies; 13+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-08-25 13:47 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-08-25 13:35 -------
4.1.0 works just fine:
http://gcc.gnu.org/ml/gcc-testresults/2005-08/msg00241.html
So does 4.0.2:
http://gcc.gnu.org/ml/gcc-testresults/2005-08/msg00182.html

So it has to be your configuration is different from Eric's.

Oh and there is nothing criticial about this bug as it is not reproducible on other's machines.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|critical                    |normal


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


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

* [Bug other/23541] all error messages produce segfault ICE
  2005-08-24  5:37 [Bug c/23541] New: all error messages produce segfault ICE fgccbz0 at greynode dot net
                   ` (2 preceding siblings ...)
  2005-08-25 13:47 ` pinskia at gcc dot gnu dot org
@ 2005-08-25 14:37 ` fgccbz0 at greynode dot net
  2005-08-25 21:48 ` fgccbz0 at greynode dot net
                   ` (3 subsequent siblings)
  7 siblings, 0 replies; 13+ messages in thread
From: fgccbz0 at greynode dot net @ 2005-08-25 14:37 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From fgccbz0 at greynode dot net  2005-08-25 14:09 -------
(In reply to comment #3)
> 4.1.0 works just fine:
> http://gcc.gnu.org/ml/gcc-testresults/2005-08/msg00241.html
> So does 4.0.2:
> http://gcc.gnu.org/ml/gcc-testresults/2005-08/msg00182.html

Thanks. 

> So it has to be your configuration is different from Eric's.

Evidently. The question is how. Is there anywhere I could get log of the build
from such a working version?

> Oh and there is nothing criticial about this bug as it is not reproducible on
other's machines.

(Did I re-flip that? Sorry - that was unintentional).



-- 


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


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

* [Bug other/23541] all error messages produce segfault ICE
  2005-08-24  5:37 [Bug c/23541] New: all error messages produce segfault ICE fgccbz0 at greynode dot net
                   ` (3 preceding siblings ...)
  2005-08-25 14:37 ` fgccbz0 at greynode dot net
@ 2005-08-25 21:48 ` fgccbz0 at greynode dot net
  2005-08-26 17:35 ` pinskia at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  7 siblings, 0 replies; 13+ messages in thread
From: fgccbz0 at greynode dot net @ 2005-08-25 21:48 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From fgccbz0 at greynode dot net  2005-08-25 21:46 -------
I'm not really sure how to proceed here. I've told you a symptom, a diagnosis
describing a probable flaw in the code, and possible solution. You've pointed me
at some logs from a person I don't know with an invalid e-mail address which
demonstrate that a differently configured build I can't access of a different
version of the software in a unspecified environment passed some tests.

May I ask how you'd proceed in my situation? I'm perfectly open to the
possibility that the problem's on my end, but I don't know how I'd find it. Your
criterion for taking me seriously seems to be that my configuration match that
of an inaccessible third party.


-- 


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


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

* [Bug other/23541] all error messages produce segfault ICE
  2005-08-24  5:37 [Bug c/23541] New: all error messages produce segfault ICE fgccbz0 at greynode dot net
                   ` (4 preceding siblings ...)
  2005-08-25 21:48 ` fgccbz0 at greynode dot net
@ 2005-08-26 17:35 ` pinskia at gcc dot gnu dot org
  2005-08-29 13:39 ` fgccbz0 at greynode dot net
  2005-08-30  9:42 ` ebotcazou at gcc dot gnu dot org
  7 siblings, 0 replies; 13+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-08-26 17:35 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-08-26 17:20 -------
Eric Botcazou is sparc maintainer:
sparc port              Eric Botcazou           ebotcazou@libertysurf.fr


It sounds like you have a mismatching header installed and nothing more.


-- 


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


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

* [Bug other/23541] all error messages produce segfault ICE
  2005-08-24  5:37 [Bug c/23541] New: all error messages produce segfault ICE fgccbz0 at greynode dot net
                   ` (5 preceding siblings ...)
  2005-08-26 17:35 ` pinskia at gcc dot gnu dot org
@ 2005-08-29 13:39 ` fgccbz0 at greynode dot net
  2005-08-30  9:42 ` ebotcazou at gcc dot gnu dot org
  7 siblings, 0 replies; 13+ messages in thread
From: fgccbz0 at greynode dot net @ 2005-08-29 13:39 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From fgccbz0 at greynode dot net  2005-08-29 13:36 -------
> It sounds like you have a mismatching header installed and nothing more.

Such a difference is certainly possible - thank's for the e-mail address. That
ought to provide the hook I need to continue.


-- 


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


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

* [Bug other/23541] all error messages produce segfault ICE
  2005-08-24  5:37 [Bug c/23541] New: all error messages produce segfault ICE fgccbz0 at greynode dot net
                   ` (6 preceding siblings ...)
  2005-08-29 13:39 ` fgccbz0 at greynode dot net
@ 2005-08-30  9:42 ` ebotcazou at gcc dot gnu dot org
  7 siblings, 0 replies; 13+ messages in thread
From: ebotcazou at gcc dot gnu dot org @ 2005-08-30  9:42 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From ebotcazou at gcc dot gnu dot org  2005-08-30 09:38 -------
Could you post the exact configure line and command line you used to build the
compiler?  And the output of 'gcc -v' for the bootstrap compiler?

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ebotcazou at gcc dot gnu dot
                   |                            |org
             Status|UNCONFIRMED                 |WAITING


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


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

* [Bug other/23541] all error messages produce segfault ICE
       [not found] <bug-23541-6526@http.gcc.gnu.org/bugzilla/>
                   ` (2 preceding siblings ...)
  2006-01-04  9:16 ` ebotcazou at gcc dot gnu dot org
@ 2006-01-04  9:17 ` ebotcazou at gcc dot gnu dot org
  3 siblings, 0 replies; 13+ messages in thread
From: ebotcazou at gcc dot gnu dot org @ 2006-01-04  9:17 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #12 from ebotcazou at gcc dot gnu dot org  2006-01-04 09:16 -------
*** Bug 25200 has been marked as a duplicate of this bug. ***


-- 

ebotcazou at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |andreas at florath dot net


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



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

* [Bug other/23541] all error messages produce segfault ICE
       [not found] <bug-23541-6526@http.gcc.gnu.org/bugzilla/>
  2005-10-15 16:40 ` ebotcazou at gcc dot gnu dot org
  2005-10-15 16:40 ` ebotcazou at gcc dot gnu dot org
@ 2006-01-04  9:16 ` ebotcazou at gcc dot gnu dot org
  2006-01-04  9:17 ` ebotcazou at gcc dot gnu dot org
  3 siblings, 0 replies; 13+ messages in thread
From: ebotcazou at gcc dot gnu dot org @ 2006-01-04  9:16 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #11 from ebotcazou at gcc dot gnu dot org  2006-01-04 09:15 -------
*** Bug 25602 has been marked as a duplicate of this bug. ***


-- 

ebotcazou at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |alex at milivojevic dot org


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



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

* [Bug other/23541] all error messages produce segfault ICE
       [not found] <bug-23541-6526@http.gcc.gnu.org/bugzilla/>
  2005-10-15 16:40 ` ebotcazou at gcc dot gnu dot org
@ 2005-10-15 16:40 ` ebotcazou at gcc dot gnu dot org
  2006-01-04  9:16 ` ebotcazou at gcc dot gnu dot org
  2006-01-04  9:17 ` ebotcazou at gcc dot gnu dot org
  3 siblings, 0 replies; 13+ messages in thread
From: ebotcazou at gcc dot gnu dot org @ 2005-10-15 16:40 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #10 from ebotcazou at gcc dot gnu dot org  2005-10-15 16:40 -------
Investigating.


-- 

ebotcazou at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|ebotcazou at gcc dot gnu dot|
                   |org                         |
         AssignedTo|unassigned at gcc dot gnu   |ebotcazou at gcc dot gnu dot
                   |dot org                     |org
             Status|WAITING                     |ASSIGNED
     Ever Confirmed|0                           |1
   Last reconfirmed|0000-00-00 00:00:00         |2005-10-15 16:40:14
               date|                            |


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


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

* [Bug other/23541] all error messages produce segfault ICE
       [not found] <bug-23541-6526@http.gcc.gnu.org/bugzilla/>
@ 2005-10-15 16:40 ` ebotcazou at gcc dot gnu dot org
  2005-10-15 16:40 ` ebotcazou at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 13+ messages in thread
From: ebotcazou at gcc dot gnu dot org @ 2005-10-15 16:40 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #9 from ebotcazou at gcc dot gnu dot org  2005-10-15 16:39 -------
*** Bug 24039 has been marked as a duplicate of this bug. ***


-- 

ebotcazou at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |heas at shrubbery dot net


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


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

end of thread, other threads:[~2006-01-04  9:17 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-08-24  5:37 [Bug c/23541] New: all error messages produce segfault ICE fgccbz0 at greynode dot net
2005-08-24 11:44 ` [Bug other/23541] " pinskia at gcc dot gnu dot org
2005-08-25 13:35 ` fgccbz0 at greynode dot net
2005-08-25 13:47 ` pinskia at gcc dot gnu dot org
2005-08-25 14:37 ` fgccbz0 at greynode dot net
2005-08-25 21:48 ` fgccbz0 at greynode dot net
2005-08-26 17:35 ` pinskia at gcc dot gnu dot org
2005-08-29 13:39 ` fgccbz0 at greynode dot net
2005-08-30  9:42 ` ebotcazou at gcc dot gnu dot org
     [not found] <bug-23541-6526@http.gcc.gnu.org/bugzilla/>
2005-10-15 16:40 ` ebotcazou at gcc dot gnu dot org
2005-10-15 16:40 ` ebotcazou at gcc dot gnu dot org
2006-01-04  9:16 ` ebotcazou at gcc dot gnu dot org
2006-01-04  9:17 ` ebotcazou 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).