Details
-
Bug
-
Resolution: Done
-
P2: Important
-
5.12.0
-
-
497a795081b95d487f0ec33746cc2a12ffeae5a0 (qt/qtdeclarative/5.12)
Description
While working on reproducible builds for openSUSE, I found that
when building the libqt5-qtquickcontrols package for openSUSE Linux, there were slight differences between each build: 1-byte diffs in various qmlc files.
Further analysis showed that this can be reproduced with
/usr/lib64/qt5/bin/qmlcachegen -o x EditMenu_base.qml
md5sum x
and variations go away when disabling ASLR with setarch `arch` -R
See https://github.com/bmwiedemann/theunreproduciblepackage/tree/master/aslr for examples of how ASLR introduces non-determinism.
I attached a 10-line minimal reproducer example.qml file.
Attachments
For Gerrit Dashboard: QTBUG-74532 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
256643,2 | Initialize TranslationData padding before writing cache files | 5.12 | qt/qtdeclarative | Status: MERGED | +2 | 0 |