public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/58161] New: internal compiler error while compiling SemaDeclCXX.cpp
@ 2013-08-14 20:54 SebastiansPublicAddress at googlemail dot com
  2013-08-14 20:57 ` [Bug c++/58161] " SebastiansPublicAddress at googlemail dot com
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: SebastiansPublicAddress at googlemail dot com @ 2013-08-14 20:54 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 58161
           Summary: internal compiler error while compiling
                    SemaDeclCXX.cpp
           Product: gcc
           Version: 4.7.2
            Status: UNCONFIRMED
          Severity: blocker
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: SebastiansPublicAddress at googlemail dot com

I'm compiling on a raspberry pi (no cross compiling), so this may be caused by
insufficient memory. But gcc doesn't say so. It just says

g++-4.7: internal compiler error: Killed (program cc1plus)
Please submit a full bug report,
with preprocessed source if appropriate.
See <file:///usr/share/doc/gcc-4.7/README.Bugs> for instructions.

The full commandline:

g++-4.7 -I/home/pi/projects/llvm/llvm-3.3.build/include
-I/home/pi/projects/llvm/llvm-3.3.build/tools/clang/lib/Sema
-I/home/pi/projects/llvm/llvm-3.3.src/include
-I/home/pi/projects/llvm/llvm-3.3.src/tools/clang/lib/Sema  -D_DEBUG
-D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS
-D__STDC_LIMIT_MACROS
-I/home/pi/projects/llvm/llvm-3.3.src/tools/clang/lib/Sema/../../include
-I/home/pi/projects/llvm/llvm-3.3.build/tools/clang/lib/Sema/../../include -O3
-fomit-frame-pointer -fvisibility-inlines-hidden -fno-exceptions -fno-rtti
-fPIC -Woverloaded-virtual -Wcast-qual -fno-strict-aliasing    -pedantic
-Wno-long-long -Wall -W -Wno-unused-parameter -Wwrite-strings   
-Wno-maybe-uninitialized -Wno-missing-field-initializers -c -MMD -MP -MF
"/home/pi/projects/llvm/llvm-3.3.build/tools/clang/lib/Sema/Release+Asserts/SemaDeclCXX.d.tmp"
-MT
"/home/pi/projects/llvm/llvm-3.3.build/tools/clang/lib/Sema/Release+Asserts/SemaDeclCXX.o"
-MT
"/home/pi/projects/llvm/llvm-3.3.build/tools/clang/lib/Sema/Release+Asserts/SemaDeclCXX.d"
/home/pi/projects/llvm/llvm-3.3.src/tools/clang/lib/Sema/SemaDeclCXX.cpp -o
/home/pi/projects/llvm/llvm-3.3.build/tools/clang/lib/Sema/Release+Asserts/SemaDeclCXX.o

$ g++-4.7 -v
Using built-in specs.
COLLECT_GCC=g++-4.7
COLLECT_LTO_WRAPPER=/usr/lib/gcc/arm-linux-gnueabihf/4.7/lto-wrapper
Target: arm-linux-gnueabihf
Configured with: ../src/configure -v --with-pkgversion='Debian 4.7.2-5+rpi1'
--with-bugurl=file:///usr/share/doc/gcc-4.7/README.Bugs
--enable-languages=c,c++,go,fortran,objc,obj-c++ --prefix=/usr
--program-suffix=-4.7 --enable-shared --enable-linker-build-id
--with-system-zlib --libexecdir=/usr/lib --without-included-gettext
--enable-threads=posix --with-gxx-include-dir=/usr/include/c++/4.7
--libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu
--enable-libstdcxx-debug --enable-libstdcxx-time=yes --enable-gnu-unique-object
--disable-libitm --enable-plugin --enable-objc-gc --disable-sjlj-exceptions
--with-arch=armv6 --with-fpu=vfp --with-float=hard --enable-checking=release
--build=arm-linux-gnueabihf --host=arm-linux-gnueabihf
--target=arm-linux-gnueabihf
Thread model: posix
gcc version 4.7.2 (Debian 4.7.2-5+rpi1)


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

* [Bug c++/58161] internal compiler error while compiling SemaDeclCXX.cpp
  2013-08-14 20:54 [Bug c++/58161] New: internal compiler error while compiling SemaDeclCXX.cpp SebastiansPublicAddress at googlemail dot com
@ 2013-08-14 20:57 ` SebastiansPublicAddress at googlemail dot com
  2013-08-14 21:11 ` pinskia at gcc dot gnu.org
  2013-08-14 21:27 ` paolo.carlini at oracle dot com
  2 siblings, 0 replies; 4+ messages in thread
From: SebastiansPublicAddress at googlemail dot com @ 2013-08-14 20:57 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #1 from SebastiansPublicAddress at googlemail dot com ---
Created attachment 30658
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=30658&action=edit
preprocessed file compressed because of file size limit


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

* [Bug c++/58161] internal compiler error while compiling SemaDeclCXX.cpp
  2013-08-14 20:54 [Bug c++/58161] New: internal compiler error while compiling SemaDeclCXX.cpp SebastiansPublicAddress at googlemail dot com
  2013-08-14 20:57 ` [Bug c++/58161] " SebastiansPublicAddress at googlemail dot com
@ 2013-08-14 21:11 ` pinskia at gcc dot gnu.org
  2013-08-14 21:27 ` paolo.carlini at oracle dot com
  2 siblings, 0 replies; 4+ messages in thread
From: pinskia at gcc dot gnu.org @ 2013-08-14 21:11 UTC (permalink / raw)
  To: gcc-bugs

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

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|blocker                     |normal

--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
(In reply to SebastiansPublicAddress from comment #0)
> I'm compiling on a raspberry pi (no cross compiling), so this may be caused
> by insufficient memory. But gcc doesn't say so. It just says
> 
> g++-4.7: internal compiler error: Killed (program cc1plus)

That is because the kernel is killing cc1plus when it runs out of memory when a
mmap/malloc happens.  There is not much GCC can do when the kernel decides to
over commit memory to the application and then decides to kill it due to lack
of memory.


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

* [Bug c++/58161] internal compiler error while compiling SemaDeclCXX.cpp
  2013-08-14 20:54 [Bug c++/58161] New: internal compiler error while compiling SemaDeclCXX.cpp SebastiansPublicAddress at googlemail dot com
  2013-08-14 20:57 ` [Bug c++/58161] " SebastiansPublicAddress at googlemail dot com
  2013-08-14 21:11 ` pinskia at gcc dot gnu.org
@ 2013-08-14 21:27 ` paolo.carlini at oracle dot com
  2 siblings, 0 replies; 4+ messages in thread
From: paolo.carlini at oracle dot com @ 2013-08-14 21:27 UTC (permalink / raw)
  To: gcc-bugs

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

Paolo Carlini <paolo.carlini at oracle dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|---                         |INVALID

--- Comment #3 from Paolo Carlini <paolo.carlini at oracle dot com> ---
Closing.


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

end of thread, other threads:[~2013-08-14 21:27 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-08-14 20:54 [Bug c++/58161] New: internal compiler error while compiling SemaDeclCXX.cpp SebastiansPublicAddress at googlemail dot com
2013-08-14 20:57 ` [Bug c++/58161] " SebastiansPublicAddress at googlemail dot com
2013-08-14 21:11 ` pinskia at gcc dot gnu.org
2013-08-14 21:27 ` paolo.carlini at oracle 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).