Branch: refs/heads/master Home: https://github.com/tianocore/edk2 Commit: 35a93babfbbf18b72890572f909a86257683ccfd https://github.com/tianocore/edk2/commit/35a93babfbbf18b72890572f909a86257683ccfd Author: James Le Cuirot <jlecui...@microsoft.com> Date: 2025-07-22 (Tue, 22 Jul 2025)
Changed paths: M BaseTools/Conf/tools_def.template Log Message: ----------- BaseTools/tools_def: Drop unused GCC IA32/X64 flag variables These haven't been used since before 2d07607d8b1a0710ba7379f8ee6c11dae1, when UNIXGCC support was dropped. The recent change in 14cb48b0a053b44c5a6bcc89cbbbf86ac78c7820 to make linker warnings fatal was therefore ineffective for these architectures. As requested, also make linker warnings fatal for GCC5 only. The last release made them fatal for AARCH64 on GCC48/GCC49, but it seems likely no one has actually tested that yet. Signed-off-by: James Le Cuirot <jlecui...@microsoft.com> Commit: d7ccf477f598949d76ab1596bf62f495997cf70a https://github.com/tianocore/edk2/commit/d7ccf477f598949d76ab1596bf62f495997cf70a Author: James Le Cuirot <jlecui...@microsoft.com> Date: 2025-07-22 (Tue, 22 Jul 2025) Changed paths: M BaseTools/Conf/tools_def.template Log Message: ----------- BaseTools/tools_def: Make linker warnings fatal for RISCV + LOONGARCH64 For consistency, and as before, for GCC5 only. Signed-off-by: James Le Cuirot <jlecui...@microsoft.com> Commit: 188f8c686ed39b7b9998f1c2f4658ca8ba74b6ba https://github.com/tianocore/edk2/commit/188f8c686ed39b7b9998f1c2f4658ca8ba74b6ba Author: James Le Cuirot <jlecui...@microsoft.com> Date: 2025-07-22 (Tue, 22 Jul 2025) Changed paths: M BaseTools/Conf/tools_def.template Log Message: ----------- BaseTools/tools_def: Always link with -Wl,-z,notext for BFD/LLD Commit a257988f590ba90dd8394dd6bc7014ae9d814a08 added -Wl,-z,notext, but only when linking for IA32/X64 with LLD. BFD can also be configured to either warn or error when text relocations are detected. It does not check at all by default, but Gentoo Linux tells it to warn in its regular configuration and tells it to error in its hardened configuration. Commit 14cb48b0a053b44c5a6bcc89cbbbf86ac78c7820 made linker warnings fatal in all BFD cases. At least the AARCH64 and IA32/X64 code does include text relocations, so this now fails to build on Gentoo Linux. We should therefore always use -Wl,-z,notext. Signed-off-by: James Le Cuirot <jlecui...@microsoft.com> Compare: https://github.com/tianocore/edk2/compare/1caa6a92ea36...188f8c686ed3 To unsubscribe from these emails, change your notification settings at https://github.com/tianocore/edk2/settings/notifications _______________________________________________ edk2-commits mailing list edk2-commits@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/edk2-commits