From 66362d4748ce7e80b38eea21c1f845bd1482aef9 Mon Sep 17 00:00:00 2001 From: marino Date: Sun, 8 Jan 2012 15:15:04 +0000 Subject: lang/gnat-aux: Fix introduced gnat.dg test failure on i386-netbsdelf-* Previously the Ada testsuite was given unlimited stack resources for the x86_64 arch on NetBSD. Since all platforms now need unlimited stack resources to build gnat-aux due to the addition of -stdint.h header, this platform specific restriction on the Ada testsuite was removed. Unfortunately that resulted in a new stack test failure on i386 NetBSD platforms (gnat.dg/task_stack_align.adb execution test), so the original restriction seen in gnat-aux-20110627 was restored. Now i386 NetBSD once again pass all gnat.dg tests. This is strictly a testsuite issue so no PKGREVISION bump is necessary. --- lang/gnat-aux/Makefile | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'lang/gnat-aux/Makefile') diff --git a/lang/gnat-aux/Makefile b/lang/gnat-aux/Makefile index 3c41f8edd58..4cb8c432012 100644 --- a/lang/gnat-aux/Makefile +++ b/lang/gnat-aux/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.8 2012/01/08 11:17:07 marino Exp $ +# $NetBSD: Makefile,v 1.9 2012/01/08 15:15:04 marino Exp $ # PKGNAME= gnat-aux-${SNAPSHOT} @@ -259,12 +259,17 @@ do-build: do-test: build .if !empty(PKG_OPTIONS:Mtestada) +.if (${OPSYS} == "NetBSD") && (${MACHINE_ARCH} == "x86_64") # NetBSD has an extremely small default stacksize of 2MB, which is # insufficient for the gnat.dg testsuite. # specifically: entry_queues test on AMD64 + # Unlimiting stack resources on i386-netbsdelf* will result in + # failure of gnat.dg/task_stack_align.adb execution test. cd ${BUILDDIR} && \ ${ULIMIT_CMD_stacksize} && \ ${SETENV} ${MY_MAKE_ENV} ${GMAKE} -sk check-ada +.else + cd ${BUILDDIR} && ${SETENV} ${MY_MAKE_ENV} ${GMAKE} -sk check-ada .endif .if !empty(PKG_OPTIONS:Mfortran) && !empty(PKG_OPTIONS:Mtestfortran) cd ${BUILDDIR} && ${SETENV} ${MY_MAKE_ENV} ${GMAKE} -sk check-fortran -- cgit v1.2.3