Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 10 Jan 2008 15:08:22 -0500 (EST)
From:      Daniel Rucci <dan@rucci.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/119539: [PATCH] devel/e4graph: workaround for gcc related coredump
Message-ID:  <200801102008.m0AK8MkS029105@smurfbsd.warganizer.com>
Resent-Message-ID: <200801102010.m0AKA4Ov044891@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         119539
>Category:       ports
>Synopsis:       [PATCH] devel/e4graph: workaround for gcc related coredump
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Thu Jan 10 20:10:04 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator:     Daniel Rucci
>Release:        FreeBSD 7.0-PRERELEASE i386
>Organization:
>Environment:
System: FreeBSD smurfbsd.warganizer.com 7.0-PRERELEASE FreeBSD 7.0-PRERELEASE #12: Tue Jan  8 09:12:58 UTC
>Description:
e4graph built with 4.1.3 and up coredumps during storage test. 

http://sourceforge.net/tracker/index.php?func=detail&aid=1840959&group_id=9803&atid=109803

Added file(s):
- files/patch-main_unix_makefile

Generated with FreeBSD Port Tools 0.77
>How-To-Repeat:
using gcc 4.1.3 or later
cd /usr/ports/deve/e4graph/
make
cd work/e4graph-1.0a11/all
make test
Remove the lines from makefile.include that make complains about
make test
*core dump*

>Fix:

--- e4graph-1.0a11_2.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/devel/e4graph/files/patch-main_unix_makefile /usr/home/rucci/myports/devel/e4graph/files/patch-main_unix_makefile
--- /usr/ports/devel/e4graph/files/patch-main_unix_makefile	1969-12-31 19:00:00.000000000 -0500
+++ /usr/home/rucci/myports/devel/e4graph/files/patch-main_unix_makefile	2008-01-10 14:57:23.000000000 -0500
@@ -0,0 +1,11 @@
+--- ../main/unix/makefile.orig	2008-01-10 14:43:19.000000000 -0500
++++ ../main/unix/makefile	2008-01-10 14:38:21.000000000 -0500
+@@ -210,7 +210,7 @@
+ 
+ ${PRODOBJDIR}/mkstorage.o: ${MKDRV}/mkstorage.cpp
+ 	-@mkdir -p ${PRODOBJDIR}
+-	$(CXX) -c $(CXXFLAGS) $(ALLCPPFLAGS) ${MKDRV}/mkstorage.cpp -o $@
++	$(CXX) -c $(CXXFLAGS) $(ALLCPPFLAGS) -O0 ${MKDRV}/mkstorage.cpp -o $@
+ 
+ ${PRODOBJDIR}/i4node.o: ${IMPL}/i4node.cpp
+ 	-@mkdir -p ${PRODOBJDIR}
--- e4graph-1.0a11_2.patch ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200801102008.m0AK8MkS029105>