Public bug reported:

PICO compiler is pico_arm_gcc
-- The C compiler identification is GNU 13.2.1
-- The CXX compiler identification is GNU 13.2.1
-- The ASM compiler identification is GNU
-- Found assembler: /usr/bin/arm-none-eabi-gcc
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - failed
-- Check for working C compiler: /usr/bin/arm-none-eabi-gcc
-- Check for working C compiler: /usr/bin/arm-none-eabi-gcc - broken
CMake Error at /usr/share/cmake-3.30/Modules/CMakeTestCCompiler.cmake:67 
(message):
  The C compiler

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

  is not able to compile a simple test program.

  It fails with the following output:

    Change Dir: 
'/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/CMakeFiles/CMakeScratch/TryCompile-wMeQeG'
    
    Run Build Command(s): /usr/bin/cmake -E env VERBOSE=1 /usr/bin/gmake -f 
Makefile cmTC_feb10/fast
    gmake[2]: Entering directory 
'/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/CMakeFiles/CMakeScratch/TryCompile-wMeQeG'
    /usr/bin/gmake  -f CMakeFiles/cmTC_feb10.dir/build.make 
CMakeFiles/cmTC_feb10.dir/build
    gmake[3]: Entering directory 
'/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/CMakeFiles/CMakeScratch/TryCompile-wMeQeG'
    Building C object CMakeFiles/cmTC_feb10.dir/testCCompiler.c.obj
    /usr/bin/arm-none-eabi-gcc   -g -O2 -fno-omit-frame-pointer 
-mno-omit-leaf-frame-pointer -ffile-prefix-map=/<<PKGBUILDDIR>>=. -flto=auto 
-ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security 
-fno-stack-clash-protection -fcf-protection=none 
-fdebug-prefix-map=/<<PKGBUILDDIR>>=/usr/src/pico-sdk-1.5.1-4 -Wdate-time 
-D_FORTIFY_SOURCE=3  -mcpu=cortex-m0plus -mthumb  -o 
CMakeFiles/cmTC_feb10.dir/testCCompiler.c.obj -c 
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/CMakeFiles/CMakeScratch/TryCompile-wMeQeG/testCCompiler.c
    arm-none-eabi-gcc: error: unrecognized command-line option 
'-mno-omit-leaf-frame-pointer'; did you mean '-fno-omit-frame-pointer'?
    gmake[3]: *** [CMakeFiles/cmTC_feb10.dir/build.make:78: 
CMakeFiles/cmTC_feb10.dir/testCCompiler.c.obj] Error 1
    gmake[3]: Leaving directory 
'/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/CMakeFiles/CMakeScratch/TryCompile-wMeQeG'
    gmake[2]: *** [Makefile:127: cmTC_feb10/fast] Error 2
    gmake[2]: Leaving directory 
'/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/CMakeFiles/CMakeScratch/TryCompile-wMeQeG'


2 interesting points:

1. C compiler ABI info fails - not sure why
2. -mno-omit-leaf-frame-pointer is injected into the build flags.

** Affects: pico-sdk (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: update-excuse

** Tags added: update-excuse

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2074106

Title:
  Oracular FTBFS

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pico-sdk/+bug/2074106/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to