This is the mail archive of the java@gcc.gnu.org mailing list for the Java 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: IA-64 broken_backtrace on 4.0


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


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