From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16469 invoked by alias); 11 Oct 2015 19:45:10 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Received: (qmail 16402 invoked by uid 48); 11 Oct 2015 19:45:06 -0000 From: "howarth.at.gcc at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug boehm-gc/66848] boehm-gc fails test suite on x86_64-apple-darwin15 Date: Sun, 11 Oct 2015 19:45:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: boehm-gc X-Bugzilla-Version: 5.2.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: howarth.at.gcc at gmail dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2015-10/txt/msg00824.txt.bz2 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66848 --- Comment #11 from Jack Howarth --- 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.