This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH][AArch64][tests]Skip graphite tests that don't fit -mcmodel=tiny


On Jul 22, 2014, at 12:14 PM, Mike Stump <mikestump@comcast.net> wrote:
> On Jul 22, 2014, at 4:01 AM, Kyrill Tkachov <kyrylo.tkachov@arm.com> wrote:
>> These tests use very large arrays as part of their loop interchange testing so they don't fit into the 1MiB binary size limit imposed by -mcmodel=tiny. This causes errors at link-time.
> 
>> Ok to commit?
> 
> So the test suite should be used to figure this out as marking the individual test cases is a never ending and ever changing.  I can a big test case on my system, and found:
> 
> 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
> 
> 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’ve not kept up.  Please try the patch below and tell me if it works for you.  If it doesn’t, what messages do you see and what tool are they from?  Vendor, program and version would be nice to know. 
> 
> If it works, feel free to check it in.  If you want to replicate the 4 lines and add a case for the vendor’s tool, that’d be a better way to handle it.  The below should handle a variety of GNU ld situations (but not all of them).

So, were you able to test the patch I sent?


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]