During a build of ncurses 5.4 with Ada support I get: <blah blah blah> make[2]: Entering directory `/root/build/ncurses-5.4/Ada95/src' gnatmake -O3 -gnatpn -I. -I. -c -o terminal_interface-curses- menus.o ./terminal_interface-curses-menus.adb gcc -c -I./ -O3 -gnatpn -I. -I. -I- ./terminal_interface-curses-menus.adb +===========================GNAT BUG DETECTED==============================+ | 3.3.3 (sparcv9-sun-solaris2) in expand_expr, at expr.c:7512 | | Error detected at /usr/local/lib/gcc-lib/sparcv9-sun- solaris2/3.3.3/adainclude/i-c.ads:42:33| | Please submit a bug report; see http://gcc.gnu.org/bugs.html. | | 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 ./terminal_interface-curses-menus.adb ./terminal_interface-curses-menus.ads ./terminal_interface-curses.ads ./terminal_interface.ads ./terminal_interface-curses-aux.ads compilation abandoned gnatmake: "./terminal_interface-curses-menus.adb" compilation error make[2]: *** [terminal_interface-curses-menus.o] Error 4 make[2]: Leaving directory `/root/build/ncurses-5.4/Ada95/src' make[2]: Entering directory `/root/build/ncurses-5.4/Ada95/samples' gnatmake -a -A. -A../src -A./../src tour -cargs -O3 -gnatpn -I. -largs - L../../lib -L../lib -lform -lmenu -lpanel -lncurses -R /root/build/ncurses- 5.4/lib:/usr/local/lib -lAdaCurses gnatmake -a -A. -A../src -A./../src rain -cargs -O3 -gnatpn -I. -largs - L../../lib -L../lib -lform -lmenu -lpanel -lncurses -R /root/build/ncurses- 5.4/lib:/usr/local/lib -lAdaCurses gcc -c -I. -I../src -I./../src -O3 -gnatpn -I. rain.adb status.ads:55:56: "SIGINT" not declared in "Names" gnatmake: "rain.adb" compilation error make[2]: *** [rain] Error 4 make[2]: Leaving directory `/root/build/ncurses-5.4/Ada95/samples' make[1]: *** [all] Error 2 make[1]: Leaving directory `/root/build/ncurses-5.4/Ada95' make: *** [all] Error 2 [root@lurch ncurses-5.4]# gcc -v Reading specs from /usr/local/lib/gcc-lib/sparcv9-sun-solaris2/3.3.3/specs Configured with: ../configure --enable-languages=all --disable-nls --with- ld=/usr/ccs/bin/ld --with-as=/usr/ccs/bin/as sparcv9-sun-solaris2 Thread model: posix gcc version 3.3.3 Configure was just ./configure --enable-shared; make As per bug #14997 I tried removing the -O3 from the compile line and just got the same thing.
Created attachment 6104 [details] 1/5
Created attachment 6105 [details] 2/5
Created attachment 6106 [details] 3/5
Created attachment 6107 [details] 4/5
Created attachment 6108 [details] 5/5
This is a dup of bug 14997 which looks like Ada front-end bug. *** This bug has been marked as a duplicate of 14997 ***
Well, like I said at the bottom, removing the optimizer flag didn't fix this one so I figured it might be something different