Bug with GCC and Qt 5.7.0

When I build a Qt library from source, everything seems ok, but when the Qt example run, it show segmentation fault… Why do I compile from source, because my CPU on server not support SSE2 >_<

So I do some research, build it with difference version of GCC and CFLAGS.
This is the summary:


Building Qt waste time, just 2 hours per time.
After 6.1.0 compile fail, I found the GCC Bugzilla have some record.

"... cxx_eval_call_expression, at cp/constexpr.c:1449"

So there are bug with -Os flags on mainline, I have to wait for GCC 6.2, or compile with -O2.

This entry was posted in Memo and tagged , , , , , , , , , . Bookmark the permalink.