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

Re: libffi fixes for testsuite failures (bugs) on m68k and for bugs in testsuite



Anthony Green dixit:

>Thanks - I'll look at this later today.

Thanks for merging – looking good… see attached manual-build and
test log, with reproducer script.

bye,
//mirabilos
-- 
<ch> you introduced a merge commit        │<mika> % g rebase -i HEAD^^
<mika> sorry, no idea and rebasing just fscked │<mika> Segmentation
<ch> should have cloned into a clean repo      │  fault (core dumped)
<ch> if I rebase that now, it's really ugh     │<mika:#grml> wuahhhhhh
+ cat ../libffi-13e2d7b92557a9511a0414df82bf2df3edc55cba
#!/bin/mksh
if [[ -z $1 ]]; then
	mksh "$0" foo 2>&1 | tee "$0".log
	exit
fi
set -x
cat "$0"
# sysinfo
uname -a
lsb_release -a
/lib/m68k-linux-gnu/libc.so.6
# build, mostly from the Debian package
eval $(dpkg-buildflags --export=sh)
export CC=cc CXX=c++ CCASFLAGS="$CFLAGS -Wa,--gdwarf2" LDFLAGS="-Wl,-z,defs $LDFLAGS"
$CC -v
mksh configure && make && make check
+ uname -a
Linux ara4.mirbsd.org 3.2.0-4-atari #1 Debian 3.2.35-2 m68k GNU/Linux
+ lsb_release -a
No LSB modules are available.
Distributor ID:	Debian
Description:	Debian GNU/Linux 7.0 (wheezy)
Release:	unstable
Codename:	sid
+ /lib/m68k-linux-gnu/libc.so.6
GNU C Library (Debian EGLIBC 2.13-38+m68k.1) stable release version 2.13, by Roland McGrath et al.
Copyright (C) 2011 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.
Compiled by GNU CC version 4.4.7.
Compiled on a Linux 3.2.35 system on 2012-12-31.
Available extensions:
	crypt add-on version 2.1 by Michael Glad and others
	GNU Libidn by Simon Josefsson
	Native POSIX Threads Library by Ulrich Drepper et al
	Support for some architectures added on, not maintained in glibc core.
	BIND-8.2.3-T5B
