public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/44083]  New: gcc v 4.2.2: gcc -H gives segmentation violation
@ 2010-05-11 14:50 rogier dot wester at asml dot com
  2010-05-11 14:53 ` [Bug c/44083] " rogier dot wester at asml dot com
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: rogier dot wester at asml dot com @ 2010-05-11 14:50 UTC (permalink / raw)
  To: gcc-bugs

below you find the information on my host system and the used gcc command. 
I tried to use a pre-compiled header file. There is one file that includes two
include files which both include another (the same) header file. I wanted to
see whether the pre-compiled header file was taken from both include files and
used the -H option to see this. In that case the compiled gave a segmentation
violation after dumping the information I was looking for, see log below.

Not sure yet how I attach the files to this bug report yet, my first time
filing, hope I will get that option still.

nlvdhw99:~ % uname -X
System = SunOS
Node = nlvdhw99
Release = 5.8
KernelID = Generic_117350-52
Machine = sun4u
BusType = <unknown>
Serial = <unknown>
Users = <unknown>
OEM# = 0
Origin# = 1
NumCPU = 2

nlvdhw99:~ % gcc -H -v aap.c
Using built-in specs.
Target: sparc-sun-solaris2.8
Configured with: ../configure --prefix=/cadappl/gcc/4.4.2/gcc
--enable-languages=c,c++
--with-gmp-lib=/shared/caddev/wblanken/5.8/gcc_4.4.2/gcc/4.4.2/SunOS_5.8/cadenv_home/cadlib:/usr/lib:/usr/ccs/lib:/usr/dt/lib:/usr/openwin/lib
--with-gmp-include=/shared/caddev/wblanken/5.8/gcc_4.4.2/gcc/4.4.2/SunOS_5.8/cadenv_home/cadinc
--with-mpfr-lib=/shared/caddev/wblanken/5.8/gcc_4.4.2/gcc/4.4.2/SunOS_5.8/cadenv_home/cadlib:/usr/lib:/usr/ccs/lib:/usr/dt/lib:/usr/openwin/lib
--with-mpfr-include=/shared/caddev/wblanken/5.8/gcc_4.4.2/gcc/4.4.2/SunOS_5.8/cadenv_home/cadinc
--without-gnu-as --with-ld=/usr/ccs/bin/as --without-gnu-ld
--with-ld=/usr/ccs/bin/ld --disable-nls
Thread model: posix
gcc version 4.4.2 (GCC) 
COLLECT_GCC_OPTIONS='-H' '-v' '-mcpu=v9'
 /home/cadappl/gcc/4.4.2/gcc/bin/../libexec/gcc/sparc-sun-solaris2.8/4.4.2/cc1
-quiet -v -iprefix
/home/cadappl/gcc/4.4.2/gcc/bin/../lib/gcc/sparc-sun-solaris2.8/4.4.2/ -H
-D__sparcv8 aap.c -quiet -dumpbase aap.c -mcpu=v9 -auxbase aap -version -o
/tmp/ccIk0iI1.s
ignoring nonexistent directory
"/home/cadappl/gcc/4.4.2/gcc/bin/../lib/gcc/sparc-sun-solaris2.8/4.4.2/../../../../sparc-sun-solaris2.8/include"
ignoring duplicate directory
"/home/cadappl/gcc/4.4.2/gcc/bin/../lib/gcc/../../lib/gcc/sparc-sun-solaris2.8/4.4.2/include"
ignoring duplicate directory
"/home/cadappl/gcc/4.4.2/gcc/bin/../lib/gcc/../../lib/gcc/sparc-sun-solaris2.8/4.4.2/include-fixed"
ignoring nonexistent directory
"/home/cadappl/gcc/4.4.2/gcc/bin/../lib/gcc/../../lib/gcc/sparc-sun-solaris2.8/4.4.2/../../../../sparc-sun-solaris2.8/include"
#include "..." search starts here:
#include <...> search starts here:
 /home/cadappl/gcc/4.4.2/gcc/bin/../lib/gcc/sparc-sun-solaris2.8/4.4.2/include

/home/cadappl/gcc/4.4.2/gcc/bin/../lib/gcc/sparc-sun-solaris2.8/4.4.2/include-fixed
 /usr/local/include
 /home/cadappl/gcc/4.4.2/gcc/bin/../lib/gcc/../../include
 /usr/include
End of search list.
GNU C (GCC) version 4.4.2 (sparc-sun-solaris2.8)
        compiled by GNU C version 4.4.2, GMP version 4.3.2, MPFR version 2.4.2.
GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
Compiler executable checksum: 23aa22944bc3d068ec8ac37d8068444b
. noot.h
.! aap.h.gch
 noot.h
 mies.h
. aap.h
mies.h:15: internal compiler error: Segmentation Fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.


-- 
           Summary: gcc v 4.2.2: gcc -H gives segmentation violation
           Product: gcc
           Version: 4.4.2
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: rogier dot wester at asml dot com
  GCC host triplet: Sun
GCC target triplet: Sun


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


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

* [Bug c/44083] gcc v 4.2.2: gcc -H gives segmentation violation
  2010-05-11 14:50 [Bug c/44083] New: gcc v 4.2.2: gcc -H gives segmentation violation rogier dot wester at asml dot com
@ 2010-05-11 14:53 ` rogier dot wester at asml dot com
  2010-05-11 14:54 ` rogier dot wester at asml dot com
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: rogier dot wester at asml dot com @ 2010-05-11 14:53 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from rogier dot wester at asml dot com  2010-05-11 14:53 -------
Created an attachment (id=20633)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=20633&action=view)
source file including 2 include files


-- 


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


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

* [Bug c/44083] gcc v 4.2.2: gcc -H gives segmentation violation
  2010-05-11 14:50 [Bug c/44083] New: gcc v 4.2.2: gcc -H gives segmentation violation rogier dot wester at asml dot com
  2010-05-11 14:53 ` [Bug c/44083] " rogier dot wester at asml dot com
@ 2010-05-11 14:54 ` rogier dot wester at asml dot com
  2010-05-11 14:55 ` rogier dot wester at asml dot com
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: rogier dot wester at asml dot com @ 2010-05-11 14:54 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from rogier dot wester at asml dot com  2010-05-11 14:54 -------
Created an attachment (id=20634)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=20634&action=view)
the original include file (not precompiled)


-- 


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


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

* [Bug c/44083] gcc v 4.2.2: gcc -H gives segmentation violation
  2010-05-11 14:50 [Bug c/44083] New: gcc v 4.2.2: gcc -H gives segmentation violation rogier dot wester at asml dot com
                   ` (2 preceding siblings ...)
  2010-05-11 14:55 ` rogier dot wester at asml dot com
@ 2010-05-11 14:55 ` rogier dot wester at asml dot com
  2010-05-11 14:55 ` rogier dot wester at asml dot com
  4 siblings, 0 replies; 6+ messages in thread
From: rogier dot wester at asml dot com @ 2010-05-11 14:55 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from rogier dot wester at asml dot com  2010-05-11 14:54 -------
Created an attachment (id=20635)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=20635&action=view)
the precompiled include file


-- 


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


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

* [Bug c/44083] gcc v 4.2.2: gcc -H gives segmentation violation
  2010-05-11 14:50 [Bug c/44083] New: gcc v 4.2.2: gcc -H gives segmentation violation rogier dot wester at asml dot com
                   ` (3 preceding siblings ...)
  2010-05-11 14:55 ` rogier dot wester at asml dot com
@ 2010-05-11 14:55 ` rogier dot wester at asml dot com
  4 siblings, 0 replies; 6+ messages in thread
From: rogier dot wester at asml dot com @ 2010-05-11 14:55 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #4 from rogier dot wester at asml dot com  2010-05-11 14:55 -------
Created an attachment (id=20636)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=20636&action=view)
an include file including the first include file


-- 


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


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

* [Bug c/44083] gcc v 4.2.2: gcc -H gives segmentation violation
  2010-05-11 14:50 [Bug c/44083] New: gcc v 4.2.2: gcc -H gives segmentation violation rogier dot wester at asml dot com
  2010-05-11 14:53 ` [Bug c/44083] " rogier dot wester at asml dot com
  2010-05-11 14:54 ` rogier dot wester at asml dot com
@ 2010-05-11 14:55 ` rogier dot wester at asml dot com
  2010-05-11 14:55 ` rogier dot wester at asml dot com
  2010-05-11 14:55 ` rogier dot wester at asml dot com
  4 siblings, 0 replies; 6+ messages in thread
From: rogier dot wester at asml dot com @ 2010-05-11 14:55 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #5 from rogier dot wester at asml dot com  2010-05-11 14:55 -------
Created an attachment (id=20637)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=20637&action=view)
a second include including the first include file


-- 


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


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

end of thread, other threads:[~2010-05-11 14:55 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-05-11 14:50 [Bug c/44083] New: gcc v 4.2.2: gcc -H gives segmentation violation rogier dot wester at asml dot com
2010-05-11 14:53 ` [Bug c/44083] " rogier dot wester at asml dot com
2010-05-11 14:54 ` rogier dot wester at asml dot com
2010-05-11 14:55 ` rogier dot wester at asml dot com
2010-05-11 14:55 ` rogier dot wester at asml dot com
2010-05-11 14:55 ` rogier dot wester at asml dot com

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