IA-64 broken_backtrace on 4.0

Jakub Jelinek jakub@redhat.com
Thu Jul 14 16:07:00 GMT 2005


On Thu, Jul 14, 2005 at 05:01:51PM +0100, Andrew Haley wrote:
> > Or do we want to add a check whether it is working
> > (or check for glibc version, 2.3.3 or never is ok)?
>> For HEAD, just a version check? I guess that would be pretty easy.

getconf GNU_LIBC_VERSION
prints
glibc 2.3.5
etc.
But I guess that is not really good for cross, for it you might do some
compile check (but in that case it will have to be for gilbc 2.4+ only).
#include <features.h>
#if defined(__GLIBC__) && (__GLIBC__ > 2 || (__GLIBC__ == 2 && _GLIBC_MINOR__ >= 4)
/* working backtrace */
#else
#error backtrace probably broken
#endif
	Jakub


More information about the Java mailing list

AltStyle によって変換されたページ (->オリジナル) /