Hi Christopher, I have absolutely no idea, if the following bug is related to g++ or to ld from binutils. Maybe you can comment or have an idea ?
Ok, I try to compile qt-copy from KDE CVS (local CVS copy of qt) on hppa and dowloaded your package. BTW, this bug is already a few months old, happens with older versions of binutils too and happens not only with qt, but also with normal KDE programs. The compile-log is: ...... g++ -c -pipe -fno-exceptions -O0 -ffunction-sections -DQT_MOC -DQT_NO_CODECS -DQT_LITE_UNICODE -DQT_NO_COMPONENT -DQT_NO_STL -I/opt/kde/qt/include -I../tools -I. -I/home/cvs/qt-copy/mkspecs/linux-g++ -o qutfcodec.o ../codecs/qutfcodec.cpp g++ -c -pipe -fno-exceptions -O0 -ffunction-sections -DQT_MOC -DQT_NO_CODECS -DQT_LITE_UNICODE -DQT_NO_COMPONENT -DQT_NO_STL -I/opt/kde/qt/include -I../tools -I. -I/home/cvs/qt-copy/mkspecs/linux-g++ -o qfile_unix.o ../tools/qfile_unix.cpp g++ -c -pipe -fno-exceptions -O0 -ffunction-sections -DQT_MOC -DQT_NO_CODECS -DQT_LITE_UNICODE -DQT_NO_COMPONENT -DQT_NO_STL -I/opt/kde/qt/include -I../tools -I. -I/home/cvs/qt-copy/mkspecs/linux-g++ -o moc_yacc.o ./moc_yacc.cpp test -d ../../bin/ || mkdir -p ../../bin/ g++ --whole-archive -fno-exceptions -o ../../bin/moc qbuffer.o qptrcollection.o qcstring.o qdatastream.o qdatetime.o qfile.o qgarray.o qgdict.o qglist.o qglobal.o qgvector.o qiodevice.o qregexp.o qstring.o qstringlist.o qtextstream.o qbitarray.o qmap.o qgcache.o qtextcodec.o qutfcodec.o qfile_unix.o moc_yacc.o /usr/bin/ld: qgvector.o(.gnu.linkonce.t._ZNK8QGVector2atEj+0x2c): cannot reach 00000395__ZN8QGVector17warningIndexRangeEj+0, recompile with -ffunction-sections /usr/bin/ld: qgvector.o(.gnu.linkonce.t._ZNK8QGVector2atEj+0x2c): cannot handle R_PARISC_PCREL17F for QGVector::warningIndexRange(unsigned)/usr/bin/ld: final link failed: Bad value collect2: ld returned 1 exit status make[1]: *** [../../bin/moc] Error 1 make[1]: Leaving directory `/home/cvs/qt-copy/src/moc' make: *** [src-moc] Error 2 As you see I compiled with -ffunction-sections, but nevertheless I get the above errors. Is this a bug in ld or in g++ ? Thanks, Helge On Monday 15 October 2001 04:39, Christopher C. Chimelis wrote: > I just placed some test debs on klecker for testing. Can you try those > out on any archs that you can gain access to? Alpha is ok with this, and > I'm intending on building mips, m68k, and sparc, but haven't done so yet. > > The debs are at: > http://klecker.debian.org/~chris/binutils > > I've done more to this release aside from the patch that was in that > message (-z combreloc is enabled by default), so I'd appreciate if you > could give it a thorough test to be sure nothing breaks on whatever archs > that you can get to. I'll see what I can do on the archs that I have > here as well. > > Thanks! > C > > On Sun, 14 Oct 2001, Christopher C. Chimelis wrote: > > On Sun, 14 Oct 2001, Randolph Chung wrote: > > > Chris, > > > > > > This is a binutils bug reported upstream. > > > (http://sources.redhat.com/ml/binutils/2001-10/msg00240.html) > > > > > > there's a patch in that message; or we can wait for .6 i guess... > > > > I'll be preparing a new upload tomorrow with the patch (caught the > > announcement on the mips list). I'll let you know when the source > > package hits incoming so that you can test it out. > > > > C

