Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CMake: Fix Cortex-A9 flags for GCC_ARM toolchain #14411

Merged
merged 1 commit into from
Mar 12, 2021

Conversation

hugueskamba
Copy link
Collaborator

@hugueskamba hugueskamba commented Mar 11, 2021

Summary of changes

The -mcpu=cortex-a9 flag conflicts with the -march=armv7-a flag. Opted to keep -mcpu=cortex-a9 as it is more specific and allows GCC to perform better optimization.
The compiler is also changed to use soft-float ABI as it was necessary to successfully build. Without it the application appears to be built with soft-float ABI and it conflicts with the previous setting which was built with hard-float ABI.
This may be related to: https://gitlab.kitware.com/cmake/cmake/-/issues/21173

Impact of changes

Migration actions required

Documentation


Pull request type

[x] Patch update (Bug fix / Target update / Docs update / Test update / Refactor)
[] Feature update (New feature / Functionality change / New API)
[] Major update (Breaking change E.g. Return code change / API behaviour change)

Test results

[] No Tests required for this change (E.g docs only update)
[x] Covered by existing mbed-os tests (Greentea or Unittest)
[] Tests / results supplied as part of this PR

Reviewers

@0xc0170 @LDong-Arm @Patater


@ciarmcom ciarmcom added the release-type: patch Indentifies a PR as containing just a patch label Mar 11, 2021
@ciarmcom ciarmcom requested review from 0xc0170, LDong-Arm, Patater and a team March 11, 2021 12:00
@ciarmcom
Copy link
Member

@hugueskamba, thank you for your changes.
@LDong-Arm @0xc0170 @Patater @ARMmbed/mbed-os-maintainers please review.

@Patater
Copy link
Contributor

Patater commented Mar 11, 2021

Could you give more information about how the dummy build test fails? Maybe we can get it working by using CMAKE_TRY_COMPILE_TARGET_TYPE as STATIC, and keep -mcpu=cortex-a9.

@LDong-Arm
Copy link
Contributor

LDong-Arm commented Mar 11, 2021

Could you give more information about how the dummy build test fails? Maybe we can get it working by using CMAKE_TRY_COMPILE_TARGET_TYPE as STATIC, and keep -mcpu=cortex-a9.

@Patater This is really useful information, I wish I knew it earlier. It solves the dummy compiler check which prevented me from using better solution in #14401.
(Not saying it completely solves that PR - there's still a real bug in CMake which I'll report later today...)

In any case I think we should set this variable in toolchain.cmake.

@0xc0170
Copy link
Contributor

0xc0170 commented Mar 11, 2021

@LDong-Arm as you pointed out, this is related to https://gitlab.kitware.com/cmake/cmake/-/issues/21173, isn't it?

We shall review try compile target as static separately. I'll log this into our backlog.

@LDong-Arm
Copy link
Contributor

LDong-Arm commented Mar 11, 2021

@LDong-Arm as you pointed out, this is related to https://gitlab.kitware.com/cmake/cmake/-/issues/21173, isn't it?

We shall review try compile target as static separately. I'll log this into our backlog.

I don't think it's related - this PR is about -mcpu=cortex-a9 (no suffix) so CMake should probably handle it without problems. The issue applies to cases where we do have a suffix (e.g. +nofp).

I think @Patater's suggestion is likely enough for this PR.

@0xc0170
Copy link
Contributor

0xc0170 commented Mar 11, 2021

We discussed the static type back in December but we had other issues with flags we wanted to fix #13987 (comment).

@multiplemonomials Please review

@hugueskamba
Copy link
Collaborator Author

hugueskamba commented Mar 11, 2021

Could you give more information about how the dummy build test fails? Maybe we can get it working by using CMAKE_TRY_COMPILE_TARGET_TYPE as STATIC, and keep -mcpu=cortex-a9.

Here is the build output:

$ rm -rf cmake_build && mbedtools compile -t gcc_ARM -m RZ_A1H
Configuring project and generating build system...
-- The C compiler identification is GNU 9.2.1
-- The CXX compiler identification is GNU 9.2.1
-- The ASM compiler identification is GNU
-- Found assembler: /usr/local/bin/arm-none-eabi-gcc
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - failed
-- Check for working C compiler: /usr/local/bin/arm-none-eabi-gcc
-- Check for working C compiler: /usr/local/bin/arm-none-eabi-gcc - broken
CMake Error at /Applications/CMake.app/Contents/share/cmake-3.19/Modules/CMakeTestCCompiler.cmake:66 (message):
  The C compiler

    "/usr/local/bin/arm-none-eabi-gcc"

  is not able to compile a simple test program.

  It fails with the following output:

    Change Dir: /path/to/mbed-os-example-blinky/cmake_build/RZ_A1H/develop/GCC_ARM/CMakeFiles/CMakeTmp
    
    Run Build Command(s):/usr/local/bin/ninja cmTC_2a2b3 && [1/2] Building C object CMakeFiles/cmTC_2a2b3.dir/testCCompiler.c.obj
    [2/2] Linking C executable cmTC_2a2b3
    FAILED: cmTC_2a2b3 
    : && /usr/local/bin/arm-none-eabi-gcc -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -fmessage-length=0 -fno-exceptions -ffunction-sections -fdata-sections -funsigned-char -fomit-frame-pointer -g3 -mthumb-interwork -marm -mfpu=vfpv3 -mfloat-abi=hard -mno-unaligned-access -mcpu=cortex-a9 -Wl,--start-group -lstdc++ -lsupc++ -lm -lc -lgcc -lnosys -Wl,--end-group -specs=nosys.specs -Wl,--cref CMakeFiles/cmTC_2a2b3.dir/testCCompiler.c.obj -o cmTC_2a2b3   && :
    
    Cross Reference Table
    
    Symbol                                            File
    __atexit_recursive_mutex                          /usr/local/Cellar/arm-none-eabi-gcc/9-2019-q4-major/gcc/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/lib/libc.a(lib_a-__call_atexit.o)
                                                      /usr/local/Cellar/arm-none-eabi-gcc/9-2019-q4-major/gcc/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/lib/libc.a(lib_a-__atexit.o)
    __bss_end__                                       /usr/local/Cellar/arm-none-eabi-gcc/9-2019-q4-major/gcc/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/lib/crt0.o
    __bss_start__                                     /usr/local/Cellar/arm-none-eabi-gcc/9-2019-q4-major/gcc/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/lib/crt0.o
    __call_exitprocs                                  /usr/local/Cellar/arm-none-eabi-gcc/9-2019-q4-major/gcc/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/lib/libc.a(lib_a-__call_atexit.o)
                                                      /usr/local/Cellar/arm-none-eabi-gcc/9-2019-q4-major/gcc/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/lib/libc.a(lib_a-exit.o)
    __deregister_frame_info                           /usr/local/Cellar/arm-none-eabi-gcc/9-2019-q4-major/gcc/bin/../lib/gcc/arm-none-eabi/9.2.1/crtbegin.o
    __dso_handle                                      /usr/local/Cellar/arm-none-eabi-gcc/9-2019-q4-major/gcc/bin/../lib/gcc/arm-none-eabi/9.2.1/crtbegin.o
    __fini_array_end                                  /usr/local/Cellar/arm-none-eabi-gcc/9-2019-q4-major/gcc/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/lib/libc.a(lib_a-fini.o)
    __fini_array_start                                /usr/local/Cellar/arm-none-eabi-gcc/9-2019-q4-major/gcc/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/lib/libc.a(lib_a-fini.o)
    __init_array_end                                  /usr/local/Cellar/arm-none-eabi-gcc/9-2019-q4-major/gcc/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/lib/libc.a(lib_a-init.o)
    __init_array_start                                /usr/local/Cellar/arm-none-eabi-gcc/9-2019-q4-major/gcc/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/lib/libc.a(lib_a-init.o)
    __libc_fini                                       /usr/local/Cellar/arm-none-eabi-gcc/9-2019-q4-major/gcc/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/lib/libc.a(lib_a-__call_atexit.o)
    __libc_fini_array                                 /usr/local/Cellar/arm-none-eabi-gcc/9-2019-q4-major/gcc/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/lib/libc.a(lib_a-fini.o)
                                                      /usr/local/Cellar/arm-none-eabi-gcc/9-2019-q4-major/gcc/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/lib/libc.a(lib_a-__call_atexit.o)
                                                      /usr/local/Cellar/arm-none-eabi-gcc/9-2019-q4-major/gcc/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/lib/crt0.o
    __libc_init_array                                 /usr/local/Cellar/arm-none-eabi-gcc/9-2019-q4-major/gcc/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/lib/libc.a(lib_a-init.o)
                                                      /usr/local/Cellar/arm-none-eabi-gcc/9-2019-q4-major/gcc/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/lib/crt0.o
    __lock___arc4random_mutex                         /usr/local/Cellar/arm-none-eabi-gcc/9-2019-q4-major/gcc/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/lib/libc.a(lib_a-lock.o)
    __lock___at_quick_exit_mutex                      /usr/local/Cellar/arm-none-eabi-gcc/9-2019-q4-major/gcc/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/lib/libc.a(lib_a-lock.o)
    __lock___atexit_recursive_mutex                   /usr/local/Cellar/arm-none-eabi-gcc/9-2019-q4-major/gcc/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/lib/libc.a(lib_a-lock.o)
                                                      /usr/local/Cellar/arm-none-eabi-gcc/9-2019-q4-major/gcc/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/lib/libc.a(lib_a-__call_atexit.o)
    __lock___dd_hash_mutex                            /usr/local/Cellar/arm-none-eabi-gcc/9-2019-q4-major/gcc/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/lib/libc.a(lib_a-lock.o)
    __lock___env_recursive_mutex                      /usr/local/Cellar/arm-none-eabi-gcc/9-2019-q4-major/gcc/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/lib/libc.a(lib_a-lock.o)
    __lock___malloc_recursive_mutex                   /usr/local/Cellar/arm-none-eabi-gcc/9-2019-q4-major/gcc/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/lib/libc.a(lib_a-lock.o)
    __lock___sfp_recursive_mutex                      /usr/local/Cellar/arm-none-eabi-gcc/9-2019-q4-major/gcc/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/lib/libc.a(lib_a-lock.o)
    __lock___sinit_recursive_mutex                    /usr/local/Cellar/arm-none-eabi-gcc/9-2019-q4-major/gcc/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/lib/libc.a(lib_a-lock.o)
    __lock___tz_mutex                                 /usr/local/Cellar/arm-none-eabi-gcc/9-2019-q4-major/gcc/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/lib/libc.a(lib_a-lock.o)
    __preinit_array_end                               /usr/local/Cellar/arm-none-eabi-gcc/9-2019-q4-major/gcc/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/lib/libc.a(lib_a-init.o)
    __preinit_array_start                             /usr/local/Cellar/arm-none-eabi-gcc/9-2019-q4-major/gcc/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/lib/libc.a(lib_a-init.o)
    __register_exitproc                               /usr/local/Cellar/arm-none-eabi-gcc/9-2019-q4-major/gcc/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/lib/libc.a(lib_a-__atexit.o)
                                                      /usr/local/Cellar/arm-none-eabi-gcc/9-2019-q4-major/gcc/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/lib/libc.a(lib_a-atexit.o)
    __register_frame_info                             /usr/local/Cellar/arm-none-eabi-gcc/9-2019-q4-major/gcc/bin/../lib/gcc/arm-none-eabi/9.2.1/crtbegin.o
    __retarget_lock_acquire                           /usr/local/Cellar/arm-none-eabi-gcc/9-2019-q4-major/gcc/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/lib/libc.a(lib_a-lock.o)
    __retarget_lock_acquire_recursive                 /usr/local/Cellar/arm-none-eabi-gcc/9-2019-q4-major/gcc/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/lib/libc.a(lib_a-lock.o)
                                                      /usr/local/Cellar/arm-none-eabi-gcc/9-2019-q4-major/gcc/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/lib/libc.a(lib_a-__atexit.o)
                                                      /usr/local/Cellar/arm-none-eabi-gcc/9-2019-q4-major/gcc/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/lib/libc.a(lib_a-__call_atexit.o)
    __retarget_lock_close                             /usr/local/Cellar/arm-none-eabi-gcc/9-2019-q4-major/gcc/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/lib/libc.a(lib_a-lock.o)
    __retarget_lock_close_recursive                   /usr/local/Cellar/arm-none-eabi-gcc/9-2019-q4-major/gcc/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/lib/libc.a(lib_a-lock.o)
    __retarget_lock_init                              /usr/local/Cellar/arm-none-eabi-gcc/9-2019-q4-major/gcc/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/lib/libc.a(lib_a-lock.o)
    __retarget_lock_init_recursive                    /usr/local/Cellar/arm-none-eabi-gcc/9-2019-q4-major/gcc/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/lib/libc.a(lib_a-lock.o)
    __retarget_lock_release                           /usr/local/Cellar/arm-none-eabi-gcc/9-2019-q4-major/gcc/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/lib/libc.a(lib_a-lock.o)
    __retarget_lock_release_recursive                 /usr/local/Cellar/arm-none-eabi-gcc/9-2019-q4-major/gcc/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/lib/libc.a(lib_a-lock.o)
                                                      /usr/local/Cellar/arm-none-eabi-gcc/9-2019-q4-major/gcc/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/lib/libc.a(lib_a-__atexit.o)
                                                      /usr/local/Cellar/arm-none-eabi-gcc/9-2019-q4-major/gcc/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/lib/libc.a(lib_a-__call_atexit.o)
    __retarget_lock_try_acquire                       /usr/local/Cellar/arm-none-eabi-gcc/9-2019-q4-major/gcc/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/lib/libc.a(lib_a-lock.o)
    __retarget_lock_try_acquire_recursive             /usr/local/Cellar/arm-none-eabi-gcc/9-2019-q4-major/gcc/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/lib/libc.a(lib_a-lock.o)
    __stack                                           /usr/local/Cellar/arm-none-eabi-gcc/9-2019-q4-major/gcc/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/lib/crt0.o
    _exit                                             /usr/local/Cellar/arm-none-eabi-gcc/9-2019-q4-major/gcc/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/lib/libnosys.a(_exit.o)
                                                      /usr/local/Cellar/arm-none-eabi-gcc/9-2019-q4-major/gcc/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/lib/libc.a(lib_a-exit.o)
    _fini                                             /usr/local/Cellar/arm-none-eabi-gcc/9-2019-q4-major/gcc/bin/../lib/gcc/arm-none-eabi/9.2.1/crti.o
                                                      /usr/local/Cellar/arm-none-eabi-gcc/9-2019-q4-major/gcc/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/lib/libc.a(lib_a-fini.o)
    _global_impure_ptr                                /usr/local/Cellar/arm-none-eabi-gcc/9-2019-q4-major/gcc/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/lib/libc.a(lib_a-impure.o)
                                                      /usr/local/Cellar/arm-none-eabi-gcc/9-2019-q4-major/gcc/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/lib/libc.a(lib_a-__atexit.o)
                                                      /usr/local/Cellar/arm-none-eabi-gcc/9-2019-q4-major/gcc/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/lib/libc.a(lib_a-__call_atexit.o)
                                                      /usr/local/Cellar/arm-none-eabi-gcc/9-2019-q4-major/gcc/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/lib/libc.a(lib_a-exit.o)
    _impure_ptr                                       /usr/local/Cellar/arm-none-eabi-gcc/9-2019-q4-major/gcc/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/lib/libc.a(lib_a-impure.o)
    _init                                             /usr/local/Cellar/arm-none-eabi-gcc/9-2019-q4-major/gcc/bin/../lib/gcc/arm-none-eabi/9.2.1/crti.o
                                                      /usr/local/Cellar/arm-none-eabi-gcc/9-2019-q4-major/gcc/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/lib/libc.a(lib_a-init.o)
    _mainCRTStartup                                   /usr/local/Cellar/arm-none-eabi-gcc/9-2019-q4-major/gcc/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/lib/crt0.o
    _start                                            /usr/local/Cellar/arm-none-eabi-gcc/9-2019-q4-major/gcc/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/lib/crt0.o
    atexit                                            /usr/local/Cellar/arm-none-eabi-gcc/9-2019-q4-major/gcc/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/lib/libc.a(lib_a-atexit.o)
                                                      /usr/local/Cellar/arm-none-eabi-gcc/9-2019-q4-major/gcc/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/lib/libc.a(lib_a-__call_atexit.o)
                                                      /usr/local/Cellar/arm-none-eabi-gcc/9-2019-q4-major/gcc/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/lib/crt0.o
    exit                                              /usr/local/Cellar/arm-none-eabi-gcc/9-2019-q4-major/gcc/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/lib/libc.a(lib_a-exit.o)
                                                      /usr/local/Cellar/arm-none-eabi-gcc/9-2019-q4-major/gcc/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/lib/crt0.o
    hardware_init_hook                                /usr/local/Cellar/arm-none-eabi-gcc/9-2019-q4-major/gcc/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/lib/crt0.o
    main                                              CMakeFiles/cmTC_2a2b3.dir/testCCompiler.c.obj
                                                      /usr/local/Cellar/arm-none-eabi-gcc/9-2019-q4-major/gcc/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/lib/crt0.o
    memset                                            /usr/local/Cellar/arm-none-eabi-gcc/9-2019-q4-major/gcc/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/lib/libc.a(lib_a-memset.o)
                                                      /usr/local/Cellar/arm-none-eabi-gcc/9-2019-q4-major/gcc/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/lib/crt0.o
    software_init_hook                                /usr/local/Cellar/arm-none-eabi-gcc/9-2019-q4-major/gcc/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/lib/crt0.o/usr/local/Cellar/arm-none-eabi-gcc/9-2019-q4-major/gcc/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld: error: CMakeFiles/cmTC_2a2b3.dir/testCCompiler.c.obj uses VFP register arguments, cmTC_2a2b3 does not
    /usr/local/Cellar/arm-none-eabi-gcc/9-2019-q4-major/gcc/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld: failed to merge target specific data of file CMakeFiles/cmTC_2a2b3.dir/testCCompiler.c.obj
    collect2: error: ld returned 1 exit status
    
    ninja: build stopped: subcommand failed.
    
    

  

  CMake will not be able to correctly generate this project.
Call Stack (most recent call first):
  mbed-os/tools/cmake/app.cmake:21 (enable_language)
  CMakeLists.txt:10 (include)


-- Configuring incomplete, errors occurred!
See also "/path/to/mbed-os-example-blinky/cmake_build/RZ_A1H/develop/GCC_ARM/CMakeFiles/CMakeOutput.log".
See also "/path/to/mbed-os-example-blinky/cmake_build/RZ_A1H/develop/GCC_ARM/CMakeFiles/CMakeError.log".
ERROR: CMake invocation failed!

More information may be available by using the command line option '-v'.

@hugueskamba
Copy link
Collaborator Author

Could you give more information about how the dummy build test fails? Maybe we can get it working by using CMAKE_TRY_COMPILE_TARGET_TYPE as STATIC, and keep -mcpu=cortex-a9.

Using set(CMAKE_TRY_COMPILE_TARGET_TYPE STATIC_LIBRARY) solves the issue with try_compile(). However, the Blinky build fails when -mcpu=cortex-a9 is used instead of -march=armv7-a.
FYI, the old tools used -march=armv7-a instead of -mcpu=cortex-a9.

The errors are:

FAILED: mbed-os-example-blinky.elf 
: && /usr/local/bin/arm-none-eabi-g++ -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -fmessage-length=0 -fno-exceptions -ffunction-sections -fdata-sections -funsigned-char -fomit-frame-pointer -g3 -mthumb-interwork -marm -mfpu=vfpv3 -mfloat-abi=hard -mno-unaligned-access -mcpu=cortex-a9 -Wl,--start-group -lstdc++ -lsupc++ -lm -lc -lgcc -lnosys -Wl,--end-group -specs=nosys.specs -Wl,--cref    -Wl,-Map=/path/to/mbed-os-example-blinky/cmake_build/RZ_A1H/develop/GCC_ARM/mbed-os-example-blinky.elf.map -Wl,--gc-sections -Wl,--wrap,main -Wl,--wrap,_malloc_r -Wl,--wrap,_free_r -Wl,--wrap,_realloc_r -Wl,--wrap,_memalign_r -Wl,--wrap,_calloc_r -Wl,--wrap,exit -Wl,--wrap,atexit -Wl,-n -Wl,--wrap,printf -Wl,--wrap,sprintf -Wl,--wrap,snprintf -Wl,--wrap,vprintf -Wl,--wrap,vsprintf -Wl,--wrap,vsnprintf -Wl,--wrap,fprintf -Wl,--wrap,vfprintf -T /path/to/mbed-os-example-blinky/cmake_build/RZ_A1H/develop/GCC_ARM/mbed-os/targets/TARGET_RENESAS/TARGET_RZ_A1XX/TARGET_RZ_A1H/mbed-rz-a1h.link_script.ld @CMakeFiles/mbed-os-example-blinky.rsp -o mbed-os-example-blinky.elf  && cd /path/to/mbed-os-example-blinky/cmake_build/RZ_A1H/develop/GCC_ARM && arm-none-eabi-objcopy -O binary /path/to/mbed-os-example-blinky/cmake_build/RZ_A1H/develop/GCC_ARM/mbed-os-example-blinky.elf /path/to/mbed-os-example-blinky/cmake_build/RZ_A1H/develop/GCC_ARM/mbed-os-example-blinky.bin && /Applications/CMake.app/Contents/bin/cmake -E echo "-- built: /path/to/mbed-os-example-blinky/cmake_build/RZ_A1H/develop/GCC_ARM/mbed-os-example-blinky.bin" && arm-none-eabi-objcopy -O ihex /path/to/mbed-os-example-blinky/cmake_build/RZ_A1H/develop/GCC_ARM/mbed-os-example-blinky.elf /path/to/mbed-os-example-blinky/cmake_build/RZ_A1H/develop/GCC_ARM/mbed-os-example-blinky.hex && /Applications/CMake.app/Contents/bin/cmake -E echo "-- built: /path/to/mbed-os-example-blinky/cmake_build/RZ_A1H/develop/GCC_ARM/mbed-os-example-blinky.hex" && cd /path/to/mbed-os-example-blinky/cmake_build/RZ_A1H/develop/GCC_ARM && /usr/local/Frameworks/Python.framework/Versions/3.9/bin/python3.9 /path/to/mbed-os-example-blinky/mbed-os/tools/memap.py -t GCC_ARM /path/to/mbed-os-example-blinky/cmake_build/RZ_A1H/develop/GCC_ARM/mbed-os-example-blinky.elf.map
/usr/local/Cellar/arm-none-eabi-gcc/9-2019-q4-major/gcc/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld: error: CMakeFiles/mbed-os-example-blinky.dir/main.cpp.obj uses VFP register arguments, mbed-os-example-blinky.elf does not
/usr/local/Cellar/arm-none-eabi-gcc/9-2019-q4-major/gcc/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld: failed to merge target specific data of file CMakeFiles/mbed-os-example-blinky.dir/main.cpp.obj
/usr/local/Cellar/arm-none-eabi-gcc/9-2019-q4-major/gcc/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld: error: CMakeFiles/mbed-os-example-blinky.dir/mbed-os/cmsis/CMSIS_5/CMSIS/RTOS2/RTX/Config/TARGET_CORTEX_A/handlers.c.obj uses VFP register arguments, mbed-os-example-blinky.elf does not
/usr/local/Cellar/arm-none-eabi-gcc/9-2019-q4-major/gcc/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld: failed to merge target specific data of file CMakeFiles/mbed-os-example-blinky.dir/mbed-os/cmsis/CMSIS_5/CMSIS/RTOS2/RTX/Config/TARGET_CORTEX_A/handlers.c.obj
/usr/local/Cellar/arm-none-eabi-gcc/9-2019-q4-major/gcc/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld: error: CMakeFiles/mbed-os-example-blinky.dir/mbed-os/cmsis/CMSIS_5/CMSIS/RTOS2/RTX/Config/RTX_Config.c.obj uses VFP register arguments, mbed-os-example-blinky.elf does not
/usr/local/Cellar/arm-none-eabi-gcc/9-2019-q4-major/gcc/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld: failed to merge target specific data of file CMakeFiles/mbed-os-example-blinky.dir/mbed-os/cmsis/CMSIS_5/CMSIS/RTOS2/RTX/Config/RTX_Config.c.obj
/usr/local/Cellar/arm-none-eabi-gcc/9-2019-q4-major/gcc/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld: error: CMakeFiles/mbed-os-example-blinky.dir/mbed-os/cmsis/CMSIS_5/CMSIS/RTOS2/RTX/Library/cmsis_os1.c.obj uses VFP register arguments, mbed-os-example-blinky.elf does not
/usr/local/Cellar/arm-none-eabi-gcc/9-2019-q4-major/gcc/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld: failed to merge target specific data of file CMakeFiles/mbed-os-example-blinky.dir/mbed-os/cmsis/CMSIS_5/CMSIS/RTOS2/RTX/Library/cmsis_os1.c.obj
/usr/local/Cellar/arm-none-eabi-gcc/9-2019-q4-major/gcc/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld: error: CMakeFiles/mbed-os-example-blinky.dir/mbed-os/cmsis/CMSIS_5/CMSIS/RTOS2/RTX/Source/rtx_delay.c.obj uses VFP register arguments, mbed-os-example-blinky.elf does not
/usr/local/Cellar/arm-none-eabi-gcc/9-2019-q4-major/gcc/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld: failed to merge target specific data of file CMakeFiles/mbed-os-example-blinky.dir/mbed-os/cmsis/CMSIS_5/CMSIS/RTOS2/RTX/Source/rtx_delay.c.obj
/usr/local/Cellar/arm-none-eabi-gcc/9-2019-q4-major/gcc/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld: error: CMakeFiles/mbed-os-example-blinky.dir/mbed-os/cmsis/CMSIS_5/CMSIS/RTOS2/RTX/Source/rtx_evflags.c.obj uses VFP register arguments, mbed-os-example-blinky.elf does not
/usr/local/Cellar/arm-none-eabi-gcc/9-2019-q4-major/gcc/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld: failed to merge target specific data of file CMakeFiles/mbed-os-example-blinky.dir/mbed-os/cmsis/CMSIS_5/CMSIS/RTOS2/RTX/Source/rtx_evflags.c.obj
/usr/local/Cellar/arm-none-eabi-gcc/9-2019-q4-major/gcc/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld: error: CMakeFiles/mbed-os-example-blinky.dir/mbed-os/cmsis/CMSIS_5/CMSIS/RTOS2/RTX/Source/rtx_evr.c.obj uses VFP register arguments, mbed-os-example-blinky.elf does not
/usr/local/Cellar/arm-none-eabi-gcc/9-2019-q4-major/gcc/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld: failed to merge target specific data of file CMakeFiles/mbed-os-example-blinky.dir/mbed-os/cmsis/CMSIS_5/CMSIS/RTOS2/RTX/Source/rtx_evr.c.obj
/usr/local/Cellar/arm-none-eabi-gcc/9-2019-q4-major/gcc/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld: error: CMakeFiles/mbed-os-example-blinky.dir/mbed-os/cmsis/CMSIS_5/CMSIS/RTOS2/RTX/Source/rtx_kernel.c.obj uses VFP register arguments, mbed-os-example-blinky.elf does not
/usr/local/Cellar/arm-none-eabi-gcc/9-2019-q4-major/gcc/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld: failed to merge target specific data of file CMakeFiles/mbed-os-example-blinky.dir/mbed-os/cmsis/CMSIS_5/CMSIS/RTOS2/RTX/Source/rtx_kernel.c.obj
/usr/local/Cellar/arm-none-eabi-gcc/9-2019-q4-major/gcc/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld: error: CMakeFiles/mbed-os-example-blinky.dir/mbed-os/cmsis/CMSIS_5/CMSIS/RTOS2/RTX/Source/rtx_lib.c.obj uses VFP register arguments, mbed-os-example-blinky.elf does not
/usr/local/Cellar/arm-none-eabi-gcc/9-2019-q4-major/gcc/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld: failed to merge target specific data of file CMakeFiles/mbed-os-example-blinky.dir/mbed-os/cmsis/CMSIS_5/CMSIS/RTOS2/RTX/Source/rtx_lib.c.obj
/usr/local/Cellar/arm-none-eabi-gcc/9-2019-q4-major/gcc/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld: error: CMakeFiles/mbed-os-example-blinky.dir/mbed-os/cmsis/CMSIS_5/CMSIS/RTOS2/RTX/Source/rtx_memory.c.obj uses VFP register arguments, mbed-os-example-blinky.elf does not
/usr/local/Cellar/arm-none-eabi-gcc/9-2019-q4-major/gcc/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld: failed to merge target specific data of file CMakeFiles/mbed-os-example-blinky.dir/mbed-os/cmsis/CMSIS_5/CMSIS/RTOS2/RTX/Source/rtx_memory.c.obj
/usr/local/Cellar/arm-none-eabi-gcc/9-2019-q4-major/gcc/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld: error: CMakeFiles/mbed-os-example-blinky.dir/mbed-os/cmsis/CMSIS_5/CMSIS/RTOS2/RTX/Source/rtx_mempool.c.obj uses VFP register arguments, mbed-os-example-blinky.elf does not
/usr/local/Cellar/arm-none-eabi-gcc/9-2019-q4-major/gcc/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld: failed to merge target specific data of file CMakeFiles/mbed-os-example-blinky.dir/mbed-os/cmsis/CMSIS_5/CMSIS/RTOS2/RTX/Source/rtx_mempool.c.obj
/usr/local/Cellar/arm-none-eabi-gcc/9-2019-q4-major/gcc/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld: error: CMakeFiles/mbed-os-example-blinky.dir/mbed-os/cmsis/CMSIS_5/CMSIS/RTOS2/RTX/Source/rtx_msgqueue.c.obj uses VFP register arguments, mbed-os-example-blinky.elf does not
/usr/local/Cellar/arm-none-eabi-gcc/9-2019-q4-major/gcc/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld: failed to merge target specific data of file CMakeFiles/mbed-os-example-blinky.dir/mbed-os/cmsis/CMSIS_5/CMSIS/RTOS2/RTX/Source/rtx_msgqueue.c.obj
/usr/local/Cellar/arm-none-eabi-gcc/9-2019-q4-major/gcc/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld: error: CMakeFiles/mbed-os-example-blinky.dir/mbed-os/cmsis/CMSIS_5/CMSIS/RTOS2/RTX/Source/rtx_mutex.c.obj uses VFP register arguments, mbed-os-example-blinky.elf does not
/usr/local/Cellar/arm-none-eabi-gcc/9-2019-q4-major/gcc/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld: failed to merge target specific data of file CMakeFiles/mbed-os-example-blinky.dir/mbed-os/cmsis/CMSIS_5/CMSIS/RTOS2/RTX/Source/rtx_mutex.c.obj
/usr/local/Cellar/arm-none-eabi-gcc/9-2019-q4-major/gcc/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld: error: CMakeFiles/mbed-os-example-blinky.dir/mbed-os/cmsis/CMSIS_5/CMSIS/RTOS2/RTX/Source/rtx_semaphore.c.obj uses VFP register arguments, mbed-os-example-blinky.elf does not
/usr/local/Cellar/arm-none-eabi-gcc/9-2019-q4-major/gcc/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld: failed to merge target specific data of file CMakeFiles/mbed-os-example-blinky.dir/mbed-os/cmsis/CMSIS_5/CMSIS/RTOS2/RTX/Source/rtx_semaphore.c.obj
/usr/local/Cellar/arm-none-eabi-gcc/9-2019-q4-major/gcc/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld: error: CMakeFiles/mbed-os-example-blinky.dir/mbed-os/cmsis/CMSIS_5/CMSIS/RTOS2/RTX/Source/rtx_system.c.obj uses VFP register arguments, mbed-os-example-blinky.elf does not
/usr/local/Cellar/arm-none-eabi-gcc/9-2019-q4-major/gcc/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld: failed to merge target specific data of file CMakeFiles/mbed-os-example-blinky.dir/mbed-os/cmsis/CMSIS_5/CMSIS/RTOS2/RTX/Source/rtx_system.c.obj
/usr/local/Cellar/arm-none-eabi-gcc/9-2019-q4-major/gcc/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld: error: CMakeFiles/mbed-os-example-blinky.dir/mbed-os/cmsis/CMSIS_5/CMSIS/RTOS2/RTX/Source/rtx_thread.c.obj uses VFP register arguments, mbed-os-example-blinky.elf does not
/usr/local/Cellar/arm-none-eabi-gcc/9-2019-q4-major/gcc/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld: failed to merge target specific data of file CMakeFiles/mbed-os-example-blinky.dir/mbed-os/cmsis/CMSIS_5/CMSIS/RTOS2/RTX/Source/rtx_thread.c.obj
/usr/local/Cellar/arm-none-eabi-gcc/9-2019-q4-major/gcc/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld: error: CMakeFiles/mbed-os-example-blinky.dir/mbed-os/cmsis/CMSIS_5/CMSIS/RTOS2/RTX/Source/rtx_timer.c.obj uses VFP register arguments, mbed-os-example-blinky.elf does not
/usr/local/Cellar/arm-none-eabi-gcc/9-2019-q4-major/gcc/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld: failed to merge target specific data of file CMakeFiles/mbed-os-example-blinky.dir/mbed-os/cmsis/CMSIS_5/CMSIS/RTOS2/RTX/Source/rtx_timer.c.obj
/usr/local/Cellar/arm-none-eabi-gcc/9-2019-q4-major/gcc/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld: error: CMakeFiles/mbed-os-example-blinky.dir/mbed-os/cmsis/CMSIS_5/CMSIS/RTOS2/Source/os_systick.c.obj uses VFP register arguments, mbed-os-example-blinky.elf does not
/usr/local/Cellar/arm-none-eabi-gcc/9-2019-q4-major/gcc/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld: failed to merge target specific data of file CMakeFiles/mbed-os-example-blinky.dir/mbed-os/cmsis/CMSIS_5/CMSIS/RTOS2/Source/os_systick.c.obj
/usr/local/Cellar/arm-none-eabi-gcc/9-2019-q4-major/gcc/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld: error: CMakeFiles/mbed-os-example-blinky.dir/mbed-os/cmsis/CMSIS_5/CMSIS/RTOS2/Source/os_tick_ptim.c.obj uses VFP register arguments, mbed-os-example-blinky.elf does not
/usr/local/Cellar/arm-none-eabi-gcc/9-2019-q4-major/gcc/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld: failed to merge target specific data of file CMakeFiles/mbed-os-example-blinky.dir/mbed-os/cmsis/CMSIS_5/CMSIS/RTOS2/Source/os_tick_ptim.c.obj
/usr/local/Cellar/arm-none-eabi-gcc/9-2019-q4-major/gcc/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld: error: CMakeFiles/mbed-os-example-blinky.dir/mbed-os/cmsis/device/rtos/TOOLCHAIN_GCC_ARM/mbed_boot_gcc_arm.c.obj uses VFP register arguments, mbed-os-example-blinky.elf does not
/usr/local/Cellar/arm-none-eabi-gcc/9-2019-q4-major/gcc/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld: failed to merge target specific data of file CMakeFiles/mbed-os-example-blinky.dir/mbed-os/cmsis/device/rtos/TOOLCHAIN_GCC_ARM/mbed_boot_gcc_arm.c.obj
/usr/local/Cellar/arm-none-eabi-gcc/9-2019-q4-major/gcc/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld: error: CMakeFiles/mbed-os-example-blinky.dir/mbed-os/cmsis/device/rtos/source/mbed_boot.c.obj uses VFP register arguments, mbed-os-example-blinky.elf does not
/usr/local/Cellar/arm-none-eabi-gcc/9-2019-q4-major/gcc/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld: failed to merge target specific data of file CMakeFiles/mbed-os-example-blinky.dir/mbed-os/cmsis/device/rtos/source/mbed_boot.c.obj
/usr/local/Cellar/arm-none-eabi-gcc/9-2019-q4-major/gcc/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld: error: CMakeFiles/mbed-os-example-blinky.dir/mbed-os/cmsis/device/rtos/source/mbed_rtos_rtx.c.obj uses VFP register arguments, mbed-os-example-blinky.elf does not
/usr/local/Cellar/arm-none-eabi-gcc/9-2019-q4-major/gcc/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld: failed to merge target specific data of file CMakeFiles/mbed-os-example-blinky.dir/mbed-os/cmsis/device/rtos/source/mbed_rtos_rtx.c.obj
/usr/local/Cellar/arm-none-eabi-gcc/9-2019-q4-major/gcc/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld: error: CMakeFiles/mbed-os-example-blinky.dir/mbed-os/cmsis/device/rtos/source/mbed_rtx_handlers.c.obj uses VFP register arguments, mbed-os-example-blinky.elf does not
/usr/local/Cellar/arm-none-eabi-gcc/9-2019-q4-major/gcc/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld: failed to merge target specific data of file CMakeFiles/mbed-os-example-blinky.dir/mbed-os/cmsis/device/rtos/source/mbed_rtx_handlers.c.obj
/usr/local/Cellar/arm-none-eabi-gcc/9-2019-q4-major/gcc/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld: error: CMakeFiles/mbed-os-example-blinky.dir/mbed-os/cmsis/device/rtos/source/mbed_rtx_idle.cpp.obj uses VFP register arguments, mbed-os-example-blinky.elf does not
/usr/local/Cellar/arm-none-eabi-gcc/9-2019-q4-major/gcc/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld: failed to merge target specific data of file CMakeFiles/mbed-os-example-blinky.dir/mbed-os/cmsis/device/rtos/source/mbed_rtx_idle.cpp.obj
/usr/local/Cellar/arm-none-eabi-gcc/9-2019-q4-major/gcc/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld: error: CMakeFiles/mbed-os-example-blinky.dir/mbed-os/drivers/source/AnalogIn.cpp.obj uses VFP register arguments, mbed-os-example-blinky.elf does not
/usr/local/Cellar/arm-none-eabi-gcc/9-2019-q4-major/gcc/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld: failed to merge target specific data of file CMakeFiles/mbed-os-example-blinky.dir/mbed-os/drivers/source/AnalogIn.cpp.obj
/usr/local/Cellar/arm-none-eabi-gcc/9-2019-q4-major/gcc/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld: error: CMakeFiles/mbed-os-example-blinky.dir/mbed-os/drivers/source/AnalogOut.cpp.obj uses VFP register arguments, mbed-os-example-blinky.elf does not
/usr/local/Cellar/arm-none-eabi-gcc/9-2019-q4-major/gcc/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld: failed to merge target specific data of file CMakeFiles/mbed-os-example-blinky.dir/mbed-os/drivers/source/AnalogOut.cpp.obj
/usr/local/Cellar/arm-none-eabi-gcc/9-2019-q4-major/gcc/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld: error: CMakeFiles/mbed-os-example-blinky.dir/mbed-os/drivers/source/BufferedSerial.cpp.obj uses VFP register arguments, mbed-os-example-blinky.elf does not
/usr/local/Cellar/arm-none-eabi-gcc/9-2019-q4-major/gcc/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld: failed to merge target specific data of file CMakeFiles/mbed-os-example-blinky.dir/mbed-os/drivers/source/BufferedSerial.cpp.obj
/usr/local/Cellar/arm-none-eabi-gcc/9-2019-q4-major/gcc/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld: error: CMakeFiles/mbed-os-example-blinky.dir/mbed-os/drivers/source/BusIn.cpp.obj uses VFP register arguments, mbed-os-example-blinky.elf does not
/usr/local/Cellar/arm-none-eabi-gcc/9-2019-q4-major/gcc/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld: failed to merge target specific data of file CMakeFiles/mbed-os-example-blinky.dir/mbed-os/drivers/source/BusIn.cpp.obj
/usr/local/Cellar/arm-none-eabi-gcc/9-2019-q4-major/gcc/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld: error: CMakeFiles/mbed-os-example-blinky.dir/mbed-os/drivers/source/BusInOut.cpp.obj uses VFP register arguments, mbed-os-example-blinky.elf does not
/usr/local/Cellar/arm-none-eabi-gcc/9-2019-q4-major/gcc/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld: failed to merge target specific data of file CMakeFiles/mbed-os-example-blinky.dir/mbed-os/drivers/source/BusInOut.cpp.obj
/usr/local/Cellar/arm-none-eabi-gcc/9-2019-q4-major/gcc/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld: error: CMakeFiles/mbed-os-example-blinky.dir/mbed-os/drivers/source/BusOut.cpp.obj uses VFP register arguments, mbed-os-example-blinky.elf does not
/usr/local/Cellar/arm-none-eabi-gcc/9-2019-q4-major/gcc/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld: failed to merge target specific data of file CMakeFiles/mbed-os-example-blinky.dir/mbed-os/drivers/source/BusOut.cpp.obj
/usr/local/Cellar/arm-none-eabi-gcc/9-2019-q4-major/gcc/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld: error: CMakeFiles/mbed-os-example-blinky.dir/mbed-os/drivers/source/CAN.cpp.obj uses VFP register arguments, mbed-os-example-blinky.elf does not
/usr/local/Cellar/arm-none-eabi-gcc/9-2019-q4-major/gcc/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld: failed to merge target specific data of file CMakeFiles/mbed-os-example-blinky.dir/mbed-os/drivers/source/CAN.cpp.obj
/usr/local/Cellar/arm-none-eabi-gcc/9-2019-q4-major/gcc/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld: error: CMakeFiles/mbed-os-example-blinky.dir/mbed-os/drivers/source/DigitalIn.cpp.obj uses VFP register arguments, mbed-os-example-blinky.elf does not
/usr/local/Cellar/arm-none-eabi-gcc/9-2019-q4-major/gcc/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld: failed to merge target specific data of file CMakeFiles/mbed-os-example-blinky.dir/mbed-os/drivers/source/DigitalIn.cpp.obj
/usr/local/Cellar/arm-none-eabi-gcc/9-2019-q4-major/gcc/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld: error: CMakeFiles/mbed-os-example-blinky.dir/mbed-os/drivers/source/DigitalInOut.cpp.obj uses VFP register arguments, mbed-os-example-blinky.elf does not
/usr/local/Cellar/arm-none-eabi-gcc/9-2019-q4-major/gcc/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld: failed to merge target specific data of file CMakeFiles/mbed-os-example-blinky.dir/mbed-os/drivers/source/DigitalInOut.cpp.obj
/usr/local/Cellar/arm-none-eabi-gcc/9-2019-q4-major/gcc/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld: error: CMakeFiles/mbed-os-example-blinky.dir/mbed-os/drivers/source/DigitalOut.cpp.obj uses VFP register arguments, mbed-os-example-blinky.elf does not
/usr/local/Cellar/arm-none-eabi-gcc/9-2019-q4-major/gcc/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld: failed to merge target specific data of file CMakeFiles/mbed-os-example-blinky.dir/mbed-os/drivers/source/DigitalOut.cpp.obj
/usr/local/Cellar/arm-none-eabi-gcc/9-2019-q4-major/gcc/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld: error: CMakeFiles/mbed-os-example-blinky.dir/mbed-os/drivers/source/FlashIAP.cpp.obj uses VFP register arguments, mbed-os-example-blinky.elf does not
/usr/local/Cellar/arm-none-eabi-gcc/9-2019-q4-major/gcc/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld: failed to merge target specific data of file CMakeFiles/mbed-os-example-blinky.dir/mbed-os/drivers/source/FlashIAP.cpp.obj
/usr/local/Cellar/arm-none-eabi-gcc/9-2019-q4-major/gcc/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld: error: CMakeFiles/mbed-os-example-blinky.dir/mbed-os/drivers/source/I2C.cpp.obj uses VFP register arguments, mbed-os-example-blinky.elf does not
/usr/local/Cellar/arm-none-eabi-gcc/9-2019-q4-major/gcc/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld: failed to merge target specific data of file CMakeFiles/mbed-os-example-blinky.dir/mbed-os/drivers/source/I2C.cpp.obj
/usr/local/Cellar/arm-none-eabi-gcc/9-2019-q4-major/gcc/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld: error: CMakeFiles/mbed-os-example-blinky.dir/mbed-os/drivers/source/I2CSlave.cpp.obj uses VFP register arguments, mbed-os-example-blinky.elf does not
/usr/local/Cellar/arm-none-eabi-gcc/9-2019-q4-major/gcc/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld: failed to merge target specific data of file CMakeFiles/mbed-os-example-blinky.dir/mbed-os/drivers/source/I2CSlave.cpp.obj
/usr/local/Cellar/arm-none-eabi-gcc/9-2019-q4-major/gcc/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld: error: CMakeFiles/mbed-os-example-blinky.dir/mbed-os/drivers/source/InterruptIn.cpp.obj uses VFP register arguments, mbed-os-example-blinky.elf does not
/usr/local/Cellar/arm-none-eabi-gcc/9-2019-q4-major/gcc/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld: failed to merge target specific data of file CMakeFiles/mbed-os-example-blinky.dir/mbed-os/drivers/source/InterruptIn.cpp.obj
/usr/local/Cellar/arm-none-eabi-gcc/9-2019-q4-major/gcc/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld: error: CMakeFiles/mbed-os-example-blinky.dir/mbed-os/drivers/source/MbedCRC.cpp.obj uses VFP register arguments, mbed-os-example-blinky.elf does not
/usr/local/Cellar/arm-none-eabi-gcc/9-2019-q4-major/gcc/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld: failed to merge target specific data of file CMakeFiles/mbed-os-example-blinky.dir/mbed-os/drivers/source/MbedCRC.cpp.obj
/usr/local/Cellar/arm-none-eabi-gcc/9-2019-q4-major/gcc/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld: error: CMakeFiles/mbed-os-example-blinky.dir/mbed-os/drivers/source/PortIn.cpp.obj uses VFP register arguments, mbed-os-example-blinky.elf does not
/usr/local/Cellar/arm-none-eabi-gcc/9-2019-q4-major/gcc/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld: failed to merge target specific data of file CMakeFiles/mbed-os-example-blinky.dir/mbed-os/drivers/source/PortIn.cpp.obj
/usr/local/Cellar/arm-none-eabi-gcc/9-2019-q4-major/gcc/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld: error: CMakeFiles/mbed-os-example-blinky.dir/mbed-os/drivers/source/PortInOut.cpp.obj uses VFP register arguments, mbed-os-example-blinky.elf does not
/usr/local/Cellar/arm-none-eabi-gcc/9-2019-q4-major/gcc/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld: failed to merge target specific data of file CMakeFiles/mbed-os-example-blinky.dir/mbed-os/drivers/source/PortInOut.cpp.obj
/usr/local/Cellar/arm-none-eabi-gcc/9-2019-q4-major/gcc/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld: error: CMakeFiles/mbed-os-example-blinky.dir/mbed-os/drivers/source/PortOut.cpp.obj uses VFP register arguments, mbed-os-example-blinky.elf does not
/usr/local/Cellar/arm-none-eabi-gcc/9-2019-q4-major/gcc/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld: failed to merge target specific data of file CMakeFiles/mbed-os-example-blinky.dir/mbed-os/drivers/source/PortOut.cpp.obj
/usr/local/Cellar/arm-none-eabi-gcc/9-2019-q4-major/gcc/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld: error: CMakeFiles/mbed-os-example-blinky.dir/mbed-os/drivers/source/PwmOut.cpp.obj uses VFP register arguments, mbed-os-example-blinky.elf does not
/usr/local/Cellar/arm-none-eabi-gcc/9-2019-q4-major/gcc/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld: failed to merge target specific data of file CMakeFiles/mbed-os-example-blinky.dir/mbed-os/drivers/source/PwmOut.cpp.obj
/usr/local/Cellar/arm-none-eabi-gcc/9-2019-q4-major/gcc/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld: error: CMakeFiles/mbed-os-example-blinky.dir/mbed-os/drivers/source/QSPI.cpp.obj uses VFP register arguments, mbed-os-example-blinky.elf does not
/usr/local/Cellar/arm-none-eabi-gcc/9-2019-q4-major/gcc/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld: failed to merge target specific data of file CMakeFiles/mbed-os-example-blinky.dir/mbed-os/drivers/source/QSPI.cpp.obj
/usr/local/Cellar/arm-none-eabi-gcc/9-2019-q4-major/gcc/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld: error: CMakeFiles/mbed-os-example-blinky.dir/mbed-os/drivers/source/ResetReason.cpp.obj uses VFP register arguments, mbed-os-example-blinky.elf does not
/usr/local/Cellar/arm-none-eabi-gcc/9-2019-q4-major/gcc/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld: failed to merge target specific data of file CMakeFiles/mbed-os-example-blinky.dir/mbed-os/drivers/source/ResetReason.cpp.obj
/usr/local/Cellar/arm-none-eabi-gcc/9-2019-q4-major/gcc/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld: error: CMakeFiles/mbed-os-example-blinky.dir/mbed-os/drivers/source/SPI.cpp.obj uses VFP register arguments, mbed-os-example-blinky.elf does not
/usr/local/Cellar/arm-none-eabi-gcc/9-2019-q4-major/gcc/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld: failed to merge target specific data of file CMakeFiles/mbed-os-example-blinky.dir/mbed-os/drivers/source/SPI.cpp.obj
/usr/local/Cellar/arm-none-eabi-gcc/9-2019-q4-major/gcc/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld: error: CMakeFiles/mbed-os-example-blinky.dir/mbed-os/drivers/source/SPISlave.cpp.obj uses VFP register arguments, mbed-os-example-blinky.elf does not
/usr/local/Cellar/arm-none-eabi-gcc/9-2019-q4-major/gcc/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld: failed to merge target specific data of file CMakeFiles/mbed-os-example-blinky.dir/mbed-os/drivers/source/SPISlave.cpp.obj
/usr/local/Cellar/arm-none-eabi-gcc/9-2019-q4-major/gcc/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld: error: CMakeFiles/mbed-os-example-blinky.dir/mbed-os/drivers/source/SerialBase.cpp.obj uses VFP register arguments, mbed-os-example-blinky.elf does not
/usr/local/Cellar/arm-none-eabi-gcc/9-2019-q4-major/gcc/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld: failed to merge target specific data of file CMakeFiles/mbed-os-example-blinky.dir/mbed-os/drivers/source/SerialBase.cpp.obj
/usr/local/Cellar/arm-none-eabi-gcc/9-2019-q4-major/gcc/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld: error: CMakeFiles/mbed-os-example-blinky.dir/mbed-os/drivers/source/SerialWireOutput.cpp.obj uses VFP register arguments, mbed-os-example-blinky.elf does not
/usr/local/Cellar/arm-none-eabi-gcc/9-2019-q4-major/gcc/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld: failed to merge target specific data of file CMakeFiles/mbed-os-example-blinky.dir/mbed-os/drivers/source/SerialWireOutput.cpp.obj
/usr/local/Cellar/arm-none-eabi-gcc/9-2019-q4-major/gcc/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld: error: CMakeFiles/mbed-os-example-blinky.dir/mbed-os/drivers/source/Ticker.cpp.obj uses VFP register arguments, mbed-os-example-blinky.elf does not
/usr/local/Cellar/arm-none-eabi-gcc/9-2019-q4-major/gcc/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld: failed to merge target specific data of file CMakeFiles/mbed-os-example-blinky.dir/mbed-os/drivers/source/Ticker.cpp.obj
/usr/local/Cellar/arm-none-eabi-gcc/9-2019-q4-major/gcc/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld: error: CMakeFiles/mbed-os-example-blinky.dir/mbed-os/drivers/source/Timeout.cpp.obj uses VFP register arguments, mbed-os-example-blinky.elf does not
/usr/local/Cellar/arm-none-eabi-gcc/9-2019-q4-major/gcc/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld: failed to merge target specific data of file CMakeFiles/mbed-os-example-blinky.dir/mbed-os/drivers/source/Timeout.cpp.obj
/usr/local/Cellar/arm-none-eabi-gcc/9-2019-q4-major/gcc/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld: error: CMakeFiles/mbed-os-example-blinky.dir/mbed-os/drivers/source/Timer.cpp.obj uses VFP register arguments, mbed-os-example-blinky.elf does not
/usr/local/Cellar/arm-none-eabi-gcc/9-2019-q4-major/gcc/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld: failed to merge target specific data of file CMakeFiles/mbed-os-example-blinky.dir/mbed-os/drivers/source/Timer.cpp.obj
/usr/local/Cellar/arm-none-eabi-gcc/9-2019-q4-major/gcc/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld: error: CMakeFiles/mbed-os-example-blinky.dir/mbed-os/drivers/source/TimerEvent.cpp.obj uses VFP register arguments, mbed-os-example-blinky.elf does not
/usr/local/Cellar/arm-none-eabi-gcc/9-2019-q4-major/gcc/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld: failed to merge target specific data of file CMakeFiles/mbed-os-example-blinky.dir/mbed-os/drivers/source/TimerEvent.cpp.obj
/usr/local/Cellar/arm-none-eabi-gcc/9-2019-q4-major/gcc/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld: error: CMakeFiles/mbed-os-example-blinky.dir/mbed-os/drivers/source/UnbufferedSerial.cpp.obj uses VFP register arguments, mbed-os-example-blinky.elf does not
/usr/local/Cellar/arm-none-eabi-gcc/9-2019-q4-major/gcc/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld: failed to merge target specific data of file CMakeFiles/mbed-os-example-blinky.dir/mbed-os/drivers/source/UnbufferedSerial.cpp.obj
/usr/local/Cellar/arm-none-eabi-gcc/9-2019-q4-major/gcc/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld: error: CMakeFiles/mbed-os-example-blinky.dir/mbed-os/drivers/source/Watchdog.cpp.obj uses VFP register arguments, mbed-os-example-blinky.elf does not
/usr/local/Cellar/arm-none-eabi-gcc/9-2019-q4-major/gcc/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld: failed to merge target specific data of file CMakeFiles/mbed-os-example-blinky.dir/mbed-os/drivers/source/Watchdog.cpp.obj
/usr/local/Cellar/arm-none-eabi-gcc/9-2019-q4-major/gcc/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld: error: CMakeFiles/mbed-os-example-blinky.dir/mbed-os/hal/usb/source/mbed_usb_phy.cpp.obj uses VFP register arguments, mbed-os-example-blinky.elf does not
/usr/local/Cellar/arm-none-eabi-gcc/9-2019-q4-major/gcc/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld: failed to merge target specific data of file CMakeFiles/mbed-os-example-blinky.dir/mbed-os/hal/usb/source/mbed_usb_phy.cpp.obj
/usr/local/Cellar/arm-none-eabi-gcc/9-2019-q4-major/gcc/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld: error: CMakeFiles/mbed-os-example-blinky.dir/mbed-os/hal/source/LowPowerTickerWrapper.cpp.obj uses VFP register arguments, mbed-os-example-blinky.elf does not
/usr/local/Cellar/arm-none-eabi-gcc/9-2019-q4-major/gcc/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld: failed to merge target specific data of file CMakeFiles/mbed-os-example-blinky.dir/mbed-os/hal/source/LowPowerTickerWrapper.cpp.obj
/usr/local/Cellar/arm-none-eabi-gcc/9-2019-q4-major/gcc/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld: error: CMakeFiles/mbed-os-example-blinky.dir/mbed-os/hal/source/mbed_compat.c.obj uses VFP register arguments, mbed-os-example-blinky.elf does not
/usr/local/Cellar/arm-none-eabi-gcc/9-2019-q4-major/gcc/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld: failed to merge target specific data of file CMakeFiles/mbed-os-example-blinky.dir/mbed-os/hal/source/mbed_compat.c.obj
/usr/local/Cellar/arm-none-eabi-gcc/9-2019-q4-major/gcc/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld: error: CMakeFiles/mbed-os-example-blinky.dir/mbed-os/hal/source/mbed_critical_section_api.c.obj uses VFP register arguments, mbed-os-example-blinky.elf does not
/usr/local/Cellar/arm-none-eabi-gcc/9-2019-q4-major/gcc/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld: failed to merge target specific data of file CMakeFiles/mbed-os-example-blinky.dir/mbed-os/hal/source/mbed_critical_section_api.c.obj
/usr/local/Cellar/arm-none-eabi-gcc/9-2019-q4-major/gcc/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld: error: CMakeFiles/mbed-os-example-blinky.dir/mbed-os/hal/source/mbed_flash_api.c.obj uses VFP register arguments, mbed-os-example-blinky.elf does not
/usr/local/Cellar/arm-none-eabi-gcc/9-2019-q4-major/gcc/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld: failed to merge target specific data of file CMakeFiles/mbed-os-example-blinky.dir/mbed-os/hal/source/mbed_flash_api.c.obj
/usr/local/Cellar/arm-none-eabi-gcc/9-2019-q4-major/gcc/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld: error: CMakeFiles/mbed-os-example-blinky.dir/mbed-os/hal/source/mbed_gpio.c.obj uses VFP register arguments, mbed-os-example-blinky.elf does not
/usr/local/Cellar/arm-none-eabi-gcc/9-2019-q4-major/gcc/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld: failed to merge target specific data of file CMakeFiles/mbed-os-example-blinky.dir/mbed-os/hal/source/mbed_gpio.c.obj
/usr/local/Cellar/arm-none-eabi-gcc/9-2019-q4-major/gcc/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld: error: CMakeFiles/mbed-os-example-blinky.dir/mbed-os/hal/source/mbed_gpio_irq.c.obj uses VFP register arguments, mbed-os-example-blinky.elf does not
/usr/local/Cellar/arm-none-eabi-gcc/9-2019-q4-major/gcc/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld: failed to merge target specific data of file CMakeFiles/mbed-os-example-blinky.dir/mbed-os/hal/source/mbed_gpio_irq.c.obj
/usr/local/Cellar/arm-none-eabi-gcc/9-2019-q4-major/gcc/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld: error: CMakeFiles/mbed-os-example-blinky.dir/mbed-os/hal/source/mbed_itm_api.c.obj uses VFP register arguments, mbed-os-example-blinky.elf does not
/usr/local/Cellar/arm-none-eabi-gcc/9-2019-q4-major/gcc/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld: failed to merge target specific data of file CMakeFiles/mbed-os-example-blinky.dir/mbed-os/hal/source/mbed_itm_api.c.obj
/usr/local/Cellar/arm-none-eabi-gcc/9-2019-q4-major/gcc/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld: error: CMakeFiles/mbed-os-example-blinky.dir/mbed-os/hal/source/mbed_lp_ticker_api.c.obj uses VFP register arguments, mbed-os-example-blinky.elf does not
/usr/local/Cellar/arm-none-eabi-gcc/9-2019-q4-major/gcc/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld: failed to merge target specific data of file CMakeFiles/mbed-os-example-blinky.dir/mbed-os/hal/source/mbed_lp_ticker_api.c.obj
/usr/local/Cellar/arm-none-eabi-gcc/9-2019-q4-major/gcc/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld: error: CMakeFiles/mbed-os-example-blinky.dir/mbed-os/hal/source/mbed_lp_ticker_wrapper.cpp.obj uses VFP register arguments, mbed-os-example-blinky.elf does not
/usr/local/Cellar/arm-none-eabi-gcc/9-2019-q4-major/gcc/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld: failed to merge target specific data of file CMakeFiles/mbed-os-example-blinky.dir/mbed-os/hal/source/mbed_lp_ticker_wrapper.cpp.obj
/usr/local/Cellar/arm-none-eabi-gcc/9-2019-q4-major/gcc/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld: error: CMakeFiles/mbed-os-example-blinky.dir/mbed-os/hal/source/mbed_pinmap_common.c.obj uses VFP register arguments, mbed-os-example-blinky.elf does not
/usr/local/Cellar/arm-none-eabi-gcc/9-2019-q4-major/gcc/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld: failed to merge target specific data of file CMakeFiles/mbed-os-example-blinky.dir/mbed-os/hal/source/mbed_pinmap_common.c.obj
/usr/local/Cellar/arm-none-eabi-gcc/9-2019-q4-major/gcc/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld: error: CMakeFiles/mbed-os-example-blinky.dir/mbed-os/hal/source/mbed_pinmap_default.cpp.obj uses VFP register arguments, mbed-os-example-blinky.elf does not
/usr/local/Cellar/arm-none-eabi-gcc/9-2019-q4-major/gcc/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld: failed to merge target specific data of file CMakeFiles/mbed-os-example-blinky.dir/mbed-os/hal/source/mbed_pinmap_default.cpp.obj
/usr/local/Cellar/arm-none-eabi-gcc/9-2019-q4-major/gcc/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld: error: CMakeFiles/mbed-os-example-blinky.dir/mbed-os/hal/source/mbed_ticker_api.c.obj uses VFP register arguments, mbed-os-example-blinky.elf does not
/usr/local/Cellar/arm-none-eabi-gcc/9-2019-q4-major/gcc/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld: failed to merge target specific data of file CMakeFiles/mbed-os-example-blinky.dir/mbed-os/hal/source/mbed_ticker_api.c.obj
/usr/local/Cellar/arm-none-eabi-gcc/9-2019-q4-major/gcc/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld: error: CMakeFiles/mbed-os-example-blinky.dir/mbed-os/hal/source/mbed_us_ticker_api.c.obj uses VFP register arguments, mbed-os-example-blinky.elf does not
/usr/local/Cellar/arm-none-eabi-gcc/9-2019-q4-major/gcc/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld: failed to merge target specific data of file CMakeFiles/mbed-os-example-blinky.dir/mbed-os/hal/source/mbed_us_ticker_api.c.obj
/usr/local/Cellar/arm-none-eabi-gcc/9-2019-q4-major/gcc/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld: error: CMakeFiles/mbed-os-example-blinky.dir/mbed-os/hal/source/static_pinmap.cpp.obj uses VFP register arguments, mbed-os-example-blinky.elf does not
/usr/local/Cellar/arm-none-eabi-gcc/9-2019-q4-major/gcc/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld: failed to merge target specific data of file CMakeFiles/mbed-os-example-blinky.dir/mbed-os/hal/source/static_pinmap.cpp.obj
/usr/local/Cellar/arm-none-eabi-gcc/9-2019-q4-major/gcc/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld: error: CMakeFiles/mbed-os-example-blinky.dir/mbed-os/hal/source/mpu/mbed_mpu_v7m.c.obj uses VFP register arguments, mbed-os-example-blinky.elf does not
/usr/local/Cellar/arm-none-eabi-gcc/9-2019-q4-major/gcc/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld: failed to merge target specific data of file CMakeFiles/mbed-os-example-blinky.dir/mbed-os/hal/source/mpu/mbed_mpu_v7m.c.obj
/usr/local/Cellar/arm-none-eabi-gcc/9-2019-q4-major/gcc/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld: error: CMakeFiles/mbed-os-example-blinky.dir/mbed-os/hal/source/mpu/mbed_mpu_v8m.c.obj uses VFP register arguments, mbed-os-example-blinky.elf does not
/usr/local/Cellar/arm-none-eabi-gcc/9-2019-q4-major/gcc/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld: failed to merge target specific data of file CMakeFiles/mbed-os-example-blinky.dir/mbed-os/hal/source/mpu/mbed_mpu_v8m.c.obj
/usr/local/Cellar/arm-none-eabi-gcc/9-2019-q4-major/gcc/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld: error: CMakeFiles/mbed-os-example-blinky.dir/mbed-os/platform/cxxsupport/mstd_mutex.cpp.obj uses VFP register arguments, mbed-os-example-blinky.elf does not
/usr/local/Cellar/arm-none-eabi-gcc/9-2019-q4-major/gcc/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld: failed to merge target specific data of file CMakeFiles/mbed-os-example-blinky.dir/mbed-os/platform/cxxsupport/mstd_mutex.cpp.obj
/usr/local/Cellar/arm-none-eabi-gcc/9-2019-q4-major/gcc/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld: error: CMakeFiles/mbed-os-example-blinky.dir/mbed-os/platform/mbed-trace/source/mbed_trace.c.obj uses VFP register arguments, mbed-os-example-blinky.elf does not
/usr/local/Cellar/arm-none-eabi-gcc/9-2019-q4-major/gcc/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld: failed to merge target specific data of file CMakeFiles/mbed-os-example-blinky.dir/mbed-os/platform/mbed-trace/source/mbed_trace.c.obj
/usr/local/Cellar/arm-none-eabi-gcc/9-2019-q4-major/gcc/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld: error: CMakeFiles/mbed-os-example-blinky.dir/mbed-os/platform/source/minimal-printf/mbed_printf_armlink_overrides.c.obj uses VFP register arguments, mbed-os-example-blinky.elf does not
/usr/local/Cellar/arm-none-eabi-gcc/9-2019-q4-major/gcc/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld: failed to merge target specific data of file CMakeFiles/mbed-os-example-blinky.dir/mbed-os/platform/source/minimal-printf/mbed_printf_armlink_overrides.c.obj
/usr/local/Cellar/arm-none-eabi-gcc/9-2019-q4-major/gcc/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld: error: CMakeFiles/mbed-os-example-blinky.dir/mbed-os/platform/source/minimal-printf/mbed_printf_implementation.c.obj uses VFP register arguments, mbed-os-example-blinky.elf does not
/usr/local/Cellar/arm-none-eabi-gcc/9-2019-q4-major/gcc/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld: failed to merge target specific data of file CMakeFiles/mbed-os-example-blinky.dir/mbed-os/platform/source/minimal-printf/mbed_printf_implementation.c.obj
/usr/local/Cellar/arm-none-eabi-gcc/9-2019-q4-major/gcc/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld: error: CMakeFiles/mbed-os-example-blinky.dir/mbed-os/platform/source/minimal-printf/mbed_printf_wrapper.c.obj uses VFP register arguments, mbed-os-example-blinky.elf does not
/usr/local/Cellar/arm-none-eabi-gcc/9-2019-q4-major/gcc/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld: failed to merge target specific data of file CMakeFiles/mbed-os-example-blinky.dir/mbed-os/platform/source/minimal-printf/mbed_printf_wrapper.c.obj
/usr/local/Cellar/arm-none-eabi-gcc/9-2019-q4-major/gcc/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld: error: CMakeFiles/mbed-os-example-blinky.dir/mbed-os/platform/source/ATCmdParser.cpp.obj uses VFP register arguments, mbed-os-example-blinky.elf does not
/usr/local/Cellar/arm-none-eabi-gcc/9-2019-q4-major/gcc/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld: failed to merge target specific data of file CMakeFiles/mbed-os-example-blinky.dir/mbed-os/platform/source/ATCmdParser.cpp.obj
/usr/local/Cellar/arm-none-eabi-gcc/9-2019-q4-major/gcc/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld: error: CMakeFiles/mbed-os-example-blinky.dir/mbed-os/platform/source/CThunkBase.cpp.obj uses VFP register arguments, mbed-os-example-blinky.elf does not
/usr/local/Cellar/arm-none-eabi-gcc/9-2019-q4-major/gcc/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld: failed to merge target specific data of file CMakeFiles/mbed-os-example-blinky.dir/mbed-os/platform/source/CThunkBase.cpp.obj
/usr/local/Cellar/arm-none-eabi-gcc/9-2019-q4-major/gcc/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld: error: CMakeFiles/mbed-os-example-blinky.dir/mbed-os/platform/source/CriticalSectionLock.cpp.obj uses VFP register arguments, mbed-os-example-blinky.elf does not
/usr/local/Cellar/arm-none-eabi-gcc/9-2019-q4-major/gcc/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld: failed to merge target specific data of file CMakeFiles/mbed-os-example-blinky.dir/mbed-os/platform/source/CriticalSectionLock.cpp.obj
/usr/local/Cellar/arm-none-eabi-gcc/9-2019-q4-major/gcc/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld: error: CMakeFiles/mbed-os-example-blinky.dir/mbed-os/platform/source/DeepSleepLock.cpp.obj uses VFP register arguments, mbed-os-example-blinky.elf does not
/usr/local/Cellar/arm-none-eabi-gcc/9-2019-q4-major/gcc/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld: failed to merge target specific data of file CMakeFiles/mbed-os-example-blinky.dir/mbed-os/platform/source/DeepSleepLock.cpp.obj
/usr/local/Cellar/arm-none-eabi-gcc/9-2019-q4-major/gcc/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld: error: CMakeFiles/mbed-os-example-blinky.dir/mbed-os/platform/source/FileBase.cpp.obj uses VFP register arguments, mbed-os-example-blinky.elf does not
/usr/local/Cellar/arm-none-eabi-gcc/9-2019-q4-major/gcc/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld: failed to merge target specific data of file CMakeFiles/mbed-os-example-blinky.dir/mbed-os/platform/source/FileBase.cpp.obj
/usr/local/Cellar/arm-none-eabi-gcc/9-2019-q4-major/gcc/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld: error: CMakeFiles/mbed-os-example-blinky.dir/mbed-os/platform/source/FileHandle.cpp.obj uses VFP register arguments, mbed-os-example-blinky.elf does not
/usr/local/Cellar/arm-none-eabi-gcc/9-2019-q4-major/gcc/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld: failed to merge target specific data of file CMakeFiles/mbed-os-example-blinky.dir/mbed-os/platform/source/FileHandle.cpp.obj
/usr/local/Cellar/arm-none-eabi-gcc/9-2019-q4-major/gcc/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld: error: CMakeFiles/mbed-os-example-blinky.dir/mbed-os/platform/source/FilePath.cpp.obj uses VFP register arguments, mbed-os-example-blinky.elf does not
/usr/local/Cellar/arm-none-eabi-gcc/9-2019-q4-major/gcc/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld: failed to merge target specific data of file CMakeFiles/mbed-os-example-blinky.dir/mbed-os/platform/source/FilePath.cpp.obj
/usr/local/Cellar/arm-none-eabi-gcc/9-2019-q4-major/gcc/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld: error: CMakeFiles/mbed-os-example-blinky.dir/mbed-os/platform/source/FileSystemHandle.cpp.obj uses VFP register arguments, mbed-os-example-blinky.elf does not
/usr/local/Cellar/arm-none-eabi-gcc/9-2019-q4-major/gcc/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld: failed to merge target specific data of file CMakeFiles/mbed-os-example-blinky.dir/mbed-os/platform/source/FileSystemHandle.cpp.obj
/usr/local/Cellar/arm-none-eabi-gcc/9-2019-q4-major/gcc/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld: error: CMakeFiles/mbed-os-example-blinky.dir/mbed-os/platform/source/LocalFileSystem.cpp.obj uses VFP register arguments, mbed-os-example-blinky.elf does not
/usr/local/Cellar/arm-none-eabi-gcc/9-2019-q4-major/gcc/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld: failed to merge target specific data of file CMakeFiles/mbed-os-example-blinky.dir/mbed-os/platform/source/LocalFileSystem.cpp.obj
/usr/local/Cellar/arm-none-eabi-gcc/9-2019-q4-major/gcc/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld: error: CMakeFiles/mbed-os-example-blinky.dir/mbed-os/platform/source/Stream.cpp.obj uses VFP register arguments, mbed-os-example-blinky.elf does not
/usr/local/Cellar/arm-none-eabi-gcc/9-2019-q4-major/gcc/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld: failed to merge target specific data of file CMakeFiles/mbed-os-example-blinky.dir/mbed-os/platform/source/Stream.cpp.obj
/usr/local/Cellar/arm-none-eabi-gcc/9-2019-q4-major/gcc/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld: error: CMakeFiles/mbed-os-example-blinky.dir/mbed-os/platform/source/SysTimer.cpp.obj uses VFP register arguments, mbed-os-example-blinky.elf does not
/usr/local/Cellar/arm-none-eabi-gcc/9-2019-q4-major/gcc/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld: failed to merge target specific data of file CMakeFiles/mbed-os-example-blinky.dir/mbed-os/platform/source/SysTimer.cpp.obj
/usr/local/Cellar/arm-none-eabi-gcc/9-2019-q4-major/gcc/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld: error: CMakeFiles/mbed-os-example-blinky.dir/mbed-os/platform/source/mbed_alloc_wrappers.cpp.obj uses VFP register arguments, mbed-os-example-blinky.elf does not
/usr/local/Cellar/arm-none-eabi-gcc/9-2019-q4-major/gcc/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld: failed to merge target specific data of file CMakeFiles/mbed-os-example-blinky.dir/mbed-os/platform/source/mbed_alloc_wrappers.cpp.obj
/usr/local/Cellar/arm-none-eabi-gcc/9-2019-q4-major/gcc/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld: error: CMakeFiles/mbed-os-example-blinky.dir/mbed-os/platform/source/mbed_application.c.obj uses VFP register arguments, mbed-os-example-blinky.elf does not
/usr/local/Cellar/arm-none-eabi-gcc/9-2019-q4-major/gcc/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld: failed to merge target specific data of file CMakeFiles/mbed-os-example-blinky.dir/mbed-os/platform/source/mbed_application.c.obj
/usr/local/Cellar/arm-none-eabi-gcc/9-2019-q4-major/gcc/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld: error: CMakeFiles/mbed-os-example-blinky.dir/mbed-os/platform/source/mbed_assert.c.obj uses VFP register arguments, mbed-os-example-blinky.elf does not
/usr/local/Cellar/arm-none-eabi-gcc/9-2019-q4-major/gcc/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld: failed to merge target specific data of file CMakeFiles/mbed-os-example-blinky.dir/mbed-os/platform/source/mbed_assert.c.obj
/usr/local/Cellar/arm-none-eabi-gcc/9-2019-q4-major/gcc/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld: error: CMakeFiles/mbed-os-example-blinky.dir/mbed-os/platform/source/mbed_atomic_impl.c.obj uses VFP register arguments, mbed-os-example-blinky.elf does not
/usr/local/Cellar/arm-none-eabi-gcc/9-2019-q4-major/gcc/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld: failed to merge target specific data of file CMakeFiles/mbed-os-example-blinky.dir/mbed-os/platform/source/mbed_atomic_impl.c.obj
/usr/local/Cellar/arm-none-eabi-gcc/9-2019-q4-major/gcc/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld: error: CMakeFiles/mbed-os-example-blinky.dir/mbed-os/platform/source/mbed_board.c.obj uses VFP register arguments, mbed-os-example-blinky.elf does not
/usr/local/Cellar/arm-none-eabi-gcc/9-2019-q4-major/gcc/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld: failed to merge target specific data of file CMakeFiles/mbed-os-example-blinky.dir/mbed-os/platform/source/mbed_board.c.obj
/usr/local/Cellar/arm-none-eabi-gcc/9-2019-q4-major/gcc/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld: error: CMakeFiles/mbed-os-example-blinky.dir/mbed-os/platform/source/mbed_critical.c.obj uses VFP register arguments, mbed-os-example-blinky.elf does not
/usr/local/Cellar/arm-none-eabi-gcc/9-2019-q4-major/gcc/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld: failed to merge target specific data of file CMakeFiles/mbed-os-example-blinky.dir/mbed-os/platform/source/mbed_critical.c.obj
/usr/local/Cellar/arm-none-eabi-gcc/9-2019-q4-major/gcc/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld: error: CMakeFiles/mbed-os-example-blinky.dir/mbed-os/platform/source/mbed_error.c.obj uses VFP register arguments, mbed-os-example-blinky.elf does not
/usr/local/Cellar/arm-none-eabi-gcc/9-2019-q4-major/gcc/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld: failed to merge target specific data of file CMakeFiles/mbed-os-example-blinky.dir/mbed-os/platform/source/mbed_error.c.obj
/usr/local/Cellar/arm-none-eabi-gcc/9-2019-q4-major/gcc/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld: error: CMakeFiles/mbed-os-example-blinky.dir/mbed-os/platform/source/mbed_error_hist.c.obj uses VFP register arguments, mbed-os-example-blinky.elf does not
/usr/local/Cellar/arm-none-eabi-gcc/9-2019-q4-major/gcc/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld: failed to merge target specific data of file CMakeFiles/mbed-os-example-blinky.dir/mbed-os/platform/source/mbed_error_hist.c.obj
/usr/local/Cellar/arm-none-eabi-gcc/9-2019-q4-major/gcc/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld: error: CMakeFiles/mbed-os-example-blinky.dir/mbed-os/platform/source/mbed_interface.c.obj uses VFP register arguments, mbed-os-example-blinky.elf does not
/usr/local/Cellar/arm-none-eabi-gcc/9-2019-q4-major/gcc/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld: failed to merge target specific data of file CMakeFiles/mbed-os-example-blinky.dir/mbed-os/platform/source/mbed_interface.c.obj
/usr/local/Cellar/arm-none-eabi-gcc/9-2019-q4-major/gcc/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld: error: CMakeFiles/mbed-os-example-blinky.dir/mbed-os/platform/source/mbed_mem_trace.cpp.obj uses VFP register arguments, mbed-os-example-blinky.elf does not
/usr/local/Cellar/arm-none-eabi-gcc/9-2019-q4-major/gcc/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld: failed to merge target specific data of file CMakeFiles/mbed-os-example-blinky.dir/mbed-os/platform/source/mbed_mem_trace.cpp.obj
/usr/local/Cellar/arm-none-eabi-gcc/9-2019-q4-major/gcc/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld: error: CMakeFiles/mbed-os-example-blinky.dir/mbed-os/platform/source/mbed_mktime.c.obj uses VFP register arguments, mbed-os-example-blinky.elf does not
/usr/local/Cellar/arm-none-eabi-gcc/9-2019-q4-major/gcc/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld: failed to merge target specific data of file CMakeFiles/mbed-os-example-blinky.dir/mbed-os/platform/source/mbed_mktime.c.obj
/usr/local/Cellar/arm-none-eabi-gcc/9-2019-q4-major/gcc/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld: error: CMakeFiles/mbed-os-example-blinky.dir/mbed-os/platform/source/mbed_mpu_mgmt.c.obj uses VFP register arguments, mbed-os-example-blinky.elf does not
/usr/local/Cellar/arm-none-eabi-gcc/9-2019-q4-major/gcc/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld: failed to merge target specific data of file CMakeFiles/mbed-os-example-blinky.dir/mbed-os/platform/source/mbed_mpu_mgmt.c.obj
/usr/local/Cellar/arm-none-eabi-gcc/9-2019-q4-major/gcc/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld: error: CMakeFiles/mbed-os-example-blinky.dir/mbed-os/platform/source/mbed_os_timer.cpp.obj uses VFP register arguments, mbed-os-example-blinky.elf does not
/usr/local/Cellar/arm-none-eabi-gcc/9-2019-q4-major/gcc/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld: failed to merge target specific data of file CMakeFiles/mbed-os-example-blinky.dir/mbed-os/platform/source/mbed_os_timer.cpp.obj
/usr/local/Cellar/arm-none-eabi-gcc/9-2019-q4-major/gcc/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld: error: CMakeFiles/mbed-os-example-blinky.dir/mbed-os/platform/source/mbed_poll.cpp.obj uses VFP register arguments, mbed-os-example-blinky.elf does not
/usr/local/Cellar/arm-none-eabi-gcc/9-2019-q4-major/gcc/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld: failed to merge target specific data of file CMakeFiles/mbed-os-example-blinky.dir/mbed-os/platform/source/mbed_poll.cpp.obj
/usr/local/Cellar/arm-none-eabi-gcc/9-2019-q4-major/gcc/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld: error: CMakeFiles/mbed-os-example-blinky.dir/mbed-os/platform/source/mbed_power_mgmt.c.obj uses VFP register arguments, mbed-os-example-blinky.elf does not
/usr/local/Cellar/arm-none-eabi-gcc/9-2019-q4-major/gcc/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld: failed to merge target specific data of file CMakeFiles/mbed-os-example-blinky.dir/mbed-os/platform/source/mbed_power_mgmt.c.obj
/usr/local/Cellar/arm-none-eabi-gcc/9-2019-q4-major/gcc/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld: error: CMakeFiles/mbed-os-example-blinky.dir/mbed-os/platform/source/mbed_retarget.cpp.obj uses VFP register arguments, mbed-os-example-blinky.elf does not
/usr/local/Cellar/arm-none-eabi-gcc/9-2019-q4-major/gcc/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld: failed to merge target specific data of file CMakeFiles/mbed-os-example-blinky.dir/mbed-os/platform/source/mbed_retarget.cpp.obj
/usr/local/Cellar/arm-none-eabi-gcc/9-2019-q4-major/gcc/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld: error: CMakeFiles/mbed-os-example-blinky.dir/mbed-os/platform/source/mbed_rtc_time.cpp.obj uses VFP register arguments, mbed-os-example-blinky.elf does not
/usr/local/Cellar/arm-none-eabi-gcc/9-2019-q4-major/gcc/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld: failed to merge target specific data of file CMakeFiles/mbed-os-example-blinky.dir/mbed-os/platform/source/mbed_rtc_time.cpp.obj
/usr/local/Cellar/arm-none-eabi-gcc/9-2019-q4-major/gcc/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld: error: CMakeFiles/mbed-os-example-blinky.dir/mbed-os/platform/source/mbed_sdk_boot.c.obj uses VFP register arguments, mbed-os-example-blinky.elf does not
/usr/local/Cellar/arm-none-eabi-gcc/9-2019-q4-major/gcc/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld: failed to merge target specific data of file CMakeFiles/mbed-os-example-blinky.dir/mbed-os/platform/source/mbed_sdk_boot.c.obj
/usr/local/Cellar/arm-none-eabi-gcc/9-2019-q4-major/gcc/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld: error: CMakeFiles/mbed-os-example-blinky.dir/mbed-os/platform/source/mbed_semihost_api.c.obj uses VFP register arguments, mbed-os-example-blinky.elf does not
/usr/local/Cellar/arm-none-eabi-gcc/9-2019-q4-major/gcc/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld: failed to merge target specific data of file CMakeFiles/mbed-os-example-blinky.dir/mbed-os/platform/source/mbed_semihost_api.c.obj
/usr/local/Cellar/arm-none-eabi-gcc/9-2019-q4-major/gcc/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld: error: CMakeFiles/mbed-os-example-blinky.dir/mbed-os/platform/source/mbed_stats.c.obj uses VFP register arguments, mbed-os-example-blinky.elf does not
/usr/local/Cellar/arm-none-eabi-gcc/9-2019-q4-major/gcc/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld: failed to merge target specific data of file CMakeFiles/mbed-os-example-blinky.dir/mbed-os/platform/source/mbed_stats.c.obj
/usr/local/Cellar/arm-none-eabi-gcc/9-2019-q4-major/gcc/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld: error: CMakeFiles/mbed-os-example-blinky.dir/mbed-os/platform/source/mbed_thread.cpp.obj uses VFP register arguments, mbed-os-example-blinky.elf does not
/usr/local/Cellar/arm-none-eabi-gcc/9-2019-q4-major/gcc/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld: failed to merge target specific data of file CMakeFiles/mbed-os-example-blinky.dir/mbed-os/platform/source/mbed_thread.cpp.obj
/usr/local/Cellar/arm-none-eabi-gcc/9-2019-q4-major/gcc/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld: error: CMakeFiles/mbed-os-example-blinky.dir/mbed-os/platform/source/mbed_wait_api_no_rtos.c.obj uses VFP register arguments, mbed-os-example-blinky.elf does not
/usr/local/Cellar/arm-none-eabi-gcc/9-2019-q4-major/gcc/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld: failed to merge target specific data of file CMakeFiles/mbed-os-example-blinky.dir/mbed-os/platform/source/mbed_wait_api_no_rtos.c.obj
/usr/local/Cellar/arm-none-eabi-gcc/9-2019-q4-major/gcc/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld: error: CMakeFiles/mbed-os-example-blinky.dir/mbed-os/rtos/source/EventFlags.cpp.obj uses VFP register arguments, mbed-os-example-blinky.elf does not
/usr/local/Cellar/arm-none-eabi-gcc/9-2019-q4-major/gcc/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld: failed to merge target specific data of file CMakeFiles/mbed-os-example-blinky.dir/mbed-os/rtos/source/EventFlags.cpp.obj
/usr/local/Cellar/arm-none-eabi-gcc/9-2019-q4-major/gcc/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld: error: CMakeFiles/mbed-os-example-blinky.dir/mbed-os/rtos/source/Kernel.cpp.obj uses VFP register arguments, mbed-os-example-blinky.elf does not
/usr/local/Cellar/arm-none-eabi-gcc/9-2019-q4-major/gcc/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld: failed to merge target specific data of file CMakeFiles/mbed-os-example-blinky.dir/mbed-os/rtos/source/Kernel.cpp.obj
/usr/local/Cellar/arm-none-eabi-gcc/9-2019-q4-major/gcc/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld: error: CMakeFiles/mbed-os-example-blinky.dir/mbed-os/rtos/source/Mutex.cpp.obj uses VFP register arguments, mbed-os-example-blinky.elf does not
/usr/local/Cellar/arm-none-eabi-gcc/9-2019-q4-major/gcc/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld: failed to merge target specific data of file CMakeFiles/mbed-os-example-blinky.dir/mbed-os/rtos/source/Mutex.cpp.obj
/usr/local/Cellar/arm-none-eabi-gcc/9-2019-q4-major/gcc/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld: error: CMakeFiles/mbed-os-example-blinky.dir/mbed-os/rtos/source/Semaphore.cpp.obj uses VFP register arguments, mbed-os-example-blinky.elf does not
/usr/local/Cellar/arm-none-eabi-gcc/9-2019-q4-major/gcc/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld: failed to merge target specific data of file CMakeFiles/mbed-os-example-blinky.dir/mbed-os/rtos/source/Semaphore.cpp.obj
/usr/local/Cellar/arm-none-eabi-gcc/9-2019-q4-major/gcc/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld: error: CMakeFiles/mbed-os-example-blinky.dir/mbed-os/rtos/source/ThisThread.cpp.obj uses VFP register arguments, mbed-os-example-blinky.elf does not
/usr/local/Cellar/arm-none-eabi-gcc/9-2019-q4-major/gcc/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld: failed to merge target specific data of file CMakeFiles/mbed-os-example-blinky.dir/mbed-os/rtos/source/ThisThread.cpp.obj
/usr/local/Cellar/arm-none-eabi-gcc/9-2019-q4-major/gcc/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld: error: CMakeFiles/mbed-os-example-blinky.dir/mbed-os/rtos/source/ConditionVariable.cpp.obj uses VFP register arguments, mbed-os-example-blinky.elf does not
/usr/local/Cellar/arm-none-eabi-gcc/9-2019-q4-major/gcc/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld: failed to merge target specific data of file CMakeFiles/mbed-os-example-blinky.dir/mbed-os/rtos/source/ConditionVariable.cpp.obj
/usr/local/Cellar/arm-none-eabi-gcc/9-2019-q4-major/gcc/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld: error: CMakeFiles/mbed-os-example-blinky.dir/mbed-os/rtos/source/Thread.cpp.obj uses VFP register arguments, mbed-os-example-blinky.elf does not
/usr/local/Cellar/arm-none-eabi-gcc/9-2019-q4-major/gcc/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld: failed to merge target specific data of file CMakeFiles/mbed-os-example-blinky.dir/mbed-os/rtos/source/Thread.cpp.obj
/usr/local/Cellar/arm-none-eabi-gcc/9-2019-q4-major/gcc/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld: error: CMakeFiles/mbed-os-example-blinky.dir/mbed-os/connectivity/libraries/nanostack-libservice/source/libBits/common_functions.c.obj uses VFP register arguments, mbed-os-example-blinky.elf does not
/usr/local/Cellar/arm-none-eabi-gcc/9-2019-q4-major/gcc/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld: failed to merge target specific data of file CMakeFiles/mbed-os-example-blinky.dir/mbed-os/connectivity/libraries/nanostack-libservice/source/libBits/common_functions.c.obj
/usr/local/Cellar/arm-none-eabi-gcc/9-2019-q4-major/gcc/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld: error: CMakeFiles/mbed-os-example-blinky.dir/mbed-os/connectivity/libraries/nanostack-libservice/source/libip6string/ip6tos.c.obj uses VFP register arguments, mbed-os-example-blinky.elf does not
/usr/local/Cellar/arm-none-eabi-gcc/9-2019-q4-major/gcc/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld: failed to merge target specific data of file CMakeFiles/mbed-os-example-blinky.dir/mbed-os/connectivity/libraries/nanostack-libservice/source/libip6string/ip6tos.c.obj
/usr/local/Cellar/arm-none-eabi-gcc/9-2019-q4-major/gcc/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld: error: CMakeFiles/mbed-os-example-blinky.dir/mbed-os/targets/TARGET_RENESAS/TARGET_RZ_A1XX/TARGET_RZ_A1H/PeripheralPins.c.obj uses VFP register arguments, mbed-os-example-blinky.elf does not
/usr/local/Cellar/arm-none-eabi-gcc/9-2019-q4-major/gcc/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld: failed to merge target specific data of file CMakeFiles/mbed-os-example-blinky.dir/mbed-os/targets/TARGET_RENESAS/TARGET_RZ_A1XX/TARGET_RZ_A1H/PeripheralPins.c.obj
/usr/local/Cellar/arm-none-eabi-gcc/9-2019-q4-major/gcc/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld: error: CMakeFiles/mbed-os-example-blinky.dir/mbed-os/targets/TARGET_RENESAS/TARGET_RZ_A1XX/TARGET_RZ_A1H/device/RZ_A1_Init.c.obj uses VFP register arguments, mbed-os-example-blinky.elf does not
/usr/local/Cellar/arm-none-eabi-gcc/9-2019-q4-major/gcc/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld: failed to merge target specific data of file CMakeFiles/mbed-os-example-blinky.dir/mbed-os/targets/TARGET_RENESAS/TARGET_RZ_A1XX/TARGET_RZ_A1H/device/RZ_A1_Init.c.obj
/usr/local/Cellar/arm-none-eabi-gcc/9-2019-q4-major/gcc/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld: error: CMakeFiles/mbed-os-example-blinky.dir/mbed-os/targets/TARGET_RENESAS/TARGET_RZ_A1XX/TARGET_RZ_A1H/device/cmsis_nvic.c.obj uses VFP register arguments, mbed-os-example-blinky.elf does not
/usr/local/Cellar/arm-none-eabi-gcc/9-2019-q4-major/gcc/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld: failed to merge target specific data of file CMakeFiles/mbed-os-example-blinky.dir/mbed-os/targets/TARGET_RENESAS/TARGET_RZ_A1XX/TARGET_RZ_A1H/device/cmsis_nvic.c.obj
/usr/local/Cellar/arm-none-eabi-gcc/9-2019-q4-major/gcc/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld: error: CMakeFiles/mbed-os-example-blinky.dir/mbed-os/targets/TARGET_RENESAS/TARGET_RZ_A1XX/TARGET_RZ_A1H/device/mbed_sf_boot.c.obj uses VFP register arguments, mbed-os-example-blinky.elf does not
/usr/local/Cellar/arm-none-eabi-gcc/9-2019-q4-major/gcc/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld: failed to merge target specific data of file CMakeFiles/mbed-os-example-blinky.dir/mbed-os/targets/TARGET_RENESAS/TARGET_RZ_A1XX/TARGET_RZ_A1H/device/mbed_sf_boot.c.obj
/usr/local/Cellar/arm-none-eabi-gcc/9-2019-q4-major/gcc/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld: error: CMakeFiles/mbed-os-example-blinky.dir/mbed-os/targets/TARGET_RENESAS/TARGET_RZ_A1XX/TARGET_RZ_A1H/device/mmu_RZ_A1H.c.obj uses VFP register arguments, mbed-os-example-blinky.elf does not
/usr/local/Cellar/arm-none-eabi-gcc/9-2019-q4-major/gcc/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld: failed to merge target specific data of file CMakeFiles/mbed-os-example-blinky.dir/mbed-os/targets/TARGET_RENESAS/TARGET_RZ_A1XX/TARGET_RZ_A1H/device/mmu_RZ_A1H.c.obj
/usr/local/Cellar/arm-none-eabi-gcc/9-2019-q4-major/gcc/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld: error: CMakeFiles/mbed-os-example-blinky.dir/mbed-os/targets/TARGET_RENESAS/TARGET_RZ_A1XX/TARGET_RZ_A1H/device/nvic_wrapper.c.obj uses VFP register arguments, mbed-os-example-blinky.elf does not
/usr/local/Cellar/arm-none-eabi-gcc/9-2019-q4-major/gcc/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld: failed to merge target specific data of file CMakeFiles/mbed-os-example-blinky.dir/mbed-os/targets/TARGET_RENESAS/TARGET_RZ_A1XX/TARGET_RZ_A1H/device/nvic_wrapper.c.obj
/usr/local/Cellar/arm-none-eabi-gcc/9-2019-q4-major/gcc/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld: error: CMakeFiles/mbed-os-example-blinky.dir/mbed-os/targets/TARGET_RENESAS/TARGET_RZ_A1XX/TARGET_RZ_A1H/device/os_tick_ostm.c.obj uses VFP register arguments, mbed-os-example-blinky.elf does not
/usr/local/Cellar/arm-none-eabi-gcc/9-2019-q4-major/gcc/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld: failed to merge target specific data of file CMakeFiles/mbed-os-example-blinky.dir/mbed-os/targets/TARGET_RENESAS/TARGET_RZ_A1XX/TARGET_RZ_A1H/device/os_tick_ostm.c.obj
/usr/local/Cellar/arm-none-eabi-gcc/9-2019-q4-major/gcc/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld: error: CMakeFiles/mbed-os-example-blinky.dir/mbed-os/targets/TARGET_RENESAS/TARGET_RZ_A1XX/TARGET_RZ_A1H/device/system_RZ_A1H.c.obj uses VFP register arguments, mbed-os-example-blinky.elf does not
/usr/local/Cellar/arm-none-eabi-gcc/9-2019-q4-major/gcc/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld: failed to merge target specific data of file CMakeFiles/mbed-os-example-blinky.dir/mbed-os/targets/TARGET_RENESAS/TARGET_RZ_A1XX/TARGET_RZ_A1H/device/system_RZ_A1H.c.obj
/usr/local/Cellar/arm-none-eabi-gcc/9-2019-q4-major/gcc/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld: error: CMakeFiles/mbed-os-example-blinky.dir/mbed-os/targets/TARGET_RENESAS/TARGET_RZ_A1XX/analogin_api.c.obj uses VFP register arguments, mbed-os-example-blinky.elf does not
/usr/local/Cellar/arm-none-eabi-gcc/9-2019-q4-major/gcc/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld: failed to merge target specific data of file CMakeFiles/mbed-os-example-blinky.dir/mbed-os/targets/TARGET_RENESAS/TARGET_RZ_A1XX/analogin_api.c.obj
/usr/local/Cellar/arm-none-eabi-gcc/9-2019-q4-major/gcc/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld: error: CMakeFiles/mbed-os-example-blinky.dir/mbed-os/targets/TARGET_RENESAS/TARGET_RZ_A1XX/can_api.c.obj uses VFP register arguments, mbed-os-example-blinky.elf does not
/usr/local/Cellar/arm-none-eabi-gcc/9-2019-q4-major/gcc/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld: failed to merge target specific data of file CMakeFiles/mbed-os-example-blinky.dir/mbed-os/targets/TARGET_RENESAS/TARGET_RZ_A1XX/can_api.c.obj
/usr/local/Cellar/arm-none-eabi-gcc/9-2019-q4-major/gcc/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld: error: CMakeFiles/mbed-os-example-blinky.dir/mbed-os/targets/TARGET_RENESAS/TARGET_RZ_A1XX/flash_api.c.obj uses VFP register arguments, mbed-os-example-blinky.elf does not
/usr/local/Cellar/arm-none-eabi-gcc/9-2019-q4-major/gcc/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld: failed to merge target specific data of file CMakeFiles/mbed-os-example-blinky.dir/mbed-os/targets/TARGET_RENESAS/TARGET_RZ_A1XX/flash_api.c.obj
/usr/local/Cellar/arm-none-eabi-gcc/9-2019-q4-major/gcc/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld: error: CMakeFiles/mbed-os-example-blinky.dir/mbed-os/targets/TARGET_RENESAS/TARGET_RZ_A1XX/gpio_api.c.obj uses VFP register arguments, mbed-os-example-blinky.elf does not
/usr/local/Cellar/arm-none-eabi-gcc/9-2019-q4-major/gcc/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld: failed to merge target specific data of file CMakeFiles/mbed-os-example-blinky.dir/mbed-os/targets/TARGET_RENESAS/TARGET_RZ_A1XX/gpio_api.c.obj
/usr/local/Cellar/arm-none-eabi-gcc/9-2019-q4-major/gcc/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld: error: CMakeFiles/mbed-os-example-blinky.dir/mbed-os/targets/TARGET_RENESAS/TARGET_RZ_A1XX/gpio_irq_api.c.obj uses VFP register arguments, mbed-os-example-blinky.elf does not
/usr/local/Cellar/arm-none-eabi-gcc/9-2019-q4-major/gcc/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld: failed to merge target specific data of file CMakeFiles/mbed-os-example-blinky.dir/mbed-os/targets/TARGET_RENESAS/TARGET_RZ_A1XX/gpio_irq_api.c.obj
/usr/local/Cellar/arm-none-eabi-gcc/9-2019-q4-major/gcc/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld: error: CMakeFiles/mbed-os-example-blinky.dir/mbed-os/targets/TARGET_RENESAS/TARGET_RZ_A1XX/i2c_api.c.obj uses VFP register arguments, mbed-os-example-blinky.elf does not
/usr/local/Cellar/arm-none-eabi-gcc/9-2019-q4-major/gcc/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld: failed to merge target specific data of file CMakeFiles/mbed-os-example-blinky.dir/mbed-os/targets/TARGET_RENESAS/TARGET_RZ_A1XX/i2c_api.c.obj
/usr/local/Cellar/arm-none-eabi-gcc/9-2019-q4-major/gcc/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld: error: CMakeFiles/mbed-os-example-blinky.dir/mbed-os/targets/TARGET_RENESAS/TARGET_RZ_A1XX/lp_ticker.c.obj uses VFP register arguments, mbed-os-example-blinky.elf does not
/usr/local/Cellar/arm-none-eabi-gcc/9-2019-q4-major/gcc/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld: failed to merge target specific data of file CMakeFiles/mbed-os-example-blinky.dir/mbed-os/targets/TARGET_RENESAS/TARGET_RZ_A1XX/lp_ticker.c.obj
/usr/local/Cellar/arm-none-eabi-gcc/9-2019-q4-major/gcc/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld: error: CMakeFiles/mbed-os-example-blinky.dir/mbed-os/targets/TARGET_RENESAS/TARGET_RZ_A1XX/mtu2.c.obj uses VFP register arguments, mbed-os-example-blinky.elf does not
/usr/local/Cellar/arm-none-eabi-gcc/9-2019-q4-major/gcc/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld: failed to merge target specific data of file CMakeFiles/mbed-os-example-blinky.dir/mbed-os/targets/TARGET_RENESAS/TARGET_RZ_A1XX/mtu2.c.obj
/usr/local/Cellar/arm-none-eabi-gcc/9-2019-q4-major/gcc/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld: error: CMakeFiles/mbed-os-example-blinky.dir/mbed-os/targets/TARGET_RENESAS/TARGET_RZ_A1XX/pinmap.c.obj uses VFP register arguments, mbed-os-example-blinky.elf does not
/usr/local/Cellar/arm-none-eabi-gcc/9-2019-q4-major/gcc/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld: failed to merge target specific data of file CMakeFiles/mbed-os-example-blinky.dir/mbed-os/targets/TARGET_RENESAS/TARGET_RZ_A1XX/pinmap.c.obj
/usr/local/Cellar/arm-none-eabi-gcc/9-2019-q4-major/gcc/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld: error: CMakeFiles/mbed-os-example-blinky.dir/mbed-os/targets/TARGET_RENESAS/TARGET_RZ_A1XX/port_api.c.obj uses VFP register arguments, mbed-os-example-blinky.elf does not
/usr/local/Cellar/arm-none-eabi-gcc/9-2019-q4-major/gcc/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld: failed to merge target specific data of file CMakeFiles/mbed-os-example-blinky.dir/mbed-os/targets/TARGET_RENESAS/TARGET_RZ_A1XX/port_api.c.obj
/usr/local/Cellar/arm-none-eabi-gcc/9-2019-q4-major/gcc/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld: error: CMakeFiles/mbed-os-example-blinky.dir/mbed-os/targets/TARGET_RENESAS/TARGET_RZ_A1XX/pwmout_api.c.obj uses VFP register arguments, mbed-os-example-blinky.elf does not
/usr/local/Cellar/arm-none-eabi-gcc/9-2019-q4-major/gcc/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld: failed to merge target specific data of file CMakeFiles/mbed-os-example-blinky.dir/mbed-os/targets/TARGET_RENESAS/TARGET_RZ_A1XX/pwmout_api.c.obj
/usr/local/Cellar/arm-none-eabi-gcc/9-2019-q4-major/gcc/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld: error: CMakeFiles/mbed-os-example-blinky.dir/mbed-os/targets/TARGET_RENESAS/TARGET_RZ_A1XX/rtc_api.c.obj uses VFP register arguments, mbed-os-example-blinky.elf does not
/usr/local/Cellar/arm-none-eabi-gcc/9-2019-q4-major/gcc/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld: failed to merge target specific data of file CMakeFiles/mbed-os-example-blinky.dir/mbed-os/targets/TARGET_RENESAS/TARGET_RZ_A1XX/rtc_api.c.obj
/usr/local/Cellar/arm-none-eabi-gcc/9-2019-q4-major/gcc/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld: error: CMakeFiles/mbed-os-example-blinky.dir/mbed-os/targets/TARGET_RENESAS/TARGET_RZ_A1XX/serial_api.c.obj uses VFP register arguments, mbed-os-example-blinky.elf does not
/usr/local/Cellar/arm-none-eabi-gcc/9-2019-q4-major/gcc/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld: failed to merge target specific data of file CMakeFiles/mbed-os-example-blinky.dir/mbed-os/targets/TARGET_RENESAS/TARGET_RZ_A1XX/serial_api.c.obj
/usr/local/Cellar/arm-none-eabi-gcc/9-2019-q4-major/gcc/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld: error: CMakeFiles/mbed-os-example-blinky.dir/mbed-os/targets/TARGET_RENESAS/TARGET_RZ_A1XX/sleep.c.obj uses VFP register arguments, mbed-os-example-blinky.elf does not
/usr/local/Cellar/arm-none-eabi-gcc/9-2019-q4-major/gcc/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld: failed to merge target specific data of file CMakeFiles/mbed-os-example-blinky.dir/mbed-os/targets/TARGET_RENESAS/TARGET_RZ_A1XX/sleep.c.obj
/usr/local/Cellar/arm-none-eabi-gcc/9-2019-q4-major/gcc/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld: error: CMakeFiles/mbed-os-example-blinky.dir/mbed-os/targets/TARGET_RENESAS/TARGET_RZ_A1XX/spi_api.c.obj uses VFP register arguments, mbed-os-example-blinky.elf does not
/usr/local/Cellar/arm-none-eabi-gcc/9-2019-q4-major/gcc/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld: failed to merge target specific data of file CMakeFiles/mbed-os-example-blinky.dir/mbed-os/targets/TARGET_RENESAS/TARGET_RZ_A1XX/spi_api.c.obj
/usr/local/Cellar/arm-none-eabi-gcc/9-2019-q4-major/gcc/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld: error: CMakeFiles/mbed-os-example-blinky.dir/mbed-os/targets/TARGET_RENESAS/TARGET_RZ_A1XX/trng_api.c.obj uses VFP register arguments, mbed-os-example-blinky.elf does not
/usr/local/Cellar/arm-none-eabi-gcc/9-2019-q4-major/gcc/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld: failed to merge target specific data of file CMakeFiles/mbed-os-example-blinky.dir/mbed-os/targets/TARGET_RENESAS/TARGET_RZ_A1XX/trng_api.c.obj
/usr/local/Cellar/arm-none-eabi-gcc/9-2019-q4-major/gcc/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld: error: CMakeFiles/mbed-os-example-blinky.dir/mbed-os/targets/TARGET_RENESAS/TARGET_RZ_A1XX/us_ticker.c.obj uses VFP register arguments, mbed-os-example-blinky.elf does not
/usr/local/Cellar/arm-none-eabi-gcc/9-2019-q4-major/gcc/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld: failed to merge target specific data of file CMakeFiles/mbed-os-example-blinky.dir/mbed-os/targets/TARGET_RENESAS/TARGET_RZ_A1XX/us_ticker.c.obj
/usr/local/Cellar/arm-none-eabi-gcc/9-2019-q4-major/gcc/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld: error: CMakeFiles/mbed-os-example-blinky.dir/mbed-os/targets/TARGET_RENESAS/TARGET_RZ_A1XX/common/rza_io_regrw.c.obj uses VFP register arguments, mbed-os-example-blinky.elf does not
/usr/local/Cellar/arm-none-eabi-gcc/9-2019-q4-major/gcc/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld: failed to merge target specific data of file CMakeFiles/mbed-os-example-blinky.dir/mbed-os/targets/TARGET_RENESAS/TARGET_RZ_A1XX/common/rza_io_regrw.c.obj
/usr/local/Cellar/arm-none-eabi-gcc/9-2019-q4-major/gcc/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld: error: CMakeFiles/mbed-os-example-blinky.dir/mbed-os/cmsis/CMSIS_5/CMSIS/TARGET_CORTEX_A/Source/irq_ctrl_gic.c.obj uses VFP register arguments, mbed-os-example-blinky.elf does not
/usr/local/Cellar/arm-none-eabi-gcc/9-2019-q4-major/gcc/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld: failed to merge target specific data of file CMakeFiles/mbed-os-example-blinky.dir/mbed-os/cmsis/CMSIS_5/CMSIS/TARGET_CORTEX_A/Source/irq_ctrl_gic.c.obj
collect2: error: ld returned 1 exit status
ninja: build stopped: subcommand failed.
ERROR: CMake invocation failed!

