NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

port-atari/45831: devel/libffi-3.0.9 fails it's test on m68k (atari)



>Number:         45831
>Category:       port-atari
>Synopsis:       devel/libffi-3.0.9 fails it's test on m68k (atari)
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    port-atari-maintainer
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Jan 13 10:05:00 +0000 2012
>Originator:     Alan Hourihane
>Release:        5.1.1
>Organization:
>Environment:
NetBSD ataritt 5.1.1 NetBSD 5.1.1 (ATARITT) #0: Wed Jan  4 20:28:06 UTC 2012  
builds%b8.netbsd.org@localhost:/home/builds/ab/netbsd-5-1-1-RELEASE/atari/201201040549Z-obj/home/builds/ab/netbsd-5-1-1-RELEASE/src/sys/arch/atari/compile/ATARITT
 atari
>Description:
When executing the testsuite in devel/libffi, NetBSD 5.1.1 for m68k fails some 
of the tests with the following output.

You need dejagnu and expect in the same toplevel tree as libffi-3.0.9, then run 
"make check" in the testsuite directory of libffi.

I suspect it's the same for other m68k targets.

make  check-DEJAGNU
srcdir=`CDPATH="${ZSH_VERSION+.}:" && cd . && pwd`; export srcdir;  EXPECT=`if 
[ -f ../../expect/expect ] ; then  echo ../../expect/expect ;  else echo expect 
; fi`; export EXPECT;  runtest=`if [ -f ../../dejagnu/runtest ] ; then  echo 
../../dejagnu/runtest ;  else echo runtest; fi`;  if /bin/sh -c "$runtest 
--version" > /dev/null 2>&1; then  exit_status=0; l='libffi'; for tool in $l; 
do  if $runtest  --tool $tool --srcdir $srcdir ;  then :; else exit_status=1; 
fi;  done;  else echo "WARNING: could not find \`runtest'" 1>&2; :; fi;  exit 
$exit_status
WARNING: Couldn't find the global config file.
WARNING: Couldn't find tool init file
Test Run By root on Fri Jan 13 08:22:44 2012
Native configuration is m68k--netbsdelf

                === libffi tests ===

Schedule of variations:
    unix

Running target unix
Using ../../dejagnu/baseboards/unix.exp as board description file for target.
Using ../../dejagnu/config/unix.exp as generic interface file for target.
Using 
/ISO/NetBSD/atari/pkgsrc/devel/libffi/work/libffi-3.0.9/testsuite/config/default.exp
 as tool-and-target-specific interface file.
Running 
/ISO/NetBSD/atari/pkgsrc/devel/libffi/work/libffi-3.0.9/testsuite/libffi.call/call.exp
 ...
FAIL: libffi.call/cls_12byte.c -O0 -W -Wall execution test
FAIL: libffi.call/cls_16byte.c -O0 -W -Wall execution test
FAIL: libffi.call/cls_18byte.c -O0 -W -Wall execution test
FAIL: libffi.call/cls_19byte.c -O0 -W -Wall execution test
FAIL: libffi.call/cls_1_1byte.c -O0 -W -Wall execution test
FAIL: libffi.call/cls_20byte.c -O0 -W -Wall execution test
FAIL: libffi.call/cls_20byte1.c -O0 -W -Wall execution test
FAIL: libffi.call/cls_24byte.c -O0 -W -Wall execution test
FAIL: libffi.call/cls_2byte.c -O0 -W -Wall execution test
FAIL: libffi.call/cls_3_1byte.c -O0 -W -Wall execution test
FAIL: libffi.call/cls_3byte1.c -O0 -W -Wall execution test
FAIL: libffi.call/cls_3byte2.c -O0 -W -Wall execution test
FAIL: libffi.call/cls_4_1byte.c -O0 -W -Wall execution test
FAIL: libffi.call/cls_4byte.c -O0 -W -Wall execution test
FAIL: libffi.call/cls_5_1_byte.c -O0 -W -Wall execution test
FAIL: libffi.call/cls_5byte.c -O0 -W -Wall execution test
FAIL: libffi.call/cls_64byte.c -O0 -W -Wall execution test
FAIL: libffi.call/cls_6_1_byte.c -O0 -W -Wall execution test
FAIL: libffi.call/cls_6byte.c -O0 -W -Wall execution test
FAIL: libffi.call/cls_7_1_byte.c -O0 -W -Wall execution test
FAIL: libffi.call/cls_7byte.c -O0 -W -Wall execution test
FAIL: libffi.call/cls_8byte.c -O0 -W -Wall execution test
FAIL: libffi.call/cls_9byte1.c -O0 -W -Wall execution test
FAIL: libffi.call/cls_9byte2.c -O0 -W -Wall execution test
FAIL: libffi.call/cls_align_double.c -O0 -W -Wall execution test
FAIL: libffi.call/cls_align_float.c -O0 -W -Wall execution test
FAIL: libffi.call/cls_align_longdouble.c -O0 -W -Wall execution test
FAIL: libffi.call/cls_align_longdouble_split.c -O0 -W -Wall execution test
FAIL: libffi.call/cls_align_longdouble_split2.c -O0 -W -Wall execution test
FAIL: libffi.call/cls_align_pointer.c -O0 -W -Wall execution test
FAIL: libffi.call/cls_align_sint16.c -O0 -W -Wall execution test
FAIL: libffi.call/cls_align_sint32.c -O0 -W -Wall execution test
FAIL: libffi.call/cls_align_sint64.c -O0 -W -Wall execution test
FAIL: libffi.call/cls_align_uint16.c -O0 -W -Wall execution test
FAIL: libffi.call/cls_align_uint32.c -O0 -W -Wall execution test
FAIL: libffi.call/cls_align_uint64.c -O0 -W -Wall execution test
FAIL: libffi.call/huge_struct.c -O0 -W -Wall execution test
FAIL: libffi.call/nested_struct.c -O0 -W -Wall execution test
FAIL: libffi.call/nested_struct1.c -O0 -W -Wall execution test
FAIL: libffi.call/nested_struct10.c -O0 -W -Wall execution test
FAIL: libffi.call/nested_struct2.c -O0 -W -Wall execution test
FAIL: libffi.call/nested_struct3.c -O0 -W -Wall execution test
FAIL: libffi.call/nested_struct4.c -O0 -W -Wall execution test
FAIL: libffi.call/nested_struct5.c -O0 -W -Wall execution test
FAIL: libffi.call/nested_struct6.c -O0 -W -Wall execution test
FAIL: libffi.call/nested_struct7.c -O0 -W -Wall execution test
FAIL: libffi.call/nested_struct8.c -O0 -W -Wall execution test
FAIL: libffi.call/nested_struct9.c -O0 -W -Wall execution test
FAIL: libffi.call/problem1.c -O0 -W -Wall execution test
FAIL: libffi.call/stret_large.c -O0 -W -Wall execution test
FAIL: libffi.call/stret_large2.c -O0 -W -Wall execution test
FAIL: libffi.call/struct1.c -O0 -W -Wall execution test
FAIL: libffi.call/struct2.c -O0 -W -Wall execution test
FAIL: libffi.call/struct3.c -O0 -W -Wall execution test
FAIL: libffi.call/struct4.c -O0 -W -Wall execution test
FAIL: libffi.call/struct5.c -O0 -W -Wall execution test
FAIL: libffi.call/struct6.c -O0 -W -Wall execution test
FAIL: libffi.call/struct7.c -O0 -W -Wall execution test
FAIL: libffi.call/struct8.c -O0 -W -Wall execution test
FAIL: libffi.call/struct9.c -O0 -W -Wall execution test

Then it goes on to do the same tests with -O2 and other GCC options, with 
similar failures.
>How-To-Repeat:
Go to pkgsrc/devel/libffi and type "make".

Then go to pkgsrc/devel/dejagnu and type "make".

Go to devel/libffi/work and "ln -s ../../dejagnu/work/dejagnu-1.4.4 ." 

Then "mkdir expect" and "cp /usr/pkg/bin/expect expect"

Now change directory to "pkgsrc/devel/libffi/work/libffi-3.0.9/testsuite" and 
run "make check"

Expect the failures above.
>Fix:



Home | Main Index | Thread Index | Old Index