This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug bootstrap/53300] New: AIX bootstrap related to varpool patch


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53300

             Bug #: 53300
           Summary: AIX bootstrap related to varpool patch
    Classification: Unclassified
           Product: gcc
           Version: 4.8.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: bootstrap
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: dje@gcc.gnu.org


The recent change to cgraph_remove_unreachable_nodes causes AIX bootstrap
failure because TOC symbols are removed.

ld: 0711-317 ERROR: Undefined symbol: LC..0
ld: 0711-317 ERROR: Undefined symbol: LC..1
ld: 0711-317 ERROR: Undefined symbol: LC..2
ld: 0711-317 ERROR: Undefined symbol: LC..3
ld: 0711-317 ERROR: Undefined symbol: LC..4

These are emitted in output_toc(). I am not sure what dependency is missing to
allow cgraph to believe the symbol is unused. Although both AIX and pLinux use
TARGET_TOC, this does not fail on Linux.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]