Re: [Gc] [PATCH] Fix build on Linux/x86_64 under uCli bc
Ivan Maidanski <ivmai-JGs/[email protected]>
| Newsgroups | gmane.comp.programming.garbage-collection.boehmgc |
|---|---|
| Message-ID | <[email protected]> |
Hi Baruch, Patch applied: https://github.com/ivmai/bdwgc/commit/81563952ad47707b9fdf9c5f4858640835a43d84 Thank you Regards, Ivan Wed, 23 Apr 2014 14:52:42 +0300 from Baruch Siach <[email protected]>: >* include/private/gcconfig.h (GETCONTEXT_FPU_EXCMASK_BUG): don't define for >uClibc, as it may not have fenv.h >--- > include/private/gcconfig.h | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/include/private/gcconfig.h b/include/private/gcconfig.h >index de7998be0f54..f866cc4ed8cc 100644 >--- a/include/private/gcconfig.h >+++ b/include/private/gcconfig.h >@@ -2235,7 +2235,7 @@ > extern int etext[]; > # define DATASTART ((ptr_t)((((word) (etext)) + 0xfff) & ~0xfff)) > # endif >-# if defined(__GLIBC__) >+# if defined(__GLIBC__) && !defined(__UCLIBC__) > /* At present, there's a bug in GLibc getcontext() on */ > /* Linux/x64 (it clears FPU exception mask). We define this */ > /* macro to workaround it. */ >-- >1.9.2 >_______________________________________________ >bdwgc mailing list >[email protected] >https://lists.opendylan.org/mailman/listinfo/bdwgc _______________________________________________ bdwgc mailing list [email protected] https://lists.opendylan.org/mailman/listinfo/bdwgc