This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/49684] [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 15:11:38 +0000
- Subject: [Bug target/49684] [4.7 Regression]: build fails on crtstuff.c / crtbegin using default CRT_CALL_STATIC_FUNCTION
- Auto-submitted: auto-generated
- References: <bug-49684-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49684
Hans-Peter Nilsson <hp at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Component|regression |target
--- Comment #1 from Hans-Peter Nilsson <hp at gcc dot gnu.org> 2011-07-09 15:11:12 UTC ---
Looks like it's a combination of the target missing assembler cfi directives
and a "-g" sneaking in while compiling crtstuff.c. So, recategorizing as
target and no longer requesting any documentation update. The solution is
probably just:
===================================================================
--- config/cris/t-elfmulti (revision 175272)
+++ config/cris/t-elfmulti (working copy)
@@ -31,4 +31,4 @@ MULTILIB_MATCHES = \
MULTILIB_EXTRA_OPTS = mbest-lib-options
INSTALL_LIBGCC = install-multilib
LIBGCC = stmp-multilib
-CRTSTUFF_T_CFLAGS = $(LIBGCC2_CFLAGS) -moverride-best-lib-options
+CRTSTUFF_T_CFLAGS = -moverride-best-lib-options