# HG changeset patch # User Rob Landley # Date 1263178264 21600 # Node ID 1d6155f9be9fa22af29d48895a62f830bc83dd80 # Parent ce8d2ff56908c9f592e568b7b7c857a7f9964bf3 Poking at alpha support: add the same inhibit-libc guard that gcc screwed up for sh4, so it can get as far as the gcc bug "libm/e_exp.c:144: internal compiler error: in emit_move_insn, at expr.c:3275" building uClibc. diff -r ce8d2ff56908 -r 1d6155f9be9f sources/patches/gcc-core-fix-inhibit-libc.patch --- a/sources/patches/gcc-core-fix-inhibit-libc.patch Wed Jan 06 21:36:38 2010 -0600 +++ b/sources/patches/gcc-core-fix-inhibit-libc.patch Sun Jan 10 20:51:04 2010 -0600 @@ -16,3 +16,21 @@ #endif /* defined (__SH5__) */ + +#endif +diff -ru gcc-core/gcc/config/alpha/linux-unwind.h gcc-core2/gcc/config/alpha/linux-unwind.h +--- gcc-core/gcc/config/alpha/linux-unwind.h 2005-06-24 20:22:41.000000000 -0500 ++++ gcc-core2/gcc/config/alpha/linux-unwind.h 2010-01-10 20:05:56.000000000 -0600 +@@ -26,6 +26,8 @@ + the Free Software Foundation, 51 Franklin Street, Fifth Floor, + Boston, MA 02110-1301, USA. */ + ++#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. */ + +@@ -80,3 +82,5 @@ + fs->retaddr_column = 64; + return _URC_NO_REASON; + } ++ ++#endif