This is the mail archive of the libffi-discuss@sourceware.org mailing list for the libffi project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Please help test libffi 3.0.11-rc3


> I've uploaded release candidate 3 for testing here:
>   ftp://sourceware.org/pub/libffi/libffi-3.0.11-rc3.tar.gz
>
> Please test it on whatever systems you have at your disposal, and
> update the testing wiki here:
>   http://www.moxielogic.org/wiki/index.php/Libffi_3.0.11
>
> I'd like to make a release within a week.

Just tried a build on powerpc64-unknown-linux-gnu with Debian 6.0.4 and :

                === libffi Summary ===

# of unexpected failures        608
# of unresolved testcases       608
# of unsupported tests          55

That is very ugly.

configure was :

 ./configure --libexecdir=/usr/local/libexec/ppc970
--libdir=/usr/local/lib/ppc970 --build=powerpc64-unknown-linux-gnu
--prefix=/usr/local --enable-dependency-tracking

Which looked fine :

ppc $ ./configure --libexecdir=/usr/local/libexec/ppc970
--libdir=/usr/local/lib/ppc970 --build=powerpc64-unknown-linux-gnu
--prefix=/usr/local --enable-dependency-tracking
checking build system type... powerpc64-unknown-linux-gnu
checking host system type... powerpc64-unknown-linux-gnu
checking target system type... powerpc64-unknown-linux-gnu
continue configure in default builddir "./powerpc64-unknown-linux-gnu"
....exec /bin/bash .././configure "--srcdir=.."
"--enable-builddir=powerpc64-unknown-linux-gnu" "linux
gnu"
checking build system type... powerpc64-unknown-linux-gnu
checking host system type... powerpc64-unknown-linux-gnu
checking target system type... powerpc64-unknown-linux-gnu
checking for gsed... /usr/local/bin/gsed
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking dependency style of gcc... gcc3
checking whether gcc and cc understand -c and -o together... yes
checking how to print strings... printf
checking for a sed that does not truncate output... /usr/local/bin/gsed
checking for grep that handles long lines and -e... /usr/local/bin/grep
checking for egrep... /usr/local/bin/grep -E
checking for fgrep... /usr/local/bin/grep -F
checking for ld used by gcc... /usr/local/bin/ld
checking if the linker (/usr/local/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/local/bin/nm
checking the name lister (/usr/local/bin/nm) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 6291456
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking how to convert powerpc64-unknown-linux-gnu file names to
powerpc64-unknown-linux-gnu format... func_convert_file_noop
checking how to convert powerpc64-unknown-linux-gnu file names to toolchain
format... func_convert_file_noop
checking for /usr/local/bin/ld option to reload object files... -r
checking for objdump... /usr/local/bin/objdump
checking how to recognize dependent libraries... pass_all
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for archiver @FILE support... @
checking for strip... /usr/local/bin/strip
checking for ranlib... /usr/local/bin/ranlib
checking command to parse /usr/local/bin/nm output from gcc object... ok
checking for sysroot... no
checking for mt... mt
checking if mt is a manifest tool... no
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/local/bin/ld -m elf64ppc) supports
shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking for C compiler vendor... gnu
checking CFLAGS for maximum warnings... -Wall
checking whether to enable maintainer-specific portions of Makefiles... no
checking sys/mman.h usability... yes
checking sys/mman.h presence... yes
checking for sys/mman.h... yes
checking for mmap... yes
checking for sys/mman.h... (cached) yes
checking for mmap... (cached) yes
checking whether read-only mmap of a plain file works... yes
checking whether mmap from /dev/zero works... yes
checking for MAP_ANON(YMOUS)... yes
checking whether mmap with MAP_ANON(YMOUS) works... yes
checking for ANSI C header files... (cached) yes
checking for memcpy... yes
checking for size_t... yes
checking for working alloca.h... yes
checking for alloca... yes
checking size of double... 8
checking size of long double... 16
checking whether byte ordering is bigendian... yes
checking assembler .cfi pseudo-op support... yes
checking whether .eh_frame section should be read-only... no
checking for __attribute__((visibility("hidden")))... yes
configure: creating ./config.status
config.status: creating include/Makefile
config.status: creating include/ffi.h
config.status: creating Makefile
config.status: creating testsuite/Makefile
config.status: creating man/Makefile
config.status: creating libffi.pc
config.status: creating fficonfig.h
config.status: linking ../src/powerpc/ffitarget.h to include/ffitarget.h
config.status: executing buildir commands
config.status: create top_srcdir/Makefile guessed from local Makefile
config.status: build in powerpc64-unknown-linux-gnu (HOST=)
config.status: executing depfiles commands
config.status: executing libtool commands
config.status: executing include commands
config.status: executing src commands
ppc $

gmake runs



ppc $ gmake
MAKE powerpc64-unknown-linux-gnu : 0 * all-all
gmake[1]: Entering directory
`/home/dclarke/build/libffi-3.0.11-ppc970/powerpc64-unknown-linux-gnu'
gmake "AR_FLAGS=" "CC_FOR_BUILD=" "CFLAGS=-g -mcpu=970 -mtune=970 -maltivec
-mabi=altivec -mvrsave -m64 -mpowerpc64 -mfull-toc -malign-power -mupdate
-mcall-linux -msvr4-struct-return -pthread -Wall -fexceptions" "CXXFLAGS=-g
-mcpu=970 -mtune=970 -maltivec -mabi=altivec -mvrsave -m64 -mpowerpc64
-mfull-toc -malign-power -mupdate -mcall-linux -msvr4-struct-return -pthread"
"CFLAGS_FOR_BUILD=" "CFLAGS_FOR_TARGET=" "INSTALL=/usr/bin/install -c"
"INSTALL_DATA=/usr/bin/install -c -m 644" "INSTALL_PROGRAM=/usr/bin/install
-c" "INSTALL_SCRIPT=/usr/bin/install -c" "JC1FLAGS=" "LDFLAGS=" "LIBCFLAGS="
"LIBCFLAGS_FOR_TARGET=" "MAKE=gmake" "MAKEINFO=/bin/bash
/home/dclarke/build/libffi-3.0.11-ppc970/missing --run makeinfo " "PICFLAG="
"PICFLAG_FOR_TARGET=" "RUNTESTFLAGS=" "SHELL=/bin/bash"
"exec_prefix=/usr/local" "infodir=/usr/local/share/info"
"libdir=/usr/local/lib/ppc970" "mandir=/usr/local/share/man"
"prefix=/usr/local" "AR=/usr/local/bin/ar" "AS=/usr/local/bin/as" "CC=gcc"
"CXX=g++" "LD=/usr/local/bin/ld -m elf64ppc" "NM=/usr/local/bin/nm"
"RANLIB=/usr/local/bin/ranlib" "DESTDIR=" all-recursive
gmake[2]: Entering directory
`/home/dclarke/build/libffi-3.0.11-ppc970/powerpc64-unknown-linux-gnu'
Making all in include
gmake[3]: Entering directory
`/home/dclarke/build/libffi-3.0.11-ppc970/powerpc64-unknown-linux-gnu/include'
gmake[3]: Nothing to be done for `all'.
gmake[3]: Leaving directory
`/home/dclarke/build/libffi-3.0.11-ppc970/powerpc64-unknown-linux-gnu/include'
Making all in testsuite
gmake[3]: Entering directory
`/home/dclarke/build/libffi-3.0.11-ppc970/powerpc64-unknown-linux-gnu/testsuite'
gmake[3]: Nothing to be done for `all'.
gmake[3]: Leaving directory
`/home/dclarke/build/libffi-3.0.11-ppc970/powerpc64-unknown-linux-gnu/testsuite'
Making all in man
gmake[3]: Entering directory
`/home/dclarke/build/libffi-3.0.11-ppc970/powerpc64-unknown-linux-gnu/man'
gmake[3]: Nothing to be done for `all'.
gmake[3]: Leaving directory
`/home/dclarke/build/libffi-3.0.11-ppc970/powerpc64-unknown-linux-gnu/man'
gmake[3]: Entering directory
`/home/dclarke/build/libffi-3.0.11-ppc970/powerpc64-unknown-linux-gnu'
depbase=`echo src/prep_cif.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\
/bin/bash ./libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. 
-I. -I../include -Iinclude -I../src -DFFI_BUILDING -I/usr/local/include -g  -g
-mcpu=970 -mtune=970 -maltivec -mabi=altivec -mvrsave -m64 -mpowerpc64
-mfull-toc -malign-power -mupdate -mcall-linux -msvr4-struct-return -pthread
-Wall -fexceptions -MT src/prep_cif.lo -MD -MP -MF $depbase.Tpo -c -o
src/prep_cif.lo ../src/prep_cif.c &&\
mv -f $depbase.Tpo $depbase.Plo
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I. -I../include -Iinclude
-I../src -DFFI_BUILDING -I/usr/local/include -g -g -mcpu=970 -mtune=970
-maltivec -mabi=altivec -mvrsave -m64 -mpowerpc64 -mfull-toc -malign-power
-mupdate -mcall-linux -msvr4-struct-return -pthread -Wall -fexceptions -MT
src/prep_cif.lo -MD -MP -MF src/.deps/prep_cif.Tpo -c ../src/prep_cif.c  -fPIC
-DPIC -o src/.libs/prep_cif.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I. -I../include -Iinclude
-I../src -DFFI_BUILDING -I/usr/local/include -g -g -mcpu=970 -mtune=970
-maltivec -mabi=altivec -mvrsave -m64 -mpowerpc64 -mfull-toc -malign-power
-mupdate -mcall-linux -msvr4-struct-return -pthread -Wall -fexceptions -MT
src/prep_cif.lo -MD -MP -MF src/.deps/prep_cif.Tpo -c ../src/prep_cif.c -o
src/prep_cif.o >/dev/null 2>&1
depbase=`echo src/types.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\
/bin/bash ./libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. 
-I. -I../include -Iinclude -I../src -DFFI_BUILDING -I/usr/local/include -g  -g
-mcpu=970 -mtune=970 -maltivec -mabi=altivec -mvrsave -m64 -mpowerpc64
-mfull-toc -malign-power -mupdate -mcall-linux -msvr4-struct-return -pthread
-Wall -fexceptions -MT src/types.lo -MD -MP -MF $depbase.Tpo -c -o
src/types.lo ../src/types.c &&\
mv -f $depbase.Tpo $depbase.Plo
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I. -I../include -Iinclude
-I../src -DFFI_BUILDING -I/usr/local/include -g -g -mcpu=970 -mtune=970
-maltivec -mabi=altivec -mvrsave -m64 -mpowerpc64 -mfull-toc -malign-power
-mupdate -mcall-linux -msvr4-struct-return -pthread -Wall -fexceptions -MT
src/types.lo -MD -MP -MF src/.deps/types.Tpo -c ../src/types.c  -fPIC -DPIC -o
src/.libs/types.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I. -I../include -Iinclude
-I../src -DFFI_BUILDING -I/usr/local/include -g -g -mcpu=970 -mtune=970
-maltivec -mabi=altivec -mvrsave -m64 -mpowerpc64 -mfull-toc -malign-power
-mupdate -mcall-linux -msvr4-struct-return -pthread -Wall -fexceptions -MT
src/types.lo -MD -MP -MF src/.deps/types.Tpo -c ../src/types.c -o src/types.o
>/dev/null 2>&1
depbase=`echo src/raw_api.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\
/bin/bash ./libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. 
-I. -I../include -Iinclude -I../src -DFFI_BUILDING -I/usr/local/include -g  -g
-mcpu=970 -mtune=970 -maltivec -mabi=altivec -mvrsave -m64 -mpowerpc64
-mfull-toc -malign-power -mupdate -mcall-linux -msvr4-struct-return -pthread
-Wall -fexceptions -MT src/raw_api.lo -MD -MP -MF $depbase.Tpo -c -o
src/raw_api.lo ../src/raw_api.c &&\
mv -f $depbase.Tpo $depbase.Plo
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I. -I../include -Iinclude
-I../src -DFFI_BUILDING -I/usr/local/include -g -g -mcpu=970 -mtune=970
-maltivec -mabi=altivec -mvrsave -m64 -mpowerpc64 -mfull-toc -malign-power
-mupdate -mcall-linux -msvr4-struct-return -pthread -Wall -fexceptions -MT
src/raw_api.lo -MD -MP -MF src/.deps/raw_api.Tpo -c ../src/raw_api.c  -fPIC
-DPIC -o src/.libs/raw_api.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I. -I../include -Iinclude
-I../src -DFFI_BUILDING -I/usr/local/include -g -g -mcpu=970 -mtune=970
-maltivec -mabi=altivec -mvrsave -m64 -mpowerpc64 -mfull-toc -malign-power
-mupdate -mcall-linux -msvr4-struct-return -pthread -Wall -fexceptions -MT
src/raw_api.lo -MD -MP -MF src/.deps/raw_api.Tpo -c ../src/raw_api.c -o
src/raw_api.o >/dev/null 2>&1
depbase=`echo src/java_raw_api.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\
/bin/bash ./libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. 
-I. -I../include -Iinclude -I../src -DFFI_BUILDING -I/usr/local/include -g  -g
-mcpu=970 -mtune=970 -maltivec -mabi=altivec -mvrsave -m64 -mpowerpc64
-mfull-toc -malign-power -mupdate -mcall-linux -msvr4-struct-return -pthread
-Wall -fexceptions -MT src/java_raw_api.lo -MD -MP -MF $depbase.Tpo -c -o
src/java_raw_api.lo ../src/java_raw_api.c &&\
mv -f $depbase.Tpo $depbase.Plo
.
.
.
.
.
.
/bin/bash ./libtool --tag=CC   --mode=link gcc -g  -g -mcpu=970 -mtune=970
-maltivec -mabi=altivec -mvrsave -m64 -mpowerpc64 -mfull-toc -malign-power
-mupdate -mcall-linux -msvr4-struct-return -pthread -Wall -fexceptions
-version-info `grep -v '^#' ../libtool-version`    -o libffi.la -rpath
/usr/local/lib/ppc970 src/prep_cif.lo src/types.lo src/raw_api.lo
src/java_raw_api.lo src/closures.lo             src/powerpc/ffi.lo
src/powerpc/sysv.lo src/powerpc/ppc_closure.lo src/powerpc/linux64.lo
src/powerpc/linux64_closure.lo
libtool: link: gcc -shared  -fPIC -DPIC  src/.libs/prep_cif.o
src/.libs/types.o src/.libs/raw_api.o src/.libs/java_raw_api.o
src/.libs/closures.o src/powerpc/.libs/ffi.o src/powerpc/.libs/sysv.o
src/powerpc/.libs/ppc_closure.o src/powerpc/.libs/linux64.o
src/powerpc/.libs/linux64_closure.o    -mcpu=970 -mtune=970 -maltivec
-mabi=altivec -mvrsave -m64 -mpowerpc64 -mfull-toc -malign-power -mupdate
-mcall-linux -msvr4-struct-return -pthread   -pthread -Wl,-soname
-Wl,libffi.so.6 -o .libs/libffi.so.6.0.0
libtool: link: (cd ".libs" && rm -f "libffi.so.6" && ln -s "libffi.so.6.0.0"
"libffi.so.6")
libtool: link: (cd ".libs" && rm -f "libffi.so" && ln -s "libffi.so.6.0.0"
"libffi.so")
libtool: link: /usr/local/bin/ar cru .libs/libffi.a  src/prep_cif.o
src/types.o src/raw_api.o src/java_raw_api.o src/closures.o src/powerpc/ffi.o
src/powerpc/sysv.o src/powerpc/ppc_closure.o src/powerpc/linux64.o
src/powerpc/linux64_closure.o
libtool: link: /usr/local/bin/ranlib .libs/libffi.a
libtool: link: ( cd ".libs" && rm -f "libffi.la" && ln -s "../libffi.la"
"libffi.la" )
/bin/bash ./libtool --tag=CC   --mode=link gcc -g  -g -mcpu=970 -mtune=970
-maltivec -mabi=altivec -mvrsave -m64 -mpowerpc64 -mfull-toc -malign-power
-mupdate -mcall-linux -msvr4-struct-return -pthread -Wall -fexceptions   -o
libffi_convenience.la  src/prep_cif.lo src/types.lo src/raw_api.lo
src/java_raw_api.lo src/closures.lo             src/powerpc/ffi.lo
src/powerpc/sysv.lo src/powerpc/ppc_closure.lo src/powerpc/linux64.lo
src/powerpc/linux64_closure.lo
libtool: link: /usr/local/bin/ar cru .libs/libffi_convenience.a
src/.libs/prep_cif.o src/.libs/types.o src/.libs/raw_api.o
src/.libs/java_raw_api.o src/.libs/closures.o src/powerpc/.libs/ffi.o
src/powerpc/.libs/sysv.o src/powerpc/.libs/ppc_closure.o
src/powerpc/.libs/linux64.o src/powerpc/.libs/linux64_closure.o
libtool: link: /usr/local/bin/ranlib .libs/libffi_convenience.a
libtool: link: ( cd ".libs" && rm -f "libffi_convenience.la" && ln -s
"../libffi_convenience.la" "libffi_convenience.la" )
gmake[3]: Leaving directory
`/home/dclarke/build/libffi-3.0.11-ppc970/powerpc64-unknown-linux-gnu'
gmake[2]: Leaving directory
`/home/dclarke/build/libffi-3.0.11-ppc970/powerpc64-unknown-linux-gnu'
gmake[1]: Leaving directory
`/home/dclarke/build/libffi-3.0.11-ppc970/powerpc64-unknown-linux-gnu'
ppc $




and then gmake check just falls over totally.

Test Run By dclarke on Mon Apr 30 04:47:32 2012
Native configuration is powerpc64-unknown-linux-gnu

                === libffi tests ===

Schedule of variations:
    unix

Running target unix
Using /usr/share/dejagnu/baseboards/unix.exp as board description file for
target.
Using /usr/share/dejagnu/config/unix.exp as generic interface file for target.
Using /home/dclarke/build/libffi-3.0.11-ppc970/testsuite/config/default.exp as
tool-and-target-specific interface file.
Running
/home/dclarke/build/libffi-3.0.11-ppc970/testsuite/libffi.call/call.exp ...
FAIL: libffi.call/closure_fn0.c -O0 -W -Wall (test for excess errors)
FAIL: libffi.call/closure_fn1.c -O0 -W -Wall (test for excess errors)
FAIL: libffi.call/closure_fn2.c -O0 -W -Wall (test for excess errors)
FAIL: libffi.call/closure_fn3.c -O0 -W -Wall (test for excess errors)
FAIL: libffi.call/closure_fn4.c -O0 -W -Wall (test for excess errors)
FAIL: libffi.call/closure_fn5.c -O0 -W -Wall (test for excess errors)
FAIL: libffi.call/closure_fn6.c -O0 -W -Wall (test for excess errors)
FAIL: libffi.call/closure_loc_fn0.c -O0 -W -Wall (test for excess errors)
FAIL: libffi.call/cls_12byte.c -O0 -W -Wall (test for excess errors)
FAIL: libffi.call/cls_16byte.c -O0 -W -Wall (test for excess errors)
FAIL: libffi.call/cls_18byte.c -O0 -W -Wall (test for excess errors)
FAIL: libffi.call/cls_19byte.c -O0 -W -Wall (test for excess errors)
FAIL: libffi.call/cls_1_1byte.c -O0 -W -Wall (test for excess errors)
FAIL: libffi.call/cls_20byte.c -O0 -W -Wall (test for excess errors)
FAIL: libffi.call/cls_20byte1.c -O0 -W -Wall (test for excess errors)
FAIL: libffi.call/cls_24byte.c -O0 -W -Wall (test for excess errors)
FAIL: libffi.call/cls_2byte.c -O0 -W -Wall (test for excess errors)
FAIL: libffi.call/cls_3_1byte.c -O0 -W -Wall (test for excess errors)
FAIL: libffi.call/cls_3byte1.c -O0 -W -Wall (test for excess errors)
FAIL: libffi.call/cls_3byte2.c -O0 -W -Wall (test for excess errors)
FAIL: libffi.call/cls_4_1byte.c -O0 -W -Wall (test for excess errors)
FAIL: libffi.call/cls_4byte.c -O0 -W -Wall (test for excess errors)
FAIL: libffi.call/cls_5_1_byte.c -O0 -W -Wall (test for excess errors)
FAIL: libffi.call/cls_5byte.c -O0 -W -Wall (test for excess errors)
FAIL: libffi.call/cls_64byte.c -O0 -W -Wall (test for excess errors)
FAIL: libffi.call/cls_6_1_byte.c -O0 -W -Wall (test for excess errors)
FAIL: libffi.call/cls_6byte.c -O0 -W -Wall (test for excess errors)
FAIL: libffi.call/cls_7_1_byte.c -O0 -W -Wall (test for excess errors)

etc.

Any thoughts?  I'm totally surprised by this.

dc

-- 
--
http://pgp.mit.edu:11371/pks/lookup?op=vindex&search=0x1D936C72FA35B44B
+-------------------------+-----------------------------------+
| Dennis Clarke           | Solaris and Linux and Open Source |
| dclarke@blastwave.org   | Respect for open standards.       |
+-------------------------+-----------------------------------+


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]