Re: Resurrecting Debian on SPARC

2015-11-19 Thread John Paul Adrian Glaubitz
Hi David! On 11/18/2015 01:53 AM, David Matthew Mattli wrote: > I'm a programmer and I've been looking for a way to become more involved > with Debian, if you'd be interested in my help. Great! > This past summer I spent some time investigating failed Debian/sparc > builds. The main issues I

Re: Resurrecting Debian on SPARC

2015-11-19 Thread Romain Dolbeau
2015-11-19 16:05 GMT+01:00 John Paul Adrian Glaubitz < glaub...@physik.fu-berlin.de>: > > https://buildd.debian.org/status/fetch.php?pkg=libsigsegv=sparc64=2.10-4=1447500379 > If you have any idea on how to fix this issue, I would be more than > happy to integrate your patch :). Armchair

Re: Resurrecting Debian on SPARC

2015-11-19 Thread John Paul Adrian Glaubitz
On 11/19/2015 04:19 PM, Romain Dolbeau wrote: > Armchair quarterbacking here, but from my old copy of linux 3.16, the > registers from the windows are named mc_gregs not gregs. The definition > of "ucontext_t" is in > "linux-source-3.16/arch/sparc/include/uapi/asm/uctx.h". It's also not > REG_O6

Re: Resurrecting Debian on SPARC

2015-11-19 Thread Romain Dolbeau
2015-11-19 16:21 GMT+01:00 John Paul Adrian Glaubitz < glaub...@physik.fu-berlin.de>: > > > So perhaps: > > #define SIGSEGV_FAULT_STACKPOINTER ((ucontext_t *) > > ucp)->uc_mcontext.mc_gregs[MC_O6] > > I'll give that a shot. > It seems the glibc-2.21 header

Re: Resurrecting Debian on SPARC

2015-11-19 Thread John Paul Adrian Glaubitz
On 11/19/2015 04:29 PM, Romain Dolbeau wrote: > It seems the glibc-2.21 header > (sysdeps/unix/sysv/linux/sparc/sys/ucontext.h) defines REG_O6 as well, > so that bit of the fix might not be necessary. It does use mc_gregs like > 3.16. That's the only fix I applied and it fixed the FTBFS. What's

Re: Resurrecting Debian on SPARC

2015-11-19 Thread Romain Dolbeau
2015-11-19 16:35 GMT+01:00 John Paul Adrian Glaubitz < glaub...@physik.fu-berlin.de>: > > What's the proper fix then? Preferably one that works on sparc (v8+) > as well. Just the 'mc_' :-) At least if it works with REG_O6, which I suspect it should since userland should load the glibc header

Re: Resurrecting Debian on SPARC

2015-11-19 Thread John Paul Adrian Glaubitz
On 11/19/2015 04:21 PM, John Paul Adrian Glaubitz wrote: >> So perhaps: >> #define SIGSEGV_FAULT_STACKPOINTER ((ucontext_t *) >> ucp)->uc_mcontext.mc_gregs[MC_O6] > > I'll give that a shot. FIXED! Will upload the fixed package to "unreleased" right away. Does this have to be changed for sparc

Bug#805570: libsigsegv: FTBFS on sparc64 due to outdated definition of SIGSEGV_FAULT_STACKPOINTER

2015-11-19 Thread John Paul Adrian Glaubitz
Source: libsigsegv Version: 2.10-4 Severity: important Tags: patch Hello! libsigsegv currently fails to build from source on sparc64: make[3]: Entering directory '/«PKGBUILDDIR»/src' /bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I. -I. -D_FORTIFY_SOURCE=2 -g