|
From: | Terry Dontje |
Subject: | Re: Oracle Solaris Studio 12.2 compiler incompatibility with libtool |
Date: | Mon, 06 Dec 2010 12:58:28 -0500 |
User-agent: | Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.12) Gecko/20101027 Fedora/3.1.6-1.fc13 Lightning/1.0b2 Thunderbird/3.1.6 |
On 12/05/2010 04:25 PM, Ralf Wildenhues wrote:
Ok, Ethan and I just talked on the phone. He should be able to test this soon and tell you the results.* Ralf Wildenhues wrote on Thu, Nov 18, 2010 at 09:23:17PM CET:* Terry Dontje wrote on Wed, Nov 17, 2010 at 01:00:26PM CET:I've discussed this internally and yes we would like Ceres to be supported.Oh, no problem. Presumably that means you have some way to test the proposed patch then with all the interesting compilers. That would be very nice. :-)Erm, I haven't pushed this patch yet, assuming that some test feedback would be better than none at all. Any chance you could try it out sometime? Thanks, Ralf --td Here it goes; it works with this (yes, very old) Sun Studio X.X on GNU/Linux installation; and yes, this is about GNU/Linux only.2010-11-18 Ralf Wildenhues <... Fix $wl setting for Solaris Studio 12.2 f90 on GNU/Linux. * libltdl/m4/libtool.m4 (_LT_COMPILER_PIC) [linux] <lt_prog_compiler_wl>: Set to '-Qoption ld ' if we detect Sun Fortran version 8.4 or newer. Report by Terry Dontje. diff --git a/libltdl/m4/libtool.m4 b/libltdl/m4/libtool.m4 index 419ffe1..4a371c9 100644 --- a/libltdl/m4/libtool.m4 +++ b/libltdl/m4/libtool.m4 @@ -4324,12 +4324,17 @@ m4_if([$1], [CXX], [ ;; *) case `$CC -V 2>&1 | sed 5q` in - *Sun\ F* | *Sun*Fortran*) + *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [[1-7]].* | *Sun*Fortran*\ 8.[[0-3]]*) # Sun Fortran 8.3 passes all unrecognized flags to the linker _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' _LT_TAGVAR(lt_prog_compiler_wl, $1)='' ;; + *Sun\ F* | *Sun*Fortran*) + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' + _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' + _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld ' + ;; *Sun\ C*) # Sun C 5.9 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' --
Terry D. Dontje | Principal Software Engineer Developer Tools Engineering | +1.781.442.2631 Oracle - Performance Technologies 95 Network Drive, Burlington, MA 01803 Email address@hidden |
[Prev in Thread] | Current Thread | [Next in Thread] |