How to build chromium for CPUs that don't support SSE instructions?

735 views
Skip to first unread message

HS Z

unread,
Mar 16, 2014, 10:00:45 PM3/16/14
to chromium...@chromium.org
Hi,

I have a i586 CPU. It doesn't support SSE instructions. When I build chromium and run, it complains about illegal instruction. "gdb" tells me that there's a "cvtsi2sd" instruction in the function "tmalloc::SizeMap::NumMoveSize(unsigned int)" in "thirdparty/re2/re2/re2.cthirdparty/re2/re2/re2.c".

So I 
    export GYP_CFLAGS="-w -march=i586 -mno-sse -mno-sse2" CFLAGS="-w -march=i586 -mno-sse -mno-sse2" CXXFLAGS="-w -march=i586 -mno-sse -mno-sse2"
and run "./build/gyp_chromium", and build it again. But it seems that "third_party/qcms" needs SSE support because I have the error:
    In file included from ../../third_party/qcms/src/transform-sse2.c:22:0:
    /usr/lib/gcc/i686-linux-gnu/4.6/include/emmintrin.h:32:3: error: #error "SSE2 instruction set not enabled"
followed by a lot of "error: unknown type name ‘__m128’" and "error: ‘__m128i’ undeclared".

Is there an "official" way to build chromium for the "legacy" CPUs that don't support SSE instructions?

Thanks!

Torne (Richard Coles)

unread,
Mar 17, 2014, 2:07:49 PM3/17/14
to zhaoh...@gmail.com, Chromium-discuss
No, we don't do anything to support CPUs that old.


--
--
Chromium Discussion mailing list: chromium...@chromium.org
View archives, change email options, or unsubscribe:
http://groups.google.com/a/chromium.org/group/chromium-discuss


Nikos H.

unread,
Jul 1, 2014, 1:37:25 PM7/1/14
to chromium...@chromium.org, zhaoh...@gmail.com


What instruction set(s) does the current stable version of chrome, and what the 64 bit dev/canary version? 
Thank you. 

dhw

unread,
Jul 2, 2014, 10:59:20 AM7/2/14
to chromium...@chromium.org, zhaoh...@gmail.com
As of this post, current Stable Chrome is v.35, which is the first Stable version that requires at least SSE2 graphics instructions on the CPU chip.

Nikos H.

unread,
Jul 3, 2014, 8:50:13 AM7/3/14
to d...@chromium.org, chromium...@chromium.org, zhaoh...@gmail.com
Thanks.. And what about the upcoming (dev for now) 64 bit build?


--
--
Chromium Discussion mailing list: chromium...@chromium.org
View archives, change email options, or unsubscribe:
http://groups.google.com/a/chromium.org/group/chromium-discuss

To unsubscribe from this group and stop receiving emails from it, send an email to chromium-discu...@chromium.org.

Torne (Richard Coles)

unread,
Jul 3, 2014, 8:53:23 AM7/3/14
to niko...@gmail.com, d...@chromium.org, Chromium-discuss, HS Z
All x86-64 CPUs have at least SSE2, even the earliest Athlon 64 chips. I don't think we require anything higher than that.
Reply all
Reply to author
Forward
0 new messages