Expected failures of LTP-20030404


Arch : ia32
Kernel : 2.4.21-pre6
Distro : SuSE 8.0

flock03
nanosleep02
pthread_attr_destroy01
pthread_detach01
pthread_mutexattr_destroy01
pthread_mutexattr_init01

Compiler warnings:
growfiles.o: In function `main':
growfiles.o(.text+0x1961): the use of `tempnam' is dangerous, better use `mkstemp'
/tmp/cczSibhg.o: In function `mkfile':
/tmp/ltp-full-20030404/testcases/kernel/mem/mtest06/mmap1.c:268: the use of `tempnam' is dangerous, better use `mkstemp'
/tmp/ccQo66S9.o: In function `mkfile':
/tmp/ltp-full-20030404/testcases/kernel/mem/mtest06/mmap2.c:103: the use of `tempnam' is dangerous, better use `mkstemp'
/tmp/ccs9bkt6.o: In function `mkfile':
/tmp/ltp-full-20030404/testcases/kernel/mem/mtest06/mmap3.c:106: the use of `tempnam' is dangerous, better use `mkstemp'
/tmp/ccuREmW9.o: In function `setup':
/tmp/ltp-full-20030404/testcases/kernel/syscalls/fcntl/fcntl06.c:155: the use of `tempnam' is dangerous, better use `mkstemp'
/tmp/ccEsbp3Q.o: In function `setup':
/tmp/ltp-full-20030404/testcases/kernel/syscalls/fcntl/fcntl11.c:121: the use of `tempnam' is dangerous, better use `mkstemp'
/tmp/ccaDA3nA.o: In function `setup':
/tmp/ltp-full-20030404/testcases/kernel/syscalls/fcntl/fcntl17.c:124: the use of `tempnam' is dangerous, better use `mkstemp'
/tmp/ccQY1CF4.o: In function `setup':
/tmp/ltp-full-20030404/testcases/kernel/syscalls/fcntl/fcntl19.c:104: the use of `tempnam' is dangerous, better use `mkstemp'
/tmp/ccGXAsHC.o: In function `setup':
/tmp/ltp-full-20030404/testcases/kernel/syscalls/fcntl/fcntl20.c:101: the use of `tempnam' is dangerous, better use `mkstemp'
/tmp/cckBXAxv.o: In function `setup':
/tmp/ltp-full-20030404/testcases/kernel/syscalls/fcntl/fcntl21.c:100: the use of `tempnam' is dangerous, better use `mkstemp'
/tmp/cckWNTkM.o: In function `setup':
/tmp/ltp-full-20030404/testcases/kernel/syscalls/sendmsg/sendmsg01.c:328: the use of `mktemp' is dangerous, better use `mkstemp'

Arch : ia32
Kernel : 2.5.66
Distro : SuSE 8.0

nanosleep02
pread02
pwrite03
dio04
dio10
pthread_attr_destroy01
pthread_detach01
pthread_mutexattr_destroy01
pthread_mutexattr_init01

