pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/54383: firefox 68.0 build fails on NetBSD/i386 8.1



>Number:         54383
>Category:       pkg
>Synopsis:       firefox 68.0 build fails on NetBSD/i386 8.1
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Jul 17 17:00:00 +0000 2019
>Originator:     Izumi Tsutsui
>Release:        NetBSD 8.1
>Organization:
>Environment:
System: NetBSD 8.1 (GENERIC) #0: Fri May 31 08:43:59 UTC 2019 mkrepro%mkrepro.NetBSD.org@localhost:/usr/src/sys/arch/i386/compile/GENERIC i386
Architecture: i386
Machine: i386
>Description:
pkgsrc/www/firefox 68.0 builds on NetBSD/i386 8.1 fail with
the following error:
---
=> Bootstrap dependency digest>=20010302: found digest-20190127
===> Invoking ``all'' after barrier for firefox-68.0
===> Building for firefox-68.0

 :

gmake[3]: Entering directory '/usr/pkgsrc/www/firefox/work.i386/build/gfx/skia'
gfx/skia/skcms.o
/usr/pkgsrc/www/firefox/work.i386/.cwrapper/bin/c++ -o skcms.o -c  -I/usr/pkgsrc/www/firefox/work.i386/build/dist/stl_wrappers -I/usr/pkgsrc/www/firefox/work.i386/build/dist/system_wrappers -include /usr/pkgsrc/www/firefox/work.i386/firefox-68.0/config/gcc_hidden.h -DNDEBUG=1 -DTRIMMED=1 -DSKIA_IMPLEMENTATION=1 -DSTATIC_EXPORTABLE_JS_API -DMOZ_HAS_MOZGLUE -DMOZILLA_INTERNAL_API -DIMPL_LIBXUL -I/usr/pkgsrc/www/firefox/work.i386/firefox-68.0/gfx/skia -I/usr/pkgsrc/www/firefox/work.i386/build/gfx/skia -I/usr/pkgsrc/www/firefox/work.i386/firefox-68.0/gfx/skia/skia/include/c -I/usr/pkgsrc/www/firefox/work.i386/firefox-68.0/gfx/skia/skia/include/codec -I/usr/pkgsrc/www/firefox/work.i386/firefox-68.0/gfx/skia/skia/include/config -I/usr/pkgsrc/www/firefox/work.i386/firefox-68.0/gfx/skia/skia/include/core -I/usr/pkgsrc/www/firefox/work.i386/firefox-68.0/gfx/skia/skia/include/docs -I/usr/pkgsrc/www/firefox/work.i386/firefox-68.0/gfx/skia/skia/include/effects -I/usr/pkgsrc/www/firefox/!
 work.i386/firefox-68.0/gfx/skia/skia/include/encode -I/usr/pkgsrc/www/firefox/work.i386/firefox-68.0/gfx/skia/skia/include/gpu -I/usr/pkgsrc/www/firefox/work.i386/firefox-68.0/gfx/skia/skia/include/pathops -I/usr/pkgsrc/www/firefox/work.i386/firefox-68.0/gfx/skia/skia/include/ports -I/usr/pkgsrc/www/firefox/work.i386/firefox-68.0/gfx/skia/skia/include/private -I/usr/pkgsrc/www/firefox/work.i386/firefox-68.0/gfx/skia/skia/include/utils -I/usr/pkgsrc/www/firefox/work.i386/firefox-68.0/gfx/skia/skia/include/utils/mac -I/usr/pkgsrc/www/firefox/work.i386/firefox-68.0/gfx/skia/skia/src/codec -I/usr/pkgsrc/www/firefox/work.i386/firefox-68.0/gfx/skia/skia/src/core -I/usr/pkgsrc/www/firefox/work.i386/firefox-68.0/gfx/skia/skia/src/image -I/usr/pkgsrc/www/firefox/work.i386/firefox-68.0/gfx/skia/skia/src/lazy -I/usr/pkgsrc/www/firefox/work.i386/firefox-68.0/gfx/skia/skia/src/opts -I/usr/pkgsrc/www/firefox/work.i386/firefox-68.0/gfx/skia/skia/src/sfnt -I/usr/pkgsrc/www/firefox/work.i38!
 6/firefox-68.0/gfx/skia/skia/src/shaders -I/usr/pkgsrc/www/fir!
 efox/work.i386/firefox-68.0/gfx/skia/skia/src/shaders/gradients -I/usr/pkgsrc/www/firefox/work.i386/firefox-68.0/gfx/skia/skia/src/sksl -I/usr/pkgsrc/www/firefox/work.i386/firefox-68.0/gfx/skia/skia/src/utils -I/usr/pkgsrc/www/firefox/work.i386/firefox-68.0/gfx/skia/skia/src/utils/mac -I/usr/pkgsrc/www/firefox/work.i386/firefox-68.0/gfx/skia/skia/src/utils/win -I/usr/pkgsrc/www/firefox/work.i386/build/dist/include -I/usr/pkg/include/nspr -I/usr/pkg/include/nss -I/usr/pkg/include/nspr -I/usr/pkgsrc/www/firefox/work.i386/build/dist/include/nss -I/usr/X11R7/include/pixman-1 -fPIC -DPIC -DMOZILLA_CLIENT -include /usr/pkgsrc/www/firefox/work.i386/build/mozilla-config.h -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/nspr -I/usr/pkg/include/nss/nss -I/usr/X11R7/include -I/usr/X11R7/include/libdrm -I/usr/pkg/include/glib-2.0 -I/usr/pkg/include/gio-unix-2.0 -I/usr/pkg/lib/glib-2.0/include -I/usr/pkg/include/ffmpeg4 -I/usr/X11R7/include/freetype2 -U_FORTIFY_SOURCE -D_FORTIFY_SO!
 URCE=2 -fstack-protector-strong -Wall -Wempty-body -Wignored-qualifiers -Woverloaded-virtual -Wpointer-arith -Wsign-compare -Wtype-limits -Wunreachable-code -Wwrite-strings -Wno-invalid-offsetof -Wduplicated-cond -Wno-error=maybe-uninitialized -Wno-error=deprecated-declarations -Wno-error=array-bounds -Wno-error=coverage-mismatch -Wno-error=free-nonheap-object -Wformat -fno-sized-deallocation -O2 -I/usr/pkg/include/nspr -D_GLIBCXX_INCLUDE_NEXT_C_HEADERS -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/nss/nss -I/usr/X11R7/include -I/usr/X11R7/include/libdrm -I/usr/pkg/include/glib-2.0 -I/usr/pkg/include/gio-unix-2.0 -I/usr/pkg/lib/glib-2.0/include -I/usr/pkg/include/ffmpeg4 -I/usr/X11R7/include/freetype2 -march=i586 -mstackrealign -D__HAVE_INLINE___ISINF -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fno-exceptions -fno-strict-aliasing -Dunix -fno-rtti -ffunction-sections -fdata-sections -fno-exceptions -fno-math-errno -pthread -pipe!
  -I/usr/pkg/include -O2 -fomit-frame-pointer -funwind-tables -!
 Wno-depre!
 cated-declarations -Wno-overloaded-virtual -Wno-shadow -Wno-sign-compare -Wno-unreachable-code -Wno-unused-function -Wno-logical-op -Wno-maybe-uninitialized -I/usr/pkgsrc/www/firefox/work.i386/build/dist/include/cairo -I/usr/X11R7/include/freetype2 -I/usr/X11R7/include -I/usr/X11R7/include/freetype2 -I/usr/pkg/include/pango-1.0 -I/usr/pkg/include/glib-2.0 -I/usr/pkg/lib/glib-2.0/include -I/usr/pkg/include -I/usr/pkg/include/fribidi -I/usr/X11R7/include/freetype2 -I/usr/X11R7/include -I/usr/pkg/include/harfbuzz -I/usr/pkg/include/cairo -I/usr/X11R7/include/pixman-1 -I/usr/pkg/include/libpng16 -D_REENTRANT  -MD -MP -MF .deps/skcms.o.pp  -O3 /usr/pkgsrc/www/firefox/work.i386/firefox-68.0/gfx/skia/skia/third_party/skcms/skcms.cc
