[LLVMdev] [Compiler-rt] -march=aarch64 flag in gcc/clang

Gundapaneni, Sumanth sgundapa at quicinc.com
Wed Dec 17 15:02:22 PST 2014

               I think there was a typo in the patch
-    test_target_arch(aarch64 "-march=aarch64")
+    test_target_arch(aarch32 "-march=armv8-a")

It has to be aarch64 instead of aarch32 in the new patch.

--Sumanth G
-----Original Message-----
From: Renato Golin [mailto:renato.golin at linaro.org] 
Sent: Tuesday, December 16, 2014 12:33 PM
To: Christophe Lyon
Cc: Gundapaneni, Sumanth; Tim Northover; llvmdev at cs.uiuc.edu; Kostya Serebryany
Subject: Re: [Compiler-rt] -march=aarch64 flag in gcc/clang

On 16 December 2014 at 20:29, Christophe Lyon <christophe.lyon at linaro.org> wrote:
>> I don't see "-march=aarch64" is a valid flag on either LLVM or GCC.
>> Should we replace this with a flag which is valid for only aarch64 and works for both LLVM and GCC ?
> I think it should be -march=armv8-a

Sorry folks, that was totally my fault and I was too busy to realise it. I have just changed it to "armv8-a" on r224362. I'm building it now and it's working.


More information about the llvm-dev mailing list