From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8424 invoked by alias); 30 Jul 2014 21:35:56 -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 8360 invoked by uid 89); 30 Jul 2014 21:35:56 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.6 required=5.0 tests=BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,RP_MATCHES_RCVD,SPF_PASS autolearn=ham version=3.3.2 X-HELO: qmta06.emeryville.ca.mail.comcast.net Received: from qmta06.emeryville.ca.mail.comcast.net (HELO qmta06.emeryville.ca.mail.comcast.net) (76.96.30.56) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Wed, 30 Jul 2014 21:35:54 +0000 Received: from omta14.emeryville.ca.mail.comcast.net ([76.96.30.60]) by qmta06.emeryville.ca.mail.comcast.net with comcast id YkR91o0061HpZEsA6lbt9T; Wed, 30 Jul 2014 21:35:53 +0000 Received: from [IPv6:2001:558:6045:a4:40c6:7199:cd03:b02d] ([IPv6:2001:558:6045:a4:40c6:7199:cd03:b02d]) by omta14.emeryville.ca.mail.comcast.net with comcast id Ylbs1o00D2ztT3H8albsd0; Wed, 30 Jul 2014 21:35:53 +0000 Content-Type: text/plain; charset=windows-1252 Mime-Version: 1.0 (Mac OS X Mail 7.3 \(1878.6\)) Subject: Re: [PATCH][AArch64][tests]Skip graphite tests that don't fit -mcmodel=tiny From: Mike Stump In-Reply-To: <558B280E-4993-4FC6-9A57-A12ECB4A9B10@comcast.net> Date: Wed, 30 Jul 2014 21:40:00 -0000 Cc: GCC Patches , Marcus Shawcroft Content-Transfer-Encoding: quoted-printable Message-Id: <77E8A918-CCEF-4F2F-9E17-8866991575BE@comcast.net> References: <53CE448E.4060109@arm.com> <558B280E-4993-4FC6-9A57-A12ECB4A9B10@comcast.net> To: Kyrill Tkachov X-IsSubscribed: yes X-SW-Source: 2014-07/txt/msg02127.txt.bz2 On Jul 22, 2014, at 12:14 PM, Mike Stump wrote: > On Jul 22, 2014, at 4:01 AM, Kyrill Tkachov wrot= e: >> These tests use very large arrays as part of their loop interchange test= ing so they don't fit into the 1MiB binary size limit imposed by -mcmodel= =3Dtiny. This causes errors at link-time. >=20 >> Ok to commit? >=20 > So the test suite should be used to figure this out as marking the indivi= dual test cases is a never ending and ever changing. I can a big test case= on my system, and found: >=20 > ld: address 0xc401ad0 of a.out section `.data' is not within region `SRAM' > ld: a.out section `.ctors' will not fit in region `SRAM' > ld: address 0xc401ad0 of a.out section `.data' is not within region `SRAM' > ld: region `SRAM' overflowed by 155196160 bytes >=20 > for large test cases. After looking at the current gld sources, it seems= that they merely changed the spelling of the error message and we=92ve not= kept up. Please try the patch below and tell me if it works for you. If = it doesn=92t, what messages do you see and what tool are they from? Vendor= , program and version would be nice to know.=20 >=20 > If it works, feel free to check it in. If you want to replicate the 4 li= nes and add a case for the vendor=92s tool, that=92d be a better way to han= dle it. The below should handle a variety of GNU ld situations (but not al= l of them). So, were you able to test the patch I sent?