This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/41797] New: Segmentation fault on compiling using pre-compiled headers
- From: "kirill at shutemov dot name" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 22 Oct 2009 15:13:14 -0000
- Subject: [Bug c/41797] New: Segmentation fault on compiling using pre-compiled headers
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
Testcase attached.
$ cd testcase
$ make
mkdir test.gch
gcc -x c-header -c test.h -o test.gch/c
gcc -c -include test test.c
arm-alt-linux-gnueabi-gcc: Internal error: Segmentation fault (program cc1)
Please submit a full bug report.
See <http://bugzilla.altlinux.org> for instructions.
make: *** [test.o] Error 1
$ arm-alt-linux-gnueabi-gcc -v
Using built-in specs.
Target: arm-alt-linux-gnueabi
Configured with: ../configure --host=arm-alt-linux-gnueabi
--build=arm-alt-linux-gnueabi --target=arm-alt-linux-gnueabi --prefix=/usr
--exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc
--datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib
--libexecdir=/usr/libexec --localstatedir=/var/lib --sharedstatedir=/usr/com
--mandir=/usr/share/man --infodir=/usr/share/info --disable-dependency-tracking
--without-included-gettext --program-suffix=-4.4 --with-slibdir=/lib
--with-bugurl=http://bugzilla.altlinux.org --enable-bootstrap --enable-shared
--enable-__cxa_atexit --enable-threads=posix --enable-checking=release
--with-system-zlib --without-included-gettext --enable-multilib
--enable-languages=c,c++,fortran,objc,obj-c++ --disable-sjlj-exceptions
Thread model: posix
gcc version 4.4.2 20091018 (ALT Linux 4.4.2-alt1) (GCC)
--
Summary: Segmentation fault on compiling using pre-compiled
headers
Product: gcc
Version: 4.4.2
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: kirill at shutemov dot name
GCC build triplet: arm-alt-linux-gnueabi
GCC host triplet: arm-alt-linux-gnueabi
GCC target triplet: arm-alt-linux-gnueabi
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41797