This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug bootstrap/53300] New: AIX bootstrap related to varpool patch
- From: "dje at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 09 May 2012 19:25:55 +0000
- Subject: [Bug bootstrap/53300] New: AIX bootstrap related to varpool patch
- Auto-submitted: auto-generated
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.