In file included from /usr/pkgsrc/www/firefox/work.i386/firefox-68.0/gfx/skia/skia/third_party/skcms/skcms.cc:1859:0:
/usr/pkgsrc/www/firefox/work.i386/firefox-68.0/gfx/skia/skia/third_party/skcms/src/Transform_inl.h: In function 'baseline::I32 baseline::to_fixed(baseline::F)':
/usr/pkgsrc/www/firefox/work.i386/firefox-68.0/gfx/skia/skia/third_party/skcms/src/Transform_inl.h:126:20: warning: SSE vector return without SSE enabled changes the ABI [-Wpsabi]
 SI I32 to_fixed(F f) {  return cast<I32>(f + 0.5f); }
                    ^
/usr/pkgsrc/www/firefox/work.i386/firefox-68.0/gfx/skia/skia/third_party/skcms/src/Transform_inl.h: In function 'baseline::U16 baseline::Half_from_F(baseline::F)':
/usr/pkgsrc/www/firefox/work.i386/firefox-68.0/gfx/skia/skia/third_party/skcms/src/Transform_inl.h:165:23: warning: MMX vector return without MMX enabled changes the ABI [-Wpsabi]
 SI U16 Half_from_F(F f) {
                       ^
/usr/pkgsrc/www/firefox/work.i386/firefox-68.0/gfx/skia/skia/third_party/skcms/src/Transform_inl.h: In function 'baseline::U64 baseline::swap_endian_16x4(const U64&)':
/usr/pkgsrc/www/firefox/work.i386/firefox-68.0/gfx/skia/skia/third_party/skcms/src/Transform_inl.h:191:40: warning: AVX vector return without AVX enabled changes the ABI [-Wpsabi]
 SI U64 swap_endian_16x4(const U64& rgba) {
                                        ^
/usr/pkgsrc/www/firefox/work.i386/firefox-68.0/gfx/skia/skia/third_party/skcms/src/Transform_inl.h: In instantiation of 'D baseline::cast(const S&) [with D = __vector(4) int; S = __vector(4) float]':
/usr/pkgsrc/www/firefox/work.i386/firefox-68.0/gfx/skia/skia/third_party/skcms/src/Transform_inl.h:126:50:   required from here
/usr/pkgsrc/www/firefox/work.i386/firefox-68.0/gfx/skia/skia/third_party/skcms/src/Transform_inl.h:108:15: warning: narrowing conversion of '(float)(*(const float*)(& v))' from 'float' to 'int' inside { } [-Wnarrowing]
     return D{v[0],v[1],v[2],v[3]};
              ~^
/usr/pkgsrc/www/firefox/work.i386/firefox-68.0/gfx/skia/skia/third_party/skcms/src/Transform_inl.h:108:20: warning: narrowing conversion of '(float)(*(((const float*)(& v)) + 4u))' from 'float' to 'int' inside { } [-Wnarrowing]
     return D{v[0],v[1],v[2],v[3]};
                   ~^
/usr/pkgsrc/www/firefox/work.i386/firefox-68.0/gfx/skia/skia/third_party/skcms/src/Transform_inl.h:108:25: warning: narrowing conversion of '(float)(*(((const float*)(& v)) + 8u))' from 'float' to 'int' inside { } [-Wnarrowing]
     return D{v[0],v[1],v[2],v[3]};
                        ~^
/usr/pkgsrc/www/firefox/work.i386/firefox-68.0/gfx/skia/skia/third_party/skcms/src/Transform_inl.h:108:30: warning: narrowing conversion of '(float)(*(((const float*)(& v)) + 12u))' from 'float' to 'int' inside { } [-Wnarrowing]
     return D{v[0],v[1],v[2],v[3]};
                             ~^
/usr/pkgsrc/www/firefox/work.i386/firefox-68.0/gfx/skia/skia/third_party/skcms/src/Transform_inl.h: In instantiation of 'D baseline::cast(const S&) [with D = __vector(4) short unsigned int; S = __vector(4) unsigned int]':
/usr/pkgsrc/www/firefox/work.i386/firefox-68.0/gfx/skia/skia/third_party/skcms/src/Transform_inl.h:180:88:   required from here
/usr/pkgsrc/www/firefox/work.i386/firefox-68.0/gfx/skia/skia/third_party/skcms/src/Transform_inl.h:108:15: warning: narrowing conversion of '(unsigned int)(*(const unsigned int*)(& v))' from 'unsigned int' to 'short unsigned int' inside { } [-Wnarrowing]
     return D{v[0],v[1],v[2],v[3]};
              ~^
/usr/pkgsrc/www/firefox/work.i386/firefox-68.0/gfx/skia/skia/third_party/skcms/src/Transform_inl.h:108:20: warning: narrowing conversion of '(unsigned int)(*(((const unsigned int*)(& v)) + 4u))' from 'unsigned int' to 'short unsigned int' inside { } [-Wnarrowing]
     return D{v[0],v[1],v[2],v[3]};
                   ~^
/usr/pkgsrc/www/firefox/work.i386/firefox-68.0/gfx/skia/skia/third_party/skcms/src/Transform_inl.h:108:25: warning: narrowing conversion of '(unsigned int)(*(((const unsigned int*)(& v)) + 8u))' from 'unsigned int' to 'short unsigned int' inside { } [-Wnarrowing]
     return D{v[0],v[1],v[2],v[3]};
                        ~^
/usr/pkgsrc/www/firefox/work.i386/firefox-68.0/gfx/skia/skia/third_party/skcms/src/Transform_inl.h:108:30: warning: narrowing conversion of '(unsigned int)(*(((const unsigned int*)(& v)) + 12u))' from 'unsigned int' to 'short unsigned int' inside { } [-Wnarrowing]
     return D{v[0],v[1],v[2],v[3]};
                             ~^
/usr/pkgsrc/www/firefox/work.i386/firefox-68.0/gfx/skia/skia/third_party/skcms/src/Transform_inl.h: In instantiation of 'D baseline::cast(const S&) [with D = __vector(4) float; S = __vector(4) int]':
/usr/pkgsrc/www/firefox/work.i386/firefox-68.0/gfx/skia/skia/third_party/skcms/src/Transform_inl.h:217:39:   required from here
/usr/pkgsrc/www/firefox/work.i386/firefox-68.0/gfx/skia/skia/third_party/skcms/src/Transform_inl.h:108:15: warning: narrowing conversion of '(int)(*(const int*)(& v))' from 'int' to 'float' inside { } [-Wnarrowing]
     return D{v[0],v[1],v[2],v[3]};
              ~^
/usr/pkgsrc/www/firefox/work.i386/firefox-68.0/gfx/skia/skia/third_party/skcms/src/Transform_inl.h:108:20: warning: narrowing conversion of '(int)(*(((const int*)(& v)) + 4u))' from 'int' to 'float' inside { } [-Wnarrowing]
     return D{v[0],v[1],v[2],v[3]};
                   ~^
/usr/pkgsrc/www/firefox/work.i386/firefox-68.0/gfx/skia/skia/third_party/skcms/src/Transform_inl.h:108:25: warning: narrowing conversion of '(int)(*(((const int*)(& v)) + 8u))' from 'int' to 'float' inside { } [-Wnarrowing]
     return D{v[0],v[1],v[2],v[3]};
                        ~^
/usr/pkgsrc/www/firefox/work.i386/firefox-68.0/gfx/skia/skia/third_party/skcms/src/Transform_inl.h:108:30: warning: narrowing conversion of '(int)(*(((const int*)(& v)) + 12u))' from 'int' to 'float' inside { } [-Wnarrowing]
     return D{v[0],v[1],v[2],v[3]};
                             ~^
/usr/pkgsrc/www/firefox/work.i386/firefox-68.0/gfx/skia/skia/third_party/skcms/src/Transform_inl.h: In instantiation of 'D baseline::cast(const S&) [with D = __vector(4) float; S = __vector(4) unsigned char]':
/usr/pkgsrc/www/firefox/work.i386/firefox-68.0/gfx/skia/skia/third_party/skcms/src/Transform_inl.h:496:21:   required from here
/usr/pkgsrc/www/firefox/work.i386/firefox-68.0/gfx/skia/skia/third_party/skcms/src/Transform_inl.h:108:15: warning: narrowing conversion of '(unsigned char)(*(const unsigned char*)(& v))' from 'unsigned char' to 'float' inside { } [-Wnarrowing]
     return D{v[0],v[1],v[2],v[3]};
              ~^
/usr/pkgsrc/www/firefox/work.i386/firefox-68.0/gfx/skia/skia/third_party/skcms/src/Transform_inl.h:108:20: warning: narrowing conversion of '(unsigned char)(*(((const unsigned char*)(& v)) + 1u))' from 'unsigned char' to 'float' inside { } [-Wnarrowing]
     return D{v[0],v[1],v[2],v[3]};
                   ~^
/usr/pkgsrc/www/firefox/work.i386/firefox-68.0/gfx/skia/skia/third_party/skcms/src/Transform_inl.h:108:25: warning: narrowing conversion of '(unsigned char)(*(((const unsigned char*)(& v)) + 2u))' from 'unsigned char' to 'float' inside { } [-Wnarrowing]
     return D{v[0],v[1],v[2],v[3]};
                        ~^
/usr/pkgsrc/www/firefox/work.i386/firefox-68.0/gfx/skia/skia/third_party/skcms/src/Transform_inl.h:108:30: warning: narrowing conversion of '(unsigned char)(*(((const unsigned char*)(& v)) + 3u))' from 'unsigned char' to 'float' inside { } [-Wnarrowing]
     return D{v[0],v[1],v[2],v[3]};
                             ~^
/usr/pkgsrc/www/firefox/work.i386/firefox-68.0/gfx/skia/skia/third_party/skcms/src/Transform_inl.h: In instantiation of 'D baseline::cast(const S&) [with D = __vector(4) float; S = __vector(4) short unsigned int]':
/usr/pkgsrc/www/firefox/work.i386/firefox-68.0/gfx/skia/skia/third_party/skcms/src/Transform_inl.h:503:21:   required from here
/usr/pkgsrc/www/firefox/work.i386/firefox-68.0/gfx/skia/skia/third_party/skcms/src/Transform_inl.h:108:15: warning: narrowing conversion of '(short unsigned int)(*(const short unsigned int*)(& v))' from 'short unsigned int' to 'float' inside { } [-Wnarrowing]
     return D{v[0],v[1],v[2],v[3]};
              ~^
/usr/pkgsrc/www/firefox/work.i386/firefox-68.0/gfx/skia/skia/third_party/skcms/src/Transform_inl.h:108:20: warning: narrowing conversion of '(short unsigned int)(*(((const short unsigned int*)(& v)) + 2u))' from 'short unsigned int' to 'float' inside { } [-Wnarrowing]
     return D{v[0],v[1],v[2],v[3]};
                   ~^
/usr/pkgsrc/www/firefox/work.i386/firefox-68.0/gfx/skia/skia/third_party/skcms/src/Transform_inl.h:108:25: warning: narrowing conversion of '(short unsigned int)(*(((const short unsigned int*)(& v)) + 4u))' from 'short unsigned int' to 'float' inside { } [-Wnarrowing]
     return D{v[0],v[1],v[2],v[3]};
                        ~^
/usr/pkgsrc/www/firefox/work.i386/firefox-68.0/gfx/skia/skia/third_party/skcms/src/Transform_inl.h:108:30: warning: narrowing conversion of '(short unsigned int)(*(((const short unsigned int*)(& v)) + 6u))' from 'short unsigned int' to 'float' inside { } [-Wnarrowing]
     return D{v[0],v[1],v[2],v[3]};
                             ~^
/usr/pkgsrc/www/firefox/work.i386/firefox-68.0/gfx/skia/skia/third_party/skcms/src/Transform_inl.h: In instantiation of 'D baseline::cast(const S&) [with D = __vector(4) float; S = __vector(4) unsigned int]':
/usr/pkgsrc/www/firefox/work.i386/firefox-68.0/gfx/skia/skia/third_party/skcms/src/Transform_inl.h:537:36:   required from here
/usr/pkgsrc/www/firefox/work.i386/firefox-68.0/gfx/skia/skia/third_party/skcms/src/Transform_inl.h:108:15: warning: narrowing conversion of '(unsigned int)(*(const unsigned int*)(& v))' from 'unsigned int' to 'float' inside { } [-Wnarrowing]
     return D{v[0],v[1],v[2],v[3]};
              ~^
/usr/pkgsrc/www/firefox/work.i386/firefox-68.0/gfx/skia/skia/third_party/skcms/src/Transform_inl.h:108:20: warning: narrowing conversion of '(unsigned int)(*(((const unsigned int*)(& v)) + 4u))' from 'unsigned int' to 'float' inside { } [-Wnarrowing]
     return D{v[0],v[1],v[2],v[3]};
                   ~^
/usr/pkgsrc/www/firefox/work.i386/firefox-68.0/gfx/skia/skia/third_party/skcms/src/Transform_inl.h:108:25: warning: narrowing conversion of '(unsigned int)(*(((const unsigned int*)(& v)) + 8u))' from 'unsigned int' to 'float' inside { } [-Wnarrowing]
     return D{v[0],v[1],v[2],v[3]};
                        ~^
/usr/pkgsrc/www/firefox/work.i386/firefox-68.0/gfx/skia/skia/third_party/skcms/src/Transform_inl.h:108:30: warning: narrowing conversion of '(unsigned int)(*(((const unsigned int*)(& v)) + 12u))' from 'unsigned int' to 'float' inside { } [-Wnarrowing]
     return D{v[0],v[1],v[2],v[3]};
                             ~^
/usr/pkgsrc/www/firefox/work.i386/firefox-68.0/gfx/skia/skia/third_party/skcms/src/Transform_inl.h: In instantiation of 'D baseline::cast(const S&) [with D = __vector(4) float; S = __vector(4) long long unsigned int]':
/usr/pkgsrc/www/firefox/work.i386/firefox-68.0/gfx/skia/skia/third_party/skcms/src/Transform_inl.h:554:38:   required from here
/usr/pkgsrc/www/firefox/work.i386/firefox-68.0/gfx/skia/skia/third_party/skcms/src/Transform_inl.h:108:15: warning: narrowing conversion of '(long long unsigned int)(*(const long long unsigned int*)(& v))' from 'long long unsigned int' to 'float' inside { } [-Wnarrowing]
     return D{v[0],v[1],v[2],v[3]};
              ~^
/usr/pkgsrc/www/firefox/work.i386/firefox-68.0/gfx/skia/skia/third_party/skcms/src/Transform_inl.h:108:20: warning: narrowing conversion of '(long long unsigned int)(*(((const long long unsigned int*)(& v)) + 8u))' from 'long long unsigned int' to 'float' inside { } [-Wnarrowing]
     return D{v[0],v[1],v[2],v[3]};
                   ~^
/usr/pkgsrc/www/firefox/work.i386/firefox-68.0/gfx/skia/skia/third_party/skcms/src/Transform_inl.h:108:25: warning: narrowing conversion of '(long long unsigned int)(*(((const long long unsigned int*)(& v)) + 16u))' from 'long long unsigned int' to 'float' inside { } [-Wnarrowing]
     return D{v[0],v[1],v[2],v[3]};
                        ~^
/usr/pkgsrc/www/firefox/work.i386/firefox-68.0/gfx/skia/skia/third_party/skcms/src/Transform_inl.h:108:30: warning: narrowing conversion of '(long long unsigned int)(*(((const long long unsigned int*)(& v)) + 24u))' from 'long long unsigned int' to 'float' inside { } [-Wnarrowing]
     return D{v[0],v[1],v[2],v[3]};
                             ~^
/usr/pkgsrc/www/firefox/work.i386/firefox-68.0/gfx/skia/skia/third_party/skcms/src/Transform_inl.h: In instantiation of 'D baseline::cast(const S&) [with D = __vector(4) short unsigned int; S = __vector(4) long long unsigned int]':
/usr/pkgsrc/www/firefox/work.i386/firefox-68.0/gfx/skia/skia/third_party/skcms/src/Transform_inl.h:831:54:   required from here
/usr/pkgsrc/www/firefox/work.i386/firefox-68.0/gfx/skia/skia/third_party/skcms/src/Transform_inl.h:108:15: warning: narrowing conversion of '(long long unsigned int)(*(const long long unsigned int*)(& v))' from 'long long unsigned int' to 'short unsigned int' inside { } [-Wnarrowing]
     return D{v[0],v[1],v[2],v[3]};
              ~^
/usr/pkgsrc/www/firefox/work.i386/firefox-68.0/gfx/skia/skia/third_party/skcms/src/Transform_inl.h:108:20: warning: narrowing conversion of '(long long unsigned int)(*(((const long long unsigned int*)(& v)) + 8u))' from 'long long unsigned int' to 'short unsigned int' inside { } [-Wnarrowing]
     return D{v[0],v[1],v[2],v[3]};
                   ~^
/usr/pkgsrc/www/firefox/work.i386/firefox-68.0/gfx/skia/skia/third_party/skcms/src/Transform_inl.h:108:25: warning: narrowing conversion of '(long long unsigned int)(*(((const long long unsigned int*)(& v)) + 16u))' from 'long long unsigned int' to 'short unsigned int' inside { } [-Wnarrowing]
     return D{v[0],v[1],v[2],v[3]};
                        ~^
/usr/pkgsrc/www/firefox/work.i386/firefox-68.0/gfx/skia/skia/third_party/skcms/src/Transform_inl.h:108:30: warning: narrowing conversion of '(long long unsigned int)(*(((const long long unsigned int*)(& v)) + 24u))' from 'long long unsigned int' to 'short unsigned int' inside { } [-Wnarrowing]
     return D{v[0],v[1],v[2],v[3]};
                             ~^
/usr/pkgsrc/www/firefox/work.i386/firefox-68.0/gfx/skia/skia/third_party/skcms/src/Transform_inl.h: In instantiation of 'D baseline::cast(const S&) [with D = __vector(4) unsigned char; S = __vector(4) int]':
/usr/pkgsrc/www/firefox/work.i386/firefox-68.0/gfx/skia/skia/third_party/skcms/src/Transform_inl.h:983:60:   required from here
/usr/pkgsrc/www/firefox/work.i386/firefox-68.0/gfx/skia/skia/third_party/skcms/src/Transform_inl.h:108:15: warning: narrowing conversion of '(int)(*(const int*)(& v))' from 'int' to 'unsigned char' inside { } [-Wnarrowing]
     return D{v[0],v[1],v[2],v[3]};
              ~^
/usr/pkgsrc/www/firefox/work.i386/firefox-68.0/gfx/skia/skia/third_party/skcms/src/Transform_inl.h:108:20: warning: narrowing conversion of '(int)(*(((const int*)(& v)) + 4u))' from 'int' to 'unsigned char' inside { } [-Wnarrowing]
     return D{v[0],v[1],v[2],v[3]};
                   ~^
/usr/pkgsrc/www/firefox/work.i386/firefox-68.0/gfx/skia/skia/third_party/skcms/src/Transform_inl.h:108:25: warning: narrowing conversion of '(int)(*(((const int*)(& v)) + 8u))' from 'int' to 'unsigned char' inside { } [-Wnarrowing]
     return D{v[0],v[1],v[2],v[3]};
                        ~^
/usr/pkgsrc/www/firefox/work.i386/firefox-68.0/gfx/skia/skia/third_party/skcms/src/Transform_inl.h:108:30: warning: narrowing conversion of '(int)(*(((const int*)(& v)) + 12u))' from 'int' to 'unsigned char' inside { } [-Wnarrowing]
     return D{v[0],v[1],v[2],v[3]};
                             ~^
/usr/pkgsrc/www/firefox/work.i386/firefox-68.0/gfx/skia/skia/third_party/skcms/src/Transform_inl.h: In instantiation of 'D baseline::cast(const S&) [with D = __vector(4) short unsigned int; S = __vector(4) int]':
/usr/pkgsrc/www/firefox/work.i386/firefox-68.0/gfx/skia/skia/third_party/skcms/src/Transform_inl.h:992:71:   required from here
/usr/pkgsrc/www/firefox/work.i386/firefox-68.0/gfx/skia/skia/third_party/skcms/src/Transform_inl.h:108:15: warning: narrowing conversion of '(int)(*(const int*)(& v))' from 'int' to 'short unsigned int' inside { } [-Wnarrowing]
     return D{v[0],v[1],v[2],v[3]};
              ~^
/usr/pkgsrc/www/firefox/work.i386/firefox-68.0/gfx/skia/skia/third_party/skcms/src/Transform_inl.h:108:20: warning: narrowing conversion of '(int)(*(((const int*)(& v)) + 4u))' from 'int' to 'short unsigned int' inside { } [-Wnarrowing]
     return D{v[0],v[1],v[2],v[3]};
                   ~^
/usr/pkgsrc/www/firefox/work.i386/firefox-68.0/gfx/skia/skia/third_party/skcms/src/Transform_inl.h:108:25: warning: narrowing conversion of '(int)(*(((const int*)(& v)) + 8u))' from 'int' to 'short unsigned int' inside { } [-Wnarrowing]
     return D{v[0],v[1],v[2],v[3]};
                        ~^
/usr/pkgsrc/www/firefox/work.i386/firefox-68.0/gfx/skia/skia/third_party/skcms/src/Transform_inl.h:108:30: warning: narrowing conversion of '(int)(*(((const int*)(& v)) + 12u))' from 'int' to 'short unsigned int' inside { } [-Wnarrowing]
     return D{v[0],v[1],v[2],v[3]};
                             ~^
/usr/pkgsrc/www/firefox/work.i386/firefox-68.0/gfx/skia/skia/third_party/skcms/src/Transform_inl.h: In instantiation of 'D baseline::cast(const S&) [with D = __vector(4) unsigned int; S = __vector(4) int]':
/usr/pkgsrc/www/firefox/work.i386/firefox-68.0/gfx/skia/skia/third_party/skcms/src/Transform_inl.h:1027:67:   required from here
/usr/pkgsrc/www/firefox/work.i386/firefox-68.0/gfx/skia/skia/third_party/skcms/src/Transform_inl.h:108:15: warning: narrowing conversion of '(int)(*(const int*)(& v))' from 'int' to 'unsigned int' inside { } [-Wnarrowing]
     return D{v[0],v[1],v[2],v[3]};
              ~^
/usr/pkgsrc/www/firefox/work.i386/firefox-68.0/gfx/skia/skia/third_party/skcms/src/Transform_inl.h:108:20: warning: narrowing conversion of '(int)(*(((const int*)(& v)) + 4u))' from 'int' to 'unsigned int' inside { } [-Wnarrowing]
     return D{v[0],v[1],v[2],v[3]};
                   ~^
/usr/pkgsrc/www/firefox/work.i386/firefox-68.0/gfx/skia/skia/third_party/skcms/src/Transform_inl.h:108:25: warning: narrowing conversion of '(int)(*(((const int*)(& v)) + 8u))' from 'int' to 'unsigned int' inside { } [-Wnarrowing]
     return D{v[0],v[1],v[2],v[3]};
                        ~^
/usr/pkgsrc/www/firefox/work.i386/firefox-68.0/gfx/skia/skia/third_party/skcms/src/Transform_inl.h:108:30: warning: narrowing conversion of '(int)(*(((const int*)(& v)) + 12u))' from 'int' to 'unsigned int' inside { } [-Wnarrowing]
     return D{v[0],v[1],v[2],v[3]};
                             ~^
/usr/pkgsrc/www/firefox/work.i386/firefox-68.0/gfx/skia/skia/third_party/skcms/src/Transform_inl.h: In instantiation of 'D baseline::cast(const S&) [with D = __vector(4) long long unsigned int; S = __vector(4) int]':
/usr/pkgsrc/www/firefox/work.i386/firefox-68.0/gfx/skia/skia/third_party/skcms/src/Transform_inl.h:1072:55:   required from here
/usr/pkgsrc/www/firefox/work.i386/firefox-68.0/gfx/skia/skia/third_party/skcms/src/Transform_inl.h:108:15: warning: narrowing conversion of '(int)(*(const int*)(& v))' from 'int' to 'long long unsigned int' inside { } [-Wnarrowing]
     return D{v[0],v[1],v[2],v[3]};
              ~^
/usr/pkgsrc/www/firefox/work.i386/firefox-68.0/gfx/skia/skia/third_party/skcms/src/Transform_inl.h:108:20: warning: narrowing conversion of '(int)(*(((const int*)(& v)) + 4u))' from 'int' to 'long long unsigned int' inside { } [-Wnarrowing]
     return D{v[0],v[1],v[2],v[3]};
                   ~^
/usr/pkgsrc/www/firefox/work.i386/firefox-68.0/gfx/skia/skia/third_party/skcms/src/Transform_inl.h:108:25: warning: narrowing conversion of '(int)(*(((const int*)(& v)) + 8u))' from 'int' to 'long long unsigned int' inside { } [-Wnarrowing]
     return D{v[0],v[1],v[2],v[3]};
                        ~^
/usr/pkgsrc/www/firefox/work.i386/firefox-68.0/gfx/skia/skia/third_party/skcms/src/Transform_inl.h:108:30: warning: narrowing conversion of '(int)(*(((const int*)(& v)) + 12u))' from 'int' to 'long long unsigned int' inside { } [-Wnarrowing]
     return D{v[0],v[1],v[2],v[3]};
                             ~^
/usr/pkgsrc/www/firefox/work.i386/firefox-68.0/gfx/skia/skia/third_party/skcms/src/Transform_inl.h: In function 'void baseline::exec_ops(const Op*, const void**, const char*, char*, int)':
/usr/pkgsrc/www/firefox/work.i386/firefox-68.0/gfx/skia/skia/third_party/skcms/src/Transform_inl.h:640:13: internal compiler error: in convert_move, at expr.c:271
 static void exec_ops(const Op* ops, const void** args,
             ^~~~~~~~
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
gmake[3]: *** [/usr/pkgsrc/www/firefox/work.i386/firefox-68.0/config/rules.mk:828: skcms.o] Error 1
gmake[3]: Leaving directory '/usr/pkgsrc/www/firefox/work.i386/build/gfx/skia'
gmake[2]: *** [/usr/pkgsrc/www/firefox/work.i386/firefox-68.0/config/recurse.mk:74: gfx/skia/target] Error 2
gmake[2]: Leaving directory '/usr/pkgsrc/www/firefox/work.i386/build'
gmake[1]: *** [/usr/pkgsrc/www/firefox/work.i386/firefox-68.0/config/recurse.mk:34: compile] Error 2
gmake[1]: Leaving directory '/usr/pkgsrc/www/firefox/work.i386/build'
gmake: *** [/usr/pkgsrc/www/firefox/work.i386/firefox-68.0/config/rules.mk:413: all] Error 2
*** Error code 2

Stop.
make[1]: stopped in /usr/pkgsrc/www/firefox
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/www/firefox
---

>How-To-Repeat:
Build pkgsrc/www/firefox on NetBSD/i386 8.1
(probably pkgsrc/lang/gcc6 problem?)

>Fix:
The following patches (addding '-mavx' for skia/third_party/skcms/skcms.cc)
seem to fix the ICE:

patches/patch-gfx_skia_generate__mozbuild.py
---
$NetBSD$

- avoid internal compiler error on NetBSD/i386 8.1:
/usr/obj.i386/pkgsrc/www/firefox/work.i386/firefox-68.0/gfx/skia/skia/third_party/skcms/src/Transform_inl.h:640:13: internal compiler error: in convert_move, at expr.c:271
 static void exec_ops(const Op* ops, const void** args,
             ^~~~~~~~
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.

--- gfx/skia/generate_mozbuild.py.orig	2019-07-06 01:48:31.000000000 +0000
+++ gfx/skia/generate_mozbuild.py
@@ -81,6 +81,7 @@ if CONFIG['INTEL_ARCHITECTURE']:
     SOURCES['skia/src/opts/SkOpts_sse42.cpp'].flags += ['-msse4.2']
     SOURCES['skia/src/opts/SkOpts_avx.cpp'].flags += ['-mavx']
     SOURCES['skia/src/opts/SkOpts_hsw.cpp'].flags += ['-mavx2', '-mf16c', '-mfma']
+    SOURCES['skia/third_party/skcms/skcms.cc'].flags += ['-mavx']
 elif CONFIG['CPU_ARCH'] == 'arm' and CONFIG['CC_TYPE'] in ('clang', 'gcc'):
     CXXFLAGS += CONFIG['NEON_FLAGS']
 elif CONFIG['CPU_ARCH'] == 'aarch64' and CONFIG['CC_TYPE'] in ('clang', 'gcc'):
---

patches/patch-gfx_skia_moz.build
---
$NetBSD$

- avoid internal compiler error on NetBSD/i386 8.1:
/usr/obj.i386/pkgsrc/www/firefox/work.i386/firefox-68.0/gfx/skia/skia/third_party/skcms/src/Transform_inl.h:640:13: internal compiler error: in convert_move, at expr.c:271
 static void exec_ops(const Op* ops, const void** args,
             ^~~~~~~~
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.

--- gfx/skia/moz.build.orig	2019-07-06 01:48:31.000000000 +0000
+++ gfx/skia/moz.build
@@ -458,6 +458,7 @@ if CONFIG['INTEL_ARCHITECTURE']:
     SOURCES['skia/src/opts/SkOpts_sse42.cpp'].flags += ['-msse4.2']
     SOURCES['skia/src/opts/SkOpts_avx.cpp'].flags += ['-mavx']
     SOURCES['skia/src/opts/SkOpts_hsw.cpp'].flags += ['-mavx2', '-mf16c', '-mfma']
+    SOURCES['skia/third_party/skcms/skcms.cc'].flags += ['-mavx']
 elif CONFIG['CPU_ARCH'] == 'arm' and CONFIG['CC_TYPE'] in ('clang', 'gcc'):
     CXXFLAGS += CONFIG['NEON_FLAGS']
 elif CONFIG['CPU_ARCH'] == 'aarch64' and CONFIG['CC_TYPE'] in ('clang', 'gcc'):

---
Izumi Tsutsui



Home | Main Index | Thread Index | Old Index