From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 18473 invoked by alias); 11 Apr 2013 11:20:32 -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 18463 invoked by uid 89); 11 Apr 2013 11:20:31 -0000 X-Spam-SWARE-Status: No, score=-2.3 required=5.0 tests=AWL,BAYES_00,KHOP_RCVD_UNTRUST,KHOP_THREADED,RCVD_IN_DNSWL_LOW,RCVD_IN_HOSTKARMA_YE,TW_BJ,TW_SV autolearn=ham version=3.3.1 Received: from mail-qa0-f46.google.com (HELO mail-qa0-f46.google.com) (209.85.216.46) by sourceware.org (qpsmtpd/0.84/v0.84-167-ge50287c) with ESMTP; Thu, 11 Apr 2013 11:20:30 +0000 Received: by mail-qa0-f46.google.com with SMTP id j8so205128qah.19 for ; Thu, 11 Apr 2013 04:20:28 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:cc:content-type:x-gm-message-state; bh=DdztOYnqwaPWW2hvJ2souRBkKOLUe+WC9QroYDvHwkU=; b=eBMiArFzw0fDwicfkY/dAQIDhceW5pgHWh7hbd+iLRINRndtmPxYWxJVK9FandMOC+ /Vok0zS/FEcnlgM9OH7MDe85ThPcpC3pIyqXX5eH/B8U/XXTE0BxOa4UXQGl7qkzCsyn G7np1DlWYEvqr52k5f0cYzUZL9YG8ic4LQJ5/BR0GiVcBui9L3+He1EQr9hQjXr50KtX BNqKRpm8gp3Fd0Xx9Gd/XxoQlK7C2Ir2GsoeVBv6RNZSW2kc34xzTOTZwSF+JUvi4ALh Z1KZf8wezlwTAVIuIK5di7eOtQr4lIbS9zxXtARWIv9kPTD4/gu8Hp3oEmc46L1Jr3aN SxGg== MIME-Version: 1.0 X-Received: by 10.229.151.134 with SMTP id c6mr2205744qcw.58.1365679228846; Thu, 11 Apr 2013 04:20:28 -0700 (PDT) Received: by 10.49.131.133 with HTTP; Thu, 11 Apr 2013 04:20:28 -0700 (PDT) In-Reply-To: References: Date: Thu, 11 Apr 2013 12:33:00 -0000 Message-ID: Subject: Re: [PATCH, boehm-gc, AArch64] Add AArch64 support From: Yvan Roux To: Marcus Shawcroft Cc: "gcc-patches@gcc.gnu.org" , Patch Tracking Content-Type: text/plain; charset=ISO-8859-1 X-Gm-Message-State: ALoCoQlWyKHffEPhtsyUD0/NyNhfpQB7IMkYNqymA0xVylGrrFlRtFPeFfCB5rmFX4aSpT46veMu X-SW-Source: 2013-04/txt/msg00689.txt.bz2 Hi Marcus, thanks for pointing this, but unfortunately I don't have the svn write access for the moment, thus if somebody can commit it for me, i would be very thankful. Cheers, Yvan On 11 April 2013 13:02, Marcus Shawcroft wrote: > 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. >>> >>>