2022-11-12 04:13 PM
Not really an "ask", but more an FYI...
I only just now encountered this and see it's relatively new, relating to binutils 2.39...
References:
https://www.redhat.com/en/blog/linkers-warnings-about-executable-stacks-and-segments
("The executable segment warnings")
https://lore.kernel.org/lkml/CAD=FV=UK3Oyb9N9TpDqa55VEukhkjL1+GRO8+yLVxdFMuE=Mrw@mail.gmail.com/T/
("commit 0d362be5b14200b77ecc2127936a5ff82fbffe41 upstream")
Workaround/Solution:
Adding "-Wl,--no-warn-rwx-segment" disables that warning, and completes linking.
2024-03-22 03:13 AM
Thanks vindicator!
Navgiate Project->Properties->C/C++ Build->Settings->Tool Settings->MCU GCC Linker->Miscellaneous->Add...
-Wl,--no-warn-rwx-segment