Re: gcc problems

From: Jim Wilson <wilson_at_specifixinc.com>
Date: 2004-02-06 20:49:57
On Fri, 2004-02-06 at 00:00, Andrew Morton wrote:
> ../../gcc-3.4-cvs/gcc/config/ia64/unwind-ia64.c: In function `uw_frame_state_for':
> ../../gcc-3.4-cvs/gcc/config/ia64/unwind-ia64.c:1779: error: structure has no member named `sc_rbs_base'
> ../../gcc-3.4-cvs/gcc/config/ia64/unwind-ia64.c:1779: error: structure has no member named `sc_loadrs'

This is from the MD_FALLBACK_FRAME_STATE_FOR macro in
gcc/config/ia64/linux.h, which handles machine and OS dependent
unwinding from signal handers.  It uses signal.h and sys/context.h. 
These are things that could have perhaps changed with a new kernel or
glibc.  If the signal context structure has changed, then we need a new
version of this code, and will somehow have to choose the right one.

The easiest workaround is probably to install libunwind on your system
before trying to build gcc.  Then none of this ugly code is needed,
because libunwind gracefully handles it all for us.  Assuming libunwind
builds on the new kernels, but I would be surprised if it didn't.  If
libunwind is installed, then gcc uses it automatically, so you don't
have to configure gcc differently.
-- 
Jim Wilson, GNU Tools Support, http://www.SpecifixInc.com

-
To unsubscribe from this list: send the line "unsubscribe linux-ia64" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Received on Fri Feb 6 04:52:37 2004

This archive was generated by hypermail 2.1.8 : 2005-08-02 09:20:22 EST