Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 30 May 2012 12:33:53 -0400
From:      Lowell Gilbert <freebsd-questions-local@be-well.ilk.org>
To:        Ewald Jenisch <a@jenisch.at>
Cc:        chromium@freebsd.org, questions@freebsd.org
Subject:   Re: Chromium - fails to compile
Message-ID:  <44txyxfx1q.fsf@lowell-desk.lan>
In-Reply-To: <20120530143824.GA18299@aurora.oekb.co.at> (Ewald Jenisch's message of "Wed, 30 May 2012 16:38:24 %2B0200")
References:  <20120530143824.GA18299@aurora.oekb.co.at>

next in thread | previous in thread | raw e-mail | index | archive | help
Ewald Jenisch <a@jenisch.at> writes:

> On one of my systems (FreeBSD 9.0 AMD64; kernel/system current as of
> today; all ports up to date) chromium (ports/www/chromium) fails to compile.
>
> Here's what I get:
>
> third_party/skia/src/opts/SkBitmapProcState_opts_SSSE3.cpp: In function 'void {anonymous}::S32_generic_D32_filter_DXDY_SSSE3(const SkBitmapProcState&, con
> st uint32_t*, int, uint32_t*) [with bool has_alpha = true, uint32_t = unsigned int]':
> 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: *** [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

If you had looked a little earlier in the output, you would have gotten
a bit more of a clue from the compiler.

> Stop in /usr/ports/www/chromium.
> *** Error code 1
>
> Stop in /usr/ports/www/chromium.
>
>
> Please note that I cvsup-ed just a few minutes ago - also tried "make
> distclean" followed by make - same result :-(
>
> Has anybody out there seen this problem before?

Yes. Chromium currently depends on SSE3; the recommended way of enabling
that appears to be setting CPUTYPE. 

I'm not sure what the implications are for build machines whose output
might be used on a variety of hardware...



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