Looks like there's a strength-reduce optimization bug in g++-3.0.2 on hppa....
Trying to compile qt-x11 gives a segmentation fault when compiling src/kernel/qurl.cpp. (willy and lamont also saw this I believe...). Turning off strength-reduction (-fno-strength-reduce) allows the file to compile to completion. It's dying inside a loop_iterations call, but I don't know enough to say why... Can someone more knowledgable please take a look? Preprocessed source attached. Compilation flags: g++ -D_REENTRANT -DQT_THREAD_SUPPORT -c -I/usr/X11R6/include -I/usr/src/new/qt-x11-2.3.2/include -I/usr/X11R6/include -pipe -fno-exceptions -O2 -Wall -Wpointer-arith -Wwrite-strings -Wmissing-prototypes -fPIC -DQT_BUILTIN_GIF_READER=1 -DQT_XFT -o kernel/qurl.o kernel/qurl.cpp This is using the latest binutils/gcc that are in the Debian archive. (binutils 20011021 and gcc 3.0.2 w/ Alan's patches) sh-2.05# gcc -v Reading specs from /usr/lib/gcc-lib/hppa-linux/3.0.2/specs Configured with: ../src/configure -v --enable-languages=c,c++,f77,proto,objc --prefix=/usr --infodir=/share/info --mandir=/share/man --enable-shared --with-gnu-as --with-gnu-ld --with-system-zlib --enable-long-long --enable-nls --without-included-gettext --disable-checking --enable-threads=posix --with-cpp-install-dir=bin hppa-linux Thread model: posix gcc version 3.0.2 (Debian) sh-2.05# ld -v GNU ld version 2.11.92.0.10 20011021 Debian/GNU Linux randolph -- @..@ http://www.TauSq.org/ (----) ( >__< ) ^^ ~~ ^^
qurl.ii.gz
Description: Binary data