public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/44944]  New: g++ segfault with -fvisibility-inlines-hidden -O2 -fno-exceptions
@ 2010-07-15  5:10 graham dot gower at gmail dot com
  2010-07-15  5:12 ` [Bug c++/44944] " graham dot gower at gmail dot com
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: graham dot gower at gmail dot com @ 2010-07-15  5:10 UTC (permalink / raw)
  To: gcc-bugs

Using gcc-4.5 (r162000) to build webkit, cc1plus slowly exhausted all my memory
(6gb + 6gb swap) and was OOM killed. Compiling the preprocessed file reduced
the problem to a quick (5 second) segfault.


-- 
           Summary: g++ segfault with -fvisibility-inlines-hidden -O2 -fno-
                    exceptions
           Product: gcc
           Version: 4.5.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: graham dot gower at gmail dot com
 GCC build triplet: x86_64-linux
  GCC host triplet: x86_64-linux
GCC target triplet: mipsel-oe-linux


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


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

* [Bug c++/44944] g++ segfault with -fvisibility-inlines-hidden -O2 -fno-exceptions
  2010-07-15  5:10 [Bug c++/44944] New: g++ segfault with -fvisibility-inlines-hidden -O2 -fno-exceptions graham dot gower at gmail dot com
@ 2010-07-15  5:12 ` graham dot gower at gmail dot com
  2010-07-15  5:13 ` [Bug c++/44944] g++ segfault with -fvisibility-inlines-hidden -O2 -fno-exceptions -fPIC graham dot gower at gmail dot com
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: graham dot gower at gmail dot com @ 2010-07-15  5:12 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from graham dot gower at gmail dot com  2010-07-15 05:12 -------
Created an attachment (id=21207)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=21207&action=view)
preprocessed file from webkit


-- 


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


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

* [Bug c++/44944] g++ segfault with -fvisibility-inlines-hidden -O2 -fno-exceptions -fPIC
  2010-07-15  5:10 [Bug c++/44944] New: g++ segfault with -fvisibility-inlines-hidden -O2 -fno-exceptions graham dot gower at gmail dot com
  2010-07-15  5:12 ` [Bug c++/44944] " graham dot gower at gmail dot com
@ 2010-07-15  5:13 ` graham dot gower at gmail dot com
  2010-07-15  8:01 ` [Bug target/44944] " rguenth at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: graham dot gower at gmail dot com @ 2010-07-15  5:13 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from graham dot gower at gmail dot com  2010-07-15 05:13 -------
grg@eye7:/tmp$ ~/oe2/tmp/cross/mipsel/bin/mipsel-oe-linux-g++ -c FrameLoader.ii
-fvisibility-inlines-hidden -O2 -fno-exceptions -fPIC
mipsel-oe-linux-g++: Internal error: Segmentation fault (program cc1plus)
Please submit a full bug report.
See <http://gcc.gnu.org/bugs.html> for instructions.


-- 

graham dot gower at gmail dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|g++ segfault with -         |g++ segfault with -
                   |fvisibility-inlines-hidden -|fvisibility-inlines-hidden -
                   |O2 -fno-exceptions          |O2 -fno-exceptions -fPIC


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


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

* [Bug target/44944] g++ segfault with -fvisibility-inlines-hidden -O2 -fno-exceptions -fPIC
  2010-07-15  5:10 [Bug c++/44944] New: g++ segfault with -fvisibility-inlines-hidden -O2 -fno-exceptions graham dot gower at gmail dot com
  2010-07-15  5:12 ` [Bug c++/44944] " graham dot gower at gmail dot com
  2010-07-15  5:13 ` [Bug c++/44944] g++ segfault with -fvisibility-inlines-hidden -O2 -fno-exceptions -fPIC graham dot gower at gmail dot com
@ 2010-07-15  8:01 ` rguenth at gcc dot gnu dot org
  2010-07-15  8:04 ` graham dot gower at gmail dot com
  2010-07-16  2:11 ` graham dot gower at gmail dot com
  4 siblings, 0 replies; 6+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2010-07-15  8:01 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from rguenth at gcc dot gnu dot org  2010-07-15 08:00 -------
Works on x86_64 with -m32.  Does the testcase work with GCC 4.4?  Does it work
with the 4.5.0 release?


-- 

rguenth at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|c++                         |target


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


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

* [Bug target/44944] g++ segfault with -fvisibility-inlines-hidden -O2 -fno-exceptions -fPIC
  2010-07-15  5:10 [Bug c++/44944] New: g++ segfault with -fvisibility-inlines-hidden -O2 -fno-exceptions graham dot gower at gmail dot com
                   ` (2 preceding siblings ...)
  2010-07-15  8:01 ` [Bug target/44944] " rguenth at gcc dot gnu dot org
@ 2010-07-15  8:04 ` graham dot gower at gmail dot com
  2010-07-16  2:11 ` graham dot gower at gmail dot com
  4 siblings, 0 replies; 6+ messages in thread
From: graham dot gower at gmail dot com @ 2010-07-15  8:04 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #4 from graham dot gower at gmail dot com  2010-07-15 08:03 -------
Works with 4.4.4. I can check 4.5 release tomorrow.


-- 


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


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

* [Bug target/44944] g++ segfault with -fvisibility-inlines-hidden -O2 -fno-exceptions -fPIC
  2010-07-15  5:10 [Bug c++/44944] New: g++ segfault with -fvisibility-inlines-hidden -O2 -fno-exceptions graham dot gower at gmail dot com
                   ` (3 preceding siblings ...)
  2010-07-15  8:04 ` graham dot gower at gmail dot com
@ 2010-07-16  2:11 ` graham dot gower at gmail dot com
  4 siblings, 0 replies; 6+ messages in thread
From: graham dot gower at gmail dot com @ 2010-07-16  2:11 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #5 from graham dot gower at gmail dot com  2010-07-16 02:10 -------
4.5 release has the same problem.


-- 


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


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

end of thread, other threads:[~2010-07-16  2:11 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-07-15  5:10 [Bug c++/44944] New: g++ segfault with -fvisibility-inlines-hidden -O2 -fno-exceptions graham dot gower at gmail dot com
2010-07-15  5:12 ` [Bug c++/44944] " graham dot gower at gmail dot com
2010-07-15  5:13 ` [Bug c++/44944] g++ segfault with -fvisibility-inlines-hidden -O2 -fno-exceptions -fPIC graham dot gower at gmail dot com
2010-07-15  8:01 ` [Bug target/44944] " rguenth at gcc dot gnu dot org
2010-07-15  8:04 ` graham dot gower at gmail dot com
2010-07-16  2:11 ` graham dot gower at gmail 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).