This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: just 2 assertive


Mike Stump wrote:

> mrs bash[73] nm i586-pc-linux-gnu/libobjc/.libs/libobjc.so.1 | grep 
> gcc_unre
>          U gcc_unreachable
> 
> :-(
> 
> This is killing the Objective-C testsuite for me...


nm -o *.o |grep gcc_unr
exception.o:	U gcc_unreachable

It seems this comes from unwind.h

static inline _Unwind_Ptr
_Unwind_GetTextRelBase (struct _Unwind_Context *_C __attribute__
((__unused__)))
{
  gcc_unreachable ();
}

It seems a bit awkward to me that gcc_unreachable is part of the:
"Exception handling and frame unwind runtime interface routines."

yet it seems libjava and libstdc++-v3/libsupc++ seem to work fine, so I
guess we need to #include "tsystem.h" in unwind.h or in exceptions.c.

Cheers,
David


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]