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: unassig...@gcc.gnu.org ReportedBy: d...@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.