Compiler warnings:
growfiles.o: In function `main':
growfiles.o(.text+0x1b60): the use of `tempnam' is dangerous, better use `mkstemp'
/tmp/cc4TxB1w.o: In function `mkfile':
/tmp/ltp-full-20030404/testcases/kernel/mem/mtest06/mmap1.c:268: the use of `tempnam' is dangerous, better use `mkstemp'
/tmp/ccgTSDPA.o: In function `mkfile':
/tmp/ltp-full-20030404/testcases/kernel/mem/mtest06/mmap2.c:103: the use of `tempnam' is dangerous, better use `mkstemp'
/tmp/ccfvFXXr.o: In function `mkfile':
/tmp/ltp-full-20030404/testcases/kernel/mem/mtest06/mmap3.c:106: the use of `tempnam' is dangerous, better use `mkstemp'
/tmp/ccdeaTky.o: In function `setup':
/tmp/ltp-full-20030404/testcases/kernel/syscalls/fcntl/fcntl06.c:155: the use of `tempnam' is dangerous, better use `mkstemp'
/tmp/ccAURACZ.o: In function `setup':
/tmp/ltp-full-20030404/testcases/kernel/syscalls/fcntl/fcntl11.c:121: the use of `tempnam' is dangerous, better use `mkstemp'
/tmp/ccJbueS0.o: In function `setup':
/tmp/ltp-full-20030404/testcases/kernel/syscalls/fcntl/fcntl17.c:124: the use of `tempnam' is dangerous, better use `mkstemp'
/tmp/ccUAnUgj.o: In function `setup':
/tmp/ltp-full-20030404/testcases/kernel/syscalls/fcntl/fcntl19.c:104: the use of `tempnam' is dangerous, better use `mkstemp'
/tmp/ccgOT7SR.o: In function `setup':
/tmp/ltp-full-20030404/testcases/kernel/syscalls/fcntl/fcntl20.c:101: the use of `tempnam' is dangerous, better use `mkstemp'
/tmp/ccCw9UeI.o: In function `setup':
/tmp/ltp-full-20030404/testcases/kernel/syscalls/fcntl/fcntl21.c:100: the use of `tempnam' is dangerous, better use `mkstemp'
/tmp/cct6Gxdh.o: In function `setup':
/tmp/ltp-full-20030404/testcases/kernel/syscalls/sendmsg/sendmsg01.c:328: the use of `mktemp' is dangerous, better use `mkstemp'

Arch : s390
Kernel : 2.4.19
Distro : SuSE SLES 8

clone() tests - Will not build
recvfrom01
recvmsg01
syslog12 - Hangs
dio04
dio10
mem01
pthread_attr_destroy01
pthread_detach01
pthread_mutexattr_destroy01
pthread_mutexattr_init01
fptest03

Compiler errors/warnings:
Errors:
cc -I../../../../include -g -Wall    clone0*.c -L../../../../lib -lltp  -o clone0*
/tmp/ccKqlo3N.o: In function `main':
/tmp/ccKqlo3N.o(.text+0x38): undefined reference to `clone'
collect2: ld returned 1 exit status
make: *** [clone0*] Error 1

Warnings:
growfiles.o: In function `main':
growfiles.o(.text+0x260): the use of `tempnam' is dangerous, better use `mkstemp'
/tmp/ccx2J7FM.o: In function `mkfile':
/tmp/ccx2J7FM.o(.text+0x110): the use of `tempnam' is dangerous, better use `mkstemp'
/tmp/ccmrNQ96.o: In function `mkfile':
/tmp/ccmrNQ96.o(.text+0x14): the use of `tempnam' is dangerous, better use `mkstemp'
/tmp/ccrYdnMA.o: In function `mkfile':
/tmp/ccrYdnMA.o(.text+0x14): the use of `tempnam' is dangerous, better use `mkstemp'
/tmp/ccc2GC6f.o: In function `parent':
/tmp/ccc2GC6f.o(.text+0x10): warning: getmsg is not implemented and will always fail
/tmp/ccqQ192a.o: In function `setup':
/tmp/ccqQ192a.o(.text+0x144): the use of `tempnam' is dangerous, better use `mkstemp'
/tmp/ccxDvGGl.o: In function `setup':
/tmp/ccxDvGGl.o(.text+0x170): the use of `tempnam' is dangerous, better use `mkstemp'
/tmp/ccqTnsry.o: In function `setup':
/tmp/ccqTnsry.o(.text+0x54): the use of `tempnam' is dangerous, better use `mkstemp'
/tmp/cc9D16sx.o: In function `setup':
/tmp/cc9D16sx.o(.text+0x34): the use of `tempnam' is dangerous, better use `mkstemp'
/tmp/ccASSWRz.o: In function `setup':
/tmp/ccASSWRz.o(.text+0x34): the use of `tempnam' is dangerous, better use `mkstemp'
/tmp/ccoYLmOG.o: In function `setup':
/tmp/ccoYLmOG.o(.text+0x34): the use of `tempnam' is dangerous, better use `mkstemp'
/tmp/ccTaZbN1.o: In function `setup':
/tmp/ccTaZbN1.o(.text+0xac4): the use of `mktemp' is dangerous, better use `mkstemp'

