https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117992 --- Comment #10 from Xi Ruoyao <xry111 at gcc dot gnu.org> --- (In reply to Xi Ruoyao from comment #9) > Without -flto, there's no explicit -fpie flag Sorry I mean -pie, not -fpie.