@multiplemonomials
Copy link
Contributor

multiplemonomials commented Mar 11, 2021

Yes, in most cases I'd recommend avoiding setting CMAKE_TRY_COMPILE_TARGET_TYPE=STATIC.
If your try_compiles are failing, then usually one of two things are happening:

  • There really is some kind of issue with the compiler flags preventing linking
  • Or, the flags stored in CMAKE_CXX_FLAGS and CMAKE_EXE_LINKER_FLAGS are insufficient to build a working executable and more flags are needed that were only getting added later in the build.

If it's the first one, which is what it sounds like here, then we just need to find the right flags. If it's the second issue, then the appropriate flags need to get moved to CMAKE_CXX_FLAGS etc, because having incorrect flags like that will cause a lot of stuff inside CMake to go haywire.
Basically, it's kind of just a bandaid fix for issues that will show up later in the build, which should get fixed properly. It sounds like LDong may actually have a situation where it's needed though, if there is a CMake bug affecting it.

The -mcpu=cortex-a9 flag conflicts with the march=armv7-a flag.
Opted to keep mcpu=cortex-a9 as it is more specific and
allows GCC to perform better optimization.

The compiler is also changed to use soft-float ABI as it
was necessary to successfully build. Without it the application
appears to be built with soft-float ABI and it conflicts with
the previous setting which was built with hard-float ABI.
This may be related to: https://gitlab.kitware.com/cmake/cmake/-/issues/21173
@hugueskamba hugueskamba force-pushed the hk_cmake_fix_cortex_a9_warning branch from b01168f to b193d97 Compare March 12, 2021 13:22
@hugueskamba
Copy link
Collaborator Author

