[m-rev.] for review: fix extras/trailed_update test failure
Fergus Henderson
fjh at cs.mu.OZ.AU
Fri Nov 15 02:35:17 AEDT 2002
On 15-Nov-2002, Simon Taylor <stayl at cs.mu.OZ.AU> wrote:
>
> extras/trailed_update/samples/Mmakefile:
> Don't pass `--static' to ml. As far as I can tell it's
> not needed, and it causes problems on taifun because
> `-ldl' doesn't work for statically linked applications.
Any change here should also be made in extras/trailed_update/tests/Mmakefile.
Those two are our only test of --static in our test suite. IMHO
they should not be removed unless some other test is added to test --static.
For that other test, it would be sufficient to just disable it for
*.debug grades, and only on Solaris.
Also, I think the samples needs `--static' to avoid problems on x86 due
to the samples/* files being compiled with the default --no-pic-reg,
but being linked against the shared library in .. which was compiled
with --pic-reg. Another alternative would be to build the samples
with --pic-reg and `--mercury-libs shared', but that would run into
problems on systems where we don't support shared libraries.
--
Fergus Henderson <fjh at cs.mu.oz.au> | "I have always known that the pursuit
The University of Melbourne | of excellence is a lethal habit"
WWW: <http://www.cs.mu.oz.au/~fjh> | -- the last words of T. S. Garp.
--------------------------------------------------------------------------
mercury-reviews mailing list
post: mercury-reviews at cs.mu.oz.au
administrative address: owner-mercury-reviews at cs.mu.oz.au
unsubscribe: Address: mercury-reviews-request at cs.mu.oz.au Message: unsubscribe
subscribe: Address: mercury-reviews-request at cs.mu.oz.au Message: subscribe
--------------------------------------------------------------------------
More information about the reviews
mailing list