Re: [Patch][Aarch64] Fix aarch64 libatomic build with older binutils

2017-12-14 Thread James Greenhalgh
On Thu, Dec 07, 2017 at 11:56:55PM +, Steve Ellcey wrote: > James, > > Here is a patch that will turn off the use of IFUNC and the LSE > instructions in libatomic if the compiler/assembler toolchain do not > understand the '-march=armv8-a+lse' option (changed from > -march=armv8.1-a).  Rather

[Patch][Aarch64] Fix aarch64 libatomic build with older binutils

2017-12-07 Thread Steve Ellcey
James, Here is a patch that will turn off the use of IFUNC and the LSE instructions in libatomic if the compiler/assembler toolchain do not understand the '-march=armv8-a+lse' option (changed from -march=armv8.1-a).  Rather than check the assembler directly, I used the existing ACX_PROG_CC_WARNING