[mercury-users] Build Mercury 11.01

Denis Kononenko deniskononenko at gmail.com
Tue Sep 20 02:50:57 AEST 2011


)':
Version mercury-compiler-11.07-beta-2011-09-18 not build

cd library && PATH=../scripts:../util:$PATH MMAKE_VPATH=. MMAKE_DIR=../scripts DESTDIR= ../scripts/mmake 
../scripts/mgnuc --grade none.gc        --       -c tree234.c -o tree234.o
tree234.c:598: error: initializer element is not constant
tree234.c:598: error: (near initialization for ‘mercury_common_1[0].f2’)
tree234.c:602: error: initializer element is not constant
tree234.c:602: error: (near initialization for ‘mercury_common_1[1].f2’)
tree234.c:610: error: initializer element is not constant
tree234.c:610: error: (near initialization for ‘mercury_common_1[3].f2’)
tree234.c:619: error: initializer element is not constant
tree234.c:619: error: (near initialization for ‘mercury_common_2[0].f1[1]’)
tree234.c:625: error: initializer element is not constant
tree234.c:625: error: (near initialization for ‘mercury_common_2[1].f1[1]’)
tree234.c:631: error: initializer element is not constant
tree234.c:631: error: (near initialization for ‘mercury_common_2[2].f1[1]’)
tree234.c:637: error: initializer element is not constant
tree234.c:637: error: (near initialization for ‘mercury_common_2[3].f1[1]’)
make[2]: *** [tree234.o] Error 1
make[1]: *** [library] Error 2
make: *** [all] Error 2


Have the time to leave the study ):
Finish the project for the iOS and downgrade to MacOS Leopard

Thanks



19.09.2011, в 22:33, Julien Fischer написал(а):

> 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
> --------------------------------------------------------------------------

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mercurylang.org/archives/users/attachments/20110919/5f91a8f0/attachment.html>


More information about the users mailing list