public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "rogier dot wester at asml dot com" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug c/44083] New: gcc v 4.2.2: gcc -H gives segmentation violation Date: Tue, 11 May 2010 14:50:00 -0000 [thread overview] Message-ID: <bug-44083-19171@http.gcc.gnu.org/bugzilla/> (raw) 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
next reply other threads:[~2010-05-11 14:50 UTC|newest] Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top 2010-05-11 14:50 rogier dot wester at asml dot com [this message] 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
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-44083-19171@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: linkBe 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).