[Interest] building Qt 4.8.7 with gcc 5 and link-time optimisation on Linux

Thiago Macieira thiago.macieira at intel.com
Fri Jul 24 00:44:16 CEST 2015


On Thursday 23 July 2015 23:03:25 René J. V. Bertin wrote:
> > I will not take a patch that disables CRC32 due to a compiler bug in an
> > unsupported configuration (LTO), especially if it's already fixed in the
> > latest version.
> 
> But what about the fact that that those intrinsics are still used even when 
> configure is called with -no-sse4.1 and -no-sse4.2?

That shouldn't happen. QT_COMPILER_SUPPORTS_SSE4_2 should not be defined, so 
this wouldn't evaluate to true:

#if QT_COMPILER_SUPPORTS_HERE(SSE4_2)
static inline bool hasFastCrc32()
{
    return qCpuHasFeature(SSE4_2);
}

[...]

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




More information about the Interest mailing list