[Bug target/55344] Cross compiling for alpha-linux fails because <signal.h> doesn't exist
ubizjak at gmail dot com
gcc-bugzilla@gcc.gnu.org
Sun Dec 9 14:04:00 GMT 2012
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55344
Uros Bizjak <ubizjak at gmail dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |ubizjak at gmail dot com
Target Milestone|--- |4.7.3
--- Comment #2 from Uros Bizjak <ubizjak at gmail dot com> 2012-12-09 14:04:26 UTC ---
I am testing following trivial patch:
--cut here--
Index: config/alpha/linux-unwind.h
===================================================================
--- config/alpha/linux-unwind.h (revision 194329)
+++ config/alpha/linux-unwind.h (working copy)
@@ -22,6 +22,7 @@
see the files COPYING3 and COPYING.RUNTIME respectively. If not, see
<http://www.gnu.org/licenses/>. */
+#ifndef inhibit_libc
/* Do code reading to identify a signal frame, and set the frame
state data appropriately. See unwind-dw2.c for the structs. */
@@ -97,3 +98,4 @@
|| pc[1] == 0x201f015f)) /* lda $0,NR_rt_sigreturn */
_Unwind_SetSignalFrame (context, 1);
}
+#endif
--cut here--
More information about the Gcc-bugs
mailing list