Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 21 Feb 2017 17:22:58 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 217278] devel/qt5: doesn't respect CXXFLAGS
Message-ID:  <bug-217278-13@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D217278

            Bug ID: 217278
           Summary: devel/qt5: doesn't respect CXXFLAGS
           Product: Ports & Packages
           Version: Latest
          Hardware: arm
                OS: Any
            Status: New
          Severity: Affects Many People
          Priority: ---
         Component: Individual Port(s)
          Assignee: kde@FreeBSD.org
          Reporter: mikael.urankar@gmail.com
                CC: freebsd-arm@FreeBSD.org
                CC: freebsd-arm@FreeBSD.org
          Assignee: kde@FreeBSD.org
             Flags: maintainer-feedback?(kde@FreeBSD.org)

Created attachment 180196
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D180196&action=
=3Dedit
patch

I'm building qt5 for armv7 with CXXFLAGS+=3D-mcpu=3Dcortex-a7 and qt5 doesn=
't
respect it.
The result is that x11-toolkits/qt5-gui fails to build (missing neon featur=
e):

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(unsig=
ned
int*, unsigned int, int)'
image/qimage.cpp:(.text+0x1f34): undefined reference to `qt_memfill32(unsig=
ned
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 i=
nt*,
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(unsig=
ned
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+0x11=
3e0):
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@

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-217278-13>