Note - Pico/embedded builders: cross-arm-none-eabi-binutils-2.39 new warning RWX LOAD section warning
All, and those that use cross-arm-none-eabi-binutils to build for Raspberry Pico, etc. The new version of ld in binutils will emit a warning about a LOAD segment with RWX permissions, e.g. /usr/lib64/gcc/arm-none-eabi/10/../../../../arm-none-eabi/bin/ld: warning: rtos-blink.elf has a LOAD segment with RWX permissions This is a known issue, see: https://github.com/raspberrypi/pico-sdk/issues/1029 The warning can be disabled as specified in the thread: # in pico-sdk/src/rp2_common/pico_standard_link/CMakeLists.txt target_link_options(pico_standard_link INTERFACE "LINKER:--no-warn-rwx-segments") # or for a specific executable in a local CMakeLists.txt target_link_options(hello_world PRIVATE "LINKER:--no-warn-rwx-segments") Updates tonight from the current user builds for cross-arm-none-eabi-binutils finally brought it in for openSUSE. I doubt many will see this, just thought I would pass it along for those tinkering with embedded systems using openSUSE as the build platform to save you a few minutes searching. (and if you haven't played with the $4 pico, this little thing with the dual-core RP2040 processor running at 133MHz, 2M flash memory, 26 GPIO pins, etc -- it's a whole lot of fun if you like that kind of thing... For $2 more you can get the Pico_w with Wifi :) (and no, I have no involvement with the company, just an openSUSE tinkerer...) -- David C. Rankin, J.D.,P.E.
participants (1)
-
David C. Rankin