http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51623
Bug #: 51623
Summary: PowerPC section type conflict
Classification: Unclassified
Product: gcc
Version: 4.7.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: rtl-optimization
AssignedTo: [email protected]
ReportedBy: [email protected]
Target: powerpc-linux
Created attachment 26144
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=26144
Uboot nand_dump testcase
gcc-patches discussion thread:
http://gcc.gnu.org/ml/gcc-patches/2011-12/msg01240.html
During final output of objects, existence of a .text.unlikely section triggers
a section flag mismatch when looking up in the section htab.
More information in mailing list thread, attached are testcases, a larger one
from U-boot, and a very minimal one trying to demonstrate the fail. (for the
minimal testcase, use -Os/-O2 -mrelocatable to trigger, for the Uboot one add
-ffreestanding)