Date: Tue, 25 May 2004 10:21:05 -0600 From: "P.D. Seniura" <pdseniura@techie.com> To: "John Polstra" <jdp@polstra.com> Cc: freebsd-ports@freebsd.org Subject: Re: lang/ezm3 "runtime error: Segmentation violation..." Message-ID: <20040525162105.C973C790046@ws1-14.us4.outblaze.com>
next in thread | raw e-mail | index | archive | help
----- Original Message -----
From: John Polstra <jdp@polstra.com>
Date: Mon, 24 May 2004 16:05:50 -0700 (PDT)
To: "P.D. Seniura" <pdseniura@techie.com>
Subject: Re: lang/ezm3 "runtime error: Segmentation violation..."
> On 24-May-2004 P.D. Seniura wrote:
> > ----- Original Message -----
> > From: Alex Dupre <ale@FreeBSD.org>
> > Date: Mon, 24 May 2004 19:00:30 +0200
> > To: Paul Seniura <pdseniura@techie.com>
> > 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040525162105.C973C790046>
