On 10/01/14 09:46, Eric Botcazou wrote:
>> This new test fails when GCC is configured as target
>> arm-none-linux-gnueabihf and --with-float=hard:
>> tools/arm-none-linux-gnueabihf/bin/ld: error: ./neon-nested-apcs.exe
>> uses VFP register arguments, /tmp/cc9LLqES.o does not
>> tools/arm-none-linux-gnueabihf/bin/ld: failed to merge target specific
>> data of file /tmp/cc9LLqES.o
>> collect2: error: ld returned 1 exit status
> 
> Is it sufficient to static-ify 'bar' and 'foo'?  If so, please do that.
> 
>> This is because startup and library code is compiled in hardfp mode,
>> and is incompatible with the -mfloat-abi=softfp forced in the test.
> 
> Other tests in the gcc.target/arm directory do the same though.
> 

Some tests can do it because they don't produce an executable.

R.

Reply via email to