Bug 136824 - ld (binutils) lacks several options
Summary: ld (binutils) lacks several options
Status: RESOLVED INVALID
Alias: None
Product: SUSE LINUX 10.0
Classification: openSUSE
Component: Development (show other bugs)
Version: unspecified
Hardware: i686 SuSE Linux 10.0
: P5 - None : Normal
Target Milestone: ---
Assignee: Philipp Thomas
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-12-03 14:42 UTC by Lorenzo Paulatto
Modified: 2005-12-05 07:40 UTC (History)
0 users

See Also:
Found By: Customer
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Lorenzo Paulatto 2005-12-03 14:42:08 UTC
While trying to compile openwengo (www.openwengo.org) I realized that ld on suse 10.0 lacks the -no_archive option.

Facts:
1. If you specify -no_archive in the ld command line it is interpreted as -n (= --nmagic) and this often causes the compilation to fail, especially if used toghether with the -shared option.

2. The minimum effort to reproduce the issue is to run the following commands:
[0|paulatto@paulax|~]$ ld -shared -no_archive
ld: -static and -shared may not be used together
[1|paulatto@paulax|~]$ ld -shared -n
ld: -static and -shared may not be used together

3. The local manpage of ld doesn't document the -no_archive option at all.

4. Looking on the internet you can find several versions of the ld manpage, some of them include the option (e.g. <http://www.uwm.edu/cgi-bin/IMT/wwwman?topic=ld(1)&msection=3>) some others don't.

5. Comparing local and on-line versions of the manual you will realize that also the options -no_so and -so_archive are missing.
Comment 1 Thorsten Kukuk 2005-12-05 07:40:48 UTC
This are the Alpha DEC manual pages, not the one for binutils.
You need to port the application at first to Linux and/or adjust the Makefiles.