Re: [PATCH RESEND 0/2] RISC-V: Handle the siginfo_t offset problem

2019-07-16 Thread Alistair Francis
On Thu, Jul 4, 2019 at 2:19 AM Arnd Bergmann wrote: > > On Thu, Jul 4, 2019 at 9:20 AM Andreas Schwab wrote: > > > > On Jul 03 2019, Alistair Francis wrote: > > > > > On Wed, Jul 3, 2019 at 12:08 AM Andreas Schwab wrote: > > >> > > >> On Jul 02 2019, Alistair Francis wrote: > > >> > > >> > In

Re: [PATCH RESEND 0/2] RISC-V: Handle the siginfo_t offset problem

2019-07-04 Thread Arnd Bergmann
On Thu, Jul 4, 2019 at 9:20 AM Andreas Schwab wrote: > > On Jul 03 2019, Alistair Francis wrote: > > > On Wed, Jul 3, 2019 at 12:08 AM Andreas Schwab wrote: > >> > >> On Jul 02 2019, Alistair Francis wrote: > >> > >> > In the RISC-V 32-bit glibc port [1] the siginfo_t struct in the kernel > >>

Re: [PATCH RESEND 0/2] RISC-V: Handle the siginfo_t offset problem

2019-07-04 Thread Andreas Schwab
On Jul 03 2019, Alistair Francis wrote: > On Wed, Jul 3, 2019 at 12:08 AM Andreas Schwab wrote: >> >> On Jul 02 2019, Alistair Francis wrote: >> >> > In the RISC-V 32-bit glibc port [1] the siginfo_t struct in the kernel >> > doesn't line up with the struct in glibc. In glibc world the

Re: [PATCH RESEND 0/2] RISC-V: Handle the siginfo_t offset problem

2019-07-03 Thread Alistair Francis
On Wed, Jul 3, 2019 at 12:08 AM Andreas Schwab wrote: > > On Jul 02 2019, Alistair Francis wrote: > > > In the RISC-V 32-bit glibc port [1] the siginfo_t struct in the kernel > > doesn't line up with the struct in glibc. In glibc world the _sifields > > union is 8 byte alligned (although I can't

Re: [PATCH RESEND 0/2] RISC-V: Handle the siginfo_t offset problem

2019-07-03 Thread Andreas Schwab
On Jul 02 2019, Alistair Francis wrote: > In the RISC-V 32-bit glibc port [1] the siginfo_t struct in the kernel > doesn't line up with the struct in glibc. In glibc world the _sifields > union is 8 byte alligned (although I can't figure out why) Try ptype/o in gdb. Andreas. -- Andreas

[PATCH RESEND 0/2] RISC-V: Handle the siginfo_t offset problem

2019-07-02 Thread Alistair Francis
Resending the the correct linux-riscv address. In the RISC-V 32-bit glibc port [1] the siginfo_t struct in the kernel doesn't line up with the struct in glibc. In glibc world the _sifields union is 8 byte alligned (although I can't figure out why) while in the kernel wordl the _sifields union is