https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105709

--- Comment #3 from Sam James <sam at gentoo dot org> ---
Created attachment 53023
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=53023&action=edit
non-reduced-qt.cxx

(I've attached `non-reduced-qt.cxx` in case it's more illustrative. I didn't do
much to it, just yanked the qt_readlink function out of Qt, shoved
"/etc/timezone" into it (see the original backtrace), and it failed.

Needs to be compiled with:
```
$ g++ -O2 -D_FORTIFY_SOURCE=3 -o qt -fPIC -I/usr/include/qt5/QtCore
-I/usr/include/qt5 -I/usr/lib64/qt5/mkspecs/linux-g++
-I/usr/include/qt5/QtCore/5.15.4/QtCore/private/
-I/usr/include/qt5/QtCore/5.15.4/QtCore -I/usr/include/qt5/QtCore/5.15.4 qt.ii
-lQt5Core
```)

Reply via email to