Details
-
Bug
-
Resolution: Unresolved
-
P2: Important
-
None
-
6.8.0 Beta1
Description
When building Qt with -sanitize address, two of the qhashfunctions tests fail:
1: FAIL! : tst_QHashFunctions::qhash_of_zero_floating_points(non-zero-seed-32bit) Compared values are not the same 1: Actual (qHash(-0.0L, seed)): 3099305450773626249 1: Expected (qHash(0.0L, seed)) : 3176497586058576151 1: Loc: [/home/marc/Qt/qtbase-submit/tests/auto/corelib/tools/qhashfunctions/tst_qhashfunctions.cpp(453)] 1: FAIL! : tst_QHashFunctions::qhash_of_zero_floating_points(non-zero-seed-32bit-negated) Compared values are not the same 1: Actual (qHash(-0.0L, seed)): 17072104050750418733 1: Expected (qHash(0.0L, seed)) : 4930474092949136662 1: Loc: [/home/marc/Qt/qtbase-submit/tests/auto/corelib/tools/qhashfunctions/tst_qhashfunctions.cpp(453)]
GCC 13 with asan works, as does GCC 14 w/o asan. I'm compiling in debug mode:
$ cat config.opt
-ccache
-no-pch
-opensource
-confirm-license
-debug
-force-debug-info
-separate-debug-info
-developer-build
-headersclean
-c++std
c++2a
-no-warnings-are-errors
-openssl-linked
-feature-openssl-hash
-sanitize
address
--
-DOPENSSL_ROOT_DIR=/d/openssl/32-dev
-DQT_NO_PACKAGE_VERSION_CHECK=TRUE
$ g++ -v
Using built-in specs.
COLLECT_GCC=g++
COLLECT_LTO_WRAPPER=/d/gcc/14/libexec/gcc/x86_64-pc-linux-gnu/14.1.1/lto-wrapper
Target: x86_64-pc-linux-gnu
Configured with: ../gcc/configure --prefix=/d/gcc/14 --enable-checking=release --disable-multilib --program-suffix=-14 --enable-languages=c,c++,fortran,lto,objc,obj-c++
Thread model: posix
Supported LTO compression algorithms: zlib zstd
gcc version 14.1.1 20240610 (GCC)