ulovko 发表于 2012-05-31 14:06

【已经解决】求助:编译安装 chromium-19.0.1084.52 (SSSE3 instruction set not enab

本帖最后由 ulovko 于 2012-08-28 21:17 编辑


# cd /usr/ports/www/chromium
# make config install clean

整个编译过程已经使用script命令保存到out.txt

插曲:话说上个版本的时候同样是着个错误情况,但是最后还是成功编译安装了!
怎么解决的呢?# cd /usr/ports && make clean -DNOCLEANDEPENDS
# reboot
# cd /usr/ports/www/chromium
# make config install clean成功安装上个版本!

着次 不行了。。

已经解决: 21L 22L

ulovko 发表于 2012-05-31 14:09

本帖最后由 ulovko 于 2012-05-31 14:12 编辑

out.txt
# make config install clean^M
ESC[1;21rESC[mESC[4lESC[?1hESC=ESC[?1000hESC[39;49mESC[?1hESC=ESC[?1hESC=ESC[39;49m
ESC[mESC[HESC[2JESC[36mESC[44mESC[1m      ESC[37mESC[47mESC(0lqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqESC[mESC[30mESC[47mESC(0kESC(BESC[36m
ESC[44mESC[1mESC[K
      ESC[37mESC[47mESC(0xESC(BESC[mESC[30mESC[47m Options for chromium 19.0.1084.52                                  ESC(0xESC(BESC[30mESC[40mESC[1mESC[36mESC[44mESC[K
      ESC[37mESC[47mESC(0xESC(BESC[mESC[30mESC[47m ESC(0lqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqESC[37mESC[47mESC[1mkESC(BESC[mESC[30mESC[47m
ESC(0xESC(BESC[30mESC[40mESC[1mESC[36mESC[44mESC[K
      ESCESC[mESC[30mESC[47m ESC[31mESC[44mESC[1mCESC[33mESC[44mLANGESC[mESC[30mESC[47m       ESC[37mESC[44mESC[1mBuild Chromium with ClangESC[mESC[30mESC[47m                      ESC[37mESC[47mESC(0ESC[1mxESC(BESC[mESC[30mESC[47m ESC(0xESC(BESC[30mESC[40mESC[1mESC[36mESC[44mESC[K
      ESC ESC[31mESC[47mC
ESC[34mESC[47mESC[1mODECSESC[mESC[30mESC[47m      Compile and enable patented codecs like H.264ESC[37mESC[47mESC(0ESC[1mxESC(BESC[mESC[30mESC[47m ESC(0xESC(BESC[30m
ESC[40mESC[1mESC[36mESC[44mESC[K
...
...
ESC[49CESC[?1000lESC[21;1H^MESC[?1lESC>===>Building for chromium-19.0.1084.52
ACTION Generating version information out/Release/obj/gen/chrome/common/chrome_version_info_posix.h
CXX(host) out/Release/obj.host/protobuf_full_do_not_use/third_party/protobuf/src/google/protobuf/stubs/strutil.o
CXX(host) out/Release/obj.host/protobuf_full_do_not_use/third_party/protobuf/src/google/protobuf/stubs/substitute.o
CXX(host) out/Release/obj.host/protobuf_full_do_not_use/third_party/protobuf/src/google/protobuf/stubs/structurally_valid.o
CXX(host) out/Release/obj.host/protobuf_full_do_not_use/third_party/protobuf/src/google/protobuf/descriptor.o
...
...

ESC[1m/usr/include/clang/3.0/tmmintrin.h:28:2: ESC[0mESC[0;1;31merror: ESC[0mESC[1m#error "SSSE3 instruction set not
      enabled"ESC[0m
#error "SSSE3 instruction set not enabled"
ESC[0;1;32m ^
ESC[0mCC(target) out/Release/obj.target/skia_libtess/third_party/skia/third_party/glu/libtess/dict.o
clang: warning: argument unused during compilation: '-fno-ident'
ESC[1mthird_party/skia/src/opts/SkBitmapProcState_opts_SSSE3.cpp:41:49: ESC[0mESC[0;1;31merror: ESC[0mESC[1munknown
      type name '__m128i'ESC[0m
                                          const __m128i& mask_3FFF,
ESC[0;1;32m                                                ^
ESC[0mESC[1mthird_party/skia/src/opts/SkBitmapProcState_opts_SSSE3.cpp:42:49: ESC[0mESC[0;1;31merror: ESC[0mESC[1munknown
      type name '__m128i'ESC[0m
                                          const __m128i& mask_000F,
ESC[0;1;32m                                                ^
ESC[0mESC[1mthird_party/skia/src/opts/SkBitmapProcState_opts_SSSE3.cpp:43:49: ESC[0mESC[0;1;31merror: ESC[0mESC[1munknown
ESC[0;1;31merror: ESC[0mESC[1munknown
      type name '__m128i'ESC[0m
                                          const __m128i& sixteen_8bit,
ESC[0;1;32m                                                ^
ESC[0mESC[1mthird_party/skia/src/opts/SkBitmapProcState_opts_SSSE3.cpp:44:49: ESC[0mESC[0;1;31merror: ESC[0mESC[1munknown
      type name '__m128i'ESC[0m
                                          const __m128i& mask_dist_select,
ESC[0;1;32m                                                ^
ESC[0mESC[1mthird_party/skia/src/opts/SkBitmapProcState_opts_SSSE3.cpp:45:43: ESC[0mESC[0;1;31merror: ESC[0mESC[1munknown
      type name '__m128i'ESC[0m
                                          __m128i* all_x_result,
ESC[0;1;32m                                          ^
ESC[0mESC[1mthird_party/skia/src/opts/SkBitmapProcState_opts_SSSE3.cpp:46:43: ESC[0mESC[0;1;31merror: ESC[0mESC[1munknown
      type name '__m128i'ESC[0m
                                          __m128i* sixteen_minus_x,
ESC[0;1;32m                                          ^
ESC[0mESC[1mthird_party/skia/src/opts/SkBitmapProcState_opts_SSSE3.cpp:49:11: ESC[0mESC[0;1;31merror: ESC[0mESC[1munknown
      type name '__m128i'ESC[0m
    const __m128i xx = _mm_loadu_si128(reinterpret_cast<const __m128i *>(xy));
ESC[0;1;32m          ^
ESC[0mESC[1mthird_party/skia/src/opts/SkBitmapProcState_opts_SSSE3.cpp:49:63: ESC[0mESC[0;1;31merror: ESC[0mESC[1munknown
      type name '__m128i'ESC[0m
    const __m128i xx = _mm_loadu_si128(reinterpret_cast<const __m128i *>(xy));
ESC[0;1;32m                                                            ^
ESC[0mESC[1mthird_party/skia/src/opts/SkBitmapProcState_opts_SSSE3.cpp:49:24: ESC[0mESC[0;1;31merror: ESC[0mESC[1muse of
      undeclared identifier '_mm_loadu_si128'ESC[0m
    const __m128i xx = _mm_loadu_si128(reinterpret_cast<const __m128i *>(xy));
ESC[0;1;32m                     ^
ESC[0mESC[1mthird_party/skia/src/opts/SkBitmapProcState_opts_SSSE3.cpp:53:11: ESC[0mESC[0;1;31merror: ESC[0mESC[1munknown
      type name '__m128i'ESC[0m
    const __m128i x0_wide = _mm_srli_epi32(xx, 18);
ESC[0;1;32m          ^
ESC[0mESC[1mthird_party/skia/src/opts/SkBitmapProcState_opts_SSSE3.cpp:55:11: ESC[0mESC[0;1;31merror: ESC[0mESC[1munknown
      type name '__m128i'ESC[0m
    const __m128i x1_wide = _mm_and_si128(xx, mask_3FFF);
ESC[0;1;32m          ^
ESC[0mESC[1mthird_party/skia/src/opts/SkBitmapProcState_opts_SSSE3.cpp:57:39: ESC[0mESC[0;1;31merror: ESC[0mESC[1munknown
      type name '__m128i'ESC[0m
    _mm_storeu_si128(reinterpret_cast<__m128i *>(x0), x0_wide);
ESC[0;1;32m                                    ^
ESC[0mESC[1mthird_party/skia/src/opts/SkBitmapProcState_opts_SSSE3.cpp:58:39: ESC[0mESC[0;1;31merror: ESC[0mESC[1munknown
      type name '__m128i'ESC[0m
    _mm_storeu_si128(reinterpret_cast<__m128i *>(x1), x1_wide);
ESC[0;1;32m                                    ^
ESC[0mESC[1mthird_party/skia/src/opts/SkBitmapProcState_opts_SSSE3.cpp:60:5: ESC[0m
ESC[0;1;31merror: ESC[0mESC[1muse of
      undeclared identifier '__m128i'ESC[0m
    __m128i all_x = _mm_and_si128(_mm_srli_epi32(xx, 14), mask_000F);
ESC[0;1;32m    ^
ESC[0mESC[1mthird_party/skia/src/opts/SkBitmapProcState_opts_SSSE3.cpp:63:5: ESC[0m
ESC[0;1;31merror: ESC[0mESC[1muse of
      undeclared identifier 'all_x'ESC[0m
    all_x = _mm_shuffle_epi8(all_x, mask_dist_select);
ESC[0;1;32m    ^
ESC[0mESC[1mthird_party/skia/src/opts/SkBitmapProcState_opts_SSSE3.cpp:63:30: ESC[0mESC[0;1;31merror: ESC[0mESC[1muse of
      undeclared identifier 'all_x'ESC[0m
    all_x = _mm_shuffle_epi8(all_x, mask_dist_select);
ESC[0;1;32m                           ^
ESC[0mESC[1mthird_party/skia/src/opts/SkBitmapProcState_opts_SSSE3.cpp:65:21: ESC[0mESC[0;1;31merror: ESC[0mESC[1muse of
      undeclared identifier 'all_x'ESC[0m
    *all_x_result = all_x;
ESC[0;1;32m                  ^
ESC[0mESC[1mthird_party/skia/src/opts/SkBitmapProcState_opts_SSSE3.cpp:87:53: ESC[0mESC[0;1;31merror: ESC[0mESC[1munknown
      type name '__m128i'ESC[0m
                                              const __m128i& mask_3FFF,
ESC[0;1;32m                                                    ^
ESCESC[0m
ESC[0mESC[1mthird_party/skia/src/opts/SkBitmapProcState_opts_SSSE3.cpp:87:53: ESC[0mESC[0;1;31merror: ESC[0mESC[1munknown
      type name '__m128i'ESC[0m
                                              const __m128i& mask_3FFF,
ESC[0;1;32m                                                    ^
ESCESC[0m
20 errors generated.
gmake: *** Error 1
gmake: *** Waiting for unfinished jobs....
*** Error code 1

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

Stop in /usr/ports/www/chromium.
# exit
Script done on Thu May 31 13:14:31 2012

wolf_london 发表于 2012-05-31 16:32

本帖最后由 wolf_london 于 2012-05-31 16:32 编辑

回复 2# ulovko

         编译器没有开启SSSE3指令?使用的是clang(clang++)?
   

ulovko 发表于 2012-05-31 16:33

本帖最后由 ulovko 于 2012-05-31 16:48 编辑

回复 3# wolf_london GCC

In file included from third_party/skia/src/opts/SkBitmapProcState_opts_SSSE3.cpp:8:0:
/usr/local/lib/gcc46/gcc/x86_64-portbld-freebsd9.0/4.6.4/include/tmmintrin.h:31:3: error: #error "SSSE3 instruction set not enabled"
CC(target) out/Release/obj.target/skia_libtess/third_party/skia/third_party/glu/libtess/dict.o
CC(target) out/Release/obj.target/skia_libtess/third_party/skia/third_party/glu/libtess/geom.o
CC(target) out/Release/obj.target/skia_libtess/third_party/skia/third_party/glu/libtess/memalloc.o
CC(target) out/Release/obj.target/skia_libtess/third_party/skia/third_party/glu/libtess/mesh.o
third_party/skia/src/opts/SkBitmapProcState_opts_SSSE3.cpp:41:49: error: '__m128i' does not name a type
third_party/skia/src/opts/SkBitmapProcState_opts_SSSE3.cpp:41:58: error: ISO C++ forbids declaration of 'mask_3FFF' with no type [-fpermissive]
third_party/skia/src/opts/SkBitmapProcState_opts_SSSE3.cpp:42:49: error: '__m128i' does not name a type
third_party/skia/src/opts/SkBitmapProcState_opts_SSSE3.cpp:42:58: error: ISO C++ forbids declaration of 'mask_000F' with no type [-fpermissive]
third_party/skia/src/opts/SkBitmapProcState_opts_SSSE3.cpp:43:49: error: '__m128i' does not name a type
third_party/skia/src/opts/SkBitmapProcState_opts_SSSE3.cpp:43:58: error: ISO C++ forbids declaration of 'sixteen_8bit' with no type [-fpermissive]
third_party/skia/src/opts/SkBitmapProcState_opts_SSSE3.cpp:44:49: error: '__m128i' does not name a type
third_party/skia/src/opts/SkBitmapProcState_opts_SSSE3.cpp:44:58: error: ISO C++ forbids declaration of 'mask_dist_select' with no type [-fpermissive]
third_party/skia/src/opts/SkBitmapProcState_opts_SSSE3.cpp:45:43: error: '__m128i' has not been declared
third_party/skia/src/opts/SkBitmapProcState_opts_SSSE3.cpp:46:43: error: '__m128i' has not been declared
third_party/skia/src/opts/SkBitmapProcState_opts_SSSE3.cpp: In function 'void {anonymous}::PrepareConstantsTwoPixelPairs(const uint32_t*, const int&, const int&, const int&, const int&, int*, int*, int*, int*)':
third_party/skia/src/opts/SkBitmapProcState_opts_SSSE3.cpp:49:11: error: '__m128i' does not name a type
third_party/skia/src/opts/SkBitmapProcState_opts_SSSE3.cpp:53:11: error: '__m128i' does not name a type
third_party/skia/src/opts/SkBitmapProcState_opts_SSSE3.cpp:55:11: error: '__m128i' does not name a type
third_party/skia/src/opts/SkBitmapProcState_opts_SSSE3.cpp:57:39: error: expected type-specifier before '__m128i'
third_party/skia/src/opts/SkBitmapProcState_opts_SSSE3.cpp:57:39: error: expected '>' before '__m128i'
third_party/skia/src/opts/SkBitmapProcState_opts_SSSE3.cpp:57:39: error: expected '(' before '__m128i'
third_party/skia/src/opts/SkBitmapProcState_opts_SSSE3.cpp:57:39: error: '__m128i' was not declared in this scope
third_party/skia/src/opts/SkBitmapProcState_opts_SSSE3.cpp:57:48: error: expected primary-expression before '>' token
third_party/skia/src/opts/SkBitmapProcState_opts_SSSE3.cpp:57:55: error: 'x0_wide' was not declared in this scope
third_party/skia/src/opts/SkBitmapProcState_opts_SSSE3.cpp:58:39: error: expected type-specifier before '__m128i'
third_party/skia/src/opts/SkBitmapProcState_opts_SSSE3.cpp:58:39: error: expected '>' before '__m128i'
third_party/skia/src/opts/SkBitmapProcState_opts_SSSE3.cpp:58:39: error: expected '(' before '__m128i'
third_party/skia/src/opts/SkBitmapProcState_opts_SSSE3.cpp:58:48: error: expected primary-expression before '>' token
third_party/skia/src/opts/SkBitmapProcState_opts_SSSE3.cpp:58:55: error: 'x1_wide' was not declared in this scope
third_party/skia/src/opts/SkBitmapProcState_opts_SSSE3.cpp:60:13: error: expected ';' before 'all_x'
third_party/skia/src/opts/SkBitmapProcState_opts_SSSE3.cpp:63:5: error: 'all_x' was not declared in this scope
third_party/skia/src/opts/SkBitmapProcState_opts_SSSE3.cpp:63:53: error: '_mm_shuffle_epi8' was not declared in this scope
...
third_party/skia/src/opts/SkBitmapProcState_opts_SSSE3.cpp: In function 'void {anonymous}::S32_generic_D32_filter_DXDY_SSSE3(const SkBitmapProcState&, const uint32_t*, int, uint32_t*)':
third_party/skia/src/opts/SkBitmapProcState_opts_SSSE3.cpp:592:11: error: '__m128i' does not name a type
third_party/skia/src/opts/SkBitmapProcState_opts_SSSE3.cpp:596:11: error: '__m128i' does not name a type
third_party/skia/src/opts/SkBitmapProcState_opts_SSSE3.cpp:597:11: error: '__m128i' does not name a type
third_party/skia/src/opts/SkBitmapProcState_opts_SSSE3.cpp:598:11: error: '__m128i' does not name a type
third_party/skia/src/opts/SkBitmapProcState_opts_SSSE3.cpp:600:5: error: '__m128i' was not declared in this scope
third_party/skia/src/opts/SkBitmapProcState_opts_SSSE3.cpp:600:13: error: expected ';' before 'alpha'
third_party/skia/src/opts/SkBitmapProcState_opts_SSSE3.cpp:603:9: error: 'alpha' was not declared in this scope
third_party/skia/src/opts/SkBitmapProcState_opts_SSSE3.cpp:603:45: error: there are no arguments to '_mm_set1_epi16' that depend on a template parameter, so a declaration of '_mm_set1_epi16' must be available [-fpermissive]
third_party/skia/src/opts/SkBitmapProcState_opts_SSSE3.cpp:610:17: error: expected ';' before 'all_xy'
third_party/skia/src/opts/SkBitmapProcState_opts_SSSE3.cpp:611:47: error: 'mask_3FFF' was not declared in this scope
third_party/skia/src/opts/SkBitmapProcState_opts_SSSE3.cpp:611:58: error: 'mask_000F' was not declared in this scope
third_party/skia/src/opts/SkBitmapProcState_opts_SSSE3.cpp:612:43: error: 'sixteen_8bit' was not declared in this scope
third_party/skia/src/opts/SkBitmapProcState_opts_SSSE3.cpp:612:57: error: 'mask_dist_select' was not declared in this scope
third_party/skia/src/opts/SkBitmapProcState_opts_SSSE3.cpp:613:43: error: 'all_xy' was not declared in this scope
third_party/skia/src/opts/SkBitmapProcState_opts_SSSE3.cpp:613:52: error: 'sixteen_minus_xy' was not declared in this scope
third_party/skia/src/opts/SkBitmapProcState_opts_SSSE3.cpp:616:17: error: expected ';' before 'scale_x'
third_party/skia/src/opts/SkBitmapProcState_opts_SSSE3.cpp:618:17: error: expected ';' before 'all_y'
third_party/skia/src/opts/SkBitmapProcState_opts_SSSE3.cpp:619:17: error: expected ';' before 'neg_y'
third_party/skia/src/opts/SkBitmapProcState_opts_SSSE3.cpp:630:17: error: expected ';' before 'sum0'
third_party/skia/src/opts/SkBitmapProcState_opts_SSSE3.cpp:635:9: error: 'sum0' was not declared in this scope
third_party/skia/src/opts/SkBitmapProcState_opts_SSSE3.cpp:635:57: error: there are no arguments to '_mm_setzero_si128' that depend on a template parameter, so a declaration of '_mm_setzero_si128' must be available [-fpermissive]
third_party/skia/src/opts/SkBitmapProcState_opts_SSSE3.cpp:638:43: error: expected type-specifier before '__m128i'
third_party/skia/src/opts/SkBitmapProcState_opts_SSSE3.cpp:638:43: error: expected '>' before '__m128i'
third_party/skia/src/opts/SkBitmapProcState_opts_SSSE3.cpp:638:43: error: expected '(' before '__m128i'
third_party/skia/src/opts/SkBitmapProcState_opts_SSSE3.cpp:638:52: error: expected primary-expression before '>' token
third_party/skia/src/opts/SkBitmapProcState_opts_SSSE3.cpp:665:15: error: '__m128i' does not name a type
third_party/skia/src/opts/SkBitmapProcState_opts_SSSE3.cpp:668:17: error: expected ';' before 'scale_x'
third_party/skia/src/opts/SkBitmapProcState_opts_SSSE3.cpp:671:9: error: 'scale_x' was not declared in this scope
third_party/skia/src/opts/SkBitmapProcState_opts_SSSE3.cpp:671:46: error: 'all_x' was not declared in this scope
third_party/skia/src/opts/SkBitmapProcState_opts_SSSE3.cpp:671:51: error: there are no arguments to '_mm_unpacklo_epi8' that depend on a template parameter, so a declaration of '_mm_unpacklo_epi8' must be available [-fpermissive]
third_party/skia/src/opts/SkBitmapProcState_opts_SSSE3.cpp:674:15: error: '__m128i' does not name a type
third_party/skia/src/opts/SkBitmapProcState_opts_SSSE3.cpp:677:15: error: '__m128i' does not name a type
third_party/skia/src/opts/SkBitmapProcState_opts_SSSE3.cpp:680:15: error: '__m128i' does not name a type
third_party/skia/src/opts/SkBitmapProcState_opts_SSSE3.cpp:683:17: error: expected ';' before 'sum0'
third_party/skia/src/opts/SkBitmapProcState_opts_SSSE3.cpp:685:17: error: expected ';' before 'sum1'
third_party/skia/src/opts/SkBitmapProcState_opts_SSSE3.cpp:688:9: error: 'sum0' was not declared in this scope
third_party/skia/src/opts/SkBitmapProcState_opts_SSSE3.cpp:688:36: error: 'sum1' was not declared in this scope
third_party/skia/src/opts/SkBitmapProcState_opts_SSSE3.cpp:688:40: error: there are no arguments to '_mm_add_epi16' that depend on a template parameter, so a declaration of '_mm_add_epi16' must be available [-fpermissive]
third_party/skia/src/opts/SkBitmapProcState_opts_SSSE3.cpp:690:16: error: 'ScaleFourPixels' was not declared in this scope
third_party/skia/src/opts/SkBitmapProcState_opts_SSSE3.cpp:690:53: error: 'alpha' was not declared in this scope
third_party/skia/src/opts/SkBitmapProcState_opts_SSSE3.cpp:693:57: error: there are no arguments to '_mm_setzero_si128' that depend on a template parameter, so a declaration of '_mm_setzero_si128' must be available [-fpermissive]
third_party/skia/src/opts/SkBitmapProcState_opts_SSSE3.cpp:696:43: error: there are no arguments to '_mm_cvtsi128_si32' that depend on a template parameter, so a declaration of '_mm_cvtsi128_si32' must be available [-fpermissive]
third_party/skia/src/opts/SkBitmapProcState_opts_SSSE3.cpp: In function 'void {anonymous}::S32_generic_D32_filter_DX_SSSE3(const SkBitmapProcState&, const uint32_t*, int, uint32_t*) ':
third_party/skia/src/opts/SkBitmapProcState_opts_SSSE3.cpp:704:64:   instantiated from here
third_party/skia/src/opts/SkBitmapProcState_opts_SSSE3.cpp:421:9: error: '_mm_set1_epi16' was not declared in this scope
third_party/skia/src/opts/SkBitmapProcState_opts_SSSE3.cpp:439:13: error: '_mm_unpacklo_epi8' was not declared in this scope
third_party/skia/src/opts/SkBitmapProcState_opts_SSSE3.cpp:447:13: error: '_mm_unpackhi_epi8' was not declared in this scope
third_party/skia/src/opts/SkBitmapProcState_opts_SSSE3.cpp:454:13: error: '_mm_packus_epi16' was not declared in this scope
third_party/skia/src/opts/SkBitmapProcState_opts_SSSE3.cpp:474:13: error: '_mm_unpacklo_epi8' was not declared in this scope
third_party/skia/src/opts/SkBitmapProcState_opts_SSSE3.cpp:481:13: error: '_mm_packus_epi16' was not declared in this scope
third_party/skia/src/opts/SkBitmapProcState_opts_SSSE3.cpp:484:13: error: '_mm_cvtsi128_si32' was not declared in this scope
third_party/skia/src/opts/SkBitmapProcState_opts_SSSE3.cpp:511:13: error: '_mm_unpacklo_epi8' was not declared in this scope
third_party/skia/src/opts/SkBitmapProcState_opts_SSSE3.cpp:519:13: error: '_mm_unpackhi_epi8' was not declared in this scope
third_party/skia/src/opts/SkBitmapProcState_opts_SSSE3.cpp:528:13: error: '_mm_packus_epi16' was not declared in this scope
third_party/skia/src/opts/SkBitmapProcState_opts_SSSE3.cpp:549:13: error: '_mm_unpacklo_epi8' was not declared in this scope
third_party/skia/src/opts/SkBitmapProcState_opts_SSSE3.cpp:557:13: error: '_mm_add_epi16' was not declared in this scope
third_party/skia/src/opts/SkBitmapProcState_opts_SSSE3.cpp:562:13: error: '_mm_packus_epi16' was not declared in this scope
third_party/skia/src/opts/SkBitmapProcState_opts_SSSE3.cpp:565:13: error: '_mm_cvtsi128_si32' was not declared in this scope
third_party/skia/src/opts/SkBitmapProcState_opts_SSSE3.cpp: In function 'void {anonymous}::S32_generic_D32_filter_DX_SSSE3(const SkBitmapProcState&, const uint32_t*, int, uint32_t*) ':
third_party/skia/src/opts/SkBitmapProcState_opts_SSSE3.cpp:710:63:   instantiated from here
third_party/skia/src/opts/SkBitmapProcState_opts_SSSE3.cpp:421:9: error: '_mm_set1_epi16' was not declared in this scope
third_party/skia/src/opts/SkBitmapProcState_opts_SSSE3.cpp:439:13: error: '_mm_unpacklo_epi8' was not declared in this scope
third_party/skia/src/opts/SkBitmapProcState_opts_SSSE3.cpp:447:13: error: '_mm_unpackhi_epi8' was not declared in this scope
third_party/skia/src/opts/SkBitmapProcState_opts_SSSE3.cpp:454:13: error: '_mm_packus_epi16' was not declared in this scope
third_party/skia/src/opts/SkBitmapProcState_opts_SSSE3.cpp:474:13: error: '_mm_unpacklo_epi8' was not declared in this scope
third_party/skia/src/opts/SkBitmapProcState_opts_SSSE3.cpp:481:13: error: '_mm_packus_epi16' was not declared in this scope
third_party/skia/src/opts/SkBitmapProcState_opts_SSSE3.cpp:484:13: error: '_mm_cvtsi128_si32' was not declared in this scope
third_party/skia/src/opts/SkBitmapProcState_opts_SSSE3.cpp:511:13: error: '_mm_unpacklo_epi8' was not declared in this scope
third_party/skia/src/opts/SkBitmapProcState_opts_SSSE3.cpp:519:13: error: '_mm_unpackhi_epi8' was not declared in this scope
third_party/skia/src/opts/SkBitmapProcState_opts_SSSE3.cpp:528:13: error: '_mm_packus_epi16' was not declared in this scope
third_party/skia/src/opts/SkBitmapProcState_opts_SSSE3.cpp:549:13: error: '_mm_unpacklo_epi8' was not declared in this scope
third_party/skia/src/opts/SkBitmapProcState_opts_SSSE3.cpp:557:13: error: '_mm_add_epi16' was not declared in this scope
third_party/skia/src/opts/SkBitmapProcState_opts_SSSE3.cpp:562:13: error: '_mm_packus_epi16' was not declared in this scope
third_party/skia/src/opts/SkBitmapProcState_opts_SSSE3.cpp:565:13: error: '_mm_cvtsi128_si32' was not declared in this scope
third_party/skia/src/opts/SkBitmapProcState_opts_SSSE3.cpp: In function 'void {anonymous}::S32_generic_D32_filter_DXDY_SSSE3(const SkBitmapProcState&, const uint32_t*, int, uint32_t*) ':
third_party/skia/src/opts/SkBitmapProcState_opts_SSSE3.cpp:716:66:   instantiated from here
third_party/skia/src/opts/SkBitmapProcState_opts_SSSE3.cpp:603:9: error: '_mm_set1_epi16' was not declared in this scope
third_party/skia/src/opts/SkBitmapProcState_opts_SSSE3.cpp:635:9: error: '_mm_setzero_si128' was not declared in this scope
third_party/skia/src/opts/SkBitmapProcState_opts_SSSE3.cpp:635:9: error: '_mm_packus_epi16' was not declared in this scope
third_party/skia/src/opts/SkBitmapProcState_opts_SSSE3.cpp:671:9: error: '_mm_unpacklo_epi8' was not declared in this scope
third_party/skia/src/opts/SkBitmapProcState_opts_SSSE3.cpp:688:9: error: '_mm_add_epi16' was not declared in this scope
third_party/skia/src/opts/SkBitmapProcState_opts_SSSE3.cpp:693:9: error: '_mm_setzero_si128' was not declared in this scope
third_party/skia/src/opts/SkBitmapProcState_opts_SSSE3.cpp:693:9: error: '_mm_packus_epi16' was not declared in this scope
third_party/skia/src/opts/SkBitmapProcState_opts_SSSE3.cpp:696:9: error: '_mm_cvtsi128_si32' was not declared in this scope
third_party/skia/src/opts/SkBitmapProcState_opts_SSSE3.cpp: In function 'void {anonymous}::S32_generic_D32_filter_DXDY_SSSE3(const SkBitmapProcState&, const uint32_t*, int, uint32_t*) ':
third_party/skia/src/opts/SkBitmapProcState_opts_SSSE3.cpp:722:65:   instantiated from here
third_party/skia/src/opts/SkBitmapProcState_opts_SSSE3.cpp:603:9: error: '_mm_set1_epi16' was not declared in this scope
third_party/skia/src/opts/SkBitmapProcState_opts_SSSE3.cpp:635:9: error: '_mm_setzero_si128' was not declared in this scope
third_party/skia/src/opts/SkBitmapProcState_opts_SSSE3.cpp:635:9: error: '_mm_packus_epi16' was not declared in this scope
third_party/skia/src/opts/SkBitmapProcState_opts_SSSE3.cpp:671:9: error: '_mm_unpacklo_epi8' was not declared in this scope
third_party/skia/src/opts/SkBitmapProcState_opts_SSSE3.cpp:688:9: error: '_mm_add_epi16' was not declared in this scope
third_party/skia/src/opts/SkBitmapProcState_opts_SSSE3.cpp:693:9: error: '_mm_setzero_si128' was not declared in this scope
third_party/skia/src/opts/SkBitmapProcState_opts_SSSE3.cpp:693:9: error: '_mm_packus_epi16' was not declared in this scope
third_party/skia/src/opts/SkBitmapProcState_opts_SSSE3.cpp:696:9: error: '_mm_cvtsi128_si32' was not declared in this scope
gmake: *** Error 1
gmake: *** Waiting for unfinished jobs....
*** Error code 1

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

Stop in /usr/ports/www/chromium.

ulovko 发表于 2012-05-31 16:37

回复 3# wolf_london


    您是怎么整的?请指教!:emn31:

wolf_london 发表于 2012-05-31 17:06

ulovko 发表于 2012-05-31 16:37 static/image/common/back.gif
回复 3# wolf_london




我不用chromium浏览器,所以没有遇到这个问题.
你的out.txt里面看上去是用clang编译的结果,但是你的截图是显示你开启的是4.6而不是clang.

我在邮件列表里也看见了,有的人在amd64位机器上,无法编译chromium,和你的原因差不多.都是编译器SSSE3指令集功能没有开启.GCC从4.3(or 4.4?)就已经支持SSSE3指令集了.
这个指令集貌似是在酷睿2(包括)以后机器上才能使用.

ulovko 发表于 2012-05-31 17:09

本帖最后由 ulovko 于 2012-05-31 17:10 编辑

回复 6# wolf_london


    我现在是gcc-4.6.4.20120511而且我上个版本 都编译安装成功了!是 chromium18.....

ulovko 发表于 2012-05-31 17:12

本帖最后由 ulovko 于 2012-05-31 17:13 编辑

回复 6# wolf_london


    非常的奇怪,上个版本 也是有这么个问题!但是我最后还是解决了,是这么搞的!   
    # cd /usr/ports && make clean -DNOCLEANDEPENDS
    # reboot
    # cd /usr/ports/www/chromium
    # make config install clean(使用的GCC 还是 Clang 我忘记了,但是这次我两个都试过了不行!)
但是着个版本不行了?

wolf_london 发表于 2012-05-31 17:26

回复 8# ulovko

#cd /usr/share/mk
# make -V CPUTYPE
# make -V MACHINE_CPU
看看输出的指令集里包不包括SSSE3


   

ulovko 发表于 2012-05-31 17:30

回复 9# wolf_london
兄弟,我悲剧了!!
# make -V MACHINE_CPU
amd64 sse2 sse mmx
页: [1] 2 3 4
查看完整版本: 【已经解决】求助:编译安装 chromium-19.0.1084.52 (SSSE3 instruction set not enab