Bug 134637 - "-static" linking not available on darwin
Summary: "-static" linking not available on darwin
Keywords:
Status: CLOSED UPSTREAM
Alias: None
Product: Fedora
Classification: Fedora
Component: rpm
Version: rawhide
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Jeff Johnson
QA Contact: Mike McLean
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2004-10-05 11:22 UTC by Anders F Björklund
Modified: 2007-11-30 22:10 UTC (History)
1 user (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2005-01-04 19:45:49 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
rpm-4.3.2-static.patch (8.52 KB, patch)
2004-10-05 11:24 UTC, Anders F Björklund
no flags Details | Diff

Description Anders F Björklund 2004-10-05 11:22:15 UTC
Description of problem:
Mac OS X and Darwin does not allow static linking of binaries

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

How reproducible:
Always (on this platform)

Steps to Reproduce:
1. Use thed default LDFLAGS_STATIC="-all-static"


Additional info:
http://developer.apple.com/qa/qa2001/qa1118.html

Comment 1 Anders F Björklund 2004-10-05 11:24:12 UTC
Created attachment 104775 [details]
rpm-4.3.2-static.patch

Special case LDFLAGS, for the darwin platform

Comment 2 Jeff Johnson 2004-10-05 11:33:25 UTC
Static linking breaks often enough on linux that
it is hardly "available".

Rather than attempting per-platform LDFLAGS, it's easier
to just disable the only use linking rpmi.

Comment 3 Jeff Johnson 2005-01-04 19:45:49 UTC
Added to HEAD and rpm-4_4 branches, should be in rpm-4.4.1-0.6 when built.
Thanks for the patch.


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