ports/96102: Maintainer update: www/opal fix build error on amd64

Jean-Baptiste Quenot jbq at caraldi.com
Thu Apr 20 14:40:15 UTC 2006


>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 at 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:



More information about the freebsd-ports-bugs mailing list