Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
errore di compilazione qt [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
Trifaux666
Tux's lil' helper
Tux's lil' helper


Joined: 21 Sep 2003
Posts: 112
Location: Italia - Roma

PostPosted: Fri Jun 17, 2005 9:17 am    Post subject: errore di compilazione qt [risolto] Reply with quote

salve a tutti. Dopo un lungo periodo, ho installato di nuovo la gentoo, stavolta la 2005.0 , partendo dallo stage 3; tutto è andato bene.

Però ora alcuni programmi danno degli strani errori di compilazione dei programmi o delle loro dipendenze: alcuni vengono risolti semplicemente emergiando da solo il pacchetto

premesso che questo è il mio make.conf:
Code:
# 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=athlon-xp -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
CXXFLAGS="${CFLAGS}"
MAKEOPTS="-j2"
USE="X aac aalib acl acpi alsa audiofile avi bluetooth bonobo bzip2 cdb cdparanoia cdr cups dga directfb divx4linux doc dv dvb dvd dvdr dvdread emacs encode evo ffmpeg flac ftp gif gnome gtk gtk2 gtkhtml icq imagemagick jpeg kde kdeenablefinal mozilla mp3 mpeg msn mysql mysqli -pcmcia pdflib php png samba usb win32codecs xine xinerama xmms xvid x86 zlib"


quando faccio
Code:
 emerge qt


mi sputa sempre fuori questo output:

Code:
g++ -c -pipe -I/usr/include/mysql -fno-exceptions -Wall -W -march=athlon-xp -pipe -O2 -D_REENTRANT -fPIC -DQT_SHARED -DQT_TABLET_SUPPORT -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -DQT_THREAD_SUPPORT -D_LARGEFILE_SOURCE -D_LARGE_FILES -D_FILE_OFFSET_BITS=64 -DQT_DLOPEN_OPENGL -DQT_BUILTIN_GIF_READER=1 -DQT_NO_STYLE_MAC -DQT_NO_STYLE_AQUA -DQT_NO_STYLE_INTERLACE -DQT_NO_STYLE_WINDOWSXP -DQT_NO_STYLE_COMPACT -DQT_NO_STYLE_POCKETPC -I/var/tmp/portage/qt-3.3.4-r3/work/qt-x11-free-3.3.4/mkspecs/linux-g++ -I. -I/usr/include/freetype2 -I3rdparty/opentype -I../include -I/usr/include -I.moc/release-shared-mt/ -o .obj/release-shared-mt/qrichtext_p.o kernel/qrichtext_p.cpp

kernel/qrichtext.cpp: In member function `void
   QTextDocument::setRichTextInternal(const QString&, QTextCursor*)':
kernel/qrichtext.cpp:2070: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://bugs.gentoo.org/> for instructions.
g++ -c -pipe -I/usr/include/mysql -fno-exceptions -Wall -W -march=athlon-xp -pipe -O2 -D_REENTRANT -fPIC -DQT_SHARED -DQT_TABLET_SUPPORT -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -DQT_THREAD_SUPPORT -D_LARGEFILE_SOURCE -D_LARGE_FILES -D_FILE_OFFSET_BITS=64 -DQT_DLOPEN_OPENGL -DQT_BUILTIN_GIF_READER=1 -DQT_NO_STYLE_MAC -DQT_NO_STYLE_AQUA -DQT_NO_STYLE_INTERLACE -DQT_NO_STYLE_WINDOWSXP -DQT_NO_STYLE_COMPACT -DQT_NO_STYLE_POCKETPC -I/var/tmp/portage/qt-3.3.4-r3/work/qt-x11-free-3.3.4/mkspecs/linux-g++ -I. -I/usr/include/freetype2 -I3rdparty/opentype -I../include -I/usr/include -I.moc/release-shared-mt/ -o .obj/release-shared-mt/qgplugin.o kernel/qgplugin.cpp
poi altro codice di compilazione (poche ighe) e dopo:

Code:
g++ -c -pipe -I/usr/include/mysql -fno-exceptions -Wall -W -march=athlon-xp -pipe -O2 -D_REENTRANT -fPIC -DQT_SHARED -DQT_TABLET_SUPPORT -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -DQT_THREAD_SUPPORT -D_LARGEFILE_SOURCE -D_LARGE_FILES -D_FILE_OFFSET_BITS=64 -DQT_DLOPEN_OPENGL -DQT_BUILTIN_GIF_READER=1 -DQT_NO_STYLE_MAC -DQT_NO_STYLE_AQUA -DQT_NO_STYLE_INTERLACE -DQT_NO_STYLE_WINDOWSXP -DQT_NO_STYLE_COMPACT -DQT_NO_STYLE_POCKETPC -I/var/tmp/portage/qt-3.3.4-r3/work/qt-x11-free-3.3.4/mkspecs/linux-g++ -I. -I/usr/include/freetype2 -I3rdparty/opentype -I../include -I/usr/include -I.moc/release-shared-mt/ -o .obj/release-shared-mt/qdialogbuttons.o widgets/qdialogbuttons.cpp
The bug is not reproducible, so it is likely a hardware or OS problem.
make[1]: *** [.obj/release-shared-mt/qrichtext.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: Leaving directory `/var/tmp/portage/qt-3.3.4-r3/work/qt-x11-free-3.3.4/src'
make: *** [sub-src] Error 2

!!! ERROR: x11-libs/qt-3.3.4-r3 failed.
!!! Function src_compile, Line 153, Exitcode 2
!!! (no error message)
!!! If you need support, post the topmost build error, NOT this status message.


cosa posso fare per risolvere?


Last edited by Trifaux666 on Fri Jun 17, 2005 11:31 am; edited 1 time in total
Back to top
View user's profile Send private message
randomaze
Bodhisattva
Bodhisattva


Joined: 21 Oct 2003
Posts: 9985

PostPosted: Fri Jun 17, 2005 9:22 am    Post subject: Re: errore di compilazione qt Reply with quote

Trifaux666 wrote:
Però ora alcuni programmi danno degli strani errori di compilazione dei programmi o delle loro dipendenze: alcuni vengono risolti semplicemente emergiando da solo il pacchetto
...
kernel/qrichtext.cpp: In member function `void
QTextDocument::setRichTextInternal(const QString&, QTextCursor*)':
kernel/qrichtext.cpp:2070: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:https://bugs.gentoo.org/> for instructions.


Questo normalmente é un problema hardware. Non mi stupirebbe peraltro dato che le qt che in compilazione sono un bestione che si compila in un oretta in cui la CPU sta al 100%.

Direi di tenere sotto controllo le temperature del PC e di fare alcune prove con memtest per vedere se la memoria "funziona".
_________________
Ciao da me!
Back to top
View user's profile Send private message
Trifaux666
Tux's lil' helper
Tux's lil' helper


Joined: 21 Sep 2003
Posts: 112
Location: Italia - Roma

PostPosted: Fri Jun 17, 2005 9:25 am    Post subject: Reply with quote

si, e dimenticavo di dire che questo problema l'avevo già incontrato e mi avevano consigliato di cambiare l'opzione O in make.conf, ma non mi ricordo cosa dovevo metterci! adesso faccio delle prove e farò sapere; grazie del consiglio
Back to top
View user's profile Send private message
randomaze
Bodhisattva
Bodhisattva


Joined: 21 Oct 2003
Posts: 9985

PostPosted: Fri Jun 17, 2005 9:33 am    Post subject: Reply with quote

Trifaux666 wrote:
mi avevano consigliato di cambiare l'opzione O in make.conf


-O3 non mi sembra cattivissima, sopratutto se stai usando il gcc default (non masked). Se vuoi abbassare prova a mettere -O2
_________________
Ciao da me!
Back to top
View user's profile Send private message
Trifaux666
Tux's lil' helper
Tux's lil' helper


Joined: 21 Sep 2003
Posts: 112
Location: Italia - Roma

PostPosted: Fri Jun 17, 2005 11:31 am    Post subject: Reply with quote

ha funzionato, ma solo con -O0
Back to top
View user's profile Send private message
randomaze
Bodhisattva
Bodhisattva


Joined: 21 Oct 2003
Posts: 9985

PostPosted: Fri Jun 17, 2005 2:16 pm    Post subject: Reply with quote

Trifaux666 wrote:
ha funzionato, ma solo con -O0


Strano, che processore hai?
_________________
Ciao da me!
Back to top
View user's profile Send private message
Trifaux666
Tux's lil' helper
Tux's lil' helper


Joined: 21 Sep 2003
Posts: 112
Location: Italia - Roma

PostPosted: Fri Jun 17, 2005 6:12 pm    Post subject: Reply with quote

ho l'AMD Athlon XP 3000+
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 17, 2005 6:25 pm    Post subject: Reply with quote

Trifaux666 wrote:
ho l'AMD Athlon XP 3000+


Non mi convince molto questa cosa :?

Hai provato a vedere se hai qualche problema ad un banco di ram, magari usando memtest?
_________________
Registered as User #281564 and Machines #163761
Back to top
View user's profile Send private message
Trifaux666
Tux's lil' helper
Tux's lil' helper


Joined: 21 Sep 2003
Posts: 112
Location: Italia - Roma

PostPosted: Fri Jun 17, 2005 6:37 pm    Post subject: Reply with quote

non ho fatto verifiche con memtest ma lo farò al piu' presto e vi farò sapere
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