Bug 203684 - sparc sparc64 require -fPIE
sparc sparc64 require -fPIE
Product: Fedora
Classification: Fedora
Component: dhcp (Show other bugs)
sparc Linux
medium Severity medium
: ---
: ---
Assigned To: David Cantrell
Depends On:
  Show dependency treegraph
Reported: 2006-08-23 00:30 EDT by Dennis Gilmore
Modified: 2007-11-30 17:11 EST (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2007-09-04 17:32:04 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
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:
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.

Note You need to log in before you can comment on or make changes to this bug.