libc ABIs: UNIQUE
For bug reporting instructions, please see:
<http://www.debian.org/Bugs/>.
+ dpkg-buildflags --export=sh
+ eval export CFLAGS="-g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security" export CPPFLAGS="-D_FORTIFY_SOURCE=2" export CXXFLAGS="-g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security" export FFLAGS="-g -O2" export LDFLAGS="-Wl,-z,relro"
+ export CFLAGS=-g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security export CPPFLAGS=-D_FORTIFY_SOURCE=2 export CXXFLAGS=-g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security export FFLAGS=-g -O2 export LDFLAGS=-Wl,-z,relro
+ export CC=cc CXX=c++ CCASFLAGS=-g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wa,--gdwarf2 LDFLAGS=-Wl,-z,defs -Wl,-z,relro
+ cc -v
Using built-in specs.
COLLECT_GCC=cc
COLLECT_LTO_WRAPPER=/usr/lib/gcc/m68k-linux-gnu/4.6/lto-wrapper
Target: m68k-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Debian 4.6.3-14+m68k.3' --with-bugurl=file:///usr/share/doc/gcc-4.6/README.Bugs --enable-languages=c,c++,fortran,objc,obj-c++ --prefix=/usr --program-suffix=-4.6 --enable-shared --enable-linker-build-id --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --with-gxx-include-dir=/usr/include/c++/4.6 --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --enable-gnu-unique-object --disable-libssp --enable-plugin --enable-objc-gc --disable-werror --disable-multilib --enable-checking=release --build=m68k-linux-gnu --host=m68k-linux-gnu --target=m68k-linux-gnu
Thread model: posix
gcc version 4.6.3 (Debian 4.6.3-14+m68k.3) 
+ mksh configure
checking build system type... m68k-unknown-linux-gnu
checking host system type... m68k-unknown-linux-gnu
checking target system type... m68k-unknown-linux-gnu
continue configure in default builddir "./m68k-unknown-linux-gnu"
....exec /bin/sh ../configure "--srcdir=.." "--enable-builddir=m68k-unknown-linux-gnu" "linux gnu"
checking build system type... m68k-unknown-linux-gnu
checking host system type... m68k-unknown-linux-gnu
checking target system type... m68k-unknown-linux-gnu
checking for gsed... sed
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... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking for gcc... cc
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 cc accepts -g... yes
checking for cc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of cc... gcc3
checking dependency style of cc... gcc3
checking whether cc understands -c and -o together... yes
checking how to print strings... print -r
checking for a sed that does not truncate output... /bin/sed
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for fgrep... /bin/grep -F
checking for ld used by cc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking how to convert m68k-unknown-linux-gnu file names to m68k-unknown-linux-gnu format... func_convert_file_noop
checking how to convert m68k-unknown-linux-gnu file names to toolchain format... func_convert_file_noop
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for dlltool... no
checking how to associate runtime and link libraries... print -r --
checking for ar... ar
checking for archiver @FILE support... @
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from cc object... ok
checking for sysroot... no
checking for mt... no
checking if : is a manifest tool... no
checking how to run the C preprocessor... cc -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 cc supports -fno-rtti -fno-exceptions... no
checking for cc option to produce PIC... -fPIC -DPIC
checking if cc PIC flag -fPIC -DPIC works... yes
checking if cc static flag -static works... yes
checking if cc supports -c -o file.o... yes
checking if cc supports -c -o file.o... (cached) yes
checking whether the cc linker (/usr/bin/ld) 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 size of size_t... 4
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... 12
checking whether byte ordering is bigendian... yes
checking assembler .cfi pseudo-op support... yes
checking whether .eh_frame section should be read-only... yes
checking for __attribute__((visibility("hidden")))... yes
checking that generated files are newer than configure... done
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/m68k/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 m68k-unknown-linux-gnu (HOST=)
config.status: executing depfiles commands
config.status: executing libtool commands
config.status: executing include commands
config.status: executing src commands
+ make
MAKE m68k-unknown-linux-gnu : 0 * all-all
make[1]: Entering directory `/root/libffi/m68k-unknown-linux-gnu'
make "AR_FLAGS=" "CC_FOR_BUILD=" "CFLAGS=-g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security  -Wall -fexceptions" "CXXFLAGS=-g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security" "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=-Wl,-z,defs -Wl,-z,relro" "LIBCFLAGS=" "LIBCFLAGS_FOR_TARGET=" "MAKE=make" "MAKEINFO=/bin/sh /root/libffi/missing --run makeinfo " "PICFLAG=" "PICFLAG_FOR_TARGET=" "RUNTESTFLAGS=" "SHELL=/bin/sh" "exec_prefix=/usr/local" "infodir=/usr/local/share/info" "libdir=/usr/local/lib" "mandir=/usr/local/share/man" "prefix=/usr/local" "AR=ar" "AS=as" "CC=cc" "CXX=c++" "LD=/usr/bin/ld" "NM=/usr/bin/nm -B" "RANLIB=ranlib" "DESTDIR=" all-recursive
make[2]: Entering directory `/root/libffi/m68k-unknown-linux-gnu'
Making all in include
make[3]: Entering directory `/root/libffi/m68k-unknown-linux-gnu/include'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/root/libffi/m68k-unknown-linux-gnu/include'
Making all in testsuite
make[3]: Entering directory `/root/libffi/m68k-unknown-linux-gnu/testsuite'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/root/libffi/m68k-unknown-linux-gnu/testsuite'
Making all in man
make[3]: Entering directory `/root/libffi/m68k-unknown-linux-gnu/man'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/root/libffi/m68k-unknown-linux-gnu/man'
make[3]: Entering directory `/root/libffi/m68k-unknown-linux-gnu'
depbase=`echo src/prep_cif.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\
	/bin/sh ./libtool --tag=CC   --mode=compile cc -DHAVE_CONFIG_H -I. -I..  -I. -I../include -Iinclude -I../src -D_FORTIFY_SOURCE=2  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security  -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:  cc -DHAVE_CONFIG_H -I. -I.. -I. -I../include -Iinclude -I../src -D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -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:  cc -DHAVE_CONFIG_H -I. -I.. -I. -I../include -Iinclude -I../src -D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -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/sh ./libtool --tag=CC   --mode=compile cc -DHAVE_CONFIG_H -I. -I..  -I. -I../include -Iinclude -I../src -D_FORTIFY_SOURCE=2  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security  -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:  cc -DHAVE_CONFIG_H -I. -I.. -I. -I../include -Iinclude -I../src -D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -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:  cc -DHAVE_CONFIG_H -I. -I.. -I. -I../include -Iinclude -I../src -D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -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/sh ./libtool --tag=CC   --mode=compile cc -DHAVE_CONFIG_H -I. -I..  -I. -I../include -Iinclude -I../src -D_FORTIFY_SOURCE=2  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security  -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:  cc -DHAVE_CONFIG_H -I. -I.. -I. -I../include -Iinclude -I../src -D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -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:  cc -DHAVE_CONFIG_H -I. -I.. -I. -I../include -Iinclude -I../src -D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -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/sh ./libtool --tag=CC   --mode=compile cc -DHAVE_CONFIG_H -I. -I..  -I. -I../include -Iinclude -I../src -D_FORTIFY_SOURCE=2  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security  -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
libtool: compile:  cc -DHAVE_CONFIG_H -I. -I.. -I. -I../include -Iinclude -I../src -D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -fexceptions -MT src/java_raw_api.lo -MD -MP -MF src/.deps/java_raw_api.Tpo -c ../src/java_raw_api.c  -fPIC -DPIC -o src/.libs/java_raw_api.o
libtool: compile:  cc -DHAVE_CONFIG_H -I. -I.. -I. -I../include -Iinclude -I../src -D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -fexceptions -MT src/java_raw_api.lo -MD -MP -MF src/.deps/java_raw_api.Tpo -c ../src/java_raw_api.c -o src/java_raw_api.o >/dev/null 2>&1
depbase=`echo src/closures.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\
	/bin/sh ./libtool --tag=CC   --mode=compile cc -DHAVE_CONFIG_H -I. -I..  -I. -I../include -Iinclude -I../src -D_FORTIFY_SOURCE=2  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security  -Wall -fexceptions -MT src/closures.lo -MD -MP -MF $depbase.Tpo -c -o src/closures.lo ../src/closures.c &&\
	mv -f $depbase.Tpo $depbase.Plo
