Building qt5-gui port?

Steve Kargl sgk at troutmask.apl.washington.edu
Sun Feb 10 14:40:06 UTC 2019


On Sun, Feb 10, 2019 at 08:31:12AM +0100, Tobias C. Berner wrote:
> Moin moin
> 
> Make sure all your qt5-(qt5-gui dependency)-ports that are already
> installed are at 5.12.0.
> 

They are all up to date.

% cd /usr/ports
% svn update
% pkg delete -f qt5-\*
% portmaster -Byd x11-toolkits/qt5-gui

will die if I have "CFLAGS+=-march=native" in /etc/make.conf.

It seems to be a clang/clang++ issue on freebsd-current.  One of
the errors is

.obj/qimage.o: In function `QImage::fill(unsigned int)':
qimage.cpp:(.text+0x2442): undefined reference to `qt_memfill32(unsigned int*, unsigned int, int)'
qimage.cpp:(.text+0x2477): undefined reference to `qt_memfill16(unsigned short*, unsigned short, int)'
qimage.cpp:(.text+0x268f): undefined reference to `qt_memfill32(unsigned int*, unsigned int, int)'
qimage.cpp:(.text+0x26cf): undefined reference to `qt_memfill16(unsigned short*, unsigned short, int)'

% find work -name \*.cpp | xargs grep qt_memfill16
path_to/qdrawhelper_sse2.cpp:void qt_memfill16(quint16 *dest, quint16 value, int count)
path_to/qdrawhelper.cpp:void qt_memfill16(quint16 *dest, quint16 color, int count)
mobile:root[210] find work -name qdrawhelper.o
path_to/qdrawhelper.o
mobile:root[211] nm path_to/qdrawhelper.o | grep memfill
         U _Z12qt_memfill16Ptti
         U _Z12qt_memfill32Pjji
00017bb0 T _Z12qt_memfill64Pyyi

-- 
Steve


More information about the freebsd-ports mailing list