Bug 203684

Summary: sparc sparc64 require -fPIE
Product: [Fedora] Fedora Reporter: Dennis Gilmore <dennis>
Component: dhcpAssignee: David Cantrell <dcantrell>
Status: CLOSED RAWHIDE QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: rawhideCC: tcallawa
Target Milestone: ---   
Target Release: ---   
Hardware: sparc   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2007-09-04 17:32:04 EDT Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:

Description Dennis Gilmore 2006-08-23 00:30:01 EDT
Description of problem:
for dhcp  to build  on sparc and sparc64  we need -fPIE to be set not -fpie  
this is the same as for s390 s390x
it can be fixed  by changing the line
%ifarch s390 s390x 
With the line
%ifarch s390 s390x sparc sparc64


Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.
  
Actual results:


Expected results:


Additional info:
Comment 1 David Cantrell 2006-11-27 15:34:19 EST
I'm not using -fpie or -fPIE in the dhcp spec file anymore.  I use -fPIC on all
platforms.  Does this work for SPARC and UltraSPARC?
Comment 2 Dennis Gilmore 2006-11-30 23:30:34 EST
it builds fine with -fPIC.  I have yet to test that it works correctly.
Comment 3 David Cantrell 2007-01-23 13:48:37 EST
Does -fPIC work fine?  If so, let's close the bug.
Comment 4 Dennis Gilmore 2007-01-23 13:59:39 EST
it builds fine.  i have not had a chance to test it.  -fPIC does different 
things to -fPIE though 
Comment 5 David Cantrell 2007-09-04 14:41:38 EDT
Has this been tested?
Comment 6 Tom "spot" Callaway 2007-09-04 17:32:04 EDT
Yep. This looks ok. I'll reopen if it isn't.