View previous topic :: View next topic |
Author |
Message |
Lorien n00b
Joined: 14 Feb 2005 Posts: 9
|
Posted: Sun Jul 31, 2005 12:55 pm Post subject: qt-3.3.4-r3 gives segmentation fault |
|
|
hi....
i have installed gentoo (2005.0) from stage 1. but if fails to compile qt and because of that i couldn't compile many other imp applcns.
so please help. also i have compiled the kernel with no use flags as anytime i gave a list of use flags it failed to compile. plz suggest a solution.
Code: |
>>> Source unpacked.
IBASE auto-detection...
Could not find libgds.* anywhere in /lib /usr/lib
IBASE disabled.
MySQL auto-detection...
Could not find libmysqlclient.* anywhere in /lib /usr/lib
MySQL disabled.
ODBC auto-detection...
Could not find libodbc.* anywhere in /lib /usr/lib
ODBC disabled.
PostgreSQL auto-detection...
Could not find libpq.* anywhere in /lib /usr/lib
PostgreSQL disabled.
NIS auto-detection... ()
Found nsl lib in /usr/lib
Found rpcsvc/ypclnt.h in /usr/include
Found rpcsvc/yp_prot.h in /usr/include
NIS enabled.
CUPS auto-detection... ()
Found cups lib in /usr/lib
Found cups/cups.h in /usr/include
CUPS enabled.
OpenGL auto-detection... ()
Found GLU lib in /usr/X11R6/lib
Found GL lib in /usr/X11R6/lib
Found Xmu lib in /usr/X11R6/lib
Found GL/gl.h in /usr/X11R6/include
Found GL/glu.h in /usr/X11R6/include
OpenGL enabled.
Xcursor auto-detection... ()
Found Xcursor lib in /usr/X11R6/lib
Found X11/Xcursor/Xcursor.h in /usr/X11R6/include
Found Xcursor version 1.1
Xcursor enabled.
XRandR auto-detection... ()
Found XRandR lib in /usr/X11R6/lib
Found X11/extensions/Xrandr.h in /usr/X11R6/include
Found XRandR version 1.1
XRandR enabled.
XRender auto-detection... ()
Found XRender lib in /usr/X11R6/lib
Found X11/extensions/Xrender.h in /usr/X11R6/include
XRender enabled.
Xft auto-detection... ()
Found libXft.a in /usr/X11R6/lib
Found libXft.a in /usr/lib
Found X11/Xft/Xft.h in /usr/X11R6/include
Found X11/Xft/Xft.h in /usr/include
Found Xft version 2.1.6
Found Freetype version 2.1.9
Found freetype2/freetype/freetype.h in /usr/X11R6/include
Found fontconfig/fontconfig.h in /usr/X11R6/include
Xft enabled.
XShape auto-detection... ()
Found X11/extensions/shape.h in /usr/X11R6/include
XShape enabled.
XKB auto-detection... ()
Found X11/XKBlib.h in /usr/X11R6/include
XkbSetPerClientControls found.
XKB enabled.
This is the Qt/X11 Open Source Edition.
You are licensed to use this software under the terms of either
the Q Public License (QPL) or the GNU General Public License (GPL).
Type 'Q' to view the Q Public License.
Type 'G' to view the GNU General Public License.
Type 'yes' to accept this license offer.
Type 'no' to decline this license offer.
Do you accept the terms of either license?
Creating qmake. Please wait...
g++ -c -o project.o -I. -Igenerators -Igenerators/unix -Igenerators/win32 -Igenerators/mac -I/var/tmp/portage/qt-3.3.4-r3/work/qt-x11-free-3.3.4/include/qmake -I/var/tmp/portage/qt-3.3.4-r3/work/qt-x11-free-3.3.4/include -I/var/tmp/portage/qt-3.3.4-r3/work/qt-x11-free-3.3.4/include -DQT_NO_TEXTCODEC -DQT_NO_UNICODETABLES -DQT_NO_COMPONENT -DQT_NO_STL -DQT_NO_COMPRESS -I/var/tmp/portage/qt-3.3.4-r3/work/qt-x11-free-3.3.4/mkspecs/linux-g++ -DHAVE_QCONFIG_CPP project.cpp
g++ -c -o property.o -I. -Igenerators -Igenerators/unix -Igenerators/win32 -Igenerators/mac -I/var/tmp/portage/qt-3.3.4-r3/work/qt-x11-free-3.3.4/include/qmake -I/var/tmp/portage/qt-3.3.4-r3/work/qt-x11-free-3.3.4/include -I/var/tmp/portage/qt-3.3.4-r3/work/qt-x11-free-3.3.4/include -DQT_NO_TEXTCODEC -DQT_NO_UNICODETABLES -DQT_NO_COMPONENT -DQT_NO_STL -DQT_NO_COMPRESS -I/var/tmp/portage/qt-3.3.4-r3/work/qt-x11-free-3.3.4/mkspecs/linux-g++ -DHAVE_QCONFIG_CPP property.cpp
g++ -c -o main.o -I. -Igenerators -Igenerators/unix -Igenerators/win32 -Igenerators/mac -I/var/tmp/portage/qt-3.3.4-r3/work/qt-x11-free-3.3.4/include/qmake -I/var/tmp/portage/qt-3.3.4-r3/work/qt-x11-free-3.3.4/include -I/var/tmp/portage/qt-3.3.4-r3/work/qt-x11-free-3.3.4/include -DQT_NO_TEXTCODEC -DQT_NO_UNICODETABLES -DQT_NO_COMPONENT -DQT_NO_STL -DQT_NO_COMPRESS -I/var/tmp/portage/qt-3.3.4-r3/work/qt-x11-free-3.3.4/mkspecs/linux-g++ -DHAVE_QCONFIG_CPP main.cpp
g++ -c -o makefile.o -I. -Igenerators -Igenerators/unix -Igenerators/win32 -Igenerators/mac -I/var/tmp/portage/qt-3.3.4-r3/work/qt-x11-free-3.3.4/include/qmake -I/var/tmp/portage/qt-3.3.4-r3/work/qt-x11-free-3.3.4/include -I/var/tmp/portage/qt-3.3.4-r3/work/qt-x11-free-3.3.4/include -DQT_NO_TEXTCODEC -DQT_NO_UNICODETAB
LES -DQT_NO_COMPONENT -DQT_NO_STL -DQT_NO_COMPRESS -I/var/tmp/portage/qt-3.3.4-r3/work/qt-x11-free-3.3.4/mkspecs/linux-g++ -DHAVE_QCONFIG_CPP generators/makefile.cpp
g++ -c -o unixmake2.o -I. -Igenerators -Igenerators/unix -Igenerators/win32 -Igenerators/mac -I/var/tmp/portage/qt-3.3.4-r3/work/qt-x11-free-3.3.4/include/qmake -I/var/tmp/portage/qt-3.3.4-r3/work/qt-x11-free-3.3.4/include -I/var/tmp/portage/qt-3.3.4-r3/work/qt-x11-free-3.3.4/include -DQT_NO_TEXTCODEC -DQT_NO_UNICODETABLES -DQT_NO_COMPONENT -DQT_NO_STL -DQT_NO_COMPRESS -I/var/tmp/portage/qt-3.3.4-r3/work/qt-x11-free-3.3.4/mkspecs/linux-g++ -DHAVE_QCONFIG_CPP generators/unix/unixmake2.cpp
g++ -c -o unixmake.o -I. -Igenerators -Igenerators/unix -Igenerators/win32 -Igenerators/mac -I/var/tmp/portage/qt-3.3.4-r3/work/qt-x11-free-3.3.4/include/qmake -I/var/tmp/portage/qt-3.3.4-r3/work/qt-x11-free-3.3.4/include -I/var/tmp/portage/qt-3.3.4-r3/work/qt-x11-free-3.3.4/include -DQT_NO_TEXTCODEC -DQT_NO_UNICODETABLES -DQT_NO_COMPONENT -DQT_NO_STL -DQT_NO_COMPRESS -I/var/tmp/portage/qt-3.3.4-r3/work/qt-x11-free-3.3.4/mkspecs/linux-g++ -DHAVE_QCONFIG_CPP generators/unix/unixmake.cpp
g++ -c -o msvc_nmake.o -I. -Igenerators -Igenerators/unix -Igenerators/win32 -Igenerators/mac -I/var/tmp/portage/qt-3.3.4-r3/work/qt-x11-free-3.3.4/include/qmake -I/var/tmp/portage/qt-3.3.4-r3/work/qt-x11-free-3.3.4/include -I/var/tmp/portage/qt-3.3.4-r3/work/qt-x11-free-3.3.4/include -DQT_NO_TEXTCODEC -DQT_NO_UNICODETABLES -DQT_NO_COMPONENT -DQT_NO_STL -DQT_NO_COMPRESS -I/var/tmp/portage/qt-3.3.4-r3/work/qt-x11-free-3.3.4/mkspecs/linux-g++ -DHAVE_QCONFIG_CPP generators/win32/msvc_nmake.cpp
g++ -c -o borland_bmake.o -I. -Igenerators -Igenerators/unix -Igenerators/win32 -Igenerators/mac -I/var/tmp/portage/qt-3.3.4-r3/work/qt-x11-free-3.3.4/include/qmake -I/var/tmp/portage/qt-3.3.4-r3/work/qt-x11-free-3.3.4/include -I/var/tmp/portage/qt-3.3.4-r3/work/qt-x11-free-3.3.4/include -DQT_NO_TEXTCODEC -DQT_NO_UNICODETABLES -DQT_NO_COMPONENT -DQT_NO_STL -DQT_NO_COMPRESS -I/var/tmp/portage/qt-3.3.4-r3/work/qt-x11-free-3.3.4/mkspecs/linux-g++ -DHAVE_QCONFIG_CPP generators/win32/borland_bmake.cpp
generators/win32/borland_bmake.cpp: In member function `void
BorlandMakefileGenerator::writeBorlandParts(QTextStream&)':
generators/win32/borland_bmake.cpp:107: internal compiler error: Segmentation
fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://bugs.gentoo.org/> for instructions.
The bug is not reproducible, so it is likely a hardware or OS problem.
gmake: *** [borland_bmake.o] Error 1
qmake failed to build. Aborting.
!!! 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
$ cat /etc/make.conf
CFLAGS="-O3 -mcpu=pentium4 -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
CXXFLAGS="${CFLAGS}"
MAKEOPTS="-j3"
|
use flags used by me which gave the error:
#USE="xvmc arts dri xvid flac offensive 3dnowext 3dnow javascript sse mmx mmxext win32codecs divx4linux real stroke alsa apm avi berkdb bitmap-fonts crypt cups emboss encode foomaticdb gdbm gif gpm gtk gtk2 imlib ipv6 jpeg kde libg++ libwww mad mikmod motif mp3 mpeg ncurses nls oggvorbis opengl oss pam pdflib perl png python qt quicktime readline sdl spell ssl svga tcpd truetype truetype-fonts type1-fonts X xml2 xmms xine xv zlib unicode" |
|
Back to top |
|
|
nixnut Bodhisattva
Joined: 09 Apr 2004 Posts: 10974 Location: the dutch mountains
|
Posted: Sun Jul 31, 2005 1:11 pm Post subject: |
|
|
If a lot of other applications didn't compile, your compiler chain is probably broken or your hardware is.
Post the output of emerge info please.
Other things you can do:
* Make sure you used to stagefile that fits your cpu (like not using a pentium4 stage with a pentium M)
*Make sure you really have a pentium4, a pentium M is not a pentium4.
* Don't overclock
* Make sure your system isn't overheating
* Check your memory by running all the tests of memtest86 several times (that takes a long time btw) _________________ Please add [solved] to the initial post's subject line if you feel your problem is resolved. Help answer the unanswered
talk is cheap. supply exceeds demand |
|
Back to top |
|
|
Lorien n00b
Joined: 14 Feb 2005 Posts: 9
|
Posted: Sun Jul 31, 2005 1:37 pm Post subject: |
|
|
HI...
my processor is p4 HT 2.8 hence heating could be an issue.....how to tackle that then
output of emerge info is:
Code: |
Gentoo Base System version 1.6.13
Portage 2.0.51.22-r2 (default-linux/x86/2005.0, gcc-3.3.5-20050130, glibc-2.3.5-r0, 2.6.12-gentoo-r6 i686)
=================================================================
System uname: 2.6.12-gentoo-r6 i686 Intel(R) Pentium(R) 4 CPU 2.80GHz
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="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -mcpu=i686 -pipe"
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 /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/splash /etc/terminfo /etc/env.d"
CXXFLAGS=""
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS=" http://gentoo.gg3.net/"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X alsa apm arts avi berkdb bitmap-fonts crypt cups emboss encode foomaticdb fortran gdbm gif gnome gpm gtk gtk2 imlib ipv6 jpeg kde libg++ libwww mad mikmod motif mp3 mpeg ncurses nls oggvorbis opengl oss pam pdflib perl png python
qt quicktime readline sdl spell ssl tcpd tiff truetype truetype-fonts type1-fonts xml2 xmms xv zlib userland_GNU kernel_linux elibc_glibc"
Unset: ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY
|
please elaborate on compiler chain and hardware chain which u mentioned.....
thank you |
|
Back to top |
|
|
nixnut Bodhisattva
Joined: 09 Apr 2004 Posts: 10974 Location: the dutch mountains
|
Posted: Sun Jul 31, 2005 2:46 pm Post subject: |
|
|
About the compiler chain: When you do a stage1 install you compile the compiler and tools like binutils. Those are then used to compile the rest of the system packages. If something goes slightly wrong with compiling those compiler chain parts, those tools will be broken and often will fail to compile other packages. The internal compiler error: Segmentation message is what you can get in such situations. The cause of such errors can be hard to track down. If you test your memory and it produces errors, you know you have faulty ram, however if you find no errors that doesn't prove the ram is good. Same with other hardware, it may be ok, it may be causing problems even though all seems to work as it should. So what can you do? Well, try to check the things I already mentioned. You can try reinstalling using a stage3 instead and rebuild the packages later if you want to optimise some. When you do a stage3 install you are sure to have a compiler chain that was built properly. If you then still get ice errors, you probably have some hardware problem. _________________ Please add [solved] to the initial post's subject line if you feel your problem is resolved. Help answer the unanswered
talk is cheap. supply exceeds demand |
|
Back to top |
|
|
Lorien n00b
Joined: 14 Feb 2005 Posts: 9
|
Posted: Sun Jul 31, 2005 3:27 pm Post subject: |
|
|
Hi....
memtest gave 0 faults after 6 runs......previously i had tried to install gentoo with stage 3 but segmentations faults flooded....so went to stage 1.....now how do i know whether my cpu is overclocked or not.....how to prevent this....and most important what is exactly overclocking ( i googled but not clear ) ... now what should i do if it is hardware problem....also the cflags displayed in emerge info are deffnt from that specified in mine make.conf...why ?????......please reply........i ahve spent a lot of time trying to install gentoo and i don't want to give up at such a stage ....
thank you |
|
Back to top |
|
|
Lorien n00b
Joined: 14 Feb 2005 Posts: 9
|
Posted: Fri Aug 05, 2005 8:15 am Post subject: unable to compile qt |
|
|
hi.....
i am installing gentoo from stage 1 and successfully compiled the kernel , X etc. But it fails to compile qt and sometimes gives segfaults and sometimes other errors. i posted them earlier and response was might be hardware prob or i am overclocking but then there was no reply and now i couldn't find that post either. However, why is qt required by so many progs - kate,kde,mplayer,firefox etc. and how to know whether i am overclocking my cpu or not and what exactly is overclocking....????? please reply................i have spent a lot of time on installing gentoo...........first i tried to use stage 3 but it gave segfaults even on compiling x...but now i used stage 1 and compiled x successfully but now i am stuck up because of the huge dependency of progs on qt...i have run memtest several times and response was 0 errors.......plz reply..
thanks |
|
Back to top |
|
|
anello Guru
Joined: 17 Jul 2005 Posts: 557 Location: EU -> DE -> Stuttgart
|
Posted: Fri Aug 05, 2005 9:45 am Post subject: |
|
|
qt is a framework, that is needed for some GUI applications. But this shouldn't be a problem at all.
Also if you don't know whats overclocking, then you're prolly not doing it.
So I come to the conclusion that you did something wrong in the installing process.
I would recommend you to start from the beginning again and follow all steps in the handbook for a stage3 installation. Shouldn't take you more than 3,5 hours if you have a decent inet connection or you use the universal CD. Then if you got a basic gentoo system running, you can start to get at X and desktop environments. |
|
Back to top |
|
|
Maedhros Bodhisattva
Joined: 14 Apr 2004 Posts: 5511 Location: Durham, UK
|
Posted: Fri Aug 05, 2005 1:36 pm Post subject: |
|
|
Merged the two previous posts here, and moved from Installing Gentoo to Desktop Environments.
You can find your posts with the "View your posts" link at the top of the index page. _________________ No-one's more important than the earthworm. |
|
Back to top |
|
|
|