[Bug pch/71934] pch cannot be disabled so gcc cannot be position independent

jakub at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Mon Dec 6 08:43:54 GMT 2021


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

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED
           Assignee|unassigned at gcc dot gnu.org      |jakub at gcc dot gnu.org

--- Comment #24 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Created attachment 51931
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=51931&action=edit
gcc12-pr71934.patch

Bootstrap/regtest on x86_64-linux passed, but on i686-linux I saw
+FAIL: 17_intro/headers/c++2011/stdc++.cc (test for excess errors)
+FAIL: 17_intro/headers/c++2011/stdc++_multiple_inclusion.cc (test for excess
errors)
regressions.  I've tracked that to not remembering in the relocation table
if a pointer that needs relocation is immediately at mmi.preferred_base.

This updated patch fixes that, fixes also a bug in host-linux.c found by Iain,
updates gty.texi and adds ChangeLog.


More information about the Gcc-bugs mailing list