Bug 9991 - gcc6: qtbase5 compile error.
Summary: gcc6: qtbase5 compile error.
Status: RESOLVED FIXED
Alias: None
Product: OE-Core
Classification: Build System, Metadata & Runtime
Component: devtools / tool chain (show other bugs)
Version: 2.2
Hardware: Other arm
: Medium+ normal
Target Milestone: 2.2 M3
Assignee: Khem Raj
QA Contact: Francisco Pedraza
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2016-07-21 02:52 UTC by niqingliang2003
Modified: 2016-07-29 15:48 UTC (History)
5 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: New (Never tested)
Verified:
Documentation change: No (bug/feature does not impact docs)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description niqingliang2003 2016-07-21 02:52:41 UTC
when compiling qtbase in meta-qt5, it says:
| ../../include/QtCore/../../../git/src/corelib/global/qendian.h:143:36:
fatal error: You must enable NEON instructions (e.g.
-mfloat-abi=softfp -mfpu=neon) to use these intrinsics.
|      return __builtin_bswap16(source);
|                                     ^


bug description:
      https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71056
upstream patch:
      https://gcc.gnu.org/viewcvs/gcc?view=revision&revision=236910
mirror on github:
    https://github.com/gcc-mirror/gcc/commit/84d2a5509892b65ed60d39e6e2f9719e3762e40e
Comment 1 Ross Burton 2016-07-26 16:33:54 UTC
Fixed in oe-core 0d69b3bf6cdeee866642529b6269391146333a43.