Building qt5-gui port?

Carmel NY carmel_ny at outlook.com
Sun Feb 10 15:12:08 UTC 2019


On Sun, 10 Feb 2019 06:40:01 -0800, Steve Kargl stated:

>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
>

Just for grins, what is the output of:
	dmesg | grep -i "CPU"

-- 
Carmel


More information about the freebsd-ports mailing list