pkgsrc-Bugs archive

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

Re: pkg/53743: pkgsrc-2018Q3 lang/vala dumps core on NetBSD/earmv6hf 8.0



The following reply was made to PR pkg/53743; it has been noted by GNATS.

From: Izumi Tsutsui <tsutsui%ceres.dti.ne.jp@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: tsutsui%ceres.dti.ne.jp@localhost
Subject: Re: pkg/53743: pkgsrc-2018Q3 lang/vala dumps core on NetBSD/earmv6hf
	 8.0
Date: Sat, 8 Dec 2018 11:49:33 +0900

 Disabling -O2 optimization by CFLAGS seems to work around
 (though BUILDLINK_TRANSFORM in hacks.mk doesn't work):
 
 Index: Makefile
 ===================================================================
 RCS file: /cvsroot/pkgsrc/lang/vala/Makefile,v
 retrieving revision 1.46
 diff -u -p -r1.46 Makefile
 --- Makefile	3 Sep 2018 10:46:45 -0000	1.46
 +++ Makefile	8 Dec 2018 02:34:56 -0000
 @@ -17,6 +17,12 @@ USE_TOOLS+=		bison flex gmake pkg-config
  PKGCONFIG_OVERRIDE+=	libvala.pc.in
  PKGCONFIG_OVERRIDE+=	vapigen/vapigen.pc.in
  
 +.include "../../mk/compiler.mk"
 +
 +.if !empty(MACHINE_PLATFORM:MNetBSD-*-*arm*) && !empty(CC_VERSION:Mgcc-5.*)
 +CFLAGS+= -O
 +.endif
 +
  BUILDLINK_API_DEPENDS.glib2+=	glib2>=2.40.0
  
  .include "../../devel/glib2/buildlink3.mk"
 
 
 ---
 Izumi Tsutsui
 


Home | Main Index | Thread Index | Old Index