Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 10 Feb 2019 06:40:01 -0800
From:      Steve Kargl <sgk@troutmask.apl.washington.edu>
To:        "Tobias C. Berner" <tcberner@freebsd.org>
Cc:        FreeBSD ports list <freebsd-ports@freebsd.org>
Subject:   Re: Building qt5-gui port?
Message-ID:  <20190210144001.GA32344@troutmask.apl.washington.edu>
In-Reply-To: <CAOshKtcrox42BOZu5Rx1sPWOO4WzU7cyZJ3PHRDS_%2Bpi5o=ReA@mail.gmail.com>
References:  <20190210033212.GA31401@troutmask.apl.washington.edu> <CAOshKtcrox42BOZu5Rx1sPWOO4WzU7cyZJ3PHRDS_%2Bpi5o=ReA@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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



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