https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118248

--- Comment #11 from Sam James <sjames at gcc dot gnu.org> ---
(In reply to Matthias Klose from comment #8)
> Rechecked with 20250203. this works for Debian unstable, but not for Ubuntu
> plucky. The differences for this are a different baseline (zEC12 vs z13),
> and enabling the hardening defaults directly in the compiler. Not sure how
> to to best test an upstream build with hardening flags enabled by default.
> --enable-default-pie is enabled for both builds.

Try doing BOOT_C{,XX}FLAGS="..." STAGE1_C{,XX}FLAGS="..." with all the relevant
stuff you set in the patches. You may need to do C{,XX}FLAGS_FOR_TARGET as
well.

Reply via email to