Date: Wed, 27 Jul 2005 06:18:48 GMT From: Hirohisa Yamaguchi <umq@ueo.co.jp> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/84156: ports/security/lockdown does not build on amd64 port. Message-ID: <200507270618.j6R6ImFd000777@www.freebsd.org> Resent-Message-ID: <200507270620.j6R6K6ra062964@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 84156 >Category: ports >Synopsis: ports/security/lockdown does not build on amd64 port. >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: Wed Jul 27 06:20:06 GMT 2005 >Closed-Date: >Last-Modified: >Originator: Hirohisa Yamaguchi >Release: FreeBSD 6.0-CURRENT >Organization: >Environment: FreeBSD ********.org 6.0-CURRENT FreeBSD 6.0-CURRENT #0: Fri Jul 8 02:23:38 JST 2005 root@********.org:/usr/obj/usr/src/sys/GENERIC amd64 >Description: While building ports/security/lockdown I got following... # make build ===> Building for lockdown-2.0.0 make -C cppe/src/ c++ -O2 -fno-strict-aliasing -pipe -march=athlon64 -march=athlon64 -Wall -I ../ -c permissions.cpp c++ -O2 -fno-strict-aliasing -pipe -march=athlon64 -march=athlon64 -Wall -I ../ -c file.cpp c++ -O2 -fno-strict-aliasing -pipe -march=athlon64 -march=athlon64 -Wall -I ../ -c comment_filter.cpp c++ -O2 -fno-strict-aliasing -pipe -march=athlon64 -march=athlon64 -Wall -I ../ -c field.cpp c++ -O2 -fno-strict-aliasing -pipe -march=athlon64 -march=athlon64 -Wall -I ../ -c system.cpp c++ -O2 -fno-strict-aliasing -pipe -march=athlon64 -march=athlon64 -Wall -I ../ -shared permissions.o file.o comment_filter.o field.o system.o -o libcppe.so /usr/bin/ld: permissions.o: relocation R_X86_64_32S can not be used when making a shared object; recompile with -fPIC permissions.o: could not read symbols: Bad value *** Error code 1 Stop in /usr/ports/security/lockdown/work/lockdown/cppe/src. *** Error code 1 Stop in /usr/ports/security/lockdown/work/lockdown. *** Error code 1 Stop in /usr/ports/security/lockdown. >How-To-Repeat: build ports/security/lockdown on FreeBSD/amd64. >Fix: apply patch following --- Makefile.org Wed Jul 20 22:33:38 2005 +++ Makefile Wed Jul 27 13:22:20 2005 @@ -26,6 +26,10 @@ INSTALLS_SHLIB= yes WRKSRC= ${WRKDIR}/lockdown +.if ${ARCH} == amd64 +CFLAGS+= -fPIC +.endif + do-install: ${INSTALL_DATA} ${WRKSRC}/cppe/src/libcppe.so ${PREFIX}/lib/libcppe.so .for i in editfile editfstab editkernel editlogin editttys >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200507270618.j6R6ImFd000777>