Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 24 Sep 2012 21:25:24 GMT
From:      Vladimir Timofeev <vovkasm@gmail.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/171929: [MAINTAINER] devel/p5-EV: unbreak build on ia64
Message-ID:  <201209242125.q8OLPOoo081074@red.freebsd.org>
Resent-Message-ID: <201209242130.q8OLU8o0059685@freefall.freebsd.org>

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

>Number:         171929
>Category:       ports
>Synopsis:       [MAINTAINER] devel/p5-EV: unbreak build on ia64
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Mon Sep 24 21:30:08 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator:     Vladimir Timofeev
>Release:        FreeBSD 9.1-PRERELEASE amd64
>Organization:
>Environment:
FreeBSD vov.home 9.1-PRERELEASE FreeBSD 9.1-PRERELEASE #0 r240806: Sat Sep 22 14:47:53 MSK
>Description:
This slightly modified patch from upstream version of libev. It is unbreak build on ia64.
Specifically, this should fix this http://pointyhat.freebsd.org/errorlogs/ia64-errorlogs/e.9.20120916093935/p5-EV-4.11,1.log

Thanks to Anton Shterenlikht for reporting and testing.
>How-To-Repeat:

>Fix:
diff -ruN --exclude=CVS /usr/ports/devel/p5-EV/files/patch-libev-ev.c ./files/patch-libev-ev.c
--- /usr/ports/devel/p5-EV/files/patch-libev-ev.c       1970-01-01 03:00:00.000000000 +0300
+++ ./files/patch-libev-ev.c    2012-09-25 01:01:09.171491172 +0400
@@ -0,0 +1,11 @@
+--- libev/ev.c.orig    2012-09-24 16:04:11.033920205 +0400
++++ libev/ev.c 2012-09-24 15:45:30.093945530 +0400
+@@ -579,6 +579,8 @@
+       #define ECB_MEMORY_FENCE_RELEASE __asm__ __volatile__ ("membar #LoadStore |             #StoreStore")
+     #elif defined(__s390__) || defined(__s390x__)
+       #define ECB_MEMORY_FENCE         __asm__ __volatile__ ("bcr 15,0" : : : "memory")
++    #elif defined(__ia64__)
++      #define ECB_MEMORY_FENCE         __asm__ __volatile__ ("mf" : : : "memory")
+     #endif
+   #endif
+ #endif


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



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