RFH: strace FTBFS
Hello, currently, the 32bit binary build of strace fails on sparc (the 64bit one succeeds): https://buildd.debian.org/fetch.cgi?amp;pkg=straceamp;ver=4.5.20-2amp;arch=sparcamp;stamp=1273064636amp;file=log gcc -DHAVE_CONFIG_H -I. -I.. -I../linux/sparc -I../linux -Wall -Wall -g -O2 -MT file.o -MD -MP -MF .deps/file.Tpo -c -o file.o ../file.c In file included from ../file.c:88: /usr/include/asm/stat.h:56: error: expected specifier-qualifier-list before 'uid16_t' ../file.c: In function 'realprintstat': ../file.c:943: warning: format '%lu' expects type 'long unsigned int', but argument 2 has type 'unsigned int' make[2]: *** [file.o] Error 1 make[1]: *** [all] Error 2 make[2]: Leaving directory `/build/buildd-strace_4.5.20-2- sparc-1lSZrO/strace-4.5.20/build' make[1]: Leaving directory `/build/buildd-strace_4.5.20-2- sparc-1lSZrO/strace-4.5.20/build' make: *** [build-stamp] Error 2 I already forwarded this issue to upstream. Maybe somebody can help me getting this fixed? Best regards Frederik Schüler PS: Please CC me, I am not subscribed. -- ENOSIG signature.asc Description: This is a digitally signed message part.
Re: RFH: strace FTBFS
I'm was unable to simply build strace ... $ uname -a Linux squat 2.6.26-2-sparc64-smp #1 SMP Sun Jun 21 05:58:06 UTC 2009 sparc64 GNU/Linux $ dpkg -l | grep linux-ima ii linux-image-2.6-sparc64-smp 2.6.26+17+lenny1 Linux 2.6 image on multiprocessor 64-bit Ult ii linux-image-2.6.26-2-sparc64-smp 2.6.26-21lenny4 Linux 2.6.26 image on multiprocessor 64-bit 14:31:33 ma...@squat:~/code/strace-4.5.20$ ./configure make ... make all-am make[1]: Entering directory `/home/mator/code/strace-4.5.20' gcc -DHAVE_CONFIG_H -I. -I./linux/sparc64 -I./linux -Wall -g -O2 -MT strace.o -MD -MP -MF .deps/strace.Tpo -c -o strace.o strace.c In file included from defs.h:226, from strace.c:33: /usr/include/asm/psrcompat.h:7:4: error: #error asm-sparc/psrcompat.h does not exist in the sparc architecture make[1]: *** [strace.o] Error 1 make[1]: Leaving directory `/home/mator/code/strace-4.5.20' make: *** [all] Error 2 On 05.05.2010 / 15:31:37 +0200, Frederik Schüler wrote: Hello, currently, the 32bit binary build of strace fails on sparc (the 64bit one succeeds): https://buildd.debian.org/fetch.cgi?amp;pkg=straceamp;ver=4.5.20-2amp;arch=sparcamp;stamp=1273064636amp;file=log gcc -DHAVE_CONFIG_H -I. -I.. -I../linux/sparc -I../linux -Wall -Wall -g -O2 -MT file.o -MD -MP -MF .deps/file.Tpo -c -o file.o ../file.c In file included from ../file.c:88: /usr/include/asm/stat.h:56: error: expected specifier-qualifier-list before 'uid16_t' ../file.c: In function 'realprintstat': ../file.c:943: warning: format '%lu' expects type 'long unsigned int', but argument 2 has type 'unsigned int' make[2]: *** [file.o] Error 1 make[1]: *** [all] Error 2 make[2]: Leaving directory `/build/buildd-strace_4.5.20-2- sparc-1lSZrO/strace-4.5.20/build' make[1]: Leaving directory `/build/buildd-strace_4.5.20-2- sparc-1lSZrO/strace-4.5.20/build' make: *** [build-stamp] Error 2 I already forwarded this issue to upstream. Maybe somebody can help me getting this fixed? Best regards Frederik Schüler PS: Please CC me, I am not subscribed. -- ENOSIG -- To UNSUBSCRIBE, email to debian-sparc-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/20100505150236.gc22...@puga.deis.gldn.net
Re: RFH: strace FTBFS
On Wed, May 5, 2010 at 15:31:37 +0200, Frederik Schüler wrote: Hello, currently, the 32bit binary build of strace fails on sparc (the 64bit one succeeds): https://buildd.debian.org/fetch.cgi?amp;pkg=straceamp;ver=4.5.20-2amp;arch=sparcamp;stamp=1273064636amp;file=log gcc -DHAVE_CONFIG_H -I. -I.. -I../linux/sparc -I../linux -Wall -Wall -g -O2 -MT file.o -MD -MP -MF .deps/file.Tpo -c -o file.o ../file.c In file included from ../file.c:88: /usr/include/asm/stat.h:56: error: expected specifier-qualifier-list before 'uid16_t' Looks like a kernel bug, as uid16_t is not available in userspace. Should be fixed by: commit 7469a9acf919d36836f6c635099d8edc9be4528a Author: Rob Landley r...@landley.net Date: Sat Mar 27 08:36:18 2010 -0700 sparc: Fix use of uid16_t and gid16_t in asm/stat.h Signed-off-by: Rob Landley r...@landley.net Signed-off-by: David S. Miller da...@davemloft.net Cheers, Julien signature.asc Description: Digital signature
Re: RFH: strace FTBFS
Hi, great, thanks. Will add it to linux-2.6 in sid, and do some test-builds... Best regards Frederik Schüler On Wednesday 05 May 2010 17:31:45 Julien Cristau wrote: Looks like a kernel bug, as uid16_t is not available in userspace. Should be fixed by: commit 7469a9acf919d36836f6c635099d8edc9be4528a Author: Rob Landley r...@landley.net Date: Sat Mar 27 08:36:18 2010 -0700 sparc: Fix use of uid16_t and gid16_t in asm/stat.h Signed-off-by: Rob Landley r...@landley.net Signed-off-by: David S. Miller da...@davemloft.net Cheers, Julien -- ENOSIG signature.asc Description: This is a digitally signed message part.