libtool: compile:  cc -DHAVE_CONFIG_H -I. -I.. -I. -I../include -Iinclude -I../src -D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -fexceptions -MT src/closures.lo -MD -MP -MF src/.deps/closures.Tpo -c ../src/closures.c  -fPIC -DPIC -o src/.libs/closures.o
../src/closures.c: In function 'dlmmap_locked':
../src/closures.c:442:17: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result]
../src/closures.c:454:17: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result]
libtool: compile:  cc -DHAVE_CONFIG_H -I. -I.. -I. -I../include -Iinclude -I../src -D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -fexceptions -MT src/closures.lo -MD -MP -MF src/.deps/closures.Tpo -c ../src/closures.c -o src/closures.o >/dev/null 2>&1
depbase=`echo src/m68k/ffi.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\
	/bin/sh ./libtool --tag=CC   --mode=compile cc -DHAVE_CONFIG_H -I. -I..  -I. -I../include -Iinclude -I../src -D_FORTIFY_SOURCE=2  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security  -Wall -fexceptions -MT src/m68k/ffi.lo -MD -MP -MF $depbase.Tpo -c -o src/m68k/ffi.lo ../src/m68k/ffi.c &&\
	mv -f $depbase.Tpo $depbase.Plo
libtool: compile:  cc -DHAVE_CONFIG_H -I. -I.. -I. -I../include -Iinclude -I../src -D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -fexceptions -MT src/m68k/ffi.lo -MD -MP -MF src/m68k/.deps/ffi.Tpo -c ../src/m68k/ffi.c  -fPIC -DPIC -o src/m68k/.libs/ffi.o
../src/m68k/ffi.c: In function 'ffi_prep_closure_loc':
../src/m68k/ffi.c:334:3: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
libtool: compile:  cc -DHAVE_CONFIG_H -I. -I.. -I. -I../include -Iinclude -I../src -D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -fexceptions -MT src/m68k/ffi.lo -MD -MP -MF src/m68k/.deps/ffi.Tpo -c ../src/m68k/ffi.c -o src/m68k/ffi.o >/dev/null 2>&1
depbase=`echo src/m68k/sysv.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\
	/bin/sh ./libtool   --mode=compile cc -DHAVE_CONFIG_H -I. -I..  -I. -I../include -Iinclude -I../src -D_FORTIFY_SOURCE=2 -I. -I../include -Iinclude -I../src -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wa,--gdwarf2 -MT src/m68k/sysv.lo -MD -MP -MF $depbase.Tpo -c -o src/m68k/sysv.lo ../src/m68k/sysv.S &&\
	mv -f $depbase.Tpo $depbase.Plo
