Seg faults while compiling qt/kde
Florin Braescu
florin at lunar-linux.org
Tue Sep 14 15:06:01 UTC 2004
Pe data de Mar 14 Sep 2004 13:40, Bernd Kosmahl a scris:
> Hi,
> I'm getting seg faults while compiling qt or kde. I have no idea what to
> do.
>
> coreutils: 5.2.1
> gcc: 3.3.3
> qt3: 3.3.3
> kdelibs3: 3.2.3
>
> I'm trying to update my kde with lin kdelibs3 to 3.3.0 but after a few
> minutes of compile I get this:
>
> if /bin/sh ../libtool --silent --mode=compile --tag=CC gcc
> -DHAVE_CONFIG_H -I. -I. -I.. -I../dcop -I../kio/kssl -I../kdefx -I
> then mv -f ".deps/vsnprintf.Tpo" ".deps/vsnprintf.Plo"; else rm -f
> ".deps/vsnprintf.Tpo"; exit 1; fi
> /bin/sh ../libtool --silent --mode=link --tag=CC gcc -ansi -W -Wall
> -Wchar-subscripts -Wshadow -Wpointer-arith -Wmissing-pro
> ../dcop/dcopidl/dcopidl ./ksycoca.h > ksycoca.kidl || ( rm -f
> ksycoca.kidl ; false )
> /bin/sh: line 1: 24388 Segmentation
> fault ../dcop/dcopidl/dcopidl ./ksycoca.h >ksycoca.kidl
> make[3]: *** [ksycoca.kidl] Error 1
> make[3]: Leaving directory `/usr/src/kdelibs-3.3.0/kdecore'
> make[2]: *** [all-recursive] Error 1
> make[2]: Leaving directory `/usr/src/kdelibs-3.3.0/kdecore'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/usr/src/kdelibs-3.3.0'
> make: *** [all] Error 2
> ++ Mark Compile stop : "kdelibs3" "3.3.0" "Sun Sep 12 20:52:21 UTC
> 2004"
>
> Well, I thought there might be a problem with coreutils, gcc or qt so I
> relinned them in the written order. qt is already 3.3.3 but in case of
> relin I get a seg fault, too:
>
> make[3]: Entering directory
> `/usr/src/qt-x11-free-3.3.3/tools/designer/designer'
> /usr/src/qt-x11-free-3.3.3/bin/uic -L /usr/src/qt-x11-free-3.3.3/plugins
> listboxeditor.ui -o listboxeditor.h
> make[3]: *** [listboxeditor.h] Segmentation fault
> make[3]: Leaving directory
> `/usr/src/qt-x11-free-3.3.3/tools/designer/designer'
> make[2]: *** [sub-designer] Error 2
> make[2]: Leaving directory `/usr/src/qt-x11-free-3.3.3/tools/designer'
> make[1]: *** [sub-designer] Error 2
> make[1]: Leaving directory `/usr/src/qt-x11-free-3.3.3/tools'
> make: *** [sub-tools] Error 2
> ++ Mark Compile stop : "qt3" "3.3.3" "Mon Sep 13 23:13:23 UTC 2004"
>
> I tried to recompile everything without compiler optimisation but the
> compile fails anyway at the same point.
>
> I'm at a loss and Google has nothing for me >.<
>
> Any hints/ideas?
You have a borkeg gcc. Too many optimizations params i guess. Use o only
-funroll-loop and -fomit-frame-pointer. Relin gcc, coreutils and the rest
after that. You may need to use a rescue cd with a clean gcc for that.
Florin
More information about the Lunar
mailing list