lang/ezm3 "runtime error: Segmentation violation..."

P.D. Seniura pdseniura at techie.com
Tue May 25 09:21:56 PDT 2004


----- Original Message -----
From: John Polstra <jdp at polstra.com>
Date: Mon, 24 May 2004 16:05:50 -0700 (PDT)
To: "P.D. Seniura" <pdseniura at techie.com>
Subject: Re: lang/ezm3 "runtime error: Segmentation violation..."

> On 24-May-2004 P.D. Seniura wrote:
> > ----- Original Message -----
> > From: Alex Dupre <ale at FreeBSD.org>
> > Date: Mon, 24 May 2004 19:00:30 +0200
> > To: Paul Seniura <pdseniura at 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




More information about the freebsd-ports mailing list