Bug 84156 - ports/security/lockdown does not build on amd64 port.
Summary: ports/security/lockdown does not build on amd64 port.
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-ports-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-07-27 07:20 UTC by Hirohisa Yamaguchi
Modified: 2005-07-29 18:18 UTC (History)
0 users

See Also:


Attachments
file.diff (345 bytes, patch)
2005-07-27 07:20 UTC, Hirohisa Yamaguchi
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Hirohisa Yamaguchi 2005-07-27 07:20:06 UTC
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.

Fix: apply patch following
How-To-Repeat: build ports/security/lockdown on FreeBSD/amd64.
Comment 1 Volker Stolz freebsd_committer freebsd_triage 2005-07-29 13:34:38 UTC
Dear maintainer, please review the proposed patch!

Volker
Comment 2 Volker Stolz freebsd_committer freebsd_triage 2005-07-29 13:34:59 UTC
State Changed
From-To: open->feedback

Forwarded PR to maintainer
Comment 3 Volker Stolz freebsd_committer freebsd_triage 2005-07-29 18:18:27 UTC
State Changed
From-To: feedback->closed

Committed, thanks!