Java Solaris Communities Sun Store Join SDN My Profile Why Join?
 
Bug Database
Bug Detail
Quick Lists
Top 25 Bugs
Top 25 RFE's
Recently Closed Bugs
Printable Page Printable Page


Bug Database
Bug ID: 6565771
Votes 0
Synopsis -Wl should pass linker argument at the command line order
Category c:driver
Reported Against
Release Fixed studio12(patch_04), ceres(build_03) (Bug ID:2150061)
State 10-Fix Delivered, bug
Priority: 2-High
Related Bugs 1158612 , 6567386 , 6569152
Submit Date 05-JUN-2007
Description
For now when using -Wl option argument is being passed at the very beginning of the line,
thus it is not possible to override default driver settings.

Here is what customer has been trying:

] cc -# -Wl,-dynamic-linker,/usr/libexec/ld.so hello.c
...
/usr/bin/ld -dynamic-linker /usr/libexec/ld.so -m elf_i386 -dynamic-linker /lib/ld-linux.so.2 ...
]

Driver's own understanding of -dynamic-linker overrides user settings.
Posted Date : 2007-06-05 14:12:17.0
Work Around
N/A
Evaluation
Add -Wl flags to Xld as they appear in a command line, just like all the objects/libraries.
Posted Date : 2007-06-08 05:54:03.0
Comments
  
  Include a link with my name & email   


PLEASE NOTE: JDK6 is formerly known as Project Mustang