This target successfully built on the trunk as of "4.4.0 20080802 (experimental) [trunk revision 138553]" with results posted here: http://gcc.gnu.org/ml/gcc-testresults/2008-08/msg00601.html This is the command line and bug box generated during the build. /home/joel/work-gnat/svn/b-gcc2-arm/./gcc/xgcc -B/home/joel/work-gnat/svn/b-gcc2-arm/./gcc/ -nostdinc -B/home/joel/work-gnat/svn/b-gcc2-arm/arm-rtems4.9/newlib/ -isystem /home/joel/work-gnat/svn/b-gcc2-arm/arm-rtems4.9/newlib/targ-include -isystem /home/joel/work-gnat/svn/gcc/newlib/libc/include -B/home/joel/work-gnat/svn//install/arm-rtems4.9/bin/ -B/home/joel/work-gnat/svn//install/arm-rtems4.9/lib/ -isystem /home/joel/work-gnat/svn//install/arm-rtems4.9/include -isystem /home/joel/work-gnat/svn//install/arm-rtems4.9/sys-include -c -g -O2 -mthumb -W -Wall -gnatpg -mthumb a-nlelfu.ads -o a-nlelfu.o +===========================GNAT BUG DETECTED==============================+ | 4.4.0 20080908 (experimental) [trunk revision 140126] (arm-unknown-rtems4.9) GCC error:| | in find_valid_class, at reload.c:700 | | Error detected around a-ngcefu.adb:397 | | Please submit a bug report; see http://gcc.gnu.org/bugs.html. | | Use a subject line meaningful to you and us to track the bug. | | Include the entire contents of this bug box in the report. | | Include the exact gcc or gnatmake command that you entered. | | Also include sources listed below in gnatchop format | | (concatenated together with no headers between files). | +==========================================================================+ Please include these source files with error report Note that list may not be accurate in some cases, so please double check that the problem can still be reproduced with the set of files listed. raised TYPES.UNRECOVERABLE_ERROR : comperr.adb:424
Still broken: +===========================GNAT BUG DETECTED==============================+ | 4.4.0 20081126 (experimental) [trunk revision 142228] (arm-unknown-rtems4.10) GCC error:| | in find_valid_class, at reload.c:700 | | Error detected around a-ngcefu.adb:397 | | Please submit a bug report; see http://gcc.gnu.org/bugs.html. | | Use a subject line meaningful to you and us to track the bug. | | Include the entire contents of this bug box in the report. | | Include the exact gcc or gnatmake command that you entered. | | Also include sources listed below in gnatchop format | | (concatenated together with no headers between files). | +==========================================================================+
Joel, Is this still broken ? Ramana
For the record as of trunk rev 151524 the wole Ada RTS builds fine on armel-linux
Joel, is this still a problem, or not? If so, please reconfirm the bug and change the bug status back to NEW.
*** Bug 40775 has been marked as a duplicate of this bug. ***
Reconfirmed. +===========================GNAT BUG DETECTED==============================+ | 4.5.0 20100402 (experimental) [trunk revision 157942] (arm-unknown-rtems4.10) GCC error:| | in find_valid_class, at reload.c:704 | | Error detected around a-ngcefu.adb:115:8 | | Please submit a bug report; see http://gcc.gnu.org/bugs.html. | | Use a subject line meaningful to you and us to track the bug. | | Include the entire contents of this bug box in the report. | | Include the exact gcc or gnatmake command that you entered. | | Also include sources listed below in gnatchop format | | (concatenated together with no headers between files). | +==========================================================================+ Please include these source files with error report
Reclassifying.
/users/joel/test-gcc/b-gcc2-arm/./gcc/xgcc -B/users/joel/test-gcc/b-gcc2-arm/./gcc/ -nostdinc -B/users/joel/test-gcc/b-gcc2-arm/arm-rtems4.10/newlib/ -isystem /users/joel/test-gcc/b-gcc2-arm/arm-rtems4.10/newlib/targ-include -isystem /users/joel/test-gcc/gcc-svn/newlib/libc/include -B/users/joel/test-gcc/install-svn/arm-rtems4.10/bin/ -B/users/joel/test-gcc/install-svn/arm-rtems4.10/lib/ -isystem /users/joel/test-gcc/install-svn/arm-rtems4.10/include -isystem /users/joel/test-gcc/install-svn/arm-rtems4.10/sys-include -c -g -O0 -W -Wall -gnatpg -mthumb a-nlcefu.ads -o a-nlcefu.o This gives an ICE at -O2, -O1 and -O0 as shown above. +===========================GNAT BUG DETECTED==============================+ | 4.6.0 20100407 (experimental) [trunk revision 158082] (arm-unknown-rtems4.10) GCC error:| | in find_valid_class, at reload.c:704 | | Error detected around a-ngcefu.adb:115:8 | | Please submit a bug report; see http://gcc.gnu.org/bugs.html. | | Use a subject line meaningful to you and us to track the bug. | | Include the entire contents of this bug box in the report. | | Include the exact gcc or gnatmake command that you entered. | | Also include sources listed below in gnatchop format | | (concatenated together with no headers between files). | +==========================================================================+ If there is anything I can do to help narrow this down, let me know.
Still broken. | 4.6.0 20100428 (experimental) [trunk revision 158844] (arm-unknown-rtems4.10) GCC error:| | in find_valid_class, at reload.c:704 | | Error detected around a-ngcefu.adb:115:8 |
*** Bug 46746 has been marked as a duplicate of this bug. ***
Still present. +===========================GNAT BUG DETECTED==============================+ | 4.6.0 20110124 (experimental) [trunk revision 169182] (arm-unknown-rtems4.11) GCC error:| | in find_valid_class, at reload.c:710 | | Error detected around a-ngcefu.adb:143:8 | | Please submit a bug report; see http://gcc.gnu.org/bugs.html. | | Use a subject line meaningful to you and us to track the bug. | | Include the entire contents of this bug box in the report. | | Include the exact gcc or gnatmake command that you entered. | | Also include sources listed below in gnatchop format | | (concatenated together with no headers between files). | +==========================================================================+
This looks suspiciously like PR47540, which has a submitted (by still uncommitted?) upstream patch.
4.4 branch is being closed, moving to 4.5.4 target.
GCC 4.6.4 has been released and the branch has been closed.
The 4.7 branch is being closed, moving target milestone to 4.8.4.
GCC 4.8.4 has been released.
This is fixed on at least the 4.9 branch. I successfully built arm-rtems on that. Closing.