[CRIU] [PATCH] arm: fix compilation on ARMv7

Andrey Vagin avagin at openvz.org
Wed Dec 24 00:42:55 PST 2014


/tmp/ccq2xzf8.s: Assembler messages:
/tmp/ccq2xzf8.s:5748: Error: thumb conditional instruction should be in IT block -- strexeq r1,r2,[r3]'

Cc: Alexander Kartashov <alekskartashov at parallels.com>
Cc: Ruslan Kuprieiv <kupruser at gmail.com>
Signed-off-by: Andrey Vagin <avagin at openvz.org>
---
 Makefile | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/Makefile b/Makefile
index 6b3e06d..6b09115 100644
--- a/Makefile
+++ b/Makefile
@@ -64,6 +64,8 @@ ifeq ($(shell echo $(ARCH) | sed -e 's/arm.*/arm/'),arm)
 	SRCARCH      := arm
 	DEFINES      := -DCONFIG_ARMV$(ARMV)
 
+	USERCFLAGS += -Wa,-mimplicit-it=always
+
 	ifeq ($(ARMV),6)
 		USERCFLAGS += -march=armv6
 	endif
-- 
1.9.3



More information about the CRIU mailing list