That is an outcome of downstream patch ld-relro.diff, it seems: --- ld/lexsup.c.orig 2024-08-04 01:00:00.000000000 +0200 +++ ld/lexsup.c 2024-08-06 16:02:35.554864901 +0200 @@ -772,6 +772,9 @@ parse_args (unsigned argc, char **argv) } } + optarg = "relro"; + ldemul_handle_option ('z'); It should not be enabled for avr, I assume? As in: --- binutils.spec (revision 173) +++ binutils.spec (working copy) @@ -257,7 +257,9 @@ %patch -P 4 %patch -P 5 %patch -P 6 +%if "%{TARGET}" != "avr" %patch -P 8 +%endif