Project

General

Profile

Bug #1746

LDSHARED set to 'ld -G' on Solaris doesn't work with Sun studio

Added by parimiv (Venkateswara Parimi) almost 10 years ago. Updated about 8 years ago.

Status:
Open
Priority:
Normal
Assignee:
-
ruby -v:
ruby 1.8.7 (2008-08-11 patchlevel 72) [i386-solaris2.10]
[ruby-core:24214]

Description

=begin
<>
@@ -1161,7 +1161,7 @@
LDFLAGS="$LDFLAGS -Wl,-E"
fi
else

  • : ${LDSHARED='ld -G'}
  • : ${LDSHARED='$(CC) -G'} fi rb_cv_dlopen=yes;; sunos*) : ${LDSHARED='ld -assert nodefinitions'} <</>> =end

History

#1

Updated by matz (Yukihiro Matsumoto) almost 10 years ago

=begin
Hi,

In message "Re: [ruby-core:24214] [Bug #1746] LDSHARED set to 'ld -G' on Solaris doesn't work with Sun studio"
on Thu, 9 Jul 2009 05:54:20 +0900, Venkateswara Parimi redmine@ruby-lang.org writes:

|Bug #1746: LDSHARED set to 'ld -G' on Solaris doesn't work with Sun studio

|- : ${LDSHARED='ld -G'}
|+ : ${LDSHARED='$(CC) -G'}

Does this work for older SunOS?

                        matz.

=end

#2

Updated by parimiv (Venkateswara Parimi) almost 10 years ago

=begin
I think this depends on the compiler and with all studio compilers using compiler (cc) instead of directly calling ld is recommended.
=end

#3

Updated by shyouhei (Shyouhei Urabe) over 8 years ago

=begin
How's it going matz? Should I accept it?
=end

Also available in: Atom PDF