Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 22 Apr 2004 22:14:22 +1000 (EST)
From:      Tim Robbins <tim@robbins.dropbear.id.au>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/65878: [patch] devel/ElectricFence broken on amd64
Message-ID:  <20040422121422.2FB8841C9@robbins.dropbear.id.au>
Resent-Message-ID: <200404221120.i3MBK7cI035750@freefall.freebsd.org>

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

>Number:         65878
>Category:       ports
>Synopsis:       [patch] devel/ElectricFence broken on amd64
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Apr 22 04:20:06 PDT 2004
>Closed-Date:
>Last-Modified:
>Originator:     Tim Robbins
>Release:        FreeBSD 5.2-tjr amd64
>Organization:
The FreeBSD Project
>Environment:
System: FreeBSD 5.2-tjr amd64

>Description:

devel/ElectricFence is marked IGNORE on amd64.

>How-To-Repeat:

Try to build devel/ElectricFence on amd64.

>Fix:

Add the following file as files/patch-amd64, or add the amd64 test to
patch-aa:

--- Makefile.orig	Thu Apr 22 21:05:19 2004
+++ Makefile	Thu Apr 22 21:05:40 2004
@@ -1,7 +1,7 @@
 PIC= -fPIC
 #CFLAGS= -g -DUSE_SEMAPHORE $(PIC)
 CFLAGS+= -g $(PIC)
-.if ${MACHINE_ARCH} == "i386"
+.if ${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "amd64"
 CFLAGS+= -DPAGE_PROTECTION_VIOLATED_SIGNAL=SIGBUS
 .endif
 #CFLAGS+= -pthread
>Release-Note:
>Audit-Trail:
>Unformatted:



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