First Last Prev Next    No search results available
Details
: the Ada f-e fails to build on x86-64-linux
Bug#: 2006
: tools
: gnat
Status: NEW
Resolution:
: Other
: Linux
: trunk
: P2
: enhancement
: ---

:
:
: 2556
:
  Show dependency tree - Show dependency graph
People
Reporter: Duncan Sands <baldrick@free.fr>
Assigned To: Unassigned LLVM Bugs <unassignedbugs@nondot.org>

Attachments


Note

You need to log in before you can comment on or make changes to this bug.

Related actions


Description:   Opened: 2008-02-10 06:53
The newly built gnatmake tool crashes.  It looks like
this is because it is being passed the wrong length
for a variable length array.
------- Comment #1 From Chris Lattner 2008-02-10 11:31:55 -------
Note that there are a variety of known x86-64 abi issues.  If llvm-gcc code is
trying to call into gcc code, this could be a problem.
------- Comment #2 From Chris Lattner 2008-10-15 11:37:18 -------
Is this fixed now? x86-64 abi should be mostly happy.
------- Comment #3 From Duncan Sands 2008-10-16 04:53:23 -------
Currently the build fails because of PR2556 (at -O2 and -O0).
I haven't been able to improve the Ada x86-64 situation because
of this.

Previously I was able to build at -O0.  Looking at Ada test
suite failures then indicated that indeed there were a bunch
of ABI problems, eg: wrong handling of functions returning
arrays (which I guess got forgotten about since C-like languages
don't do that).  I have local patches fixing some of them but
even so it wasn't enough to get Ada building at -O2 at that
time.

First Last Prev Next    No search results available