LLVM Bugzilla is read-only and represents the historical archive of all LLVM issues filled before November 26, 2021. Use github to submit LLVM bugs

Bug 2006 - the Ada f-e fails to build on x86-64-linux
Summary: the Ada f-e fails to build on x86-64-linux
Status: RESOLVED WONTFIX
Alias: None
Product: tools
Classification: Unclassified
Component: gnat (show other bugs)
Version: trunk
Hardware: Other Linux
: P enhancement
Assignee: Unassigned LLVM Bugs
URL:
Keywords:
Depends on: 2556
Blocks:
  Show dependency tree
 
Reported: 2008-02-10 06:53 PST by Duncan Sands
Modified: 2010-02-22 12:46 PST (History)
1 user (show)

See Also:
Fixed By Commit(s):


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Duncan Sands 2008-02-10 06:53:14 PST
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 Chris Lattner 2008-02-10 11:31:55 PST
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 Chris Lattner 2008-10-15 11:37:18 PDT
Is this fixed now? x86-64 abi should be mostly happy.
Comment 3 Duncan Sands 2008-10-16 04:53:23 PDT
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.
Comment 4 Chris Lattner 2010-02-08 23:50:01 PST
is this fixed or even worth keeping open if not?
Comment 5 Duncan Sands 2010-02-09 04:08:37 PST
I'm planning on fixing this kind of issue in dragonegg, but not in llvm-gcc.