[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: stackovf.test fails on Solaris 11/sparc64
From: |
Paul Eggert |
Subject: |
Re: stackovf.test fails on Solaris 11/sparc64 |
Date: |
Sat, 15 May 2021 01:28:04 -0500 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.8.1 |
On 5/14/21 5:07 PM, Bruno Haible wrote:
I won't spend any more time on fixing this Solaris-only code — when we
have code that works on all platforms in GNU libsigsegv.
At first I fixed this by having c-stack simply defer to libsigsegv if
installed, but I found that this didn't work on gcc211 in the GCC
compile farm, because its version of Solaris 11 has libsigsegv 2.12 and
this older libsigsegv has a similar bug that also causes that test to
fail. So I installed the attached patch instead; please give it a try.
With this patch, I expect Gnulib test-c-stack2.sh to fail on Solaris 11
sparc with older libsigsegv installed, because it'll report "cannot tell
stack overflow from crash, in spite of libsigsegv". I expect that's good
enough, as the failure report is accurate for that platform and people
can avoid the failure by updating to current libsigsegv.
I hear what you're saying about Solaris SPARC not being worth a lot of
our time nowadays. Still, Oracle says it'll support it through 2034(!)
though you will need a SPARC T4 or SPARC64 X or better, and I suppose we
should continue to keep Solaris SPARC working if it's easy.
0001-c-stack-work-around-Solaris-11-bugs.patch
Description: Text Data