From: Simon Wright <simon@pushface.org>
Subject: Re: GNAT bug on macOS Sierra ?
Date: Tue, 22 Nov 2016 08:28:29 +0000
Date: 2016-11-22T08:28:29+00:00 [thread overview]
Message-ID: <lyk2bv6hqq.fsf@pushface.org> (raw)
In-Reply-To: a7d27b6f-0f0b-4e6b-914a-882393db6a0b@googlegroups.com
Vincent <vincent.diemunsch@gmail.com> writes:
> I made some further trials with compilers. I seems that
> - Gnat GPL 2016 works fine
> - Gnat FSF 6.1.0 has a problem with the file mp_x86_64bits.ads or
> mpfr-floats.adb
>
> /var/folders/xb/4bm5gdr13k373gg8pbn_wsxw0000gp/T//ccdi0L0B.s:8932:suffix
> or operands invalid for `movq'
> /var/folders/xb/4bm5gdr13k373gg8pbn_wsxw0000gp/T//ccdi0L0B.s:8954:suffix
> or operands invalid for `movq'
The assembly source produced for mp_x86_64bits.ads is only about 10
lines long, so I don't understand this one.
Compiling mpfr-floats.adb with FSF GCC 6.1.0 and
gnatmake -c-u -f mpfr-floats.adb -cargs -S
the first few of the complaints in your original posting are lines of
the form
movq %xmm0, %rax
movq %rax, %xmm0
which (after some googling) look legal to me, and are accepted by the
assembler. What do you get?
Are you using the right assembler? I have
$ which as
/usr/bin/as
$ as --version
Apple LLVM version 8.0.0 (clang-800.0.42.1)
Target: x86_64-apple-darwin16.1.0
Thread model: posix
InstalledDir: /Library/Developer/CommandLineTools/usr/bin
next prev parent reply other threads:[~2016-11-22 8:28 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-11-18 21:04 GNAT bug on macOS Sierra ? Vincent
2016-11-18 22:44 ` Simon Wright
2016-11-18 22:55 ` vincent.diemunsch
2016-11-21 8:35 ` briot.emmanuel
2016-11-21 9:17 ` Simon Wright
2016-11-21 21:28 ` Vincent
2016-11-22 8:28 ` Simon Wright [this message]
2016-11-22 22:47 ` Vincent
2016-11-23 8:46 ` Simon Wright
2016-11-23 15:53 ` Vincent
2016-11-23 17:06 ` Dennis Lee Bieber
2016-11-23 19:15 ` G.B.
2016-11-24 3:40 ` Dennis Lee Bieber
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox