Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 20 Apr 2006 16:39:08 +0200 (CEST)
From:      Jean-Baptiste Quenot <jbq@caraldi.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        gnome@FreeBSD.org
Subject:   ports/96102: Maintainer update: www/opal fix build error on amd64
Message-ID:  <20060420143908.E51C761AC@vision.anyware>
Resent-Message-ID: <200604201440.k3KEeFRo063726@freefall.freebsd.org>

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

>Number:         96102
>Category:       ports
>Synopsis:       Maintainer update: www/opal fix build error on amd64
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Thu Apr 20 14:40:14 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Jean-Baptiste Quenot
>Release:        FreeBSD 5.5-PRERELEASE i386
>Organization:
>Environment:
System: FreeBSD vision.anyware 5.5-PRERELEASE FreeBSD 5.5-PRERELEASE #1: Thu Mar 9 19:20:53 CET 2006 jbq@vision.anyware:/usr/obj/usr/src/sys/VISION i386
>Description:
See http://pointyhat.freebsd.org/errorlogs/amd64-errorlogs/e.6.2006022322/opal-2.2.1_1.log
>How-To-Repeat:
>Fix:
diff --ignore-matching-lines=\$FreeBSD.*\$ --exclude=.*.sw* --exclude=.svn --exclude=work --exclude=admin -ruN /usr/ports/net/opal/Makefile ./Makefile
--- /usr/ports/net/opal/Makefile	Wed Apr 12 00:11:02 2006
+++ ./Makefile	Thu Apr 20 16:32:11 2006
@@ -35,6 +35,11 @@
 
 .if ${OSVERSION} < 500000
 BROKEN=		Does not build on FreeBSD 4.x, if you manage to make it work, please send a patch to the maintainer: ${MAINTAINER}
+.endif
+
+# Avoid build error on amd64: relocation R_X86_64_32 can not be used when making a shared object; recompile with -fPIC
+.if (${ARCH} == "amd64")
+CFLAGS+=	-fPIC
 .endif
 
 .ifdef (WITH_FFMPEG)
>Release-Note:
>Audit-Trail:
>Unformatted:



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