[mercury-users] Build Mercury 11.01
Julien Fischer
juliensf at csse.unimelb.edu.au
Tue Sep 20 02:33:55 AEST 2011
Hi,
On Mon, 19 Sep 2011, Denis Kononenko wrote:
> I have a new problem:
> I want rebuild Mercury.
>
> tar -xzf mercury-11.01.tar.gz
> cd mercury-11.01
> ./configure
> make
>
> atomic_ops/sysdeps/gcc/x86_64.h: In function AO_test_and_set_full:
> atomic_ops/sysdeps/gcc/x86_64.h:120: error: unsupported inline asm: input constraint with a matching output constraint of incompatible type!
> make[6]: *** [atomic_ops.o] Error 1
> make[5]: *** [install-recursive] Error 1
> make[4]: *** [install-recursive] Error 1
> make[3]: *** [libatomic_ops-install] Error 2
> make[2]: *** [submake] Error 2
> make[1]: *** [boehm_gc] Error 2
> make: *** [all] Error 2
> ------------------------------------------------------------
>
> gcc --version
> i686-apple-darwin11-llvm-gcc-4.2 (GCC) 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2335.15.00)
> Copyright (C) 2007 Free Software Foundation, Inc.
> This is free software; see the source for copying conditions. There is NO
> warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
You cannot use llvm-gcc to build Mercury, you will need to use normal
gcc. (With the 11.07-beta release you could use clang instead of gcc.)
Julien.
--------------------------------------------------------------------------
mercury-users mailing list
Post messages to: mercury-users at csse.unimelb.edu.au
Administrative Queries: owner-mercury-users at csse.unimelb.edu.au
Subscriptions: mercury-users-request at csse.unimelb.edu.au
--------------------------------------------------------------------------
More information about the users
mailing list