Universtal qt compiling bug "convert_RGB888_to_RGB32_neon...."
-
I'm tried native qt5 build document for raspberry.
Last result
rmbackingstore.o .obj/moc_qvalidator.o .obj/moc_qopenglshaderprogram.o .obj/moc_qopenglengineshadermanager_p.o -L/opt/vc/lib -L/home/pi/qt5/qtbase/lib -lQt5Core -lpthread -lpng -lqtharfbuzzng -lz -lGLESv2
.obj/qimage.o:qimage.cpp:function QImage::fill(unsigned int): error: undefined reference to 'qt_memfill32(unsigned int*, unsigned int, int)'
.obj/qimage.o:qimage.cpp:function QImage::fill(unsigned int): error: undefined reference to 'qt_memfill32(unsigned int*, unsigned int, int)'
.obj/qimage_conversions.o:qimage_conversions.cpp:function qInitImageConversions(): error: undefined reference to 'convert_RGB888_to_RGB32_neon(QImageData*, QImageData const*, QFlagsQt::ImageConversionFlag)'
.obj/qdrawhelper.o:qdrawhelper.cpp:function qt_rectfill_nonpremul_rgba(QRasterBuffer*, int, int, int, int, unsigned int): error: undefined reference to 'qt_memfill32(unsigned int*, unsigned int, int)'
.obj/qdrawhelper.o:qdrawhelper.cpp:function qt_bitmapblit_rgba8888(QRasterBuffer*, int, int, unsigned int, unsigned char const*, int, int, int): error: undefined reference to 'qt_memfill32(unsigned int*, unsigned int, int)'
.obj/qdrawhelper.o:qdrawhelper.cpp:function qInitDrawhelperAsm(): error: undefined reference to 'qt_blend_rgb32_on_rgb32_neon(unsigned char*, int, unsigned char const*, int, int, int, int)'
.obj/qdrawhelper.o:qdrawhelper.cpp:function qInitDrawhelperAsm(): error: undefined reference to 'qt_blend_argb32_on_argb32_neon(unsigned char*, int, unsigned char const*, int, int, int, int)'
.obj/qdrawhelper.o:qdrawhelper.cpp:function qInitDrawhelperAsm(): error: undefined reference to 'qt_blend_argb32_on_rgb16_neon(unsigned char*, int, unsigned char const*, int, int, int, int)'
.obj/qdrawhelper.o:qdrawhelper.cpp:function qInitDrawhelperAsm(): error: undefined reference to 'qt_blend_rgb16_on_argb32_neon(unsigned char*, int, unsigned char const*, int, int, int, int)'
.obj/qdrawhelper.o:qdrawhelper.cpp:function qInitDrawhelperAsm(): error: undefined reference to 'qt_blend_rgb16_on_rgb16_neon(unsigned char*, int, unsigned char const*, int, int, int, int)'
.obj/qdrawhelper.o:qdrawhelper.cpp:function qInitDrawhelperAsm(): error: undefined reference to 'qt_scale_image_argb32_on_rgb16_neon(unsigned char*, int, unsigned char const*, int, int, QRectF const&, QRectF const&, QRect const&, int)'
.obj/qdrawhelper.o:qdrawhelper.cpp:function qInitDrawhelperAsm(): error: undefined reference to 'qt_scale_image_rgb16_on_rgb16_neon(unsigned char*, int, unsigned char const*, int, int, QRectF const&, QRectF const&, QRect const&, int)'
.obj/qdrawhelper.o:qdrawhelper.cpp:function qInitDrawhelperAsm(): error: undefined reference to 'qt_transform_image_argb32_on_rgb16_neon(unsigned char*, int, unsigned char const*, int, QRectF const&, QRectF const&, QRect const&, QTransform const&, int)'
.obj/qdrawhelper.o:qdrawhelper.cpp:function qInitDrawhelperAsm(): error: undefined reference to 'qt_transform_image_rgb16_on_rgb16_neon(unsigned char*, int, unsigned char const*, int, QRectF const&, QRectF const&, QRect const&, QTransform const&, int)'
.obj/qdrawhelper.o:qdrawhelper.cpp:function qInitDrawhelperAsm(): error: undefined reference to 'qt_alphamapblit_quint16_neon(QRasterBuffer*, int, int, unsigned int, unsigned char const*, int, int, int, QClipData const*)'
.obj/qdrawhelper.o:qdrawhelper.cpp:function qInitDrawhelperAsm(): error: undefined reference to 'qt_blend_argb32_on_argb32_scanline_neon(unsigned int*, unsigned int const*, int, unsigned int)'
.obj/qdrawhelper.o:qdrawhelper.cpp:function qInitDrawhelperAsm(): error: undefined reference to 'comp_func_solid_SourceOver_neon(unsigned int*, int, unsigned int, unsigned int)'
.obj/qdrawhelper.o:qdrawhelper.cpp:function qInitDrawhelperAsm(): error: undefined reference to 'comp_func_Plus_neon(unsigned int*, unsigned int const*, int, unsigned int)'
.obj/qdrawhelper.o:qdrawhelper.cpp:function qInitDrawhelperAsm(): error: undefined reference to 'qt_destFetchRGB16_neon(unsigned int*, QRasterBuffer*, int, int, int)'
.obj/qdrawhelper.o:qdrawhelper.cpp:function qInitDrawhelperAsm(): error: undefined reference to 'qt_destStoreRGB16_neon(QRasterBuffer*, int, int, unsigned int const*, int)'
.obj/qdrawhelper.o:qdrawhelper.cpp:function qInitDrawhelperAsm(): error: undefined reference to 'qt_memrotate90_16_neon(unsigned char const*, int, int, int, unsigned char*, int)'
.obj/qdrawhelper.o:qdrawhelper.cpp:function qInitDrawhelperAsm(): error: undefined reference to 'qt_memrotate270_16_neon(unsigned char const*, int, int, int, unsigned char*, int)'
.obj/qdrawhelper.o:qdrawhelper.cpp:function qInitDrawhelperAsm(): error: undefined reference to 'qt_fetch_radial_gradient_neon(unsigned int*, Operator const*, QSpanData const*, int, int, int)'
collect2: hata: ld çıkış durumu 1 ile döndü
Makefile:1124: recipe for target '../../lib/libQt5Gui.so.5.5.0' failed
make[3]: *** [../../lib/libQt5Gui.so.5.5.0] Error 1
make[3]: Leaving directory '/home/pi/qt5/qtbase/src/gui'
Makefile:470: recipe for target 'sub-gui-make_first' failed
make[2]: *** [sub-gui-make_first] Error 2
make[2]: Leaving directory '/home/pi/qt5/qtbase/src'
Makefile:45: recipe for target 'sub-src-make_first' failed
make[1]: *** [sub-src-make_first] Error 2
make[1]: Leaving directory '/home/pi/qt5/qtbase'
Makefile:73: recipe for target 'module-qtbase-make_first' failed
make: *** [module-qtbase-make_first] Error 2This is universal bug. I'm searched lots of people facing this.
Qt's raspbian api support very good. But this bug doing problem for lots of people.
-
Hi and welcome to devnet,
What configuration option did you use ? Are you doing a native build ?
-
Hi. Thanks for reply.
I'm used fresh non-touched new raspbian and issue fixed.
My defaut configiration (problem one):
Kernel 3.18.10 BFS+BFQ scheduler patchset.
Native linaro gcc 4.8.5 ( used for kernel )After compilation done. Open gl cube test not worked. I'm added this to config.txt And worked.
framebuffer_depth=32
framebuffer_ignore_alpha=1
gpu_mem=128 -
config.txt ?