I tried simply removing the flags via d/rules via:

override_dh_auto_configure:                                                     
 
    # setting PICO_EXAMPLES_PATH=/dev/null to avoid requiring                   
 
    # https://github.com/raspberrypi/pico-examples                              
 
    export CFLAGS="$(shell dpkg-buildflags --get CFLAGS | sed 
's/-mno-omit-leaf-frame-pointer//')"; \
    export CXXFLAGS="$(shell dpkg-buildflags --get CXXFLAGS | sed 
's/-mno-omit-leaf-frame-pointer//')"; \
    dh_auto_configure -- -DPICO_SDK_TESTS_ENABLED=ON 
-DPICO_EXAMPLES_PATH=/dev/null -DPICO_BUILD_DOCS=ON


But now get a new error
/usr/lib/gcc/arm-none-eabi/13.2.1/../../../arm-none-eabi/bin/ld: warning: -z 
relro ignored
/usr/lib/gcc/arm-none-eabi/13.2.1/../../../arm-none-eabi/bin/ld: 
bs2_default.elf section `.text' will not fit in region `SRAM'
/usr/lib/gcc/arm-none-eabi/13.2.1/../../../arm-none-eabi/bin/ld: region `SRAM' 
overflowed by 96 bytes

-- 
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