Project

General

Profile

Actions

Bug #1746

closed

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

Added by parimiv (Venkateswara Parimi) almost 15 years ago. Updated over 4 years ago.

Status:
Closed
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

Actions #1

Updated by matz (Yukihiro Matsumoto) almost 15 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 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

Actions #2

Updated by parimiv (Venkateswara Parimi) almost 15 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

Actions #3

Updated by shyouhei (Shyouhei Urabe) over 13 years ago

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

Actions #4

Updated by jeremyevans0 (Jeremy Evans) over 4 years ago

  • Description updated (diff)
  • Status changed from Open to Closed
Actions

Also available in: Atom PDF

Like0
Like0Like0Like0Like0