preparing to 4.5.19 release

Frederik Schüler fs at debian.org
Mon Oct 12 14:04:42 UTC 2009


Hi!

The addressed issue is fixed now, thanks!

But we got another issue open:

gcc -m64 -DHAVE_CONFIG_H -I. -I.. -Ilinux/sparc64 -I../linux/sparc64 -Ilinux -
I../linux   -Wall -g -O2 -MT util.o -MD -MP -MF .deps/util.Tpo -c -o util.o 
../util.c
../util.c: In function ‘printcall’:
../util.c:1254: error: ‘struct pt_regs’ has no member named ‘pc’
make[2]: *** [util.o] Error 1
make[2]: Leaving directory `/home/fs/strace-4.5.19/build64'
make[1]: *** [all] Error 2

Best regards
Frederik Schüler

On Friday 09 October 2009 22:48:55 Mike Frysinger wrote:
> On Friday 09 October 2009 07:42:19 Frederik Schüler wrote:
> > thanks fot the patch, with a small fix, the 32bit strace binary on sparc
> >  builds now:
> > 
> > diff --git a/util.c b/util.c
> > index c96eb0a..ddb7195 100644
> > --- a/util.c
> > +++ b/util.c
> > @@ -83,7 +83,9 @@
> >  # define fpq kernel_fpq
> >  # define fq kernel_fq
> >  # define fpu kernel_fpu
> > +# ifdef HAS_ASM_REG_H
> >  # include <asm/reg.h>
> > +# endif
> >  # undef fpq
> >  # undef fq
> >  # undef fpu
> 
> this section of code should simply be deleted as we no longer want to pull 
in 
> the asm/reg.h header
> 
> > but the 64bit binary fails:
> > 
> > gcc -m64 -DHAVE_CONFIG_H -I. -I.. -Ilinux/sparc64 -I../linux/sparc64
> >  -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:1177: error: ‘struct pt_regs’ has no member named ‘pc’
> > make[2]: *** [syscall.o] Error 1
> > make[2]: Leaving directory `/home/fs/strace-4.5.19/build64'
> > make[1]: *** [all] Error 2
> > make[1]: Leaving directory `/home/fs/strace-4.5.19/build64'
> > make: *** [stamp-build64] Error 2
> 
> that's easy to fix
> 
> of course, now that ive done all this, perhaps the obvious fix was to delete 
> the asm/reg.h include and then copy the 'struct regs' into the local defs.h 
> for sparc linux systems ...
> -mike
> 

-- 
ENOSIG
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.strace.io/pipermail/strace-devel/attachments/20091012/a36a28ca/attachment.bin>


More information about the Strace-devel mailing list