From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 27998 invoked by alias); 11 Apr 2013 11:02:46 -0000 Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Received: (qmail 27982 invoked by uid 89); 11 Apr 2013 11:02:46 -0000 X-Spam-SWARE-Status: No, score=-5.5 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,KHOP_RCVD_TRUST,KHOP_THREADED,RCVD_IN_DNSWL_LOW,RCVD_IN_HOSTKARMA_YE,TW_BJ autolearn=ham version=3.3.1 Received: from mail-ve0-f180.google.com (HELO mail-ve0-f180.google.com) (209.85.128.180) by sourceware.org (qpsmtpd/0.84/v0.84-167-ge50287c) with ESMTP; Thu, 11 Apr 2013 11:02:45 +0000 Received: by mail-ve0-f180.google.com with SMTP id c13so1271026vea.39 for ; Thu, 11 Apr 2013 04:02:43 -0700 (PDT) MIME-Version: 1.0 X-Received: by 10.52.73.234 with SMTP id o10mr3938123vdv.29.1365678163458; Thu, 11 Apr 2013 04:02:43 -0700 (PDT) Received: by 10.52.164.115 with HTTP; Thu, 11 Apr 2013 04:02:43 -0700 (PDT) In-Reply-To: References: Date: Thu, 11 Apr 2013 12:25:00 -0000 Message-ID: Subject: Re: [PATCH, boehm-gc, AArch64] Add AArch64 support From: Marcus Shawcroft To: Yvan Roux Cc: "gcc-patches@gcc.gnu.org" Content-Type: text/plain; charset=ISO-8859-1 X-SW-Source: 2013-04/txt/msg00687.txt.bz2 Hi Yvan, My understanding of the 'Free for all' section of http://gcc.gnu.org/svnwrite.html#policies is that since this is a backport from an upstream project you do not need to seek further approval to commit this change. Cheers /Marcus On 2 April 2013 11:50, Yvan Roux wrote: > Ping (second try) > > Sorry if you received it twice, it seems that my gmail account > switched in text/html mode :( > > Many thanks, > Yvan > > On 2 April 2013 11:21, Yvan Roux wrote: >> >> Ping >> >> >> On 17 March 2013 21:34, Yvan Roux wrote: >>> >>> Hi, >>> >>> this is a backport from gc mainline of the basic AArch64 support (it >>> covers the Linux and bare machine mode). I tested it on the Foundation >>> model with enabling the objc frontend, and passing the testsuite >>> manually (maybe I miss-configured it, but it seems that the boehm-gc >>> testsuite is not cross-environment friendly, as the gctest script >>> looks for the host gcc build tree), and everything is fine, except the >>> thread_leak_test which has a different output than the x86 one: >>> >>> x86 thread_leak_test output >>> >>> Leaked composite object at 0x2aaaaab05fe0 >>> >>> (/work/sources/gcc-fsf/bgc/boehm-gc/testsuite/boehm-gc.c/thread_leak_test.c:21, >>> sz=4, NORMAL) >>> >>> Leaked composite object at start: 0x2aaaaab03fa0, appr. length: 40 >>> Leaked composite object at 0x2aaaaab05ec0 >>> >>> (/work/sources/gcc-fsf/bgc/boehm-gc/testsuite/boehm-gc.c/thread_leak_test.c:21, >>> sz=4, NORMAL) >>> >>> Leaked composite object at 0x2aaaaab05f20 >>> >>> (/work/sources/gcc-fsf/bgc/boehm-gc/testsuite/boehm-gc.c/thread_leak_test.c:21, >>> sz=4, NORMAL) >>> >>> Leaked composite object at start: 0x2aaaaab03f50, appr. length: 40 >>> Leaked composite object at start: 0x2aaaaab03f78, appr. length: 40 >>> Leaked composite object at 0x2aaaaab05ef0 >>> >>> (/work/sources/gcc-fsf/bgc/boehm-gc/testsuite/boehm-gc.c/thread_leak_test.c:21, >>> sz=4, NORMAL) >>> >>> Leaked composite object at start: 0x2aaaaab03fa0, appr. length: 40 >>> Leaked composite object at 0x2aaaaab05e00 >>> >>> (/work/sources/gcc-fsf/bgc/boehm-gc/testsuite/boehm-gc.c/thread_leak_test.c:21, >>> sz=4, NORMAL) >>> >>> Leaked composite object at start: 0x2aaaaab03f78, appr. length: 40 >>> >>> AArch64 thread_leak_test output: >>> >>> Leaked composite object at 0x7f91e14ef0 >>> >>> (/work/sources/gcc-fsf/bgc/boehm-gc/testsuite/boehm-gc.c/thread_leak_test.c:21, >>> sz=4, NORMAL) >>> >>> Leaked composite object at 0x7f91e14fe0 >>> >>> (/work/sources/gcc-fsf/bgc/boehm-gc/testsuite/boehm-gc.c/thread_leak_test.c:21, >>> sz=4, NORMAL) >>> >>> Leaked composite object at 0x7f91e14e00 >>> >>> (/work/sources/gcc-fsf/bgc/boehm-gc/testsuite/boehm-gc.c/thread_leak_test.c:21, >>> sz=4, NORMAL) >>> >>> Leaked composite object at 0x7f91e14e30 >>> >>> (/work/sources/gcc-fsf/bgc/boehm-gc/testsuite/boehm-gc.c/thread_leak_test.c:21, >>> sz=4, NORMAL) >>> >>> Leaked composite object at 0x7f91e14fe0 >>> >>> (/work/sources/gcc-fsf/bgc/boehm-gc/testsuite/boehm-gc.c/thread_leak_test.c:21, >>> sz=4, NORMAL) >>> >>> >>> Regards, >>> Yvan >>> >>> 2013-03-16 Yvan Roux >>> >>> * include/private/gcconfig.h (AARCH64): New macro (defined >>> only if >>> __aarch64__). >>> * include/private/gcconfig.h (mach_type_known): Update comment >>> adding >>> ARM AArch64 target. >>> * include/private/gcconfig.h (NOSYS, mach_type_known, >>> CPP_WORDSZ, >>> MACH_TYPE, ALIGNMENT, HBLKSIZE, OS_TYPE, LINUX_STACKBOTTOM, >>> USE_GENERIC_PUSH_REGS, DYNAMIC_LOADING, DATASTART, DATAEND, >>> STACKBOTTOM): Define for AArch64. >> >>