preparing to 4.5.19 release

Dmitry V. Levin ldv at altlinux.org
Thu Oct 8 23:14:13 UTC 2009


On Wed, Oct 07, 2009 at 03:00:50PM +0200, Frederik Schüler wrote:
[...]
> and on sparc:
> 
> gcc -DHAVE_CONFIG_H -I. -I.. -Ilinux/sparc -I../linux/sparc -Ilinux -I../linux   
> -Wall -g -O2 -MT syscall.o -MD -MP -MF .deps/syscall.Tpo -c -o syscall.o 
> ../syscall.c
[...]
> ../syscall.c: In function ‘get_scno’:
> ../syscall.c:1192: error: invalid use of undefined type ‘struct regs’
[a lot of complains about "struct regs"]

On sparc, it is defined as "static struct regs regs;"
Nothing has changed in this area since v4.5.18.

On Wed, Oct 07, 2009 at 03:51:57PM -0400, Mike Frysinger wrote:
[...]
> > In file included from ../syscall.c:129:
> > ../linux/sparc/syscallent.h:250: error: ‘sys_nanosleep’ undeclared here
> >  (not in a function)
> 
> looks like linux/sparc/syscall.h needs updating to match linux/syscall.h.  
> sparc seems odd as it's the only one to provide its own syscall.h.  someone 
> should really look at merging sparc with the common one.
> 
> at any rate, once that's fixed, things build & seem to run fine for me.

Just to make things clear: does the "struct regs" problem still persists
on sparc?


-- 
ldv
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
URL: <http://lists.strace.io/pipermail/strace-devel/attachments/20091009/31f6ddd1/attachment.bin>


More information about the Strace-devel mailing list