On Thu, Oct 28, 2010 at 8:54 PM, Dr. David Kirkby <david.kirkby@onetel.net> wrote:
I'm having a hard time on Solaris and OpenSolaris building the libecl.so library
without text relocations against non-writable segments. This basically makes the
ECL library unusable on 64-bit Solaris/OpenSolaris.

I know the same issue arises with 3 library used by the stats package R if one
uses gcc, but the problem disappears if one uses the Sun compiler.

Hence I'm trying to build the latest git snapshot (downloaded around 1900 GMT on
28th October 2010) using the Sun compiler.

David, I have managed to build ECL in "fulvia", which is running Solaris

-bash-3.00$ uname -a
SunOS fulvia 5.10 Generic_127128-11 i86pc i386 i86pc

using exclusively Sun's compiler and ECL's git sources

-bash-3.00$ CC=cc ./configure --prefix=$HOME --enable-slow-config
-bash-3.00$ cc -V
cc: Sun C 5.9 SunOS_i386 Patch 124868-01 2007/07/12
usage: cc [ options] files.  Use 'cc -flags' for details

Can you tell me via private email which was the machine running Solaris/x86_64?


Instituto de Física Fundamental, CSIC
c/ Serrano, 113b, Madrid 28006 (Spain)