Summary: | I can't compile kdebase, gcc somehow segfaults. | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Nir Peled <adslfixtalnir> |
Component: | [OLD] GCC Porting | Assignee: | Martin Schlemmer (RETIRED) <azarah> |
Status: | RESOLVED DUPLICATE | ||
Severity: | critical | CC: | kde |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | x86 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Nir Peled
2003-04-24 23:22:06 UTC
Problems of gcc segfaulting could be because of multiple reasons. 1) Run memtest86 with all tests and all addresses switched on (in config) 2) Check that you have at least 250mb of swap, especially when you have less then 128mb of ram. 3) Check for enough disk space. 4) Check that you do not overclock, or that cpu do not overheat. Also please include the output of 'emerge info' First of all. Thanks for the reply. 1) I did run memtest86. 2) total used free shared buffers cached Mem: 385012 236644 148368 0 43852 105640 -/+ buffers/cache: 87152 297860 Swap: 489940 0 489940 3) see 2. :) 4) No, I replaced my fan a month ago and everything is fine. No one seems to know how to fix that. Anyways... here's my emerge info: System uname: 2.4.20 i686 Pentium III (Coppermine) GENTOO_MIRRORS="http://www.mirror.ac.uk/sites/www.ibiblio.org/gentoo/ http://gentoo.oregonstate.edu/ http://www.ibiblio.org/pub/Linux/distributions/gentoo" CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config /usr/kde/3/share/config /var/bind /usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config /usr/share/config" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" PORTDIR="/usr/portage" DISTDIR="/usr/portage/distfiles" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR_OVERLAY="" USE="x86 oss 3dnow apm avi cups jpeg libg++ mikmod mmx mpeg ncurses nls pdflib png quicktime spell truetype xml2 xv zlib gdbm berkdb slang readline svga tcltk java guile sdl gpm tcpd pam libwww perl python esd imlib oggvorbis qt motif opengl mozilla cdr X arts ssl crypt kde encode ethereal flash gd gif gnome gtk xmms ipv6 voodoo3 -xlm" COMPILER="gcc3" CHOST="i686-pc-linux-gnu" CFLAGS="-O3 -march=pentium3 -pipe" CXXFLAGS="-O3 -march=pentium3 -pipe" ACCEPT_KEYWORDS="x86 ~x86" MAKEOPTS="-j2" AUTOCLEAN="yes" SYNC="rsync://rsync.gentoo.org/gentoo-portage" FEATURES="sandbox ccache" When the build fails, go back to the directory where it's being built and reproduce the last command that failed, except add "-save-temps" to the gcc command set. That will generate a pre-processed .i or .ii file. Post that here along with the complete command line and your CFLAGS. Other people can then use that to see if it is easily reproducible. If so, it's a compiler bug and you can go move the bug to gcc. If not, the problem is on your end somewhere. |