* GNAT 5.1.0 for Mac illegal instructions
@ 2015-11-19 3:04 David Botton
2015-11-19 10:10 ` Simon Wright
2015-11-19 11:45 ` Simon Wright
0 siblings, 2 replies; 3+ messages in thread
From: David Botton @ 2015-11-19 3:04 UTC (permalink / raw)
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)
^
/var/folders/42/lql9f6rs1n599ymxts7qzv_c0000gn/T//cc3KBvnz.s:67685:2: error: ambiguous instructions require an explicit suffix (could be 'fisttps', or 'fisttpl')
fisttp -90(%rbp)
^
/var/folders/42/lql9f6rs1n599ymxts7qzv_c0000gn/T//cc3KBvnz.s:67691:2: error: ambiguous instructions require an explicit suffix (could be 'fisttps', or 'fisttpl')
fisttp -90(%rbp)
^
/var/folders/42/lql9f6rs1n599ymxts7qzv_c0000gn/T//cc3KBvnz.s:67859:2: error: ambiguous instructions require an explicit suffix (could be 'fisttps', or 'fisttpl')
fisttp -2(%rbp)
^
/var/folders/42/lql9f6rs1n599ymxts7qzv_c0000gn/T//cc3KBvnz.s:67865:2: error: ambiguous instructions require an explicit suffix (could be 'fisttps', or 'fisttpl')
fisttp -2(%rbp)
^
gprbuild: *** compilation phase failed
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: GNAT 5.1.0 for Mac illegal instructions
2015-11-19 3:04 GNAT 5.1.0 for Mac illegal instructions David Botton
@ 2015-11-19 10:10 ` Simon Wright
2015-11-19 11:45 ` Simon Wright
1 sibling, 0 replies; 3+ messages in thread
From: Simon Wright @ 2015-11-19 10:10 UTC (permalink / raw)
David Botton <david@botton.com> 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.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: GNAT 5.1.0 for Mac illegal instructions
2015-11-19 3:04 GNAT 5.1.0 for Mac illegal instructions David Botton
2015-11-19 10:10 ` Simon Wright
@ 2015-11-19 11:45 ` Simon Wright
1 sibling, 0 replies; 3+ messages in thread
From: Simon Wright @ 2015-11-19 11:45 UTC (permalink / raw)
David Botton <david@botton.com> 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?
This is PR66509, which says it's fixed in 5.1.1 (??) and 6.0. I can
confirm the latter; not sure about 5.2.0, it was checked in to the 5
branch on 3 July, so it'll have missed 4.9.3 but may be in 5.2.0 (it's
not listed). In any case, the patch could be applied .. will work on it,
but things are a bit busy at the moment.
[1] https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66509
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2015-11-19 11:45 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-11-19 3:04 GNAT 5.1.0 for Mac illegal instructions David Botton
2015-11-19 10:10 ` Simon Wright
2015-11-19 11:45 ` Simon Wright
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox