This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: just 2 assertive
- From: David Ayers <d dot ayers at inode dot at>
- To: Mike Stump <mrs at apple dot com>
- Cc: GCC Mailing List <gcc at gcc dot gnu dot org>
- Date: Thu, 19 May 2005 09:52:23 +0200
- Subject: Re: just 2 assertive
- References: <A89DC41A-3BE2-4835-930D-2B8EFB21D2E1@apple.com>
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