This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug boehm-gc/66848] boehm-gc fails test suite on x86_64-apple-darwin15
- From: "howarth.at.gcc at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sun, 11 Oct 2015 19:45:01 +0000
- Subject: [Bug boehm-gc/66848] boehm-gc fails test suite on x86_64-apple-darwin15
- Auto-submitted: auto-generated
- References: <bug-66848-4 at http dot gcc dot gnu dot org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66848
--- Comment #11 from Jack Howarth <howarth.at.gcc at gmail dot com> ---
Changing...
--- gcc-5.2.0.orig/boehm-gc/include/private/gcconfig.h 2013-12-21
15:42:39.000000000 -0500
+++ gcc-5.2.0/boehm-gc/include/private/gcconfig.h 2015-10-11
15:41:26.000000000 -0400
@@ -1041,10 +1041,10 @@
# define MACH_TYPE "I386"
# if defined(__LP64__) || defined(_WIN64)
# define CPP_WORDSZ 64
-# define ALIGNMENT 8
+# define ALIGNMENT 2
# else
# define CPP_WORDSZ 32
-# define ALIGNMENT 4
+# define ALIGNMENT 2
/* Appears to hold for all "32 bit" compilers */
/* except Borland. The -a4 option fixes */
/* Borland. */
@@ -2005,10 +2005,10 @@
# ifdef X86_64
# define MACH_TYPE "X86_64"
# ifdef __ILP32__
-# define ALIGNMENT 4
+# define ALIGNMENT 2
# define CPP_WORDSZ 32
# else
-# define ALIGNMENT 8
+# define ALIGNMENT 2
# define CPP_WORDSZ 64
# endif
# ifndef HBLKSIZE
suppress the failures in the boehm-gc test suite on darwin15's unwinder (as
well as using ALIGNMENT 1). Note that ALIGNMENT 4 on 64-bit doesn't suppress
the boehm-gc test suite failures.