public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/29948] New: G++ OOM's when compiling kmail
@ 2006-11-22 22:20 sjoerd-gcc at linuxonly dot nl
2006-11-22 22:24 ` [Bug c++/29948] " pinskia at gcc dot gnu dot org
` (3 more replies)
0 siblings, 4 replies; 5+ messages in thread
From: sjoerd-gcc at linuxonly dot nl @ 2006-11-22 22:20 UTC (permalink / raw)
To: gcc-bugs
When compiling kmail with Debian's dpkg-buildpackage, cc1plus is killed by the
kernel due to memory shortage. This shows when using either g++ 4.0 or 4.1.
Files (including .ii files) are on the following URL:
http://errors.linuxonly.nl/gcc/
G++ version:
g++-4.0 (GCC) 4.0.4 20060904 (prerelease) (Debian 4.0.3-7)
g++ (GCC) 4.1.2 20061028 (prerelease) (Debian 4.1.1-19)
System type: Linux sjord 2.6.15-1-amd64-k8 #2 Wed Jan 4 06:25:54 CET 2006
x86_64 GNU/Linux
Compiling file: libkmailprivate_la.all_cpp.cpp
--
Summary: G++ OOM's when compiling kmail
Product: gcc
Version: 4.1.2
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: sjoerd-gcc at linuxonly dot nl
GCC build triplet: x86_64-unknown-linux-gnu
GCC host triplet: x86_64-unknown-linux-gnu
GCC target triplet: x86_64-unknown-linux-gnu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29948
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug c++/29948] G++ OOM's when compiling kmail
2006-11-22 22:20 [Bug c++/29948] New: G++ OOM's when compiling kmail sjoerd-gcc at linuxonly dot nl
@ 2006-11-22 22:24 ` pinskia at gcc dot gnu dot org
2006-11-22 22:27 ` sjoerd-gcc at linuxonly dot nl
` (2 subsequent siblings)
3 siblings, 0 replies; 5+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-11-22 22:24 UTC (permalink / raw)
To: gcc-bugs
------- Comment #1 from pinskia at gcc dot gnu dot org 2006-11-22 22:24 -------
Can you report what options you are using to compile?
Actually just copy and paste the exact command that is running out of memory.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29948
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug c++/29948] G++ OOM's when compiling kmail
2006-11-22 22:20 [Bug c++/29948] New: G++ OOM's when compiling kmail sjoerd-gcc at linuxonly dot nl
2006-11-22 22:24 ` [Bug c++/29948] " pinskia at gcc dot gnu dot org
@ 2006-11-22 22:27 ` sjoerd-gcc at linuxonly dot nl
2007-01-29 21:59 ` n dot escuder at intra-links dot com
2007-02-05 21:12 ` sliedes at cc dot hut dot fi
3 siblings, 0 replies; 5+ messages in thread
From: sjoerd-gcc at linuxonly dot nl @ 2006-11-22 22:27 UTC (permalink / raw)
To: gcc-bugs
------- Comment #2 from sjoerd-gcc at linuxonly dot nl 2006-11-22 22:27 -------
Command line:
g++ -save-temps -DHAVE_CONFIG_H -I.
-I/home/sjoerd0/dev/dist/bla/kdepim-3.5.5.dfsg.1/./kmail -I..
-I/home/sjoerd0/dev/dist/bla/kdepim-3.5.5.dfsg.1/./libkmime
-I/home/sjoerd0/dev/dist/bla/kdepim-3.5.5.dfsg.1/./libkpgp
-I/home/sjoerd0/dev/dist/bla/kdepim-3.5.5.dfsg.1/./libkdenetwork
-I/home/sjoerd0/dev/dist/bla/kdepim-3.5.5.dfsg.1/./libkdepim
-I/home/sjoerd0/dev/dist/bla/kdepim-3.5.5.dfsg.1/./libkpimidentities
-I/home/sjoerd0/dev/dist/bla/kdepim-3.5.5.dfsg.1/./libemailfunctions
-I/home/sjoerd0/dev/dist/bla/kdepim-3.5.5.dfsg.1/./libksieve
-I/home/sjoerd0/dev/dist/bla/kdepim-3.5.5.dfsg.1/./mimelib
-I/home/sjoerd0/dev/dist/bla/kdepim-3.5.5.dfsg.1/./certmanager/lib
-I/home/sjoerd0/dev/dist/bla/kdepim-3.5.5.dfsg.1/./certmanager/lib/ui
-I/home/sjoerd0/dev/dist/bla/kdepim-3.5.5.dfsg.1/./indexlib
-I/home/sjoerd0/dev/dist/bla/kdepim-3.5.5.dfsg.1/.
-I/home/sjoerd0/dev/dist/bla/kdepim-3.5.5.dfsg.1/./libkdepim -I/usr/include/kde
-I/usr/share/qt3/include -I. -DQT_THREAD_SUPPORT -D_REENTRANT -Wno-long-long
-Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion
-Wchar-subscripts -Wall -W -Wpointer-arith -DNDEBUG -DNO_DEBUG -O2 -g -Wall -O2
-Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor
-fno-exceptions -fno-check-new -fno-common -DQT_CLEAN_NAMESPACE
-DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -c
libkmailprivate_la.all_cpp.cpp -fPIC -DPIC -o
.libs/libkmailprivate_la.all_cpp.o
Which originates from a libtool command:
/bin/bash ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I.
-I/home/sjoerd0/dev/dist/bla/kdepim-3.5.5.dfsg.1/./kmail -I..
-I/home/sjoerd0/dev/dist/bla/kdepim-3.5.5.dfsg.1/./libkmime
-I/home/sjoerd0/dev/dist/bla/kdepim-3.5.5.dfsg.1/./libkpgp
-I/home/sjoerd0/dev/dist/bla/kdepim-3.5.5.dfsg.1/./libkdenetwork
-I/home/sjoerd0/dev/dist/bla/kdepim-3.5.5.dfsg.1/./libkdepim
-I/home/sjoerd0/dev/dist/bla/kdepim-3.5.5.dfsg.1/./libkpimidentities
-I/home/sjoerd0/dev/dist/bla/kdepim-3.5.5.dfsg.1/./libemailfunctions
-I/home/sjoerd0/dev/dist/bla/kdepim-3.5.5.dfsg.1/./libksieve
-I/home/sjoerd0/dev/dist/bla/kdepim-3.5.5.dfsg.1/./mimelib
-I/home/sjoerd0/dev/dist/bla/kdepim-3.5.5.dfsg.1/./certmanager/lib
-I/home/sjoerd0/dev/dist/bla/kdepim-3.5.5.dfsg.1/./certmanager/lib/ui
-I/home/sjoerd0/dev/dist/bla/kdepim-3.5.5.dfsg.1/./indexlib
-I/home/sjoerd0/dev/dist/bla/kdepim-3.5.5.dfsg.1/.
-I/home/sjoerd0/dev/dist/bla/kdepim-3.5.5.dfsg.1/./libkdepim -I/usr/include/kde
-I/usr/share/qt3/include -I. -DQT_THREAD_SUPPORT -D_REENTRANT
-Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align
-Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -DNDEBUG -DNO_DEBUG -O2
-g -Wall -O2 -Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor
-fno-exceptions -fno-check-new -fno-common -DQT_CLEAN_NAMESPACE
-DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -c -o
libkmailprivate_la.all_cpp.lo libkmailprivate_la.all_cpp.cpp
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29948
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug c++/29948] G++ OOM's when compiling kmail
2006-11-22 22:20 [Bug c++/29948] New: G++ OOM's when compiling kmail sjoerd-gcc at linuxonly dot nl
2006-11-22 22:24 ` [Bug c++/29948] " pinskia at gcc dot gnu dot org
2006-11-22 22:27 ` sjoerd-gcc at linuxonly dot nl
@ 2007-01-29 21:59 ` n dot escuder at intra-links dot com
2007-02-05 21:12 ` sliedes at cc dot hut dot fi
3 siblings, 0 replies; 5+ messages in thread
From: n dot escuder at intra-links dot com @ 2007-01-29 21:59 UTC (permalink / raw)
To: gcc-bugs
------- Comment #3 from n dot escuder at intra-links dot com 2007-01-29 21:58 -------
I have the same problems too on an x86_64-unknown-linux-gnu.
No distrib it's build from stratch.
Using built-in specs.
Target: x86_64-unknown-linux-gnu
Configured with: ../gcc-4.1.1/configure --prefix=/opt/gcc --enable-static
--enable-shared --enable-threads --with-slibdir=/lib --enable-__cxa_atexit
--enable-clocale=gnu -enable-languages=c,c++ --disable-multilib
Thread model: posix
gcc version 4.1.2 20070129 (prerelease)
g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../libkmime -I../libkpgp -I../libkdenetwork
-I../libkdepim -I../libkpimidentities -I../libemailfunctions -I../libksieve
-I../mimelib -I../certmanager/lib -I../certmanager/lib/ui -I../indexlib -I..
-I../libkdenetwork/libgpgme-copy/gpgme -I../libkdenetwork/libgpg-error-copy
-I../libkdenetwork/libgpg-error-copy -I../libkdepim -I/opt/kde/include
-I/usr/lib/qt-3.3.7//include -I/usr/X11R6/include -DQT_THREAD_SUPPORT
-D_REENTRANT -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE
-Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -DNDEBUG
-DNO_DEBUG -O2 -Wformat-security -Wmissing-format-attribute
-Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common
-DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT
-DQT_NO_TRANSLATION -MT libkmailprivate_la.all_cpp.lo -MD -MP -MF
".deps/libkmailprivate_la.all_cpp.Tpo" -c -o libkmailprivate_la.all_cpp.lo
libkmailprivate_la.all_cpp.cpp
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29948
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug c++/29948] G++ OOM's when compiling kmail
2006-11-22 22:20 [Bug c++/29948] New: G++ OOM's when compiling kmail sjoerd-gcc at linuxonly dot nl
` (2 preceding siblings ...)
2007-01-29 21:59 ` n dot escuder at intra-links dot com
@ 2007-02-05 21:12 ` sliedes at cc dot hut dot fi
3 siblings, 0 replies; 5+ messages in thread
From: sliedes at cc dot hut dot fi @ 2007-02-05 21:12 UTC (permalink / raw)
To: gcc-bugs
------- Comment #4 from sliedes at cc dot hut dot fi 2007-02-05 21:11 -------
It does compile (with gcc 4.1.1-15 in Debian amd64), but cc1 eats ~ 1 GiB of
memory.
--
sliedes at cc dot hut dot fi changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |sliedes at cc dot hut dot fi
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29948
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2007-02-05 21:12 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-11-22 22:20 [Bug c++/29948] New: G++ OOM's when compiling kmail sjoerd-gcc at linuxonly dot nl
2006-11-22 22:24 ` [Bug c++/29948] " pinskia at gcc dot gnu dot org
2006-11-22 22:27 ` sjoerd-gcc at linuxonly dot nl
2007-01-29 21:59 ` n dot escuder at intra-links dot com
2007-02-05 21:12 ` sliedes at cc dot hut dot fi
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).