Summary: | x11-libs/qt-gui-4.7.3: configure misdetects neon support on armv7a-hardfloat-linux-gnueabi | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Denis I. Polukarov <dipolukarov> |
Component: | Eclasses | Assignee: | Qt Bug Alias <qt> |
Status: | RESOLVED DUPLICATE | ||
Severity: | normal | ||
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | ARM | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
emerge --info ***
emerge -pqv *** Full build log The build environment |
Description
Denis I. Polukarov
2011-06-14 13:52:31 UTC
Created attachment 277035 [details]
emerge --info ***
Created attachment 277037 [details]
emerge -pqv ***
Created attachment 277039 [details]
Full build log
Created attachment 277041 [details]
The build environment
All libs x11-libs/qt-gui & x11-libs/qt-* was compiled, after manually added '-no-neon' flag to var myconf in all ebuilds in src_configure section. neon auto-detection... () armv7a-hardfloat-linux-gnueabi-g++ -c -pipe -mfpu=neon -Wall -W -I../../../mkspecs/linux-g++ -I. -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/freetype2 -o neon.o neon.cpp armv7a-hardfloat-linux-gnueabi-g++ -Wl,-O1 -Wl,-rpath,/usr/lib/qt4 -o neon neon.o -lgthread-2.0 -lrt -lglib-2.0 -mfpu=neon neon enabled. For some reasons neon support is enabled at configure-time because auto-detection is successful... AFAIK there exist arm CPUs equipped with a neon unit, so we can't just forcefully disable neon on armv7, we have to properly fix the configure test. The configure test only passes -mfpu=neon to the compiler, but I guess it should pass -mfloat-abi=softfp too. Sorry... not Cortex-A9... Tegra2, on Tegra2 Cortex-A9 is without NEON, but with 'High performance VFPv3 Floating Point Unit doubling the performance of previous ARM FPUs (optional).' (http://en.wikipedia.org/wiki/ARM_Cortex-A9_MPCore) I confirm this bug on my Tegra 2 based Toshiba AC100 netbook, which does not have NEON. I suggest fixing this by using the "neon" USE flag: IUSE+="neon" myconf+="$(qt_use neon)" Autodetection is not the way to go. (Old Gentoo Wisdom) Now that bug #336618 is fixed, could you test again please? *** This bug has been marked as a duplicate of bug 336618 *** =x11-libs/qt-gui-4.8.0-r1 successful build. |