Arch : s390x
Kernel : 2.4.19
Distro : SuSE SLES 8

clone() tests - Will not build
fcntl15
getgroups03
nanosleep02
personality01
recvfrom01
recvmsg01
syslog12 - Hangs
dio04
dio10
pthread_attr_destroy01
pthread_detach01
pthread_mutexattr_destroy01
pthread_mutexattr_init01
fptest03

Compiler errors/warnings:
Errors:
cc -I../../../../include -g -Wall    clone0*.c -L../../../../lib -lltp  -o clone0*
/tmp/ccKqlo3N.o: In function `main':
/tmp/ccKqlo3N.o(.text+0x38): undefined reference to `clone'
collect2: ld returned 1 exit status
make: *** [clone0*] Error 1

Warnings:
growfiles.o: In function `main':
growfiles.o(.text+0x249e): the use of `tempnam' is dangerous, better use `mkstemp'
/tmp/ccD4SgFn.o: In function `mkfile':
/tmp/ccD4SgFn.o(.text+0x120): the use of `tempnam' is dangerous, better use `mkstemp'
/tmp/cc9db9AW.o: In function `mkfile':
/tmp/cc9db9AW.o(.text+0x48): the use of `tempnam' is dangerous, better use `mkstemp'
/tmp/ccUDk70g.o: In function `mkfile':
/tmp/ccUDk70g.o(.text+0x4a): the use of `tempnam' is dangerous, better use `mkstemp'
/tmp/ccljTskd.o: In function `parent':
/tmp/ccljTskd.o(.text+0xaa): warning: getmsg is not implemented and will always fail
/tmp/ccSVFG9z.o: In function `setup':
/tmp/ccSVFG9z.o(.text+0x182): the use of `tempnam' is dangerous, better use `mkstemp'
/tmp/cctypdZq.o: In function `setup':
/tmp/cctypdZq.o(.text+0x1f0): the use of `tempnam' is dangerous, better use `mkstemp'
/tmp/ccCRsGDJ.o: In function `setup':
/tmp/ccCRsGDJ.o(.text+0x188): the use of `tempnam' is dangerous, better use `mkstemp'
/tmp/ccWoiSeS.o: In function `setup':
/tmp/ccWoiSeS.o(.text+0x82): the use of `tempnam' is dangerous, better use `mkstemp'
/tmp/ccnkPy6b.o: In function `setup':
/tmp/ccnkPy6b.o(.text+0x82): the use of `tempnam' is dangerous, better use `mkstemp'
/tmp/ccWxMuBE.o: In function `setup':
/tmp/ccWxMuBE.o(.text+0x82): the use of `tempnam' is dangerous, better use `mkstemp'
/tmp/cceiqOSy.o: In function `setup':
/tmp/cceiqOSy.o(.text+0xf96): the use of `mktemp' is dangerous, better use `mkstemp'

Arch : ppc64-32
Kernel : 2.5.66
Distro : SuSE SLES 8

getgroups03
nanosleep02
open08
personality01
recvfrom01
sendmsg01
settimeofday01
ustat01
mem01
pthread_attr_destroy01
pthread_detach01
pthread_mutexattr_destroy01
pthread_mutexattr_init01
fptest03

