[PATCH] debian: Add packaging to master taken from fairwaves/master

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/OpenBSC@lists.osmocom.org/.

Alexander Chemeris alexander.chemeris at gmail.com
Sat Mar 19 21:48:24 UTC 2016


On Fri, Mar 18, 2016 at 10:22 PM, Holger Freyther <holger at freyther.de> wrote:
>
>> On 18 Mar 2016, at 20:18, Sylvain Munaut <246tnt at 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

 



More information about the OpenBSC mailing list