Received: by mail.netbsd.org (Postfix, from userid 605) id 1625884D63; Mon, 24 Dec 2018 00:10:12 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id 07B1884D21 for ; Mon, 24 Dec 2018 00:10:11 +0000 (UTC) X-Virus-Scanned: amavisd-new at netbsd.org Received: from mail.netbsd.org ([IPv6:::1]) by localhost (mail.netbsd.org [IPv6:::1]) (amavisd-new, port 10025) with ESMTP id 3mmca9OjJW6S for ; Mon, 24 Dec 2018 00:10:10 +0000 (UTC) Received: from cvs.NetBSD.org (ivanova.netbsd.org [199.233.217.197]) by mail.netbsd.org (Postfix) with ESMTP id 1DCCD84D54 for ; Mon, 24 Dec 2018 00:10:10 +0000 (UTC) Received: by cvs.NetBSD.org (Postfix, from userid 500) id CCA1CFB16; Mon, 24 Dec 2018 00:10:09 +0000 (UTC) Content-Transfer-Encoding: 7bit Content-Type: multipart/mixed; boundary="_----------=_154561020950800" MIME-Version: 1.0 Date: Mon, 24 Dec 2018 00:10:09 +0000 From: "Izumi Tsutsui" Subject: CVS commit: pkgsrc/lang/vala To: pkgsrc-changes@NetBSD.org Reply-To: tsutsui@netbsd.org X-Mailer: log_accum Message-Id: <20181224001009.CCA1CFB16@cvs.NetBSD.org> Sender: pkgsrc-changes-owner@NetBSD.org List-Id: pkgsrc-changes.NetBSD.org Precedence: bulk List-Unsubscribe: This is a multi-part message in MIME format. --_----------=_154561020950800 Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" Module Name: pkgsrc Committed By: tsutsui Date: Mon Dec 24 00:10:09 UTC 2018 Modified Files: pkgsrc/lang/vala: Makefile Added Files: pkgsrc/lang/vala: hacks.mk Log Message: vala: add hacks.mk to avoid SEGV of vala binaries on NetBSD/earmv6hf 8.0. Bump PKGREVISION to denote visible binary changes on arm. Fixes PR pkg/53743. Ok'ed by wiz@ To generate a diff of this commit: cvs rdiff -u -r1.47 -r1.48 pkgsrc/lang/vala/Makefile cvs rdiff -u -r0 -r1.1 pkgsrc/lang/vala/hacks.mk Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. --_----------=_154561020950800 Content-Disposition: inline Content-Length: 1279 Content-Transfer-Encoding: binary Content-Type: text/x-diff; charset=us-ascii Modified files: Index: pkgsrc/lang/vala/Makefile diff -u pkgsrc/lang/vala/Makefile:1.47 pkgsrc/lang/vala/Makefile:1.48 --- pkgsrc/lang/vala/Makefile:1.47 Sat Dec 1 17:19:33 2018 +++ pkgsrc/lang/vala/Makefile Mon Dec 24 00:10:09 2018 @@ -1,6 +1,7 @@ -# $NetBSD: Makefile,v 1.47 2018/12/01 17:19:33 wiz Exp $ +# $NetBSD: Makefile,v 1.48 2018/12/24 00:10:09 tsutsui Exp $ DISTNAME= vala-0.42.3 +PKGREVISION= 1 CATEGORIES= lang gnome MASTER_SITES= ${MASTER_SITE_GNOME:=sources/vala/${PKGVERSION_NOREV:R}/} EXTRACT_SUFX= .tar.xz Added files: Index: pkgsrc/lang/vala/hacks.mk diff -u /dev/null pkgsrc/lang/vala/hacks.mk:1.1 --- /dev/null Mon Dec 24 00:10:09 2018 +++ pkgsrc/lang/vala/hacks.mk Mon Dec 24 00:10:09 2018 @@ -0,0 +1,17 @@ +# $NetBSD: hacks.mk,v 1.1 2018/12/24 00:10:09 tsutsui Exp $ + +.if !defined(VALA_HACKS_MK) +VALA_HACKS_MK= defined + +.include "../../mk/compiler.mk" + +### On NetBSD/earmv6hf 8.0 with gcc 5.5.0, vala binaries compiled with the +### default optiomization options produce segmentation faulting. +### Compiling with `-fno-optimize-sibling-calls' works around. +### +.if !empty(MACHINE_PLATFORM:MNetBSD-*-*arm*) && !empty(CC_VERSION:Mgcc-5.*) +PKG_HACKS+= optimisation +CFLAGS+= -fno-optimize-sibling-calls +.endif + +.endif # VALA_HACKS_MK --_----------=_154561020950800--