This force-push uses -mcpu=cortex-a9 with -mfloat-abi=softfp.
It fails to build without -mfloat-abi=softfp. There is an ongoing discussion about the inconsistence between GCC_ARM and ARM here: #9153

@mergify mergify bot added needs: CI and removed needs: review labels Mar 12, 2021
@0xc0170
Copy link
Contributor

0xc0170 commented Mar 12, 2021

CI started

@mbed-ci
Copy link

mbed-ci commented Mar 12, 2021

Jenkins CI Test : ✔️ SUCCESS

Build Number: 1 | 🔒 Jenkins CI Job | 🌐 Logs & Artifacts

CLICK for Detailed Summary

jobs Status
jenkins-ci/mbed-os-ci_cmake-example-ARM ✔️
jenkins-ci/mbed-os-ci_cmake-example-GCC_ARM ✔️
jenkins-ci/mbed-os-ci_unittests ✔️
jenkins-ci/mbed-os-ci_build-greentea-GCC_ARM ✔️
jenkins-ci/mbed-os-ci_build-greentea-ARM ✔️
jenkins-ci/mbed-os-ci_build-cloud-example-ARM ✔️
jenkins-ci/mbed-os-ci_build-example-GCC_ARM ✔️
jenkins-ci/mbed-os-ci_build-cloud-example-GCC_ARM ✔️
jenkins-ci/mbed-os-ci_build-example-ARM ✔️
jenkins-ci/mbed-os-ci_cmake-example-test ✔️
jenkins-ci/mbed-os-ci_greentea-test ✔️

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

8 participants