When I try to emerge doxygen on my PPC notebook (gcc version 3.2.3 20030422 (Gentoo Linux 1.4 3.2.3-r4, propolice)), the compilation fails with an "internal compiler error" Reproducible: Always Steps to Reproduce: 1. emerge doxygen 2. 3. Actual Results: thales root # emerge doxygen Calculating dependencies ...done! >>> emerge (1 of 1) app-doc/doxygen-1.3.2 to / >>> md5 src_uri ;-) doxygen-1.3.2.src.tar.gz >>> Unpacking source... >>> Unpacking doxygen-1.3.2.src.tar.gz to /var/tmp/portage/doxygen-1.3.2/work >>> Source unpacked. qt Autodetected platform linux-g++... Checking for Qt... headers /usr/qt/3/include, libraries /usr/qt/3/lib Checking for GNU make tool... using /usr/bin/gmake Checking for GNU install tool... using /usr/bin/install Checking for dot (part of GraphViz)... using /usr/bin/dot Checking for perl... using /usr/bin/perl Created Makefile from Makefile.in... Created qtools/Makefile from qtools/Makefile.in... Created src/Makefile from src/Makefile.in... Created examples/Makefile from examples/Makefile.in... Created doc/Makefile from doc/Makefile.in... Created addon/doxywizard/Makefile from addon/doxywizard/Makefile.in... Created addon/doxmlparser/src/Makefile from addon/doxmlparser/src/Makefile.in... Created addon/doxmlparser/test/Makefile from addon/doxmlparser/test/Makefile.in... Created addon/doxmlparser/examples/metrics/Makefile from addon/doxmlparser/examples/metrics/Makefile.in... Created libpng/Makefile from libpng/Makefile.in... Created qtools/qtools.pro from qtools/qtools.pro.in... Created src/libdoxygen.pro from src/libdoxygen.pro.in... Created src/libdoxycfg.pro from src/libdoxycfg.pro.in... Created src/doxygen.pro from src/doxygen.pro.in... Created src/doxytag.pro from src/doxytag.pro.in... Created src/doxysearch.pro from src/doxysearch.pro.in... Created addon/doxywizard/doxywizard.pro from addon/doxywizard/doxywizard.pro.in... Created addon/doxmlparser/src/doxmlparser.pro from addon/doxmlparser/src/doxmlparser.pro.in... Created addon/doxmlparser/test/xmlparse.pro from addon/doxmlparser/test/xmlparse.pro.in... Created addon/doxmlparser/examples/metrics/metrics.pro from addon/doxmlparser/examples/metrics/metrics.pro.in... Created libpng/libpng.pro from libpng/libpng.pro.in... Generating src/lang_cfg.h... echo "char versionString[]=\"1.3.2\";" > src/version.cpp /usr/bin/gmake -C qtools gmake[1]: Entering directory `/var/tmp/portage/doxygen-1.3.2/work/doxygen-1.3.2/qtools' env TMAKEPATH=/var/tmp/portage/doxygen-1.3.2/work/doxygen-1.3.2/tmake/lib/linux-g++ /usr/bin/perl /var/tmp/portage/doxygen-1.3.2/work/doxygen-1.3.2/tmake/bin/tmake qtools.pro >Makefile.qtools /usr/bin/gmake -f Makefile.qtools all gmake[2]: Entering directory `/var/tmp/portage/doxygen-1.3.2/work/doxygen-1.3.2/qtools' g++ -c -pipe -DQT_NO_CODECS -DQT_LITE_UNICODE -Wall -W -fno-exceptions -O2 -pipe -mcpu=7400 -maltivec -mabi=altivec -mpowerpc-gfxopt -mstring -fsigned-char -mmultiple -I. -o ../objects/qbuffer.o qbuffer.cpp g++ -c -pipe -DQT_NO_CODECS -DQT_LITE_UNICODE -Wall -W -fno-exceptions -O2 -pipe -mcpu=7400 -maltivec -mabi=altivec -mpowerpc-gfxopt -mstring -fsigned-char -mmultiple -I. -o ../objects/qcollection.o qcollection.cpp g++ -c -pipe -DQT_NO_CODECS -DQT_LITE_UNICODE -Wall -W -fno-exceptions -O2 -pipe -mcpu=7400 -maltivec -mabi=altivec -mpowerpc-gfxopt -mstring -fsigned-char -mmultiple -I. -o ../objects/qcstring.o qcstring.cpp g++ -c -pipe -DQT_NO_CODECS -DQT_LITE_UNICODE -Wall -W -fno-exceptions -O2 -pipe -mcpu=7400 -maltivec -mabi=altivec -mpowerpc-gfxopt -mstring -fsigned-char -mmultiple -I. -o ../objects/qdatastream.o qdatastream.cpp g++ -c -pipe -DQT_NO_CODECS -DQT_LITE_UNICODE -Wall -W -fno-exceptions -O2 -pipe -mcpu=7400 -maltivec -mabi=altivec -mpowerpc-gfxopt -mstring -fsigned-char -mmultiple -I. -o ../objects/qdatetime.o qdatetime.cpp g++ -c -pipe -DQT_NO_CODECS -DQT_LITE_UNICODE -Wall -W -fno-exceptions -O2 -pipe -mcpu=7400 -maltivec -mabi=altivec -mpowerpc-gfxopt -mstring -fsigned-char -mmultiple -I. -o ../objects/qdir.o qdir.cpp g++ -c -pipe -DQT_NO_CODECS -DQT_LITE_UNICODE -Wall -W -fno-exceptions -O2 -pipe -mcpu=7400 -maltivec -mabi=altivec -mpowerpc-gfxopt -mstring -fsigned-char -mmultiple -I. -o ../objects/qfile.o qfile.cpp g++ -c -pipe -DQT_NO_CODECS -DQT_LITE_UNICODE -Wall -W -fno-exceptions -O2 -pipe -mcpu=7400 -maltivec -mabi=altivec -mpowerpc-gfxopt -mstring -fsigned-char -mmultiple -I. -o ../objects/qfileinfo.o qfileinfo.cpp g++ -c -pipe -DQT_NO_CODECS -DQT_LITE_UNICODE -Wall -W -fno-exceptions -O2 -pipe -mcpu=7400 -maltivec -mabi=altivec -mpowerpc-gfxopt -mstring -fsigned-char -mmultiple -I. -o ../objects/qgarray.o qgarray.cpp g++ -c -pipe -DQT_NO_CODECS -DQT_LITE_UNICODE -Wall -W -fno-exceptions -O2 -pipe -mcpu=7400 -maltivec -mabi=altivec -mpowerpc-gfxopt -mstring -fsigned-char -mmultiple -I. -o ../objects/qgdict.o qgdict.cpp g++ -c -pipe -DQT_NO_CODECS -DQT_LITE_UNICODE -Wall -W -fno-exceptions -O2 -pipe -mcpu=7400 -maltivec -mabi=altivec -mpowerpc-gfxopt -mstring -fsigned-char -mmultiple -I. -o ../objects/qglist.o qglist.cpp g++ -c -pipe -DQT_NO_CODECS -DQT_LITE_UNICODE -Wall -W -fno-exceptions -O2 -pipe -mcpu=7400 -maltivec -mabi=altivec -mpowerpc-gfxopt -mstring -fsigned-char -mmultiple -I. -o ../objects/qglobal.o qglobal.cpp g++ -c -pipe -DQT_NO_CODECS -DQT_LITE_UNICODE -Wall -W -fno-exceptions -O2 -pipe -mcpu=7400 -maltivec -mabi=altivec -mpowerpc-gfxopt -mstring -fsigned-char -mmultiple -I. -o ../objects/qgvector.o qgvector.cpp g++ -c -pipe -DQT_NO_CODECS -DQT_LITE_UNICODE -Wall -W -fno-exceptions -O2 -pipe -mcpu=7400 -maltivec -mabi=altivec -mpowerpc-gfxopt -mstring -fsigned-char -mmultiple -I. -o ../objects/qiodevice.o qiodevice.cpp g++ -c -pipe -DQT_NO_CODECS -DQT_LITE_UNICODE -Wall -W -fno-exceptions -O2 -pipe -mcpu=7400 -maltivec -mabi=altivec -mpowerpc-gfxopt -mstring -fsigned-char -mmultiple -I. -o ../objects/qregexp.o qregexp.cpp g++ -c -pipe -DQT_NO_CODECS -DQT_LITE_UNICODE -Wall -W -fno-exceptions -O2 -pipe -mcpu=7400 -maltivec -mabi=altivec -mpowerpc-gfxopt -mstring -fsigned-char -mmultiple -I. -o ../objects/qstring.o qstring.cpp g++ -c -pipe -DQT_NO_CODECS -DQT_LITE_UNICODE -Wall -W -fno-exceptions -O2 -pipe -mcpu=7400 -maltivec -mabi=altivec -mpowerpc-gfxopt -mstring -fsigned-char -mmultiple -I. -o ../objects/qtextstream.o qtextstream.cpp g++ -c -pipe -DQT_NO_CODECS -DQT_LITE_UNICODE -Wall -W -fno-exceptions -O2 -pipe -mcpu=7400 -maltivec -mabi=altivec -mpowerpc-gfxopt -mstring -fsigned-char -mmultiple -I. -o ../objects/qtextcodec.o qtextcodec.cpp g++ -c -pipe -DQT_NO_CODECS -DQT_LITE_UNICODE -Wall -W -fno-exceptions -O2 -pipe -mcpu=7400 -maltivec -mabi=altivec -mpowerpc-gfxopt -mstring -fsigned-char -mmultiple -I. -o ../objects/qstringlist.o qstringlist.cpp g++ -c -pipe -DQT_NO_CODECS -DQT_LITE_UNICODE -Wall -W -fno-exceptions -O2 -pipe -mcpu=7400 -maltivec -mabi=altivec -mpowerpc-gfxopt -mstring -fsigned-char -mmultiple -I. -o ../objects/qxml.o qxml.cpp g++ -c -pipe -DQT_NO_CODECS -DQT_LITE_UNICODE -Wall -W -fno-exceptions -O2 -pipe -mcpu=7400 -maltivec -mabi=altivec -mpowerpc-gfxopt -mstring -fsigned-char -mmultiple -I. -o ../objects/qmap.o qmap.cpp g++ -c -pipe -DQT_NO_CODECS -DQT_LITE_UNICODE -Wall -W -fno-exceptions -O2 -pipe -mcpu=7400 -maltivec -mabi=altivec -mpowerpc-gfxopt -mstring -fsigned-char -mmultiple -I. -o ../objects/qfile_unix.o qfile_unix.cpp g++ -c -pipe -DQT_NO_CODECS -DQT_LITE_UNICODE -Wall -W -fno-exceptions -O2 -pipe -mcpu=7400 -maltivec -mabi=altivec -mpowerpc-gfxopt -mstring -fsigned-char -mmultiple -I. -o ../objects/qdir_unix.o qdir_unix.cpp g++ -c -pipe -DQT_NO_CODECS -DQT_LITE_UNICODE -Wall -W -fno-exceptions -O2 -pipe -mcpu=7400 -maltivec -mabi=altivec -mpowerpc-gfxopt -mstring -fsigned-char -mmultiple -I. -o ../objects/qfileinfo_unix.o qfileinfo_unix.cpp rm -f ../lib/libqtools.a ar cqs ../lib/libqtools.a ../objects/qbuffer.o ../objects/qcollection.o ../objects/qcstring.o ../objects/qdatastream.o ../objects/qdatetime.o ../objects/qdir.o ../objects/qfile.o ../objects/qfileinfo.o ../objects/qgarray.o ../objects/qgdict.o ../objects/qglist.o ../objects/qglobal.o ../objects/qgvector.o ../objects/qiodevice.o ../objects/qregexp.o ../objects/qstring.o ../objects/qtextstream.o ../objects/qtextcodec.o ../objects/qstringlist.o ../objects/qxml.o ../objects/qmap.o ../objects/qfile_unix.o ../objects/qdir_unix.o ../objects/qfileinfo_unix.o gmake[2]: Leaving directory `/var/tmp/portage/doxygen-1.3.2/work/doxygen-1.3.2/qtools' gmake[1]: Leaving directory `/var/tmp/portage/doxygen-1.3.2/work/doxygen-1.3.2/qtools' /usr/bin/gmake -C libpng gmake[1]: Entering directory `/var/tmp/portage/doxygen-1.3.2/work/doxygen-1.3.2/libpng' env TMAKEPATH=/var/tmp/portage/doxygen-1.3.2/work/doxygen-1.3.2/tmake/lib/linux-g++ /usr/bin/perl /var/tmp/portage/doxygen-1.3.2/work/doxygen-1.3.2/tmake/bin/tmake libpng.pro >Makefile.libpng /usr/bin/gmake -f Makefile.libpng gmake[2]: Entering directory `/var/tmp/portage/doxygen-1.3.2/work/doxygen-1.3.2/libpng' gcc -c -pipe -Wall -W -fno-exceptions -O2 -pipe -mcpu=7400 -maltivec -mabi=altivec -mpowerpc-gfxopt -mstring -fsigned-char -mmultiple -o ../objects/adler32.o adler32.c gcc -c -pipe -Wall -W -fno-exceptions -O2 -pipe -mcpu=7400 -maltivec -mabi=altivec -mpowerpc-gfxopt -mstring -fsigned-char -mmultiple -o ../objects/compress.o compress.c gcc -c -pipe -Wall -W -fno-exceptions -O2 -pipe -mcpu=7400 -maltivec -mabi=altivec -mpowerpc-gfxopt -mstring -fsigned-char -mmultiple -o ../objects/crc32.o crc32.c gcc -c -pipe -Wall -W -fno-exceptions -O2 -pipe -mcpu=7400 -maltivec -mabi=altivec -mpowerpc-gfxopt -mstring -fsigned-char -mmultiple -o ../objects/deflate.o deflate.c gcc -c -pipe -Wall -W -fno-exceptions -O2 -pipe -mcpu=7400 -maltivec -mabi=altivec -mpowerpc-gfxopt -mstring -fsigned-char -mmultiple -o ../objects/gzio.o gzio.c gcc -c -pipe -Wall -W -fno-exceptions -O2 -pipe -mcpu=7400 -maltivec -mabi=altivec -mpowerpc-gfxopt -mstring -fsigned-char -mmultiple -o ../objects/infblock.o infblock.c gcc -c -pipe -Wall -W -fno-exceptions -O2 -pipe -mcpu=7400 -maltivec -mabi=altivec -mpowerpc-gfxopt -mstring -fsigned-char -mmultiple -o ../objects/infcodes.o infcodes.c gcc -c -pipe -Wall -W -fno-exceptions -O2 -pipe -mcpu=7400 -maltivec -mabi=altivec -mpowerpc-gfxopt -mstring -fsigned-char -mmultiple -o ../objects/inffast.o inffast.c gcc -c -pipe -Wall -W -fno-exceptions -O2 -pipe -mcpu=7400 -maltivec -mabi=altivec -mpowerpc-gfxopt -mstring -fsigned-char -mmultiple -o ../objects/inflate.o inflate.c gcc -c -pipe -Wall -W -fno-exceptions -O2 -pipe -mcpu=7400 -maltivec -mabi=altivec -mpowerpc-gfxopt -mstring -fsigned-char -mmultiple -o ../objects/inftrees.o inftrees.c gcc -c -pipe -Wall -W -fno-exceptions -O2 -pipe -mcpu=7400 -maltivec -mabi=altivec -mpowerpc-gfxopt -mstring -fsigned-char -mmultiple -o ../objects/infutil.o infutil.c gcc -c -pipe -Wall -W -fno-exceptions -O2 -pipe -mcpu=7400 -maltivec -mabi=altivec -mpowerpc-gfxopt -mstring -fsigned-char -mmultiple -o ../objects/png.o png.c gcc -c -pipe -Wall -W -fno-exceptions -O2 -pipe -mcpu=7400 -maltivec -mabi=altivec -mpowerpc-gfxopt -mstring -fsigned-char -mmultiple -o ../objects/pngerror.o pngerror.c gcc -c -pipe -Wall -W -fno-exceptions -O2 -pipe -mcpu=7400 -maltivec -mabi=altivec -mpowerpc-gfxopt -mstring -fsigned-char -mmultiple -o ../objects/pnggccrd.o pnggccrd.c gcc -c -pipe -Wall -W -fno-exceptions -O2 -pipe -mcpu=7400 -maltivec -mabi=altivec -mpowerpc-gfxopt -mstring -fsigned-char -mmultiple -o ../objects/pngget.o pngget.c gcc -c -pipe -Wall -W -fno-exceptions -O2 -pipe -mcpu=7400 -maltivec -mabi=altivec -mpowerpc-gfxopt -mstring -fsigned-char -mmultiple -o ../objects/pngmem.o pngmem.c gcc -c -pipe -Wall -W -fno-exceptions -O2 -pipe -mcpu=7400 -maltivec -mabi=altivec -mpowerpc-gfxopt -mstring -fsigned-char -mmultiple -o ../objects/pngpread.o pngpread.c gcc -c -pipe -Wall -W -fno-exceptions -O2 -pipe -mcpu=7400 -maltivec -mabi=altivec -mpowerpc-gfxopt -mstring -fsigned-char -mmultiple -o ../objects/pngread.o pngread.c gcc -c -pipe -Wall -W -fno-exceptions -O2 -pipe -mcpu=7400 -maltivec -mabi=altivec -mpowerpc-gfxopt -mstring -fsigned-char -mmultiple -o ../objects/pngrio.o pngrio.c gcc -c -pipe -Wall -W -fno-exceptions -O2 -pipe -mcpu=7400 -maltivec -mabi=altivec -mpowerpc-gfxopt -mstring -fsigned-char -mmultiple -o ../objects/pngrtran.o pngrtran.c gcc -c -pipe -Wall -W -fno-exceptions -O2 -pipe -mcpu=7400 -maltivec -mabi=altivec -mpowerpc-gfxopt -mstring -fsigned-char -mmultiple -o ../objects/pngrutil.o pngrutil.c pngrutil.c: In function `png_handle_bKGD': pngrutil.c:1369: Internal compiler error in verify_local_live_at_start, at flow.c:586 Please submit a full bug report, with preprocessed source if appropriate. See <URL:http://bugs.gentoo.org/> for instructions. gmake[2]: *** [../objects/pngrutil.o] Error 1 gmake[2]: *** Waiting for unfinished jobs.... gmake[2]: Leaving directory `/var/tmp/portage/doxygen-1.3.2/work/doxygen-1.3.2/libpng' gmake[1]: *** [all] Error 2 gmake[1]: Leaving directory `/var/tmp/portage/doxygen-1.3.2/work/doxygen-1.3.2/libpng' make: *** [all] Error 2 !!! ERROR: app-doc/doxygen-1.3.2 failed. !!! Function src_compile, Line 45, Exitcode 2 !!! "emake all" failed. Expected Results: to compiler properly
How about trying one of the more recent versions, eg, 1.3.5 or 1.3.6? I don't have a ppc box, but the above builds fine for me on x86 with the following: gcc version 3.3.3 20040412 (Gentoo Linux 3.3.3-r5, ssp-3.3-7, pie-8.7.5.3)
1.3.6 has been tested and marked ppc, so please give that a try (1.3.2 has been removed).
Dear Steve, I compiled the new version of doxygen on my PPC machine with the latest gcc package without any problems. Thank you very much for your help, and for the work you do for the gentoo project! Best, Stefan Kebekus.