From: Vineet.Gupta1@synopsys.com (Vineet Gupta) Date: Thu, 4 Feb 2016 09:43:38 +0530 Subject: [RFC] perf: fix building for ARCv1 In-Reply-To: <1454516455.2811.4.camel__10775.5710989752$1454516490$gmane$org@synopsys.com> References: <1445166916.9672.10.camel@synopsys.com> <87a8rf6a6p.fsf@tassilo.jf.intel.com> <8761235rwe.fsf@tassilo.jf.intel.com> <20151019093549.GK3816@twins.programming.kicks-ass.net> <20151019095157.GM3816@twins.programming.kicks-ass.net> <20151020101133.GA17308@twins.programming.kicks-ass.net> <1446134296.3203.27.camel@synopsys.com> <1454516455.2811.4.camel__10775.5710989752$1454516490$gmane$org@synopsys.com> List-ID: Message-ID: <56B2CFF2.4030503@synopsys.com> To: linux-snps-arc@lists.infradead.org +CC Noam On Wednesday 03 February 2016 09:50 PM, Alexey Brodkin wrote: >> I agree with the current solution to add -atomic to for arc700 builds. >> > Although making that default for arc700 tools will be better but that will not fix >> > things before next release of tools etc. >> > >> > But we *do* need to improve generic solution >> > 1. Add atomics detection in perf to add fall back arch stubs >> > 2. ARC needs to add syscall for facilitating atomic r-m-w ! > So the most recent ARC GNU tools (2015.12) were just released yesterday > and still atomics are disabled by default for ARCv1. > That means perf will continue to fail on building for now. > > Do you think we may apply my initial fix to 4.5 while it is in development and > then to stable trees as well? Noam, what's the atomic story for EZChip. Do you support such things for user space in GNU tools. If -atomic is added to perf user space builds are you guys OK! -Vineet