[Interest] Qt 4.8.6 static UB failing due to "global weak symbol vtable"

Thiago Macieira thiago.macieira at intel.com
Thu Jun 12 01:07:52 CEST 2014


Em qua 11 jun 2014, às 15:59:16, Bob Hood escreveu:
> ld: bad codegen, pointer diff in __GLOBAL__I_a to global weak symbol
> __ZN7QStringD1Ev for architecture i386
> clang: error: linker command failed with exit code 1 (use -v to see
> invocation)

So it isn't a compiler bug, but it's definitely a toolchain bug.

_ZN7QStringD1Ev is the QString destructor, which is inline.

-- 
Thiago Macieira - thiago.macieira (AT) intel.com
  Software Architect - Intel Open Source Technology Center




More information about the Interest mailing list