This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug regression/49684] New: [4.7 Regression]: build fails on crtstuff.c / crtbegin using default CRT_CALL_STATIC_FUNCTION
- From: "hp at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sat, 9 Jul 2011 01:53:38 +0000
- Subject: [Bug regression/49684] New: [4.7 Regression]: build fails on crtstuff.c / crtbegin using default CRT_CALL_STATIC_FUNCTION
- Auto-submitted: auto-generated
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: unassigned@gcc.gnu.org
ReportedBy: hp@gcc.gnu.org
CC: rth@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.