Restore QtCore ABI compatibility with binaries built with g++ 4.3 on armel Once Qt...
authorModestas Vainius <modax@debian.org>
Mon, 24 Jan 2022 10:55:59 +0000 (10:55 +0000)
committerUtkarsh Gupta <utkarsh@debian.org>
Mon, 24 Jan 2022 10:55:59 +0000 (10:55 +0000)
commitfeb441f3a1bd54e7edb7249b835e5c16e9cf2501
tree7f0122965d2da9552555b961e18b403d884afe9e
parent46a5cabd1d468aa05bb3f3e7196b0b5c8f1d86ce
Restore QtCore ABI compatibility with binaries built with g++ 4.3 on armel Once Qt is rebuilt with g++ 4.4, it becomes ABI incompatible with binaries built with g++ 4.3 on armel. That's because g++ 4.4 mangles va_list differently on armel. As a result, affected symbols are those which have va_list type in their argument list. Qt exports 2 such symbols: .   qvsnprintf(char *str, size_t n, const char *fmt, va_list ap);   QString &QString::vsprintf(const char* cformat, va_list ap); . The patch uses .symver assembler directive to add aliases for the symbols above. Those aliases are mangled in the same way as g++ 4.3 would mangle original symbols.

Forward: not-needed

Gbp-Pq: Name 92_armel_gcc43_valist_compat.diff
src/corelib/tools/qstring.cpp
src/corelib/tools/qvsnprintf.cpp