[m-rev.] for review: Do not use gcc-3.4 to compile mercury on some machines.

Julien Fischer juliensf at csse.unimelb.edu.au
Mon Jun 28 12:40:20 AEST 2010

On Mon, 28 Jun 2010, Paul Bone wrote:

> Is there a problem with my changes to bob's configuration?  Should I have
> changed saturn's configuration?
> Thanks.
> ---
> Do not build Mercury using gcc-3.4 on some of our systems.  At present the
> Mercury installations on taura, saturn and bob are configured to use gcc-3.4.
> taura:
>    taura's version of Ubuntu doesn't supply gcc-3.4, we where using a
>    back-ported package which is now unnecessary.  When using gcc-3.4 taura
>    would compile in handwritten atomic instructions since gcc-3.4 doesn't
>    support the correct intrinsics.  We now define MR_AVOID_COMPILER_INTRINSICS
>    to ensure that the handwritten instructions are still exercised.
>    Also enable --profile-for-implicit-parallelism for the test suite.
> bob:
>    bob's --with-cc line was spelt incorrectly, and probably wasn't having an
>    effect.  Using my best judgment I removed this option.

No, that's fine.  We only used --with-cc because the asm_fast grades
didn't work with gcc 4.1+ at the time.

> saturn:
>    saturn's configuration includes a comment saying that the use of gcc-3.4
>    avoids a bug.  I'm not sure if this is still true.  However I have not
>    modified saturn's configuration because of this comment.

This is in relation to bug #124.  I suspect we could avoid this by using
gcc 4.3 on saturn.  I will try this out now.

The diff looks fine otherwise.

mercury-reviews mailing list
Post messages to:       mercury-reviews at csse.unimelb.edu.au
Administrative Queries: owner-mercury-reviews at csse.unimelb.edu.au
Subscriptions:          mercury-reviews-request at csse.unimelb.edu.au

More information about the reviews mailing list