Compiler warnings:
growfiles.o: In function `main':
growfiles.o(.text+0x21a8): the use of `tempnam' is dangerous, better use `mkstemp'
/tmp/ccEougyz.o: In function `mkfile':
/root/tmp/ltp-full-20030404-32/testcases/kernel/mem/mtest06/mmap1.c:268: the use of `tempnam' is dangerous, better use `mkstemp'
/tmp/ccs0b7HL.o: In function `mkfile':
/root/tmp/ltp-full-20030404-32/testcases/kernel/mem/mtest06/mmap2.c:103: the use of `tempnam' is dangerous, better use `mkstemp'
/tmp/ccTGnYWY.o: In function `mkfile':
/root/tmp/ltp-full-20030404-32/testcases/kernel/mem/mtest06/mmap3.c:106: the use of `tempnam' is dangerous, better use `mkstemp'
/tmp/cc8E7vfa.o: In function `setup':
/root/tmp/ltp-full-20030404-32/testcases/kernel/syscalls/fcntl/fcntl06.c:155: the use of `tempnam' is dangerous, better use `mkstemp'
/tmp/cc2iFttP.o: In function `setup':
/root/tmp/ltp-full-20030404-32/testcases/kernel/syscalls/fcntl/fcntl11.c:121: the use of `tempnam' is dangerous, better use `mkstemp'
/tmp/cck5A2DV.o: In function `setup':
/root/tmp/ltp-full-20030404-32/testcases/kernel/syscalls/fcntl/fcntl17.c:124: the use of `tempnam' is dangerous, better use `mkstemp'
/tmp/cch7UluY.o: In function `setup':
/root/tmp/ltp-full-20030404-32/testcases/kernel/syscalls/fcntl/fcntl19.c:104: the use of `tempnam' is dangerous, better use `mkstemp'
/tmp/ccw8IJdg.o: In function `setup':
/root/tmp/ltp-full-20030404-32/testcases/kernel/syscalls/fcntl/fcntl20.c:101: the use of `tempnam' is dangerous, better use `mkstemp'
/tmp/ccTjQk3U.o: In function `setup':
/root/tmp/ltp-full-20030404-32/testcases/kernel/syscalls/fcntl/fcntl21.c:100: the use of `tempnam' is dangerous, better use `mkstemp'
/tmp/ccW2ZT3x.o: In function `setup':
/root/tmp/ltp-full-20030404-32/testcases/kernel/syscalls/sendmsg/sendmsg01.c:328: the use of `mktemp' is dangerous, better use `mkstemp'

Arch : ppc64-64
Kernel : 2.5.66
Distro : SuSE SLES 8

clone02
clone04
clone05
getgroups03
nanosleep02
nftw() tests - Will not build
open08
personality01
profil01
recvmsg01
sendmsg01
settimeofday01
pthread_attr_destroy01
pthread_detach01
pthread_mutexattr_destroy01
pthread_mutexattr_init01
float_trigo
fptest03

Build Notes:
1) The issue with nftw() is a known problem with include/asm-ppc64/elf.h
2) The "include/linux/threads.h" file needs PID_NR renamed to PID_MAX
3) The "netpipe-2.4" and "netpipe-2.4-ipv6" directories must be removed from the Makefile. These tools cannot be built using the cross-compiler.

Compiler errors/warnings:
Errors:
/opt/cross/bin/powerpc64-linux-gcc -Wall -g -ansi -O -DLINUX -D_XOPEN_SOURCE_EXTENDED -D_XOPEN_SOURCE -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -I../../../../include   -c -o nftw.o nftw.c
In file included from /opt/cross/powerpc64-linux/include/asm/sigcontext.h:12,
                 from /opt/cross/powerpc64-linux/include/bits/sigcontext.h:28,
                 from /opt/cross/powerpc64-linux/include/sys/ucontext.h:27,
                 from /opt/cross/powerpc64-linux/include/ucontext.h:27,
                 from /opt/cross/powerpc64-linux/include/signal.h:324,
                 from /opt/cross/powerpc64-linux/include/sys/wait.h:30,
                 from nftw.h:40,
                 from nftw.c:29:
/opt/cross/powerpc64-linux/include/asm/elf.h:63: syntax error before "void"
make: *** [nftw.o] Error 1
netpipe.c: In function `main':
netpipe.c:133: Internal compiler error in expand_call, at calls.c:3258
Please submit a full bug report,
with preprocessed source if appropriate.
See  for instructions.
make[2]: *** [NPtcp.o] Error 1
make[1]: *** [all] Error 2
make: *** [all] Error 2
netpipe.c: In function `main':
netpipe.c:170: Internal compiler error in expand_call, at calls.c:3258
Please submit a full bug report,
with preprocessed source if appropriate.
See  for instructions.
make[2]: *** [NPtcp.o] Error 1
make[1]: *** [all] Error 2
make: *** [all] Error 2

Warnings:
NONE