Created attachment 180196 [details] patch I'm building qt5 for armv7 with CXXFLAGS+=-mcpu=cortex-a7 and qt5 doesn't respect it. The result is that x11-toolkits/qt5-gui fails to build (missing neon feature): Build type: /usr/local/lib/qt5/mkspecs/freebsd-clang (arm, CPU features: none detected) snip image/qimage.cpp:(.text+0x1e14): undefined reference to `qt_memfill32(unsigned int*, unsigned int, int)' image/qimage.cpp:(.text+0x1f34): undefined reference to `qt_memfill32(unsigned int*, unsigned int, int)' .obj/qimage_conversions.o:(.data+0x524): undefined reference to `convert_RGB888_to_RGB32_neon(QImageData*, QImageData const*, QFlags<Qt::ImageConversionFlag>)' .obj/qimage_conversions.o:(.data+0x528): undefined reference to `convert_RGB888_to_RGB32_neon(QImageData*, QImageData const*, QFlags<Qt::ImageConversionFlag>)' .obj/qimage_conversions.o:(.data+0x52c): undefined reference to `convert_RGB888_to_RGB32_neon(QImageData*, QImageData const*, QFlags<Qt::ImageConversionFlag>)' .obj/qcompositionfunctions.o: In function `comp_func_solid_Clear(unsigned int*, int, unsigned int, unsigned int)': painting/qcompositionfunctions.cpp:(.text+0x1c): undefined reference to `qt_memfill32(unsigned int*, unsigned int, int)' .obj/qcompositionfunctions.o: In function `comp_func_Clear(unsigned int*, unsigned int const*, int, unsigned int)': painting/qcompositionfunctions.cpp:(.text+0x2ac): undefined reference to `qt_memfill32(unsigned int*, unsigned int, int)' .obj/qcompositionfunctions.o: In function `comp_func_solid_Source(unsigned int*, int, unsigned int, unsigned int)': painting/qcompositionfunctions.cpp:(.text+0x548): undefined reference to `qt_memfill32(unsigned int*, unsigned int, int)' .obj/qcompositionfunctions.o: In function `comp_func_solid_SourceOver(unsigned int*, int, unsigned int, unsigned int)': painting/qcompositionfunctions.cpp:(.text+0xc48): undefined reference to `qt_memfill32(unsigned int*, unsigned int, int)' .obj/qcompositionfunctions.o: In function `rasterop_solid_NotSource(unsigned int*, int, unsigned int, unsigned int)': painting/qcompositionfunctions.cpp:(.text+0x10eec): undefined reference to `qt_memfill32(unsigned int*, unsigned int, int)' .obj/qcompositionfunctions.o:painting/qcompositionfunctions.cpp:(.text+0x113e0): more undefined references to `qt_memfill32(unsigned int*, unsigned int, int)' follow .obj/qdrawhelper.o: In function `_GLOBAL__sub_I_qdrawhelper.cpp': painting/qdrawhelper.cpp:(.text+0x17b48): undefined reference to `qt_blend_argb32_on_argb32_neon(unsigned char*, int, unsigned char const*, int, int, int, int)' painting/qdrawhelper.cpp:(.text+0x17b4c): undefined reference to `qt_alphamapblit_quint16_neon(QRasterBuffer*, int, int, QRgba64 const&, unsigned char const*, int, int, int, QClipData const*)' The attached patch fixes the issue, obtained from mmel@
*** This bug has been marked as a duplicate of bug 216816 ***