This actually has nothing to do with Linaro GCC, the problem is simply
that a current mainline snapshot cannot compile an unmodified 4.4 branch
Ada compiler.

On 2010-06-22, revision 161147 was checked into mainline GCC:
http://gcc.gnu.org/viewcvs?view=revision&revision=161147

This revision introduces a change to sem_res.adb
(Make_Call_Into_Operator), which recognizes a certain type of
semantically invalid construct in Ada source code that the compiler
previously did not correctly diagnose.

Unfortunately, an instance of this invalid construct actually occurs in
the Ada compiler sources themselves, which is now detected by the new
compiler.  Therefore, the above SVN revision also adds a fix to that
instance, in file uintp.adb.

However, this latter fix was not backported to older compiler versions.
Therefore, if you attempt to build a 4.4 Ada compiler today, using a
current snapshot (post 2010-06-22) of mainline as the host compiler,
build with fail with exactly this error message.

The fix should be to simply backport the uintp.adb fix from revision
161147 to the 4.4 tree.   As this has nothing to do with Linaro as such,
and is required even in the absence of the Linaro patch set, I'd suggest
that this be done directly in the Ubuntu compiler.

-- 
[armel] gnat-4.4 built from the linaro toolchain fails to build
https://bugs.launchpad.net/bugs/608125
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to