[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: c-stack test fails on SPARC
From: |
Sam James |
Subject: |
Re: c-stack test fails on SPARC |
Date: |
Wed, 3 Feb 2021 03:45:45 +0000 |
Hi,
> On 3 Feb 2021, at 03:23, Bruno Haible <bruno@clisp.org> wrote:
>
> Hi,
>
Hey, thanks for the quick reply.
> What's the result of
> grep LIBCSTACK config.status
> ? I.e. is GNU libsigsegv in use? And if yes, which version?
# grep LIBCSTACK config.status
S["LTLIBCSTACK"]=""
S["LIBCSTACK"]=""
So no, I think.
I then installed GNU libsigsegv 2.12, reran configure, and `make`, then `make
check` passed!
Manually:
# ./test-c-stack
test-c-stack: stack overflow
> Also, it would be helpful to know
> - the version of Linux (from 'uname srm'),
> - the libc version,
> - whether the 'test-c-stack' is a 32-bit or 64-bit executable.
>
# uname -srm
Linux 5.9.6-gentoo sparc
I’ll see about getting a newer kernel.
I’m using glibc (glibc-2.32-r6) which is 2.32 with some backports applied [0].
# file test-c-stack
test-c-stack: ELF 64-bit MSB pie executable, SPARC V9, relaxed memory ordering,
version 1 (SYSV), dynamically linked, interpreter /lib64/ld-linux.so.2, for
GNU/Linux 3.2.0, with debug_info, not stripped
[0] https://gitweb.gentoo.org/fork/glibc.git/log/?h=gentoo/2.32
> Bruno
>
signature.asc
Description: Message signed with OpenPGP