Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 29 May 2012 13:49:11 -0500
From:      "Edwin L. Culp W." <edwinlculp@gmail.com>
To:        freebsd-ports <freebsd-ports@freebsd.org>
Subject:   Seems like Chrome is having an issue with clang.
Message-ID:  <CALFgp2PyisN7Sc3_CM0O7-SwgLaNk7AW%2BprZmtnNCYtn1og-3Q@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
Seems like Chrome is having an issue with clang.  It starts with the
following errors:

  CC(target)
out/Release/obj.target/skia_libtess/third_party/skia/third_party/glu/libtess/tess.o
In file included from
third_party/skia/src/opts/SkBitmapProcState_opts_SSSE3.cpp:8:
/usr/include/clang/3.1/tmmintrin.h:28:2: error: "SSSE3 instruction set not
enabled"
#error "SSSE3 instruction set not enabled"
 ^
  CC(target)
out/Release/obj.target/skia_libtess/third_party/skia/third_party/glu/libtess/tessmono.o

third_party/skia/src/opts/SkBitmapProcState_opts_SSSE3.cpp:41:49: error:
unknown type name '__m128i'
                                          const __m128i& mask_3FFF,
                                                ^
third_party/skia/src/opts/SkBitmapProcState_opts_SSSE3.cpp:42:49: error:
unknown type name
'__m128i'

                                          const __m128i& mask_000F,
                                                ^
third_party/skia/src/opts/SkBitmapProcState_opts_SSSE3.cpp:43:49: error:
unknown type name
'__m128i'

                                          const __m128i& sixteen_8bit,
                                                ^
third_party/skia/src/opts/SkBitmapProcState_opts_SSSE3.cpp:44:49: error:
unknown type name
'__m128i'

                                          const __m128i& mask_dist_select,



And finishes with:

third_party/skia/src/opts/SkBitmapProcState_opts_SSSE3.cpp:63:30: error:
use of undeclared identifier 'all_x'
    all_x = _mm_shuffle_epi8(all_x, mask_dist_select);
                             ^
third_party/skia/src/opts/SkBitmapProcState_opts_SSSE3.cpp:65:21: error:
use of undeclared identifier 'all_x'
    *all_x_result = all_x;
                    ^
third_party/skia/src/opts/SkBitmapProcState_opts_SSSE3.cpp:87:53: error:
unknown type name '__m128i'
                                              const __m128i& mask_3FFF,
                                                    ^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
gmake: ***
[out/Release/obj.target/skia_opts_ssse3/third_party/skia/src/opts/SkBitmapProcState_opts_SSSE3.o]
Error 1
gmake: *** Waiting for unfinished jobs....
*** Error code 1

Stop in /usr/ports/www/chromium.
*** Error code 1

It certainly isn't critical for me but I like to have it around to make
occasional browser comparisons.

Thanks,

ed



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CALFgp2PyisN7Sc3_CM0O7-SwgLaNk7AW%2BprZmtnNCYtn1og-3Q>