[Buildroot] [Bug 12801] Flag '-Wa, --noexecstack' is missing when building uclibc with newer binutils

bugzilla at busybox.net bugzilla at busybox.net
Wed Apr 22 11:15:19 UTC 2020


https://bugs.busybox.net/show_bug.cgi?id=12801

Marcel Patzlaff <m.patzlaff at pilz.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Product|buildroot                   |uClibc
          Component|Other                       |Other
           Assignee|unassigned at buildroot.uclibc |unassigned at uclibc.org
                   |.org                        |
                 CC|                            |uclibc-cvs at uclibc.org

--- Comment #3 from Marcel Patzlaff <m.patzlaff at pilz.de> ---
I finally found what the problem is. The check_as macro in uclibc/Rules.mak
does not function with newer binutils versions anymore. Executing the check
manually yield:

$ /opt/debug/buildroot_toolchain/usr/bin/arm-se-linux-uclibcgnueabihf-gcc
-Wa,--noexecstack -Wa,-Z -c -o /dev/null -xassembler /dev/null || echo "WTF"

Assembler messages:
Fatal error: The input '/dev/null' and output '/dev/null' files are the same


So basically, this seems to be uClibc bug.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the buildroot mailing list