[Bug 236855] www/qt5-webengine: fails to build on aarch64 and armv7 after 5.12 update
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Wed Apr 3 16:53:39 BST 2019
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=236855
--- Comment #17 from Jan Beich <jbeich at FreeBSD.org> ---
Comment on attachment 203348
--> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=203348
aarch64 fixes
>+--- src/3rdparty/chromium/third_party/skia/src/opts/SkRasterPipeline_opts.h.orig 2019-01-16 10:59:47 UTC
>++++ src/3rdparty/chromium/third_party/skia/src/opts/SkRasterPipeline_opts.h
>+@@ -658,9 +658,7 @@ SI F approx_powf(F x, F y) {
>+
>+ SI F from_half(U16 h) {
>+ #if defined(__ARM_FP16_FORMAT_IEEE)
>+- __fp16 fp16;
>+- memcpy(&fp16, &h, sizeof(U16));
>+- return float(fp16);
>++ return vcvt_f32_f16(h);
>+
>+ #elif defined(JUMPER_IS_HSW) || defined(JUMPER_IS_AVX512)
>+ return _mm256_cvtph_ps(h);
>+@@ -680,10 +678,7 @@ SI F from_half(U16 h) {
>+
>+ SI U16 to_half(F f) {
>+ #if defined(__ARM_FP16_FORMAT_IEEE)
>+- __fp16 fp16 = __fp16(f);
>+- U16 u16;
>+- memcpy(&u16, &fp16, sizeof(U16));
>+- return u16;
>++ return vcvt_f16_f32(f);
armv7 didn't like this change:
In file included from
../../../../qtwebengine-everywhere-src-5.12.1/src/3rdparty/chromium/third_party/skia/src/core/SkOpts.cpp:43:
../../../../qtwebengine-everywhere-src-5.12.1/src/3rdparty/chromium/third_party/skia/src/opts/SkRasterPipeline_opts.h:661:12:
error: use of undeclared identifier 'vcvt_f32_f16'
return vcvt_f32_f16(h);
^
../../../../qtwebengine-everywhere-src-5.12.1/src/3rdparty/chromium/third_party/skia/src/opts/SkRasterPipeline_opts.h:681:12:
error: use of undeclared identifier 'vcvt_f16_f32'
return vcvt_f16_f32(f);
^
2 errors generated.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the kde-freebsd
mailing list