[buildroot 0001043]: ada support for buildroot

bugs at busybox.net bugs at busybox.net
Wed Sep 27 01:26:51 UTC 2006


A NOTE has been added to this issue. 
====================================================================== 
http://busybox.net/bugs/view.php?id=1043 
====================================================================== 
Reported By:                belandor
Assigned To:                uClibc
====================================================================== 
Project:                    buildroot
Issue ID:                   1043
Category:                   New Features
Reproducibility:            N/A
Severity:                   feature
Priority:                   normal
Status:                     assigned
====================================================================== 
Date Submitted:             09-21-2006 06:37 PDT
Last Modified:              09-26-2006 18:26 PDT
====================================================================== 
Summary:                    ada support for buildroot
Description: 
I have included the option to add --enable-languages=ada when compiling
gcc.

The problem is though, that gcc-4.1.1 needs a patch to compile - namely
the files
s-wchcon.adb and s-wchcon.ads need to be replaced with the SVN versions.
gcc-SVN should compile fine though.
I haven't tried compiling Ada support for older gcc versions.

I got this to compile targetting arm-linux-uclibcgnueabi. However,
building the target compiler supporting ada did not work (Configure chokes
over the wrong gmp.h version).

Any comments?

====================================================================== 

---------------------------------------------------------------------- 
 belandor - 09-26-06 18:26  
---------------------------------------------------------------------- 
the issue with the failing target compiler is due to a bug in gcc-4.1.1:
when running, the cross-compiler emits a warning like this:

<built-in>:0: warning: 'const' attribute directive ignored
<built-in>:0: warning: 'nothrow' attribute directive ignored

When configure for gcc-4.1.1-target tests for ada capabilities (line
2145), it checks for creation of conftest.o and makes sure, that the call
did not issue any output. - Well, as output is issued the test fails, even
though the compiler is actually functional.

The gmp.h warning is misleading - it's actually the last error message
produced in config.log, but unrelated to ada language support...

This is fixed in the gcc-4.1.2 release branch. - So full Ada support
should probably wait for that release. 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
09-21-06 06:37  belandor       New Issue                                    
09-21-06 06:37  belandor       Status                   new => assigned     
09-21-06 06:37  belandor       Assigned To               => uClibc          
09-21-06 22:05  belandor       Issue Monitored: belandor                    
09-26-06 18:26  belandor       Note Added: 0001646                          
======================================================================




More information about the uClibc-cvs mailing list