retitle 656380 mangling fixes for ppc64 thanks Alle mercoledì 18 gennaio 2012, Pino Toscano ha scritto: > However, we need also to fix the information about symbols mangling > on ppc64 in our symbols helpers (part of pkg-kde-tools), so I've > cloned this bug for pkg-kde-tools; will followup on that bug further > (simple) instructions on how to provide them. So, attached there is a small source, which you should compile (making sure to have libqt4-dev installed): $ g++ -Wno-long-long-g3 -O0 -DWITH_QT -I/usr/include/qt4 \ -o manglingtest manglingtest.cpp and then $ readelf -a manglingtest | grep _type please attach the output of this last readelf command. Thanks, -- Pino Toscano
#include <iostream>
#include <stdint.h>
#ifdef WITH_QT
#include <QtCore/qnamespace.h>
#endif
#define ADD_FUNC(TYPE) int f_##TYPE##_type(TYPE) { (void)&f_##TYPE##_type; return 0; }
ADD_FUNC(size_t)
ADD_FUNC(ssize_t)
ADD_FUNC(int64_t)
ADD_FUNC(uint64_t)
#ifdef WITH_QT
ADD_FUNC(qptrdiff)
ADD_FUNC(quintptr)
ADD_FUNC(qreal)
#endif
int main()
{
return 0;
}
Attachment:
signature.asc
Description: This is a digitally signed message part.