Saturday, September 30, 2017

Re: aarch64 bulk build report

On Sat, Sep 30, 2017 at 03:06:02AM -0600, phessler@openbsd.org wrote:
> bulk build on arm64.ports.openbsd.org
> started on Fri Sep 8 11:23:32 MDT 2017
> finished at Sat Sep 30 03:05:09 MDT 2017
> lasted 22D08h41m
> done with kern.version=OpenBSD 6.2-beta (GENERIC) #3: Fri Sep 8 05:14:33 MDT 2017
>
> built packages:8005
> Sep 8:352
> Sep 9:333
> Sep 10:920
> Sep 11:1
> Sep 12:2
> Sep 16:53
> Sep 17:1765
> Sep 18:558
> Sep 19:761
> Sep 26:859
> Sep 27:796
> Sep 28:464
> Sep 29:1140
>
>
> build failures: 232
> http://build-failures.rhaalovely.net//aarch64/2017-09-08/archivers/lzip/clzip.log
> http://build-failures.rhaalovely.net//aarch64/2017-09-08/archivers/lzip/lzip.log
> http://build-failures.rhaalovely.net//aarch64/2017-09-08/archivers/lzip/lziprecover.log
> http://build-failures.rhaalovely.net//aarch64/2017-09-08/archivers/lzip/pdlzip.log
> http://build-failures.rhaalovely.net//aarch64/2017-09-08/archivers/lzip/plzip.log

/usr/sbin/pkg_add -aI -Dunsigned -Drepair lunzip-1.9 lzlib-1.9
Error: /dev/sd0m is not large enough (/var/db/pkg/lunzip-1.9/+DESC)

When you fix that problem, the lzip programs will build fine.

> http://build-failures.rhaalovely.net//aarch64/2017-09-08/lang/gambit.log

MAXSSIZ is ((paddr_t)8*1024*1024) on arm64.

OK?

diff -r 4480970ebbd6 Makefile
--- Makefile Fri Sep 29 23:36:03 2017 +0000
+++ Makefile Sun Oct 01 04:29:21 2017 +0200
@@ -3,6 +3,7 @@
COMMENT= complete, efficient and reliable implementation of Scheme

V= 4.8.8
+REVISION= 0
DISTNAME= gambit-v${V:S/./_/g}
PKGNAME= gambit-$V
API_V= ${V:R:S/./0/}00${V:E}
@@ -30,10 +31,8 @@

MAKE_FILE= ${WRKSRC}/makefile

-# On sparc64, gcc crashes with the default stack limit:
-# "cc: Internal error: Illegal instruction" on _gambc.c
do-build:
- ulimit -s 12288 && cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} \
+ ulimit -s ${STACK_SIZE} && cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} \
${MAKE_PROGRAM} ${MAKE_FLAGS} -f ${MAKE_FILE} ${ALL_TARGET}

do-test:
@@ -46,4 +45,12 @@
CFLAGS += -O0
.endif

+# On sparc64, gcc crashes with the default stack limit:
+# "cc: Internal error: Illegal instruction" on _gambc.c
+.if ${MACHINE_ARCH} == "sparc64"
+STACK_SIZE = 12288
+.else
+STACK_SIZE = 8192
+.endif
+
.include <bsd.port.mk>

No comments:

Post a Comment