From owner-freebsd-ports@FreeBSD.ORG Tue May 25 09:21:56 2004 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4296016A4CE for ; Tue, 25 May 2004 09:21:56 -0700 (PDT) Received: from webmail-outgoing.us4.outblaze.com (webmail-outgoing.us4.outblaze.com [205.158.62.67]) by mx1.FreeBSD.org (Postfix) with ESMTP id DCF5543D2F for ; Tue, 25 May 2004 09:21:55 -0700 (PDT) (envelope-from pdseniura@techie.com) Received: from wfilter.us4.outblaze.com (wfilter.us4.outblaze.com [205.158.62.180])B64111802534 for ; Tue, 25 May 2004 16:21:06 +0000 (GMT) X-OB-Received: from unknown (205.158.62.178) by wfilter.us4.outblaze.com; 25 May 2004 16:20:39 -0000 Received: by ws1-14.us4.outblaze.com (Postfix, from userid 1001) id C973C790046; Tue, 25 May 2004 16:21:05 +0000 (GMT) Content-Type: text/plain; charset="iso-8859-1" Content-Disposition: inline Content-Transfer-Encoding: 7bit MIME-Version: 1.0 X-Mailer: MIME-tools 5.41 (Entity 5.404) Received: from [192.149.244.9] by ws1-14.us4.outblaze.com with http for pdseniura@techie.com; Tue, 25 May 2004 10:21:05 -0600 From: "P.D. Seniura" To: "John Polstra" Date: Tue, 25 May 2004 10:21:05 -0600 X-Originating-Ip: 192.149.244.9 X-Originating-Server: ws1-14.us4.outblaze.com Message-Id: <20040525162105.C973C790046@ws1-14.us4.outblaze.com> cc: freebsd-current@freebsd.org cc: Alex Dupre cc: freebsd-ports@freebsd.org Subject: Re: lang/ezm3 "runtime error: Segmentation violation..." X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 25 May 2004 16:21:56 -0000 ----- Original Message ----- From: John Polstra Date: Mon, 24 May 2004 16:05:50 -0700 (PDT) To: "P.D. Seniura" Subject: Re: lang/ezm3 "runtime error: Segmentation violation..." > On 24-May-2004 P.D. Seniura wrote: > > ----- Original Message ----- > > From: Alex Dupre > > Date: Mon, 24 May 2004 19:00:30 +0200 > > To: Paul Seniura > > Subject: Re: lang/ezm3 "runtime error: Segmentation violation..." > > > >> Paul Seniura wrote: > >> > I'm including a snip of my portupgrade log for lang/ezm3 below. > >> > I can't get past this point. Could someone offer ideas, please? > >> > >> Same problem here with -O2, no problem with plain -O gcc flag. > > > > Thank you for helping. > > > > Do we blame the code or the compiler? > > Blame the code in this case. It's a known issue with ezm3. It > probably will not be fixed soon. It'd be fine if we knew a workaround. I searched hi & lo to no avail. That's what PRs are for. ;) Editting /etc/make.conf just for a one-off temp fix won't fly with other apps. I'll submit a PR and provide this patch (it worked for me), if for no other reason than at least we'd have a workaround documented: --- Makefile_orig Mon May 17 00:51:17 2004 +++ Makefile Mon May 24 16:09:14 2004 @@ -28,6 +28,8 @@ USE_GMAKE= yes USE_REINPLACE= yes +CFLAGS+= -fno-schedule-insns2 + PROGS= bin/m3build \ bin/m3bundle \ bin/m3ship \ > John -- thx, Paul Seniura. -- ___________________________________________________________ Sign-up for Ads Free at Mail.com http://promo.mail.com/adsfreejump.htm