This sure sounds like a hardware problem.Annirak wrote:When I tried to do a stage 1 install, gcc segfaulted every time I tried. So I backed up to a stage 3 install, and managed to get my OS installed.
...
I emerged atanks, and ran it in xfce4, but it segfaults too much to make it really playable.
Code: Select all
Gentoo Base System version 1.6.12
Portage 2.0.51.22-r3 (default-linux/amd64/2005.1, gcc-3.4.3, glibc-2.3.5-r0, 2.6.12-gentoo-r6 x86_64)
=================================================================
System uname: 2.6.12-gentoo-r6 x86_64 AMD Athlon(tm) 64 X2 Dual Core Processor 4400+
dev-lang/python: 2.3.5
sys-apps/sandbox: 1.2.11
sys-devel/autoconf: 2.13, 2.59-r6
sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.5
sys-devel/binutils: 2.15.92.0.2-r10
sys-devel/libtool: 1.5.18-r1
virtual/os-headers: 2.6.11-r2
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O3 -march=k8 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/X1 /usr/lib64/mozilla/defaults/pref /usr/share/config /var/qmail/control 1/xkb"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O3 -march=k8 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j16"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="amd64 X alsa audiofile avi berkdb bitmap-fonts bzip2 crypt cups eds emboss encode esd exif expat fam foomaticdb fortran gif glut gnome gpm gstreamer gtk gtk2 imlib ipv6 jpeg kde lcms lzw lzw-tiff mng mozilla mp3 mpeg ncurses nls opengl pam pcre pdflib perl png python qt quicktime readline sdl spell ssl tcpd tiff truetype truetype-fonts type1-fonts udev usb userlocales xml2 xpm xv zlib userland_GNU kernel_linux elibc_glibc"
Unset: ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAYjesus christ, how did i not see that?limn wrote:You might consider reducing:MAKEOPTS="-j16"
system performance or compile time?Annirak wrote:I only posted it in "installing" because I don't consider that I've finished installing yet, but if this forum fits it better, so be it.
It was originally set to -j3, but I saw the same problems. The -j16 provides a very significant boost in compiling performance on my X2. Someone I know with an FX-55 has seen massive performance increases with -j32.
Code: Select all
$ dd if=/dev/null of=/swap.file count=4M
$ swap -a /swap.file 0 4194304 make that:Annirak wrote:Code: Select all
$ dd if=/dev/null of=/swap.file count=4M $ swap -a /swap.file 0 4194304
Code: Select all
$ dd if=/dev/zero of=/swap.file bs=1M count=2048
$ mkswap /swap.file
$ swapon /swap.filedepends how much ram you have. what does cat /proc/meminfo say?Annirak wrote:I have not been using a swap partition. Is it possible that it's a question of needing swap?
Code: Select all
>>> emerge (1 of 34) media-plugins/gst-plugins-ffmpeg-0.8.4 to /Code: Select all
# These settings were set by the catalyst build script that automatically built this stage
# Please consult /etc/make.conf.example for a more detailed example
CFLAGS="-O3 -march=k8 -pipe"
CHOST="x86_64-pc-linux-gnu"
CXXFLAGS="${CFLAGS}"
# MAKEOPTS="-j16"Code: Select all
MemTotal: 1023476 kB
MemFree: 570676 kB
Buffers: 78096 kB
Cached: 191048 kB
SwapCached: 0 kB
Active: 237616 kB
Inactive: 95028 kB
HighTotal: 0 kB
HighFree: 0 kB
LowTotal: 1023476 kB
LowFree: 570676 kB
SwapTotal: 2097144 kB
SwapFree: 2097144 kB
Dirty: 276 kB
Writeback: 0 kB
Mapped: 91720 kB
Slab: 89280 kB
CommitLimit: 2608880 kB
Committed_AS: 85708 kB
PageTables: 2052 kB
VmallocTotal: 34359738367 kB
VmallocUsed: 145980 kB
VmallocChunk: 34359592227 kB
HugePages_Total: 0
HugePages_Free: 0
Hugepagesize: 2048 kBcokehabit is right about the -j option. In general, I use -j2 on dual processor systems and -j4 on dual processor dual core systems without any issue. These are nice options to have for large compiles because it can really save you some time. However, if you do more than that, you are really not doing yourself any favors.Annirak wrote:masseya: I'll try dropping the -j argument entirely, and see what happens.