Home > internal compiler > gcc internal compiler error segmentation fault

Gcc Internal Compiler Error Segmentation Fault

gcc: Internal error: Segmentation fault (program as) From: internal compiler error segmentation fault android Brian To: gcc-help at gcc dot gnu dot org Date: Tue, libgcc internal compiler error segmentation fault 6 Jan 2009 14:01:40 -0700 Subject: gcc: Internal error: Segmentation fault (program as) # Description of the internal compiler error segmentation fault please submit a full bug report problem I am trying to compile a couple of different software packages. While almost all of my compiles work, two of them, one in a php module and one in a perl module, result in a segfault. # Compiler command and error output Initiated by `pecl install channel://pecl.php.net/svn-0.5.0' gcc -I/usr/include/subversion-1 -I/usr/include/apr-1.0 -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -I. -I/tmp/pear/temp/svn -DPHP_ATOM_INC -I/var/tmp/pear-build-root/svn-0.5.0/include -I/var/tmp/pear-build-root/svn-0.5.0/main -I/tmp/pear/temp/svn -I/usr/include/php5 -I/usr/include/php5/main -I/usr/include/php5/TSRM -I/usr/include/php5/Zend -I/usr/include/php5/ext -I/usr/include/php5/ext/date/lib -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/subversion-1 -I/usr/include/apr-1.0 -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -DHAVE_CONFIG_H -g -O2 -c /tmp/pear/temp/svn/svn.c -fPIC -DPIC -o .libs/svn.o as: Symbol `i386_regtab' has different size in shared object, consider re-linking as: Symbol `i386_optab' has different size in shared object, consider re-linking gcc: Internal error: Segmentation fault (program as) # Initiated by `cpan install Want' libtool: compile: gcc -I/usr/include/subversion-1 -I/usr/include/apr-1.0 -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -I. -I/tmp/pear/temp/svn -DPHP_ATOM_INC -I/var/tmp/pear-build-root/svn-0.5.0/include -I/var/tmp/pear-build-root/svn-0.5.0/main -I/tmp/pear/temp/svn -I/usr/include/php5 -I/usr/include/php5/main -I/usr/include/php5/TSRM -I/usr/include/php5/Zend -I/usr/include/php5/ext -I/usr/

[x] User account creation filtered due to spam. Bug57625 - internal compiler error: seg fault when building gcc 4.7.2 Summary: internal compiler error: seg fault when building gcc 4.7.2 Status: RESOLVED FIXED Alias: None Product: gcc Classification: Unclassified Component: middle-end (show other bugs) Version: 4.7.2 Importance: P3 normal Target Milestone: --- Assignee: Not yet assigned to anyone URL: Keywords: Depends on: Blocks: Reported: 2013-06-15 16:47 UTC by je.suis.bon Modified: 2015-09-21 13:38 UTC (History) CC List: 3 users (show) arapov mikpelinux mpolacek See Also: Host: Target: Build: Known to https://gcc.gnu.org/ml/gcc-help/2009-01/msg00046.html work: Known to fail: Last reconfirmed: Attachments libgcc2.c (11.54 KB, text/x-csrc) 2013-06-15 16:47 UTC, je.suis.bon Details View All Add an attachment (proposed patch, testcase, etc.) Note You need to log in before you can comment on or make changes to this bug. Description je.suis.bon 2013-06-15 16:47:53 UTC Created attachment 30308 [details] libgcc2.c I was attempting to build gcc 4.7.2 using gcc 4.8.1. to reproduce: mkdir https://gcc.gnu.org/bugzilla/show_bug.cgi?id=57625 build-gcc cd build-gcc ../gcc-4.7.2/configure --disable-nls --enable-languages=c echo "MAKEINFO = :" >> Makefile # otherwise compile fails! make all-gcc make all-target-libgcc The following error occurs: ../../../../originalsrc/gcc-4.7.2/libgcc/libgcc2.c: In function '__absvdi2': ../../../../originalsrc/gcc-4.7.2/libgcc/libgcc2.c:273:1: internal compiler error: Segmentation fault Please submit a full bug report, with preprocessed source if appropriate. See for instructions. make[3]: *** [_absvdi2.o] Error 1 In compliance with gcc's dying wishes, I have submitted a bug report. Although I'm sure you already have it, for rapid perusal, I have attached the source file that caused the seg fault. extra information: $gcc --version: gcc (GCC) 4.8.1 system: archlinux amd64, using the gcc package "gcc-4.8.1-1" If any further information is required, please ask. Comment 1 Mikael Pettersson 2013-06-15 20:20:43 UTC I can't reproduce with FSF gcc 4.8.1 and 4.7.2 on Fedora 17 x86_64. Your archlinux system compiler is presumably somewhat modified; can you try again with an FSF 4.8.1? Also please make sure the 4.7.2 you're building is unmodified. Comment 2 Anton Arapov 2013-11-05 23:19:06 UTC build-cross/gcc-4.7.2/libgcc/libgcc2.c:111:1: internal compiler error: Segmentation fault Please submit a full bug report, with preprocessed source if appropriate. See for instructions. make[3]: *** [_addvdi3.o] Error 1 make[3]: *** Waiting fo

here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company Business http://stackoverflow.com/questions/24079072/internal-compiler-error-segmentation-fault-in-gcc-when-sending-variadic-templ Learn more about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 4.7 million programmers, just like https://ubuntuforums.org/showthread.php?t=1059011 you, helping each other. Join them; it only takes a minute: Sign up internal compiler error: Segmentation fault in gcc . when sending variadic template to struct up vote 4 down vote favorite I'm trying to compile internal compiler following code : #include template