Hello. I'm trying to get the test suite to run so that I can submit a couple of patches to add FreeBSD AMD64 support for GNAT (see bug 40310[1]). Unfortunately, 'gmake -k check' fails mysteriously: $ uname -v FreeBSD 7.2-RELEASE-p2 #0: Wed Jun 24 00:14:35 UTC 2009 root@xxxxxxxxxxxxxxxxxxxxxxxxxxxxx:/usr/obj/usr/src/sys/GENERIC $ gmake -k check Password: gmake[1]: Entering directory `/usr/jails/i386/root/gnatport/obj/c8-gcc' gmake[2]: Entering directory `/usr/jails/i386/root/gnatport/obj/c8-gcc/fixincludes' autogen -T /usr/jails/i386/root/gnatport/gcc-4.4.0/fixincludes/check.tpl /usr/jails/i386/root/gnatport/gcc-4.4.0/fixincludes/inclhack.def /bin/sh ./check.sh /usr/jails/i386/root/gnatport/gcc-4.4.0/fixincludes/tests/base Fixed: testing.h Fixed: testing.h Fixed: AvailabilityMacros.h Fixed: X11/ShellP.h Fixed: X11/Xmu.h Fixed: Xm/BaseClassI.h Fixed: Xm/Traversal.h Fixed: ansi/math.h Fixed: ansi/stdlib.h Fixed: arch/i960/archI960.h Fixed: architecture/ppc/math.h Fixed: assert.h Fixed: bits/huge_val.h Fixed: bits/string2.h Fixed: bsd/libc.h Fixed: c_asm.h Fixed: com_err.h Fixed: ctrl-quotes-def-1.h Fixed: ctype.h Fixed: curses.h Fixed: errno.h Fixed: features.h Fixed: fixinc-test-limits.h Fixed: hsfs/hsfs_spec.h Fixed: ia64/sys/getppdp.h Fixed: internal/math_core.h Fixed: internal/sgimacros.h Fixed: internal/wchar_core.h Fixed: inttypes.h Fixed: io-quotes-def-1.h Fixed: iso/math_c99.h Fixed: locale.h Fixed: mach-o/dyld.h Fixed: mach-o/swap.h Fixed: malloc.h Fixed: math.h Fixed: net/if.h Fixed: netdnet/dnetdb.h Fixed: netinet/in.h Fixed: netinet/ip.h Fixed: obstack.h Fixed: pixrect/memvar.h Fixed: pthread.h Fixed: reg_types.h Fixed: regex.h Fixed: regexp.h Fixed: rpc/auth.h Fixed: rpc/rpc.h Fixed: rpc/xdr.h Fixed: rpcsvc/rstat.h Fixed: rpcsvc/rusers.h Fixed: signal.h Fixed: sparc/asm_linkage.h Fixed: standards.h Fixed: stdarg.h Fixed: stdint.h Fixed: stdio.h Fixed: stdio_tag.h Fixed: stdlib.h Fixed: string.h Fixed: strings.h Fixed: sundev/vuid_event.h Fixed: sunwindow/win_lock.h Fixed: sym.h Fixed: sys/asm.h Fixed: sys/cdefs.h Fixed: sys/file.h Fixed: sys/limits.h Fixed: sys/machine.h Fixed: sys/mman.h Fixed: sys/pthread.h Fixed: sys/signal.h Fixed: sys/socket.h Fixed: sys/spinlock.h Fixed: sys/stat.h Fixed: sys/sysmacros.h Fixed: sys/time.h Fixed: sys/types.h Fixed: sys/ucontext.h Fixed: sys/wait.h Fixed: testing.h Fixed: time.h Fixed: tinfo.h Fixed: types/vxTypesBase.h Fixed: unistd.h Fixed: wchar.h Xm/Traversal.h /usr/jails/i386/root/gnatport/gcc-4.4.0/fixincludes/tests/base/Xm/Traversal.h differ: char 296, line 15 *** Xm/Traversal.h Mon Jun 29 08:24:21 2009 --- /usr/jails/i386/root/gnatport/gcc-4.4.0/fixincludes/tests/base/Xm/Traversal.h Tue Aug 31 10:27:00 2004 *************** *** 12,18 **** #if defined( X11_NEW_CHECK ) struct wedge { #ifdef __cplusplus ! Widget old, c_new; #else Widget old, new; /* fixinc check FAILS ON BSD */ #endif --- 12,18 ---- #if defined( X11_NEW_CHECK ) struct wedge { #ifdef __cplusplus ! Widget old, c_new; #else Widget old, new; /* fixinc check FAILS ON BSD */ #endif pthread.h /usr/jails/i386/root/gnatport/gcc-4.4.0/fixincludes/tests/base/pthread.h differ: char 2234, line 60 *** pthread.h Mon Jun 29 08:24:21 2009 --- /usr/jails/i386/root/gnatport/gcc-4.4.0/fixincludes/tests/base/pthread.h Sat Sep 6 20:57:26 2008 *************** *** 57,82 **** #if defined( GLIBC_MUTEX_INIT_CHECK ) #define PTHREAD_MUTEX_INITIALIZER \ ! { { 0, } } #ifdef __USE_GNU # if __WORDSIZE == 64 # define PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP \ ! { { 0, 0, 0, 0, PTHREAD_MUTEX_RECURSIVE_NP } } # define PTHREAD_ERRORCHECK_MUTEX_INITIALIZER_NP \ ! { { 0, 0, 0, 0, PTHREAD_MUTEX_ERRORCHECK_NP } } # define PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP \ ! { { 0, 0, 0, 0, PTHREAD_MUTEX_ADAPTIVE_NP } } # else # define PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP \ ! { { 0, 0, 0, PTHREAD_MUTEX_RECURSIVE_NP } } # define PTHREAD_ERRORCHECK_MUTEX_INITIALIZER_NP \ ! { { 0, 0, 0, PTHREAD_MUTEX_ERRORCHECK_NP } } # define PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP \ ! { { 0, 0, 0, PTHREAD_MUTEX_ADAPTIVE_NP } } # endif #endif ! # define PTHREAD_RWLOCK_INITIALIZER \ ! { { 0, } } # ifdef __USE_GNU # if __WORDSIZE == 64 # define PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP \ --- 57,87 ---- #if defined( GLIBC_MUTEX_INIT_CHECK ) #define PTHREAD_MUTEX_INITIALIZER \ ! { { 0, 0, 0, 0, 0, 0 } } #ifdef __USE_GNU # if __WORDSIZE == 64 # define PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP \ ! { { 0, 0, 0, 0, PTHREAD_MUTEX_RECURSIVE_NP, 0 } } # define PTHREAD_ERRORCHECK_MUTEX_INITIALIZER_NP \ ! { { 0, 0, 0, 0, PTHREAD_MUTEX_ERRORCHECK_NP, 0 } } # define PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP \ ! { { 0, 0, 0, 0, PTHREAD_MUTEX_ADAPTIVE_NP, 0 } } # else # define PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP \ ! { { 0, 0, 0, PTHREAD_MUTEX_RECURSIVE_NP, 0, 0 } } # define PTHREAD_ERRORCHECK_MUTEX_INITIALIZER_NP \ ! { { 0, 0, 0, PTHREAD_MUTEX_ERRORCHECK_NP, 0, 0 } } # define PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP \ ! { { 0, 0, 0, PTHREAD_MUTEX_ADAPTIVE_NP, 0, 0 } } # endif #endif ! # if __WORDSIZE == 64 ! # define PTHREAD_RWLOCK_INITIALIZER \ ! { { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 } } ! # else ! # define PTHREAD_RWLOCK_INITIALIZER \ ! { { 0, 0, 0, 0, 0, 0, 0, 0 } } ! # endif # ifdef __USE_GNU # if __WORDSIZE == 64 # define PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP \ *************** *** 87,93 **** { { 0, 0, 0, 0, 0, 0, PTHREAD_RWLOCK_PREFER_WRITER_NONRECURSIVE_NP, 0 } } # endif # endif ! #define PTHREAD_COND_INITIALIZER { { 0, } } #endif /* GLIBC_MUTEX_INIT_CHECK */ --- 92,98 ---- { { 0, 0, 0, 0, 0, 0, PTHREAD_RWLOCK_PREFER_WRITER_NONRECURSIVE_NP, 0 } } # endif # endif ! #define PTHREAD_COND_INITIALIZER { { 0, 0, 0, 0, 0, (void *) 0, 0, 0 } } #endif /* GLIBC_MUTEX_INIT_CHECK */ sys/stat.h /usr/jails/i386/root/gnatport/gcc-4.4.0/fixincludes/tests/base/sys/stat.h differ: char 432, line 18 *** sys/stat.h Mon Jun 29 08:24:21 2009 --- /usr/jails/i386/root/gnatport/gcc-4.4.0/fixincludes/tests/base/sys/stat.h Sat Jun 7 19:00:15 2008 *************** *** 15,21 **** #if defined( GLIBC_C99_INLINE_2_CHECK ) ! extern int fstat64 (int __fd, struct stat64 *__buf) __THROW __nonnull ((2)); #ifdef __GNUC_GNU_INLINE__ extern #endif --- 15,24 ---- #if defined( GLIBC_C99_INLINE_2_CHECK ) ! #ifdef __GNUC_GNU_INLINE__ ! extern ! #endif ! __inline__ int fstat64 (int __fd, struct stat64 *__buf) __THROW __nonnull ((2)); #ifdef __GNUC_GNU_INLINE__ extern #endif There were fixinclude test FAILURES gmake[2]: *** [check] Error 1 gmake[2]: Leaving directory `/usr/jails/i386/root/gnatport/obj/c8-gcc/fixincludes' gmake[1]: *** [check-fixincludes] Error 2 gmake[2]: Entering directory `/usr/jails/i386/root/gnatport/obj/c8-gcc/gcc' gmake[3]: Entering directory `/usr/jails/i386/root/gnatport/obj/c8-gcc/gcc' test -d testsuite || mkdir testsuite test -d testsuite/gcc || mkdir testsuite/gcc (rootme=`${PWDCMD-pwd}`; export rootme; \ srcdir=`cd /usr/jails/i386/root/gnatport/gcc-4.4.0/gcc; ${PWDCMD-pwd}` ; export srcdir ; \ cd testsuite/gcc; \ rm -f tmp-site.exp; \ sed '/set tmpdir/ s|testsuite|testsuite/gcc|' \ < ../../site.exp > tmp-site.exp; \ /bin/sh ${srcdir}/../move-if-change tmp-site.exp site.exp; \ EXPECT=`if [ -f ${rootme}/../expect/expect ] ; then echo ${rootme}/../expect/expect ; else echo expect ; fi` ; export EXPECT ; \ if [ -f ${rootme}/../expect/expect ] ; then \ TCL_LIBRARY=`cd .. ; cd ${srcdir}/../tcl/library ; ${PWDCMD-pwd}` ; \ export TCL_LIBRARY ; fi ; \ runtestflags= ; \ if [ -n "" ] ; then \ runtestflags=""; \ elif [ -n "" ] ; then \ parts="`echo ' ' \ | sed 's/=[^ ]* / /g'`"; \ for part in `find $srcdir/testsuite/gcc* -name \*.exp` ; do \ part=`basename $part` ; \ case " $parts $runtestflags " in \ *" $part "*) ;; \ *) runtestflags="$runtestflags $part" ;; \ esac ; \ done ; \ fi ; \ `if [ -f ${srcdir}/../dejagnu/runtest ] ; then echo ${srcdir}/../dejagnu/runtest ; else echo runtest; fi` --tool gcc $runtestflags) WARNING: Couldn't find the global config file. WARNING: Couldn't find tool init file Test Run By root on Mon Jun 29 08:24:21 2009 Native configuration is x86_64-pc-freebsd7.2 === gcc tests === Schedule of variations: unix Running target unix Using /usr/local/share/dejagnu/baseboards/unix.exp as board description file for target. Using /usr/local/share/dejagnu/config/unix.exp as generic interface file for target. WARNING: Couldn't find tool config file for unix, using default. === gcc Summary === gmake[3]: Leaving directory `/usr/jails/i386/root/gnatport/obj/c8-gcc/gcc' cd: can't cd to /usr/jails/i386/root/gnatport/gcc-4.4.0/gcc/testsuite/ada/acats /run_acats: Can't open /run_acats: No such file or directory gmake[2]: *** [check-acats] Error 2 test -d testsuite || mkdir testsuite test -d testsuite/gnat || mkdir testsuite/gnat (rootme=`${PWDCMD-pwd}`; export rootme; \ srcdir=`cd /usr/jails/i386/root/gnatport/gcc-4.4.0/gcc; ${PWDCMD-pwd}` ; export srcdir ; \ cd testsuite/gnat; \ rm -f tmp-site.exp; \ sed '/set tmpdir/ s|testsuite|testsuite/gnat|' \ < ../../site.exp > tmp-site.exp; \ /bin/sh ${srcdir}/../move-if-change tmp-site.exp site.exp; \ EXPECT=expect ; export EXPECT ; \ if [ -f ${rootme}/../expect/expect ] ; then \ TCL_LIBRARY=`cd .. ; cd ${srcdir}/../tcl/library ; ${PWDCMD-pwd}` ; \ export TCL_LIBRARY ; fi ; \ runtest --tool gnat ) WARNING: Couldn't find the global config file. WARNING: Couldn't find tool init file Test Run By root on Mon Jun 29 08:24:23 2009 Native configuration is x86_64-pc-freebsd7.2 === gnat tests === Schedule of variations: unix Running target unix Using /usr/local/share/dejagnu/baseboards/unix.exp as board description file for target. Using /usr/local/share/dejagnu/config/unix.exp as generic interface file for target. WARNING: Couldn't find tool config file for unix, using default. === gnat Summary === gmake[2]: Target `check' not remade because of errors. gmake[2]: Leaving directory `/usr/jails/i386/root/gnatport/obj/c8-gcc/gcc' gmake[1]: *** [check-gcc] Error 2 gmake[2]: Entering directory `/usr/jails/i386/root/gnatport/obj/c8-gcc/intl' gmake[2]: Nothing to be done for `check'. gmake[2]: Leaving directory `/usr/jails/i386/root/gnatport/obj/c8-gcc/intl' gmake[2]: Entering directory `/usr/jails/i386/root/gnatport/obj/c8-gcc/libcpp' gmake[2]: Nothing to be done for `check'. gmake[2]: Leaving directory `/usr/jails/i386/root/gnatport/obj/c8-gcc/libcpp' gmake[2]: Entering directory `/usr/jails/i386/root/gnatport/obj/c8-gcc/libdecnumber' gmake[2]: Nothing to be done for `check'. gmake[2]: Leaving directory `/usr/jails/i386/root/gnatport/obj/c8-gcc/libdecnumber' gmake[2]: Entering directory `/usr/jails/i386/root/gnatport/obj/c8-gcc/libiberty' gmake[3]: Entering directory `/usr/jails/i386/root/gnatport/obj/c8-gcc/libiberty/testsuite' ./test-demangle < /usr/jails/i386/root/gnatport/gcc-4.4.0/libiberty/testsuite/demangle-expected ./test-demangle: 777 tests, 0 failures ./test-pexecute ./test-expandargv PASS: test-expandargv-0. PASS: test-expandargv-1. PASS: test-expandargv-2. PASS: test-expandargv-3. gmake[3]: Leaving directory `/usr/jails/i386/root/gnatport/obj/c8-gcc/libiberty/testsuite' gmake[2]: Leaving directory `/usr/jails/i386/root/gnatport/obj/c8-gcc/libiberty' gmake[2]: Entering directory `/usr/jails/i386/root/gnatport/obj/c8-gcc/gnattools' gmake[2]: Nothing to be done for `check'. gmake[2]: Leaving directory `/usr/jails/i386/root/gnatport/obj/c8-gcc/gnattools' gmake[1]: Target `check-host' not remade because of errors. gmake[2]: Entering directory `/usr/jails/i386/root/gnatport/obj/c8-gcc/x86_64-pc-freebsd7.2/libmudflap' Making check in testsuite gmake[3]: Entering directory `/usr/jails/i386/root/gnatport/obj/c8-gcc/x86_64-pc-freebsd7.2/libmudflap/testsuite' gmake check-DEJAGNU gmake[4]: Entering directory `/usr/jails/i386/root/gnatport/obj/c8-gcc/x86_64-pc-freebsd7.2/libmudflap/testsuite' srcdir=`CDPATH="${ZSH_VERSION+.}:" && cd /usr/jails/i386/root/gnatport/gcc-4.4.0/libmudflap/testsuite && pwd`; export srcdir; \ EXPECT=`if [ -f ../../expect/expect ] ; then echo ../../expect/expect ; else echo expect ; fi`; export EXPECT; \ runtest=`if [ -f /usr/jails/i386/root/gnatport/gcc-4.4.0/libmudflap/testsuite/../../dejagnu/runtest ] ; then echo /usr/jails/i386/root/gnatport/gcc-4.4.0/libmudflap/testsuite/../../dejagnu/runtest ; else echo runtest ; fi`; \ if /bin/sh -c "$runtest --version" > /dev/null 2>&1; then \ l='libmudflap'; for tool in $l; do \ $runtest --tool $tool --srcdir $srcdir ; \ done; \ else echo "WARNING: could not find \`runtest'" 1>&2; :;\ fi WARNING: Couldn't find the global config file. Test Run By root on Mon Jun 29 08:24:27 2009 Native configuration is x86_64-pc-freebsd7.2 === libmudflap tests === Schedule of variations: unix Running target unix Using /usr/local/share/dejagnu/baseboards/unix.exp as board description file for target. Using /usr/local/share/dejagnu/config/unix.exp as generic interface file for target. Using /usr/jails/i386/root/gnatport/gcc-4.4.0/libmudflap/testsuite/config/default.exp as tool-and-target-specific interface file. Running /usr/jails/i386/root/gnatport/gcc-4.4.0/libmudflap/testsuite/libmudflap.c/cfrags.exp ... ERROR: (DejaGnu) proc "set_ld_library_path_env_vars" does not exist. The error code is NONE The info on the error is: no files matched glob pattern "/usr/jails/i386/root/gnatport/gcc-4.4.0/libmudflap/testsuite/libmudflap.c++/libmudflap*" while executing "glob /usr/jails/i386/root/gnatport/gcc-4.4.0/libmudflap/testsuite/libmudflap.c++/libmudflap*" invoked from within "catch "glob ${path}/${pattern}" tmp" === libmudflap Summary === gmake[4]: *** [check-DEJAGNU] Error 1 gmake[4]: Leaving directory `/usr/jails/i386/root/gnatport/obj/c8-gcc/x86_64-pc-freebsd7.2/libmudflap/testsuite' gmake[3]: *** [check-am] Error 2 gmake[3]: Target `check' not remade because of errors. gmake[3]: Leaving directory `/usr/jails/i386/root/gnatport/obj/c8-gcc/x86_64-pc-freebsd7.2/libmudflap/testsuite' gmake[3]: Entering directory `/usr/jails/i386/root/gnatport/obj/c8-gcc/x86_64-pc-freebsd7.2/libmudflap' gmake "AR_FLAGS=rc" "CC_FOR_BUILD=gcc" "CFLAGS=-g -O2 " "CXXFLAGS=-g -O2 " "CFLAGS_FOR_BUILD=-g -O2" "CFLAGS_FOR_TARGET=-g -O2" "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=-g -O2 " "LIBCFLAGS_FOR_TARGET=-g -O2" "MAKE=gmake" "MAKEINFO=makeinfo --split-size=5000000 --split-size=5000000 " "PICFLAG=" "PICFLAG_FOR_TARGET=" "SHELL=/bin/sh" "RUNTESTFLAGS=" "exec_prefix=/tmp/gnat-boot" "infodir=/tmp/gnat-boot/info" "libdir=/tmp/gnat-boot/lib" "prefix=/tmp/gnat-boot" "includedir=/tmp/gnat-boot/include" "AR=ar" "AS=/usr/jails/i386/root/gnatport/obj/c8-gcc/./gcc/as" "CC=/usr/jails/i386/root/gnatport/obj/c8-gcc/./gcc/xgcc -B/usr/jails/i386/root/gnatport/obj/c8-gcc/./gcc/ -B/tmp/gnat-boot/x86_64-pc-freebsd7.2/bin/ -B/tmp/gnat-boot/x86_64-pc-freebsd7.2/lib/ -isystem /tmp/gnat-boot/x86_64-pc-freebsd7.2/include -isystem /tmp/gnat-boot/x86_64-pc-freebsd7.2/sys-include" "CXX=g++ -B/tmp/gnat-boot/x86_64-pc-freebsd7.2/bin/ -B/tmp/gnat-boot/x86_64-pc-freebsd7.2/lib/ -isystem /tmp/gnat-boot/x86_64-pc-freebsd7.2/include -isystem /tmp/gnat-boot/x86_64-pc-freebsd7.2/sys-include" "LD=/usr/jails/i386/root/gnatport/obj/c8-gcc/./gcc/collect-ld" "LIBCFLAGS=-g -O2 " "NM=/usr/jails/i386/root/gnatport/obj/c8-gcc/./gcc/nm" "PICFLAG=" "RANLIB=ranlib" "DESTDIR=" DO=all multi-do # gmake gmake[4]: Entering directory `/usr/jails/i386/root/gnatport/obj/c8-gcc/x86_64-pc-freebsd7.2/libmudflap' if [ -z "" ]; then \ true; \ else \ rootpre=`${PWDCMD-pwd}`/; export rootpre; \ srcrootpre=`cd /usr/jails/i386/root/gnatport/gcc-4.4.0/libmudflap; ${PWDCMD-pwd}`/; export srcrootpre; \ lib=`echo "${rootpre}" | sed -e 's,^.*/\([^/][^/]*\)/$,\1,'`; \ compiler="/usr/jails/i386/root/gnatport/obj/c8-gcc/./gcc/xgcc -B/usr/jails/i386/root/gnatport/obj/c8-gcc/./gcc/ -B/tmp/gnat-boot/x86_64-pc-freebsd7.2/bin/ -B/tmp/gnat-boot/x86_64-pc-freebsd7.2/lib/ -isystem /tmp/gnat-boot/x86_64-pc-freebsd7.2/include -isystem /tmp/gnat-boot/x86_64-pc-freebsd7.2/sys-include"; \ for i in `${compiler} --print-multi-lib 2>/dev/null`; do \ dir=`echo $i | sed -e 's/;.*$//'`; \ if [ "${dir}" = "." ]; then \ true; \ else \ if [ -d ../${dir}/${lib} ]; then \ flags=`echo $i | sed -e 's/^[^;]*;//' -e 's/@/ -/g'`; \ if (cd ../${dir}/${lib}; gmake \ CFLAGS="-g -O2 ${flags}" \ CCASFLAGS=" ${flags}" \ FCFLAGS=" ${flags}" \ FFLAGS=" ${flags}" \ ADAFLAGS=" ${flags}" \ prefix="/tmp/gnat-boot" \ exec_prefix="/tmp/gnat-boot" \ GCJFLAGS=" ${flags}" \ CXXFLAGS="-g -O2 ${flags}" \ LIBCFLAGS="-g -O2 ${flags}" \ LIBCXXFLAGS="-g -O2 -fno-implicit-templates ${flags}" \ LDFLAGS=" ${flags}" \ MULTIFLAGS="${flags}" \ DESTDIR="" \ 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" \ all); then \ true; \ else \ exit 1; \ fi; \ else true; \ fi; \ fi; \ done; \ fi gmake[4]: Leaving directory `/usr/jails/i386/root/gnatport/obj/c8-gcc/x86_64-pc-freebsd7.2/libmudflap' gmake[3]: Leaving directory `/usr/jails/i386/root/gnatport/obj/c8-gcc/x86_64-pc-freebsd7.2/libmudflap' gmake[2]: *** [check-recursive] Error 1 gmake[2]: Target `check' not remade because of errors. gmake[2]: Leaving directory `/usr/jails/i386/root/gnatport/obj/c8-gcc/x86_64-pc-freebsd7.2/libmudflap' gmake[1]: *** [check-target-libmudflap] Error 2 gmake[2]: Entering directory `/usr/jails/i386/root/gnatport/obj/c8-gcc/x86_64-pc-freebsd7.2/libssp' gmake "AR_FLAGS=rc" "CC_FOR_BUILD=gcc" "CFLAGS=-g -O2 " "CXXFLAGS=-g -O2 " "CFLAGS_FOR_BUILD=-g -O2" "CFLAGS_FOR_TARGET=-g -O2" "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=-g -O2 " "LIBCFLAGS_FOR_TARGET=-g -O2" "MAKE=gmake" "MAKEINFO=makeinfo --split-size=5000000 --split-size=5000000 " "PICFLAG=" "PICFLAG_FOR_TARGET=" "SHELL=/bin/sh" "RUNTESTFLAGS=" "exec_prefix=/tmp/gnat-boot" "infodir=/tmp/gnat-boot/info" "libdir=/tmp/gnat-boot/lib" "prefix=/tmp/gnat-boot" "includedir=/tmp/gnat-boot/include" "AR=ar" "AS=/usr/jails/i386/root/gnatport/obj/c8-gcc/./gcc/as" "CC=/usr/jails/i386/root/gnatport/obj/c8-gcc/./gcc/xgcc -B/usr/jails/i386/root/gnatport/obj/c8-gcc/./gcc/ -B/tmp/gnat-boot/x86_64-pc-freebsd7.2/bin/ -B/tmp/gnat-boot/x86_64-pc-freebsd7.2/lib/ -isystem /tmp/gnat-boot/x86_64-pc-freebsd7.2/include -isystem /tmp/gnat-boot/x86_64-pc-freebsd7.2/sys-include" "CXX=g++ -B/tmp/gnat-boot/x86_64-pc-freebsd7.2/bin/ -B/tmp/gnat-boot/x86_64-pc-freebsd7.2/lib/ -isystem /tmp/gnat-boot/x86_64-pc-freebsd7.2/include -isystem /tmp/gnat-boot/x86_64-pc-freebsd7.2/sys-include" "LD=/usr/jails/i386/root/gnatport/obj/c8-gcc/./gcc/collect-ld" "LIBCFLAGS=-g -O2 " "NM=/usr/jails/i386/root/gnatport/obj/c8-gcc/./gcc/nm" "PICFLAG=" "RANLIB=ranlib" "DESTDIR=" DO=all multi-do # gmake gmake[3]: Entering directory `/usr/jails/i386/root/gnatport/obj/c8-gcc/x86_64-pc-freebsd7.2/libssp' if [ -z "" ]; then \ true; \ else \ rootpre=`${PWDCMD-pwd}`/; export rootpre; \ srcrootpre=`cd /usr/jails/i386/root/gnatport/gcc-4.4.0/libssp; ${PWDCMD-pwd}`/; export srcrootpre; \ lib=`echo "${rootpre}" | sed -e 's,^.*/\([^/][^/]*\)/$,\1,'`; \ compiler="/usr/jails/i386/root/gnatport/obj/c8-gcc/./gcc/xgcc -B/usr/jails/i386/root/gnatport/obj/c8-gcc/./gcc/ -B/tmp/gnat-boot/x86_64-pc-freebsd7.2/bin/ -B/tmp/gnat-boot/x86_64-pc-freebsd7.2/lib/ -isystem /tmp/gnat-boot/x86_64-pc-freebsd7.2/include -isystem /tmp/gnat-boot/x86_64-pc-freebsd7.2/sys-include"; \ for i in `${compiler} --print-multi-lib 2>/dev/null`; do \ dir=`echo $i | sed -e 's/;.*$//'`; \ if [ "${dir}" = "." ]; then \ true; \ else \ if [ -d ../${dir}/${lib} ]; then \ flags=`echo $i | sed -e 's/^[^;]*;//' -e 's/@/ -/g'`; \ if (cd ../${dir}/${lib}; gmake \ CFLAGS="-g -O2 ${flags}" \ CCASFLAGS=" ${flags}" \ FCFLAGS=" ${flags}" \ FFLAGS=" ${flags}" \ ADAFLAGS=" ${flags}" \ prefix="/tmp/gnat-boot" \ exec_prefix="/tmp/gnat-boot" \ GCJFLAGS=" ${flags}" \ CXXFLAGS="-g -O2 ${flags}" \ LIBCFLAGS="-g -O2 ${flags}" \ LIBCXXFLAGS="-g -O2 -fno-implicit-templates ${flags}" \ LDFLAGS=" ${flags}" \ MULTIFLAGS="${flags}" \ DESTDIR="" \ 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" \ all); then \ true; \ else \ exit 1; \ fi; \ else true; \ fi; \ fi; \ done; \ fi gmake[3]: Leaving directory `/usr/jails/i386/root/gnatport/obj/c8-gcc/x86_64-pc-freebsd7.2/libssp' gmake[2]: Leaving directory `/usr/jails/i386/root/gnatport/obj/c8-gcc/x86_64-pc-freebsd7.2/libssp' gmake[2]: Entering directory `/usr/jails/i386/root/gnatport/obj/c8-gcc/x86_64-pc-freebsd7.2/libiberty' gmake[3]: Entering directory `/usr/jails/i386/root/gnatport/obj/c8-gcc/x86_64-pc-freebsd7.2/libiberty/testsuite' gmake[3]: Nothing to be done for `check'. gmake[3]: Leaving directory `/usr/jails/i386/root/gnatport/obj/c8-gcc/x86_64-pc-freebsd7.2/libiberty/testsuite' gmake[2]: Leaving directory `/usr/jails/i386/root/gnatport/obj/c8-gcc/x86_64-pc-freebsd7.2/libiberty' gmake[2]: Entering directory `/usr/jails/i386/root/gnatport/obj/c8-gcc/x86_64-pc-freebsd7.2/libada' gmake[2]: Nothing to be done for `check'. gmake[2]: Leaving directory `/usr/jails/i386/root/gnatport/obj/c8-gcc/x86_64-pc-freebsd7.2/libada' gmake[2]: Entering directory `/usr/jails/i386/root/gnatport/obj/c8-gcc/x86_64-pc-freebsd7.2/libgomp' Making check in testsuite gmake[3]: Entering directory `/usr/jails/i386/root/gnatport/obj/c8-gcc/x86_64-pc-freebsd7.2/libgomp/testsuite' gmake check-DEJAGNU gmake[4]: Entering directory `/usr/jails/i386/root/gnatport/obj/c8-gcc/x86_64-pc-freebsd7.2/libgomp/testsuite' srcdir=`CDPATH="${ZSH_VERSION+.}:" && cd /usr/jails/i386/root/gnatport/gcc-4.4.0/libgomp/testsuite && pwd`; export srcdir; \ EXPECT=expect; export EXPECT; \ runtest=runtest; \ if /bin/sh -c "$runtest --version" > /dev/null 2>&1; then \ l='libgomp'; for tool in $l; do \ $runtest --tool $tool --srcdir $srcdir ; \ done; \ else echo "WARNING: could not find \`runtest'" 1>&2; :;\ fi WARNING: Couldn't find the global config file. Test Run By root on Mon Jun 29 08:24:30 2009 Native configuration is x86_64-pc-freebsd7.2 === libgomp tests === Schedule of variations: unix Running target unix Using /usr/local/share/dejagnu/baseboards/unix.exp as board description file for target. Using /usr/local/share/dejagnu/config/unix.exp as generic interface file for target. Using /usr/jails/i386/root/gnatport/gcc-4.4.0/libgomp/testsuite/config/default.exp as tool-and-target-specific interface file. Running /usr/jails/i386/root/gnatport/gcc-4.4.0/libgomp/testsuite/libgomp.c/c.exp ... ERROR: (DejaGnu) proc "check_effective_target_ilp32" does not exist. The error code is NONE The info on the error is: no files matched glob pattern "/usr/jails/i386/root/gnatport/gcc-4.4.0/libgomp/testsuite/libgomp.c++/libgomp*" while executing "glob /usr/jails/i386/root/gnatport/gcc-4.4.0/libgomp/testsuite/libgomp.c++/libgomp*" invoked from within "catch "glob ${path}/${pattern}" tmp" === libgomp Summary === gmake[4]: *** [check-DEJAGNU] Error 1 gmake[4]: Leaving directory `/usr/jails/i386/root/gnatport/obj/c8-gcc/x86_64-pc-freebsd7.2/libgomp/testsuite' gmake[3]: *** [check-am] Error 2 gmake[3]: Target `check' not remade because of errors. gmake[3]: Leaving directory `/usr/jails/i386/root/gnatport/obj/c8-gcc/x86_64-pc-freebsd7.2/libgomp/testsuite' gmake[3]: Entering directory `/usr/jails/i386/root/gnatport/obj/c8-gcc/x86_64-pc-freebsd7.2/libgomp' gmake DO=all multi-do # gmake gmake[4]: Entering directory `/usr/jails/i386/root/gnatport/obj/c8-gcc/x86_64-pc-freebsd7.2/libgomp' if [ -z "" ]; then \ true; \ else \ rootpre=`${PWDCMD-pwd}`/; export rootpre; \ srcrootpre=`cd /usr/jails/i386/root/gnatport/gcc-4.4.0/libgomp; ${PWDCMD-pwd}`/; export srcrootpre; \ lib=`echo "${rootpre}" | sed -e 's,^.*/\([^/][^/]*\)/$,\1,'`; \ compiler="/usr/jails/i386/root/gnatport/obj/c8-gcc/./gcc/xgcc -B/usr/jails/i386/root/gnatport/obj/c8-gcc/./gcc/ -B/tmp/gnat-boot/x86_64-pc-freebsd7.2/bin/ -B/tmp/gnat-boot/x86_64-pc-freebsd7.2/lib/ -isystem /tmp/gnat-boot/x86_64-pc-freebsd7.2/include -isystem /tmp/gnat-boot/x86_64-pc-freebsd7.2/sys-include"; \ for i in `${compiler} --print-multi-lib 2>/dev/null`; do \ dir=`echo $i | sed -e 's/;.*$//'`; \ if [ "${dir}" = "." ]; then \ true; \ else \ if [ -d ../${dir}/${lib} ]; then \ flags=`echo $i | sed -e 's/^[^;]*;//' -e 's/@/ -/g'`; \ if (cd ../${dir}/${lib}; gmake \ CFLAGS="-g -O2 ${flags}" \ CCASFLAGS=" ${flags}" \ FCFLAGS="-Wall ${flags}" \ FFLAGS=" ${flags}" \ ADAFLAGS=" ${flags}" \ prefix="/tmp/gnat-boot" \ exec_prefix="/tmp/gnat-boot" \ GCJFLAGS=" ${flags}" \ CXXFLAGS="-g -O2 ${flags}" \ LIBCFLAGS="-g -O2 ${flags}" \ LIBCXXFLAGS="-g -O2 -fno-implicit-templates ${flags}" \ LDFLAGS=" ${flags}" \ MULTIFLAGS="${flags}" \ DESTDIR="" \ 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" \ all); then \ true; \ else \ exit 1; \ fi; \ else true; \ fi; \ fi; \ done; \ fi gmake[4]: Leaving directory `/usr/jails/i386/root/gnatport/obj/c8-gcc/x86_64-pc-freebsd7.2/libgomp' gmake[3]: Leaving directory `/usr/jails/i386/root/gnatport/obj/c8-gcc/x86_64-pc-freebsd7.2/libgomp' gmake[2]: *** [check-recursive] Error 1 gmake[2]: Target `check' not remade because of errors. gmake[2]: Leaving directory `/usr/jails/i386/root/gnatport/obj/c8-gcc/x86_64-pc-freebsd7.2/libgomp' gmake[1]: *** [check-target-libgomp] Error 2 gmake[1]: Target `check-target' not remade because of errors. gmake[1]: Leaving directory `/usr/jails/i386/root/gnatport/obj/c8-gcc' gmake: *** [do-check] Error 2 gmake: Target `check' not remade because of errors. Not being intimately familiar with the test suite, I don't know if the cause of this problem is something obvious. Any help would be appreciated! [1] http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40310