libtool: compile:  cc -DHAVE_CONFIG_H -I. -I.. -I. -I../include -Iinclude -I../src -D_FORTIFY_SOURCE=2 -I. -I../include -Iinclude -I../src -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wa,--gdwarf2 -MT src/m68k/sysv.lo -MD -MP -MF src/m68k/.deps/sysv.Tpo -c ../src/m68k/sysv.S  -fPIC -DPIC -o src/m68k/.libs/sysv.o
libtool: compile:  cc -DHAVE_CONFIG_H -I. -I.. -I. -I../include -Iinclude -I../src -D_FORTIFY_SOURCE=2 -I. -I../include -Iinclude -I../src -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wa,--gdwarf2 -MT src/m68k/sysv.lo -MD -MP -MF src/m68k/.deps/sysv.Tpo -c ../src/m68k/sysv.S -o src/m68k/sysv.o >/dev/null 2>&1
/bin/sh ./libtool --tag=CC   --mode=link cc  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security  -Wall -fexceptions  -Wl,-z,defs -Wl,-z,relro -o libffi_convenience.la  src/prep_cif.lo src/types.lo src/raw_api.lo src/java_raw_api.lo src/closures.lo             src/m68k/ffi.lo src/m68k/sysv.lo                   
libtool: link: 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/m68k/.libs/ffi.o src/m68k/.libs/sysv.o 
libtool: link: ranlib .libs/libffi_convenience.a
libtool: link: ( cd ".libs" && rm -f "libffi_convenience.la" && ln -s "../libffi_convenience.la" "libffi_convenience.la" )
/bin/sh: ../../libtool-ldflags: No such file or directory
/bin/sh ./libtool --tag=CC   --mode=link cc  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security  -Wall -fexceptions -no-undefined -version-info `grep -v '^#' ../libtool-version`   -Wl,-z,defs -Wl,-z,relro -o libffi.la -rpath /usr/local/lib src/prep_cif.lo src/types.lo src/raw_api.lo src/java_raw_api.lo src/closures.lo             src/m68k/ffi.lo src/m68k/sysv.lo                   
libtool: link: cc -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/m68k/.libs/ffi.o src/m68k/.libs/sysv.o    -O2 -Wl,-z -Wl,defs -Wl,-z -Wl,relro   -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: 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/m68k/ffi.o src/m68k/sysv.o
libtool: link: ranlib .libs/libffi.a
libtool: link: ( cd ".libs" && rm -f "libffi.la" && ln -s "../libffi.la" "libffi.la" )
make[3]: Leaving directory `/root/libffi/m68k-unknown-linux-gnu'
make[2]: Leaving directory `/root/libffi/m68k-unknown-linux-gnu'
make[1]: Leaving directory `/root/libffi/m68k-unknown-linux-gnu'
+ make check
MAKE m68k-unknown-linux-gnu : 0 * check
make[1]: Entering directory `/root/libffi/m68k-unknown-linux-gnu'
Making check in include
make[2]: Entering directory `/root/libffi/m68k-unknown-linux-gnu/include'
make[2]: Nothing to be done for `check'.
make[2]: Leaving directory `/root/libffi/m68k-unknown-linux-gnu/include'
Making check in testsuite
make[2]: Entering directory `/root/libffi/m68k-unknown-linux-gnu/testsuite'
make  check-DEJAGNU
make[3]: Entering directory `/root/libffi/m68k-unknown-linux-gnu/testsuite'
Making a new site.exp file ...
srcdir='../../testsuite'; 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
Test Run By root on Fri Jan 11 00:05:42 2013
Native configuration is m68k-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 ../../testsuite/config/default.exp as tool-and-target-specific interface file.
Running ../../testsuite/libffi.call/call.exp ...
Running ../../testsuite/libffi.special/special.exp ...

		=== libffi Summary ===

# of expected passes		1819
# of unsupported tests		55
make[3]: Leaving directory `/root/libffi/m68k-unknown-linux-gnu/testsuite'
make[2]: Leaving directory `/root/libffi/m68k-unknown-linux-gnu/testsuite'
Making check in man
make[2]: Entering directory `/root/libffi/m68k-unknown-linux-gnu/man'
make[2]: Nothing to be done for `check'.
make[2]: Leaving directory `/root/libffi/m68k-unknown-linux-gnu/man'
make[2]: Entering directory `/root/libffi/m68k-unknown-linux-gnu'
make[2]: Leaving directory `/root/libffi/m68k-unknown-linux-gnu'
make[1]: Leaving directory `/root/libffi/m68k-unknown-linux-gnu'

Reply to: