[Bug libgomp/117851] all amdgcn offload tests fail with a host compiler configured with --enable-default-pie

jakub at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Fri Nov 29 19:41:18 GMT 2024


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

--- Comment #1 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Guess we need to build both crtoffloadtable.o (for non-PIE binaries) and
crtoffloadtableS.o (for PIE binaries and shared libraries) and build the latter
with
$(CRTSTUFF_T_CFLAGS_S) instead of $(CRTSTUFF_T_CFLAGS_S).
And of course arrange also to use them.


More information about the Gcc-bugs mailing list