http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49684
Summary: [4.7 Regression]: build fails on crtstuff.c / crtbegin using default CRT_CALL_STATIC_FUNCTION Product: gcc Version: 4.7.0 Status: UNCONFIRMED Keywords: build Severity: normal Priority: P3 Component: regression AssignedTo: unassig...@gcc.gnu.org ReportedBy: h...@gcc.gnu.org CC: r...@gcc.gnu.org Host: x86_64-unknown-linux-gnu Target: cris-axis-elf A patch in the revision range last known working 176012, first known failing r176032, caused the build for cris-elf to fail as described in bug 49680 (first quote). After the immediate problem is fixed there's a second problem which seems to be that the default definition of CRT_CALL_STATIC_FUNCTION doesn't work anymore (messages also quoted in bug 49680), due to a change in the mentioned range. A documentation patch is suggested as a general fix. An alternative would be to provide a better default definition of CRT_CALL_STATIC_FUNCTION.