public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug ada/14997] New: ncurses build fails with Ada
@ 2004-04-17 20:16 ehicks at binarymagi dot com
  2004-04-17 20:25 ` [Bug ada/14997] " ehicks at binarymagi dot com
                   ` (15 more replies)
  0 siblings, 16 replies; 17+ messages in thread
From: ehicks at binarymagi dot com @ 2004-04-17 20:16 UTC (permalink / raw)
  To: gcc-bugs

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


^ permalink raw reply	[flat|nested] 17+ messages in thread

end of thread, other threads:[~2005-09-06 19:50 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-04-17 20:16 [Bug ada/14997] New: ncurses build fails with Ada ehicks at binarymagi dot com
2004-04-17 20:25 ` [Bug ada/14997] " ehicks at binarymagi dot com
2004-04-17 20:32 ` ehicks at binarymagi dot com
2004-04-17 20:43 ` ehicks at binarymagi dot com
2004-04-17 20:54 ` ehicks at binarymagi dot com
2004-04-17 20:55 ` pinskia at gcc dot gnu dot org
2004-04-17 21:15 ` laurent at guerby dot net
2004-04-17 21:16 ` pinskia at gcc dot gnu dot org
2004-04-17 21:16 ` ehicks at binarymagi dot com
2004-04-17 23:43 ` pinskia at gcc dot gnu dot org
2004-04-18  2:21 ` laurent at guerby dot net
2004-11-24 19:32 ` pinskia at gcc dot gnu dot org
2005-03-30  9:12 ` charlet at gcc dot gnu dot org
2005-05-09 13:06 ` ebotcazou at gcc dot gnu dot org
2005-09-06  8:30 ` [Bug middle-end/14997] " ebotcazou at gcc dot gnu dot org
2005-09-06 19:47 ` cvs-commit at gcc dot gnu dot org
2005-09-06 19:50 ` ebotcazou at gcc dot gnu dot org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).