thomas@1461: Original patch from: ../4.3.2/350-sh-without-headers.patch thomas@1461: thomas@1461: -= BEGIN original header =- thomas@1461: On 20081011, Khem RAJ writes: thomas@1461: You have to bar gcc trying to build unwinding at stage 1. Try the thomas@1461: attached patch and see if it helps. thomas@1461: thomas@1461: gcc/config/sh/linux-unwind.h | 3 +++ thomas@1461: 1 file changed, 3 insertions(+) thomas@1461: thomas@1461: -= END original header =- thomas@1461: thomas@1461: diff -durN gcc-4.3.3.orig/gcc/config/sh/linux-unwind.h gcc-4.3.3/gcc/config/sh/linux-unwind.h thomas@1461: --- gcc-4.3.3.orig/gcc/config/sh/linux-unwind.h 2007-09-12 08:59:06.000000000 +0200 thomas@1461: +++ gcc-4.3.3/gcc/config/sh/linux-unwind.h 2009-01-27 22:28:57.000000000 +0100 thomas@1461: @@ -26,6 +26,8 @@ thomas@1461: the Free Software Foundation, 51 Franklin Street, Fifth Floor, thomas@1461: Boston, MA 02110-1301, USA. */ thomas@1461: thomas@1461: +#ifndef inhibit_libc thomas@1461: + thomas@1461: /* Do code reading to identify a signal frame, and set the frame thomas@1461: state data appropriately. See unwind-dw2.c for the structs. */ thomas@1461: thomas@1461: @@ -251,3 +253,4 @@ thomas@1461: return _URC_NO_REASON; thomas@1461: } thomas@1461: #endif /* defined (__SH5__) */ thomas@1461: +#endif /* ifndef inhibit_libc */