Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
C compiler bloccato 100% cpu [Risolto]
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian)
View previous topic :: View next topic  
Author Message
Truzzone
Guru
Guru


Joined: 16 Oct 2003
Posts: 492
Location: Italy

PostPosted: Fri Jun 24, 2005 9:59 am    Post subject: C compiler bloccato 100% cpu [Risolto] Reply with quote

Oggi ho lanciato un:
Code:
emerge -uDv world

e si blocca a libtheora, provo ad emergere eject:
Code:
emerge -pv eject

These are the packages that I would merge, in order:

Calculating dependencies ...done!
[ebuild  N    ] sys-apps/eject-2.0.13-r1  +nls 0 kB

Total size of downloads: 0 kB

risultato:
Code:
>>> Checking eject-2.0.13.tar.gz's mtime...
>>> WORKDIR is up-to-date, keeping...
./configure --prefix=/usr --host=i686-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib
loading cache ./config.cache
checking for a BSD compatible install... /bin/install -c
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... yes
checking for working aclocal... found
checking for working autoconf... found
checking for working automake... found
checking for working autoheader... found
checking for working makeinfo... found
checking for gcc... gcc
checking whether the C compiler (gcc -mcpu=athlon-xp -march=athlon-xp -O3 -pipe -fomit-frame-pointer ) works...

si 'ferma' all'infinito qui con utilizzo cpu al massimo :(
Da quello che ricordo prima nell'emerge -uDv world ha aggiornato gcc-config:
Code:
gcc-config -l
[1] i686-pc-linux-gnu-3.3.5-20050130 *
[2] i686-pc-linux-gnu-3.3.5-20050130-hardened
[3] i686-pc-linux-gnu-3.3.5-20050130-hardenednopie
[4] i686-pc-linux-gnu-3.3.5-20050130-hardenednossp


Che cosa posso fare per sistemare il tutto e ripartire a compilare? :?:

Ciao by Truzzone :?


Last edited by Truzzone on Sun Jun 26, 2005 9:04 am; edited 1 time in total
Back to top
View user's profile Send private message
gutter
Bodhisattva
Bodhisattva


Joined: 13 Mar 2004
Posts: 7162
Location: Aarau, Aargau, Switzerland

PostPosted: Fri Jun 24, 2005 10:04 am    Post subject: Reply with quote

Posta un:

Code:
emerge info

_________________
Registered as User #281564 and Machines #163761
Back to top
View user's profile Send private message
Truzzone
Guru
Guru


Joined: 16 Oct 2003
Posts: 492
Location: Italy

PostPosted: Fri Jun 24, 2005 10:44 am    Post subject: Reply with quote

