Do you need the vtable bug fixed?
Franz Sirl
Franz.Sirl-kernel@lauterbach.com
Fri Jun 4 02:53:00 GMT 1999
Am Fri, 04 Jun 1999 schrieb Martin v. Loewis:
>> Hmm, is there C++ binary compatibility between egcs-1.1.2 and
>> gcc-2.95 anyway? Eg. I couldn't link gcc-2.95 compiled KDE stuff
>> against a egcs-1.1.2 compiled qt-1.44 library on
>> powerpc-linux-gnu. If there's no compatibility possible, someone
>> should update the versioning stuff, otherwise I'll prepare a bug
>> report.
>
>I collected a list one time. It only had two items:
>- If you use STL, everything will break.
>
>- If you link with egcs 1.1, and some objects are gcc 2.95-compiled,
> your libgcc will miss some functions.
>
>If you found a problem that is not on this list, I'd like to know.
>Officially, there is no claim of any compatibility whatsoever.
I think it's not on the list, eg. compiling the kdebase package with
gcc-2.95pre against a egcs-1.1.2 compiled qt-1.44 gives the following error:
/bin/sh ../../libtool --silent --mode=link g++ -O2 -fsigned-char -DNO_DEBUG -L/usr/lib -L/usr/X11R6/lib -rpath /usr/lib -rpath /usr/X11R6/
lib -o kioslave kioslave_ipc.o kioslave_ipc2.o main.o xview.o ipc.o protocol.o http.o file.o ftp.o manage.o icon.o slave.o tar.o subprotoco
l.o cgi.o gzip.o ftp_proxy.o -lkimgio -ljpeg -ltiff -ljpeg -lz -lpng -lz -lm -lqt -lX11 -lm -lkdecore -lXext -lqt -lX11
http.o: In function `KProtocolHTTP::PrepareLanguageList(QString)':
http.o(.text+0xfb4): undefined reference to `QRegExp::QRegExp(char const *, bool, bool)'
http.o: In function `KProtocolHTTP::PrepareCharsetList(QString)':
http.o(.text+0x1e40): undefined reference to `QRegExp::QRegExp(char const *, bool, bool)'
http.o: In function `KProtocolHTTP::OpenHTTP(KURL *, int, bool)':
http.o(.text+0x3144): undefined reference to `QRegExp::QRegExp(char const *, bool, bool)'
collect2: ld returned 1 exit status
[fsirl@kernel:~]$ nm /usr/src/redhat/kdebase/BUILD/kdebase-1.1.1/kfm/kioslave/http.o |grep QRegExp
U _._7QRegExp
U __7QRegExpPCcbb
U find__C7QStringRC7QRegExpi
U match__C7QRegExpPCciPi
[fsirl@kernel:~]$ nm /usr/src/redhat/kdebase/BUILD/kdebase-1.1.1/kfm/kioslave/http.o |grep QRegExp|c++filt
U QRegExp::~QRegExp(void)
U QRegExp::QRegExp(char const *, bool, bool)
U QString::find(QRegExp const &, int) const
U QRegExp::match(char const *, int, int *) const
[fsirl@kernel:~]$ nm /usr/lib/libqt.so.1.44 |grep QRegExp
0013c11c T _._7QRegExp
0013be88 T __7QRegExp
0013befc T __7QRegExpPCcbT2
0013c00c T __7QRegExpRC7QRegExp
0013c224 T __as__7QRegExpPCc
0013c19c T __as__7QRegExpRC7QRegExp
0013c288 T __eq__C7QRegExpRC7QRegExp
0013d028 T compile__7QRegExp
0013d9bc T contains__C7QStringRC7QRegExp
0013d8f4 T findRev__C7QStringRC7QRegExpi
0013d8ac T find__C7QStringRC7QRegExpi
0013c3a4 T match__C7QRegExpPCciPi
0013c548 T matchstr__C7QRegExpPUsPcT2
0010e7e0 t objSearch__FP14QListM_QObjectT0PCcT2P7QRegExpb
0013da98 T replace__7QStringRC7QRegExpPCc
0013c370 T setCaseSensitive__7QRegExpb
0013c340 T setWildcard__7QRegExpb
[fsirl@kernel:~]$ nm /usr/lib/libqt.so.1.44 |grep QRegExp|c++filt
0013c11c T QRegExp::~QRegExp(void)
0013be88 T QRegExp::QRegExp(void)
0013befc T QRegExp::QRegExp(char const *, bool, bool)
0013c00c T QRegExp::QRegExp(QRegExp const &)
0013c224 T QRegExp::operator=(char const *)
0013c19c T QRegExp::operator=(QRegExp const &)
0013c288 T QRegExp::operator==(QRegExp const &) const
0013d028 T QRegExp::compile(void)
0013d9bc T QString::contains(QRegExp const &) const
0013d8f4 T QString::findRev(QRegExp const &, int) const
0013d8ac T QString::find(QRegExp const &, int) const
0013c3a4 T QRegExp::match(char const *, int, int *) const
0013c548 T QRegExp::matchstr(unsigned short *, char *, char *) const
0010e7e0 t objSearch(QListM_QObject *, QListM_QObject *, char const *, char const *, QRegExp *, bool)
0013da98 T QString::replace(QRegExp const &, char const *)
0013c370 T QRegExp::setCaseSensitive(bool)
0013c340 T QRegExp::setWildcard(bool)
What else information do you need?
Franz.
More information about the Gcc
mailing list