Bug 479325

Summary: libmilter.a missing -fPIC for x86_64
Product: [Fedora] Fedora Reporter: Stuart D Gathman <stuart>
Component: sendmailAssignee: Miroslav Lichvar <mlichvar>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: rawhideCC: mlichvar, mtasaka, twoerner
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2009-01-20 18:54:52 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 476460    

Description Stuart D Gathman 2009-01-08 21:03:46 UTC
Description of problem:
libmilter.a missing -fPIC compile flag for x86_64 (i386 has it)

Version-Release number of selected component (if applicable):
sendmail-devel-8.14.3-3.fc11.x86_64

How reproducible:
http://koji.fedoraproject.org/koji/taskinfo?taskID=1040514
  
Actual results:
http://koji.fedoraproject.org/koji/getfile?taskID=1040514&name=build.log

Expected results:
http://koji.fedoraproject.org/koji/taskinfo?taskID=1040492

Additional info:
http://koji.fedoraproject.org/koji/taskinfo?taskID=1040488

Comment 1 Stuart D Gathman 2009-01-10 04:48:05 UTC
Why does a static library need -fPIC ? Because it is commonly linked with dynamically loaded modules.  There is a project to provide a dynamic libmilter.so - but in the meantime, libmilter.a need to be statically linkable with dynamic modules.

Comment 2 Miroslav Lichvar 2009-01-20 18:54:52 UTC
sendmail-8.14.3-4.fc11 now has shared libmilter. The pymilter package seems to build fine, it just needs to remove -lsmutil from the linking command.

*** This bug has been marked as a duplicate of bug 309281 ***