View previous topic :: View next topic |
Author |
Message |
spiryt n00b
Joined: 22 Feb 2004 Posts: 45
|
Posted: Fri May 13, 2005 4:48 pm Post subject: Strange compilation issues - processes stop with no errors |
|
|
I've got some strange issues when compiling (usualy) big packages like firefox etc. The compilation process stops, just
sits there for hous doing nothing and I have to ctrl+c'it. Strangely, very ofter after restarting the compilation(with or without ccache enabled) the compilation finishes fine. I have run a memtest on my machine fo 2 days non-stop and no errors were found.
below is my emerge --info
Code: |
Gentoo Base System version 1.4.16
Portage 2.0.51.19 (default-linux/x86/2005.0, gcc-3.4.3-20050110, glibc-2.3.4.20041102-r1, 2.6.11-cko5-ck7 i686)
=================================================================
System uname: 2.6.11-cko5-ck7 i686 AMD Athlon(tm) XP 2000+
Python: dev-lang/python-2.3.5 [2.3.5 (#1, Apr 29 2005, 09:51:30)]
ccache version 2.3 [enabled]
dev-lang/python: 2.3.5
sys-apps/sandbox: [Not Present]
sys-devel/autoconf: 2.59-r6, 2.13
sys-devel/automake: 1.7.9-r1, 1.8.5-r3, 1.5, 1.4_p6, 1.6.3, 1.9.5
sys-devel/binutils: 2.15.92.0.2-r7
sys-devel/libtool: 1.5.16
virtual/os-headers: 2.6.11
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-march=athlon-xp -O2 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /var/qmail/alias /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=athlon-xp -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://trumpetti.atm.tut.fi/gentoo//http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror// \
http://ftp.uni-erlangen.de/pub/mirrors/gentoo/http://ftp6.uni-erlangen.de/pub/mirrors/gentoo/http://mirrors.sec.informatik.tu-darmstadt.de/gentoo// \
http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo//http://pandemonium.tiscali.de/pub/gentoo//http://ftp.rhnet.is/pub/gentoo// \
http://ftp.heanet.ie/pub/gentoo//http://ftp.easynet.nl/mirror/gentoo//http://ftp.snt.utwente.nl/pub/os/linux/gentoo/ \
http://vlaai.snt.ipv6.utwente.nl/pub/os/linux/gentoo//http://mirror.gentoo.no//http://ftp.du.se/pub/os/gentoo/ \
http://ds.thn.htu.se/linux/gentoo/http://mirror.pudas.net/gentoo/http://mirror.switch.ch/ftp/mirror/gentoo// \
http://gentoo.mirror.solnet.ch/ftp://mirrors.blueyonder.co.uk/mirrors/gentoo/http://www.mirrorservice.org/sites/www.ibiblio.org/gentoo/"
LANG="pl_PL.ISO_8859-2"
LC_ALL="pl_PL"
LDFLAGS="-Wl,-O1"
LINGUAS="pl"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage /usr/local/trunk"
SYNC="rsync://rsync.uk.gentoo.org/gentoo-portage/"
USE="x86 3dnow X a52 aalib acpi alsa apm arts artswrappersuid audiofile avi berkdb bitmap-fonts cddb cdparanoia cdr crypt cups curl directfb divx4linux doc dv dvd dvdr dvdread eds emboss encode esd faad fam fame flac fmod foomaticdb fortran fpx gb gd gdbm ggi gif gnome gphoto2 gpm graphviz gstreamer gtk gtk2 guile imagemagick imap imlib jabber jack java jbig jikes jpeg jpeg2k jpg kde kdeenablefinal ladcca ladspa lcms libg++ libwww lirc mad maildir matroska mikmod mjpeg mmx mng motif mozilla mp3 mpeg mpi mysql nas ncurses nls nptl nptlonly odbc ogg oggvorbis openexr opengl oss pam pda pdflib perl png psyco pthreads python qt quicktime readline samba sane scanner sdl slang speex spell sqlite sse ssl tcltk tcpd tetex theora tiff truetype truetype-fonts type1-fonts unicode usb v4l v4l2 vorbis wmf xine xinerama xml xml2 xmms xosd xv xvid zlib linguas_pl userland_GNU kernel_linux elibc_glibc"
Unset: ASFLAGS, CBUILD, CTARGET |
Any ideas ? |
|
Back to top |
|
|
salfter Tux's lil' helper
Joined: 02 Jan 2003 Posts: 89
|
Posted: Tue Jul 12, 2005 3:59 pm Post subject: |
|
|
robmoss wrote: | Recompilation of glibc is not necessarily required, but it is recommended. It was compiled using a more buggy compiler than the one you have installed; as such, it is an absolute false economy not to recompile it. Personally, after every update of a particularly important package (kernel headers, glibc, gcc, binutils, kernel etc. etc.) I do the following:
Code: | emerge -e system
emerge -e system
emerge -e world
emerge -e world |
The first command ensures my toolchain is in order; the second ensures it's been compiled with a clean and current toolchain; the third recompiles all my packages with a clean and current toolchain; the fourth ensures that all my packages are compiled against packages compiled with a clean and current toolchain. |
Given that system is a subset of world, you end up emerging the components in system a total of four times. With large packages such as gcc and glibc in there that can't be distcc'd, it would seem you have a bunch of unnecessarily-duplicated work. Maybe something like this would work better:
Code: | emerge -ep system | grep "\[ebuild" | sed "s/.*] /=/" >system-ebuilds
emerge -ep world | grep "\[ebuild" | sed "s/.*] /=/" >world-ebuilds
cp world-ebuilds app-ebuilds; for i in `cat system-ebuilds`; do grep -v $i app-ebuilds >tmp-ebuilds; mv tmp-ebuilds app-ebuilds; done; cat system-ebuilds app-ebuilds >world-ebuilds
emerge --nodeps `cat system-ebuilds`
emerge --nodeps `cat world-ebuilds`
emerge --nodeps `cat app-ebuilds` |
The first line builds up a list of system ebuilds. The second builds up a list of world ebuilds. The third subtracts the system ebuilds from the world ebuilds to build a list of non-system ebuilds ("app-ebuilds"), then concatenates the system and non-system ebuilds to form a revised world ebuilds list. After that, everything gets rebuilt twice: system ebuilds twice, then non-system ebuilds twice. |
|
Back to top |
|
|
salfter Tux's lil' helper
Joined: 02 Jan 2003 Posts: 89
|
Posted: Tue Jul 12, 2005 4:03 pm Post subject: Re: Strange compilation issues - processes stop with no erro |
|
|
spiryt wrote: | I've got some strange issues when compiling (usualy) big packages like firefox etc. The compilation process stops, just
sits there for hous doing nothing and I have to ctrl+c'it. Strangely, very ofter after restarting the compilation(with or without ccache enabled) the compilation finishes fine. I have run a memtest on my machine fo 2 days non-stop and no errors were found.
Code: |
GENTOO_MIRRORS="http://trumpetti.atm.tut.fi/gentoo//http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror//[...]
|
Any ideas ? |
With no whitespace in your GENTOO_MIRRORS, I'm surprised that anything would build properly. Looks like the Gentoo Forums need some protection against page-widening posts. |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|