You could certainly argue Clang should be forwarding that argument
automatically (assuming you did specify it to Clang itself) as part of
supporting -fno-integrated-as. Not that I think we really encourage
-fno-integrated-as; what problems are you having with the internal
one?
Until someone fixes that issue though, you can use
"-Wa,-march=armv8-a+crypto" to give an argument to the assembler
manually.
Tim.
_______________________________________________
LLVM Developers mailing list
llvm...@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev
On 26 October 2015 at 09:52, Sri via llvm-dev <llvm...@lists.llvm.org> wrote:
> I am passing "-march=armv8-a+crypto" to clang command but how do i promote
> the same flag to assembler arch64-linux-gnu-as through clang?
You could certainly argue Clang should be forwarding that argument
automatically (assuming you did specify it to Clang itself) as part of
supporting -fno-integrated-as. Not that I think we really encourage
-fno-integrated-as; what problems are you having with the internal
one?
Until someone fixes that issue though, you can use
"-Wa,-march=armv8-a+crypto" to give an argument to the assembler
manually.
Tim.
Hi Sri,
We were clearing all the bugs from the integrated assembler
(https://llvm.org/bugs/show_bug.cgi?id=20422), so if you could try it,
I'd love to hear how much we have progressed since the last time Hans
tried, for both ARM and AArch64.
> Manually running /usr/bin/aarch64-linux-gnu-as -march=armv8-a+crypto -I gen
> -I ../include -o MyFile.o MyFile.s works fine without any errors
Have you tried -Wa that Tim suggested? It should work just fine.
I agree Clang should pass down the architecture flags to the
assembler, but we're assuming the external assembler will accept all
variations Clang does, which may not be true.
cheers,
--renato
On 26 October 2015 at 17:31, Sri via llvm-dev <llvm...@lists.llvm.org> wrote:
> I am trying to build chromium and at this moment, They see some issues with
> internal one so recommended to use the flag -fno-integrated-as.
Hi Sri,
We were clearing all the bugs from the integrated assembler
(https://llvm.org/bugs/show_bug.cgi?id=20422), so if you could try it,
I'd love to hear how much we have progressed since the last time Hans
tried, for both ARM and AArch64.
> Manually running /usr/bin/aarch64-linux-gnu-as -march=armv8-a+crypto -I gen
> -I ../include -o MyFile.o MyFile.s works fine without any errors
Have you tried -Wa that Tim suggested? It should work just fine.
I agree Clang should pass down the architecture flags to the
assembler, but we're assuming the external assembler will accept all
variations Clang does, which may not be true.
cheers,
--renato