[Bug 485275] New: Getting internal compiler error : inline_secondary_memory_needed at config/i386/i386.c:21851
https://bugzilla.novell.com/show_bug.cgi?id=485275 Summary: Getting internal compiler error : inline_secondary_memory_needed at config/i386/i386.c:21851 Classification: openSUSE Product: openSUSE 11.1 Version: Final Platform: x86-64 OS/Version: openSUSE 11.1 Status: NEW Severity: Normal Priority: P5 - None Component: Development AssignedTo: pth@novell.com ReportedBy: vivek1717@gmail.com QAContact: qa@suse.de Found By: --- User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322; .NET CLR 2.0.50727) Hi All, While compiling on Opensuse11-1 on 64 bit machine, i got the following internal compiler error: xlibs/streams/compress.cpp: In member function virtual long int ZCompress::UncompressStream(unsigned char*, long unsigned int): xlibs/streams/compress.cpp:1029: internal compiler error: in inline_secondary_memory_needed, at config/i386/i386.c:21851 Please submit a full bug report, with preprocessed source if appropriate. See <http://bugs.opensuse.org/> for instructions. gmake: *** [Linux_x86_64/xlibs/debug/streams/compress.o] Error 1 The following are the compiler details: gcc -v Using built-in specs. Target: x86_64-suse-linux Configured with: ../configure --prefix=/usr --infodir=/usr/share/info --mandir=/usr/share/man --libdir=/usr/lib64 --libexecdir=/usr/lib64 --enable-languages=c,c++,objc,fortran,obj-c++,java,ada --enable-checking=release --with-gxx-include-dir=/usr/include/c++/4.3 --enable-ssp --disable-libssp --with-bugurl=http://bugs.opensuse.org/ --with-pkgversion='SUSE Linux' --disable-libgcj --disable-libmudflap --with-slibdir=/lib64 --with-system-zlib --enable-__cxa_atexit --enable-libstdcxx-allocator=new --disable-libstdcxx-pch --enable-version-specific-runtime-libs --program-suffix=-4.3 --enable-linux-futex --without-system-libunwind --with-cpu=generic --build=x86_64-suse-linux Thread model: posix gcc version 4.3.2 [gcc-4_3-branch revision 141291] (SUSE Linux) The following are the OS details: openSUSE 11.1 (x86_64) VERSION = 11.1 The same code has compiled successfully on 32bit openSUSE 11.1 OS, but it is failing for 64 bit. Reproducible: Always Steps to Reproduce: 1. 2. 3. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=485275 User meissner@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=485275#c1 Marcus Meissner <meissner@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|pth@novell.com |rguenther@novell.com --- Comment #1 from Marcus Meissner <meissner@novell.com> 2009-03-13 14:08:12 MST --- can you get a preprocessed .i file for this? --save-temps for the commandline and attach the .i file -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=485275 Marcus Meissner <meissner@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO Info Provider| |vivek1717@gmail.com -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=485275 User rguenther@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=485275#c2 --- Comment #2 from Richard Guenther <rguenther@novell.com> 2009-03-13 14:13:54 MST --- Actually it is -save-temps. We also need to know the exact command-line that was used to build the file, and the output of GCC if you also append -v. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=485275 User vivek1717@gmail.com added comment https://bugzilla.novell.com/show_bug.cgi?id=485275#c3 --- Comment #3 from vivek K <vivek1717@gmail.com> 2009-03-17 07:57:24 MST --- Created an attachment (id=280007) --> (https://bugzilla.novell.com/attachment.cgi?id=280007) compress.i source file -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=485275 User vivek1717@gmail.com added comment https://bugzilla.novell.com/show_bug.cgi?id=485275#c4 vivek K <vivek1717@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |NEW CC| |vivek1717@gmail.com Info Provider|vivek1717@gmail.com | --- Comment #4 from vivek K <vivek1717@gmail.com> 2009-03-17 08:08:54 MST --- Hi Marcus/Richard, While compiling the following i got the above error: g++ -c -DDEBUG -O0 -g3 -fno-optimize-sibling-calls -fno-omit-frame-pointer -g3 -ggdb -mno-sse2 -DSV_UNIX -DSV_LINUX -DSTDC_HEADERS -DHAVE_UNISTD_H -DHAVE_SIGACTION -DHAVE_SETSID -DHAVE_STRCASECMP -DHAVE_NETDB_H -DHAVE_NETINET_H -DACE_AS_STATIC_LIBS -D_LARGEFILE_SOURCE=1 -D_LARGEFILE64_SOURCE=1 -D_FILE_OFFSET_BITS=64 -save-temps -pthread -I/home/vivek -I. -o compress.o compress.i compress.cpp: In member function âvirtual long int ZCompress::UncompressStream(unsigned char*, long unsigned int)â: compress.cpp:1029: internal compiler error: in inline_secondary_memory_needed, at config/i386/i386.c:21851 Please submit a full bug report, with preprocessed source if appropriate. See <http://bugs.opensuse.org/> for instructions. The following are the command line options used by the appication: -DDEBUG -O0 -g3 -fno-optimize-sibling-calls -fno-omit-frame-pointer -g3 -ggdb -mno-sse2 -DSV_UNIX -DSV_LINUX -DSTDC_HEADERS -DHAVE_UNISTD_H -DHAVE_SIGACTION -DHAVE_SETSID -DHAVE_STRCASECMP -DHAVE_NETDB_H -DHAVE_NETINET_H -DACE_AS_STATIC_LIBS -D_LARGEFILE_SOURCE=1 -D_LARGEFILE64_SOURCE=1 -D_FILE_OFFSET_BITS=64 -save-temps -pthread I am attaching the compress.i file as attachment for your reference Thanks and Regards, Vivek -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=485275 User rguenther@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=485275#c5 --- Comment #5 from Richard Guenther <rguenther@novell.com> 2009-03-17 08:48:14 MST --- Note that the bug is triggered by -mno-sse2. Basically you tell the compiler you do not have any floating point registers but use floating point math ... (ok, it tries to use the x87 unit but seems to fail for some reason). -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=485275 User rguenther@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=485275#c6 Richard Guenther <rguenther@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |UPSTREAM --- Comment #6 from Richard Guenther <rguenther@novell.com> 2009-03-17 09:20:22 MST --- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39482 Older GCC releases ignored -mno-sse2. Starting with 4.3 it wants to adhere this constraint, but this is of course impossible once you have a call in your source where the ABI requires passing arguments (or returning results) in xmm registers. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=485275 User vivek1717@gmail.com added comment https://bugzilla.novell.com/show_bug.cgi?id=485275#c7 --- Comment #7 from vivek K <vivek1717@gmail.com> 2009-03-24 09:00:29 MST --- Hi Guenther, Thanks for opening a bug to gcc.org. As per the update done on the above bug by Uros(uros@gcc.gnu.org),it seems that the fix was done in gcc code for both trunc and gcc-4_3-branch. As my current compilations, which worked for earlier releases, failed with the ICE errors,can I please expect a patch for OPENSUSE11.1-x86-64 OS to resolve the above problems. Thanks and Regards, Vivek -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=485275 User rguenther@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=485275#c8 --- Comment #8 from Richard Guenther <rguenther@novell.com> 2009-03-24 09:07:10 MST --- You can update to a more recent version of GCC 4.3 from http://download.opensuse.org/repositories/devel://gcc/openSUSE_11.1 That repository will eventually pick up that fix. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com