From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=unavailable autolearn_force=no version=3.4.4 Path: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!news.eternal-september.org!mx02.eternal-september.org!.POSTED!not-for-mail From: Simon Wright Newsgroups: comp.lang.ada Subject: Re: GNAT 5.1.0 for Mac illegal instructions Date: Thu, 19 Nov 2015 10:10:53 +0000 Organization: A noiseless patient Spider Message-ID: References: <44515a5f-5d88-44fa-a980-5c230284d8b1@googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: mx02.eternal-september.org; posting-host="29a2b57997615acde1fccc73c72adb9b"; logging-data="31583"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18o97jdLJzfUVmGSmfllS5SUov0oeMQqyA=" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (darwin) Cancel-Lock: sha1:Y2+IxVi6mAKY0zNFrc9mOyG0AOA= sha1:rOGA3EOU303OaphayjRIwqiK0c8= Xref: news.eternal-september.org comp.lang.ada:28459 Date: 2015-11-19T10:10:53+00:00 List-Id: David Botton writes: > I tried today to install gnat 5.1.0 on a fresh El Capitan install and > doing a make on a fresh git clone of Gnoga I received the following > errors. Any ideas? > > /var/folders/42/lql9f6rs1n599ymxts7qzv_c0000gn/T//cc3KBvnz.s:64136:2: > error: ambiguous instructions require an explicit suffix (could be > 'filds', or 'fildl') > fild -464(%rbp) > ^ I got this while rebuilding GNAT GPL 2015; I think it's a change to the behaviour of Apple's assembler in the latest command line tools. The file I got the problem with was g-alleve.adb, part of the Altivec extensions. AdaCore are aware of the problem, and have a fix, but I don't know when we will see it. The Altivec extensions are probably of little interest unless you want to be portable to Power computers (unlikely); so I disabled the GNAT.Altivec tree by nulling out GNATRTL_ALTIVEC_OBJS in gcc/ada/Makefile.rtl.