On Fri, Mar 18, 2016 at 10:22 PM, Holger Freyther <holger(a)freyther.de> wrote:
On 18 Mar 2016, at 20:18, Sylvain Munaut
<246tnt(a)gmail.com> wrote:
dh_auto_configure -- --without-sse
CFLAGS="-DHAVE_SSE3 -march=atom -mtune=atom -O2" CXXFLAGS="-DHAVE_SSE3
-march=atom -mtune=atom -O2"
This seem awfully specific.
you are right. To make it worse the Makefile.am is having an -march=native in it as well.
I should probably post without these flags and for now we will end up by the caps whatever
the kvm builder has.
AFAIR the detection of capabilities in osmo-trx is based on CPUID, so
you'll get whatever your real CPU is having. If you're running on
anything decent, you'll get SSE4.1 detected and it'll crash on Atoms.
That's why we had those flags built in. With those flags it builds
without SSE4.1 optimizations and can run on both Atoms and Core's,
since Atom is a kind of a lowest common denominator. So I suggest you
leave them until a runtime detection is implemented.
Also I should probably add my copyright into relevant places.
--
Regards,
Alexander Chemeris.
CEO, Fairwaves, Inc.
https://fairwaves.co