[mercury-users] Shared libraries on Solaris x86?
Geoff Wilson
gmwils at cat.cs.mu.OZ.AU
Tue Nov 9 02:43:59 AEDT 1999
On Tue, Nov 09, 1999 at 01:47:04AM +1100, Fergus Henderson wrote:
> On 09-Nov-1999, Geoff Wilson <gmwils at cat.cs.mu.OZ.AU> wrote:
> > Following the instructions in the INSTALL script, I was wondering if
> > there was a likelihood of shared library support for Solaris x86 being
> > supported. It may be that it is, and I've done something bad to my Solaris
> > setup so that configure doesn't pick it up.
>
> No, shared libraries are not yet supported for Solaris x86.
>
> If the Boehm collector supports shared libraries on Solaris x86,
> then adding support for them would just be a matter of doing
> the same thing for i?86-pc-solaris* as we do for i?86-pc-linux*.
> That would be quite easy.
>
> I don't know off-hand whether the Boehm collector does support
> shared libraries on Solaris x86; to find out, the first thing
> to do would be to do a `make gctest_dyn_link' in the boehm_gc directory.
>
( ./configure ; cd boehm_gc ; make gctest_dyn_link )
Results in a link error.
( ./configure ; cd boehm_gc ; make sunos5gc.so ; make gctest_dyn_link )
Compiles, but running the executable gctest_dyn_link results in core being
dumped. (Note: this occurs even if LD_LIBRARY_PATH includes the directory
containing the shared library version of the garbage collector).
Host: quirk (my home computer)
./gctest_dyn_link
Segmentation fault (core dumped)
Host: capricciosa (CS's 'test' machine)
./gctest_dyn_link
List reversal produced incorrect list - collector is broken
Abort (core dumped)
I am assuming that this should actually run the test, and that merely
compiling it is not sufficient. Anyway, hope this helps somewhat.
Geoff
--
a paranoid is just someone with all of the facts at his disposal
- william seaward burroughs 1914-1997
Geoff M. Wilson <gmwils at zark.thedonkeys.org> www.zark.thedonkeys.org/~gmwils
--------------------------------------------------------------------------
mercury-users mailing list
post: mercury-users at cs.mu.oz.au
administrative address: owner-mercury-users at cs.mu.oz.au
unsubscribe: Address: mercury-users-request at cs.mu.oz.au Message: unsubscribe
subscribe: Address: mercury-users-request at cs.mu.oz.au Message: subscribe
--------------------------------------------------------------------------
More information about the users
mailing list