Re: -mfpu=neon-fp-armv8 and unrecognized command line option

2016-07-21 Thread Jim Wilson
On Thu, Jul 21, 2016 at 1:53 AM, Richard Earnshaw wrote: > On 20/07/16 22:33, Jim Wilson wrote: >> On Wed, Jul 20, 2016 at 2:14 PM, Jeffrey Walton wrote: >>> I'm having trouble with ARMv8/Aarch64. One is an early Mustang server >> >> ARMv8 implies

Re: -mfpu=neon-fp-armv8 and unrecognized command line option

2016-07-21 Thread Richard Earnshaw
On 20/07/16 22:33, Jim Wilson wrote: > On Wed, Jul 20, 2016 at 2:14 PM, Jeffrey Walton wrote: >> I'm having trouble with ARMv8/Aarch64. One is an early Mustang server > > ARMv8 implies 32-bit code (aarch32). Aaarch64 implies 64-bit code. > These are two different compilers,

Re: -mfpu=neon-fp-armv8 and unrecognized command line option

2016-07-20 Thread Jim Wilson
On Wed, Jul 20, 2016 at 3:04 PM, Jeffrey Walton wrote: > Thanks Jim. According to ARM, ARMv8 is 64-bit > (http://www.arm.com/products/processors/armv8-architecture.php). Maybe > I'm parsing the page incorrectly? The armv8 architecture spec has both aarch32 (32-bit) and

Re: -mfpu=neon-fp-armv8 and unrecognized command line option

2016-07-20 Thread Jeffrey Walton
of Aarch32 execution environments on Aarch64. I'm not trying for that test case at the moment). >> $ g++ -DDEBUG -g3 -O0 -mfpu=neon-fp-armv8 -fPIC -pipe -c cryptlib.cpp >> g++: error: unrecognized command line option ‘-mfpu=neon-fp-armv8’ >> GNUmakefile:753: recipe for

Re: -mfpu=neon-fp-armv8 and unrecognized command line option

2016-07-20 Thread Jim Wilson
mand line options. > $ g++ -DDEBUG -g3 -O0 -mfpu=neon-fp-armv8 -fPIC -pipe -c cryptlib.cpp > g++: error: unrecognized command line option ‘-mfpu=neon-fp-armv8’ > GNUmakefile:753: recipe for target 'cryptlib.o' failed -mfpu=neon-fp-armv8 is an arm (32-bit) compiler option. T

-mfpu=neon-fp-armv8 and unrecognized command line option

2016-07-20 Thread Jeffrey Walton
++ -DDEBUG -g3 -O0 -mfpu=neon-fp-armv8 -fPIC -pipe -c cryptlib.cpp g++: error: unrecognized command line option ‘-mfpu=neon-fp-armv8’ GNUmakefile:753: recipe for target 'cryptlib.o' failed It looks like -mfpu=neon-fp-armv8 is a GCC 4.9 feature (http://gcc.gnu.org/gcc-4.9/changes.html), and Linaro