This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug ada/14997] New: ncurses build fails with Ada


I'm trying to build ncurses with an Ada-enabled compiler and get this:

<< much stuff not included >>

gcc -c -I./ -O3 -gnatpn -I. -I. -I- ./terminal_interface-curses-aux.adb
gcc -c -I./ -O3 -gnatpn -I. -I. -I- ./terminal_interface-curses.adb
+===========================GNAT BUG DETECTED==============================+
| 3.3.3 (sparcv9-sun-solaris2) in expand_expr, at expr.c:7512              |
| Error detected at ./terminal_interface-curses.adb:1987:34                |
| 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.adb
./terminal_interface-curses.ads
./terminal_interface.ads
./terminal_interface-curses-aux.ads

compilation abandoned
gnatmake: "./terminal_interface-curses.adb" compilation error
make[2]: *** [terminal_interface-curses-aux.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'
cp ./explain.txt explain.msg
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 
gcc -c -I. -I../src -I./../src -O3 -gnatpn -I. tour.adb
gcc -c -I./ -I. -I../src -I./../src -O3 -gnatpn -I. -I- -
gnatpg /usr/local/lib/gcc-lib/sparcv9-sun-solaris2/3.3.3/adainclude/s-
stalib.adb
gcc -c -I. -I../src -I./../src -O3 -gnatpn -I. sample.adb
terminal_interface-curses-menus.ads:141:33: size for "Menu_Option_Set" too 
small, minimum allowed is 64
terminal_interface-curses-menus.ads:164:33: size for "Item_Option_Set" too 
small, minimum allowed is 64
gnatmake: "sample.adb" compilation error
make[2]: *** [tour] 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


The configure line for ncurses was simply ./configure --enable-shared; make

I'll include the gnatchop files in different posts to this ticket.

-- 
           Summary: ncurses build fails with Ada
           Product: gcc
           Version: 3.3.3
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: ada
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: ehicks at binarymagi dot com
                CC: gcc-bugs at gcc dot gnu dot org


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14997


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]