On 12/24/2014 12:21 PM, Maxim Uvarov wrote:
> On 12/23/2014 07:15 PM, Taras Kondratiuk wrote:
>> Linux-generic shouldn't have arch specific parts, because it is
>> *generic*. Instead it can fall back to strong __sync functions if
>> __atomic are not available.
> 
> Taras I think that even linux-generic should have it's own requirements. 
> It might be compiler version.
> Dependence on libssl. Kernel version and etc.
> 
> We do not say that linux-generic should work on any linux, even 20 years 
> old. We just define needed requirements
> to compile it. The same is with atomics. Instead of creating 20 branches 
> for all gcc and not gcc version we just
> stick with more fresh gcc and say that it's minimal requirement to run 
> linux-generic.

I don't think it worth to make such a tight restriction to use only gcc
4.7+. Having fallback to __sync_* function will relax it to something
like gcc 4.1+. Sure performance will be worse, but it should be ok for
linux-generic.

-- 
Taras Kondratiuk

_______________________________________________
lng-odp mailing list
[email protected]
http://lists.linaro.org/mailman/listinfo/lng-odp

Reply via email to