From mboxrd@z Thu Jan 1 00:00:00 1970 From: Gustavo Zacarias Date: Wed, 08 Apr 2015 17:19:09 -0300 Subject: [Buildroot] [PATCH] strongswan: needs atomics In-Reply-To: <20150408212227.615c05a2@free-electrons.com> References: <1428507128-8490-1-git-send-email-gustavo@zacarias.com.ar> <20150408212227.615c05a2@free-electrons.com> Message-ID: <55258D3D.9070800@zacarias.com.ar> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: buildroot@busybox.net On 04/08/2015 04:22 PM, Thomas Petazzoni wrote: > Hum, I don't quite see how this change can fix the build issue. The > build issue is on Microblaze, and Microblaze has BR2_ARCH_HAS_ATOMICS=y. > > So while I agree that Strongswan is indeed using atomic intrinsics, it > isn't going to fix the issue. The real problem is that we declared that microblaze has atomics when it doesn't. All of the __atomic_compare_and_exchange_? functions for microblaze live in libatomic, which is a clear indication that it has no native atomics support whatsoever. Regards.