Ecco che cosa mi ero dimenticato di postare :oops:
Code:
emerge info
Portage 2.0.51.19 (default-linux/x86/2005.0, gcc-3.3.5-20050130, glibc-2.3.4.20041102-r1, 2.6.11-gentoo-r9 i686)
=================================================================
System uname: 2.6.11-gentoo-r9 i686 AMD Athlon(TM) MP 1500+
Gentoo Base System version 1.6.12
Python:              dev-lang/python-2.3.5 [2.3.5 (#1, Apr 28 2005, 14:34:53)]
i686-pc-linux-gnu-gcc (GCC) 3.3.5-20050130 (Gentoo Linux 3.3.5.20050130-r1, ssp-3.3.5.20050130-1, pie-8.7.7.1) [enabled]
dev-lang/python:     2.3.5
sys-apps/sandbox:    [Not Present]
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.5, 1.9.5, 1.8.5-r3, 1.6.3, 1.7.9-r1, 1.4_p6
sys-devel/binutils:  2.15.92.0.2-r10
sys-devel/libtool:   1.5.16
virtual/os-headers:  2.6.8.1-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-mcpu=athlon-xp -march=athlon-xp -O3 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-mcpu=athlon-xp -march=athlon-xp -O3 -pipe -fomit-frame-pointer"
DISTDIR="/storage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distcc distlocks fixpackages keeptemp keepwork sandbox sfperms strict"
GENTOO_MIRRORS="http://mirror.switch.ch/ftp/mirror/gentoo/"
LANG="it_IT@euro"
LC_ALL="it_IT@euro"
LINGUAS="it"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow X a52 aac aalib apache2 apm avi bash-completion berkdb bitmap-fonts bluetooth bzip2 caps crosscompile crypt curl dga directfb divx4linux dts dv dvd ecc emboss encode esd ethereal examples ffmpeg flac foomaticdb fortran fpx ftp gd gdbm gif gpm gps graphviz gstreamer gtk gtk2 idea imagemagick imap imlib ipv6 java javascript jpeg libcaca libclamav libg++ libwww live lm_sensors mad maildir mailwrapper matroska mbox md5sum mikmod mmx motif mozdevelop mozilla mozsvg mozxmlterm mp3 mpeg mysql ncurses nls oav odbc ogg oggvorbis openal opengl pam pdflib perl perlsuid php png python quicktime readline real remote ruby samba sdl server slang smartcard sndfile spell sse ssl stats svga tcltk tcpd tetex theora tiff truetype truetype-fonts type1-fonts unicode userlocales vcd vhosts videos vorbis wifi wmf wxwindows x86 xine xml2 xmms xv xvid zlib linguas_it userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CBUILD, CTARGET, LDFLAGS

Dato che ho postato l'emerge info dateci un'occhiata e ditemi se magari c'è qualcosa da sistemare :lol:

Ciao by Truzzone :(
Back to top
View user's profile Send private message
Truzzone
Guru
Guru


Joined: 16 Oct 2003
Posts: 492
Location: Italy

PostPosted: Fri Jun 24, 2005 6:53 pm    Post subject: Reply with quote

Ho riavviato ma niente sempre fermo al solito punto 'in pausa', top mi segna il processo:
Code:
12767 root      30   5  2196  804  640 R 77.9  0.2   0:21.03 i686-pc-linux-g

77.9% cpu, il massimo poichè avevo altri programmi aperti, che cosa devo fare? :?:

Ciao by Truzzone :(
Back to top
View user's profile Send private message
Gitanovic
Tux's lil' helper
Tux's lil' helper


Joined: 18 Feb 2004
Posts: 101
Location: Italy

PostPosted: Fri Jun 24, 2005 8:06 pm    Post subject: Reply with quote

Scusa se te lo chiedo... ma quante cpu hai sul tuo pc?

c'è un MAKEOPTS="-j3" che indica che hai 2 cpu
_________________
Gipsy
Back to top
View user's profile Send private message
Truzzone
Guru
Guru


Joined: 16 Oct 2003
Posts: 492
Location: Italy

PostPosted: Fri Jun 24, 2005 8:46 pm    Post subject: Reply with quote

Gitanovic wrote:
Scusa se te lo chiedo... ma quante cpu hai sul tuo pc?

Una CPU :o
Gitanovic wrote:

c'è un MAKEOPTS="-j3" che indica che hai 2 cpu

Utilizzo distcc :wink:

Ciao by Truzzone :)

PS: Non riesco ancora a compilare nessun pacchetto :cry:
Back to top
View user's profile Send private message
Truzzone
Guru
Guru


Joined: 16 Oct 2003
Posts: 492
Location: Italy

PostPosted: Sun Jun 26, 2005 9:03 am    Post subject: Reply with quote

Scoperto che cosa era: distcc-2.18.3-r8 aggiornato poco prima durante l'emerge -uDv world
Code:
 1456 pts/3    SN+    0:00 [libtheora-1.0_alpha4-r1] sandbox /usr/lib/portage/bin/ebuild.sh compile
 1457 pts/3    SN+    0:00 /bin/bash /usr/lib/portage/bin/ebuild.sh compile
 1481 pts/3    SN+    0:00 /bin/sh ./configure --prefix=/usr --host=i686-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datad
 1668 pts/3    SN+    0:00 /bin/sh ./config.guess
 1684 pts/3    RN+    0:08 /bin/sh /usr/lib/distcc/bin/i686-pc-linux-gnu-gcc -c -o /var/tmp/portage/libtheora-1.0_alpha4-r1/temp/cgj2SGEO/dummy

Downgradato a distcc-2.18.3-r7 e tutto è tornato normale :wink:

Ciao by Truzzone :)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian) All times are GMT
Page 1 of 1

 
Jump to:  
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