Bug 674793

Summary: Gnatmake ignore -R option
Product: [Fedora] Fedora Reporter: Pavel Zhukov <pavel>
Component: gccAssignee: Jakub Jelinek <jakub>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 14CC: jakub
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: 2011-02-04 15:07:13 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Pavel Zhukov 2011-02-03 11:32:35 UTC
Description of problem:
Gnatmake ignore -R option to disable rpath
  -R       Do not use a run_path_option when linking

Version-Release number of selected component (if applicable):
libgnat-4.5.1-4.fc14.x86_64
libgnat-devel-4.5.1-4.fc14.x86_64
libgnat-static-4.5.1-4.fc14.x86_64
gcc-gnat-4.5.1-4.fc14.x86_64

How reproducible:
Create project and try to build it with (gnatmake -p -R -f -P project) or create spec file
Output
http://fpaste.org/dxOG/
/usr//bin/gcc -shared -o  - called with "-rpath" option
  
Actual results:
http://fpaste.org/dxOG/

Expected results:
http://fpaste.org/f3c4/ (building with adacore gnat)
I've tried build project in PCLinuxOS as well - rpath doen't ignored there
Additional info:

Comment 1 Pavel Zhukov 2011-02-04 08:12:29 UTC
just for attention
This bug affected only gcc in F14. gcc-4.6.0 works properly.



-- 
Fedora Bugzappers volunteer triage team
https://fedoraproject.org/wiki/BugZappers

Comment 2 Jakub Jelinek 2011-02-04 15:07:13 UTC
Fixed in rawhide then.

Comment 3 Peter Lemenkov 2011-02-04 15:11:25 UTC
(In reply to comment #2)
> Fixed in rawhide then.

What about F-14 users?