<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:arial, helvetica, sans-serif;font-size:10pt"><DIV style="FONT-SIZE: 10pt; FONT-FAMILY: arial, helvetica, sans-serif">Hello All,</DIV>
<DIV style="FONT-SIZE: 10pt; FONT-FAMILY: arial, helvetica, sans-serif"> </DIV>
<DIV style="FONT-SIZE: 10pt; FONT-FAMILY: arial, helvetica, sans-serif">  I just completed a what I hope is a successful build of a Cygwin based Ada supporing toolset (based on gcc-4.1.20060909 snapshot) for PowerPC, and RTEMS 4.6.99.3, psim and ss555 BSP.</DIV>
<DIV style="FONT-SIZE: 10pt; FONT-FAMILY: arial, helvetica, sans-serif"> </DIV>
<DIV style="FONT-SIZE: 10pt; FONT-FAMILY: arial, helvetica, sans-serif">  However, when running a simple Ada 'hello' test program, the program runs correctly, and then RTEMS complains about an internal error.  Here is a gdb log that shows the problem (psim BSP):</DIV>
<DIV style="FONT-SIZE: 10pt; FONT-FAMILY: arial, helvetica, sans-serif"> </DIV>
<BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px">
<DIV style="FONT-SIZE: 10pt; FONT-FAMILY: arial, helvetica, sans-serif">GNU gdb 6.4<BR>Copyright 2005 Free Software Foundation, Inc.<BR>GDB is free software, covered by the GNU General Public License, and you are<BR>welcome to change it and/or distribute copies of it under certain conditions.<BR>Type "show copying" to see the conditions.<BR>There is absolutely no warranty for GDB.  Type "show warranty" for details.<BR>This GDB was configured as "--host=i686-pc-cygwin --target=powerpc-rtems"...<BR>Connected to the simulator.<BR>Breakpoint 1 at 0x1f3d8<BR>Breakpoint 2 at 0x1dad0<BR>Breakpoint 3 at 0x2912c: file ../../../../../../source/gcc-4.1-20060929/newlib/libc/stdlib/assert.c, line 57.<BR>(gdb) run<BR>Starting program: /home/avy/t.exe <BR>Hello RTEMS Ada</DIV>
<DIV style="FONT-SIZE: 10pt; FONT-FAMILY: arial, helvetica, sans-serif">Breakpoint 1, 0x0001f3d8 in _Internal_error_Occurred ()<BR>(gdb) quit<BR>The program is running.  Exit anyway? (y or n) <BR></DIV>
<DIV style="FONT-SIZE: 10pt; FONT-FAMILY: arial, helvetica, sans-serif">The Ada test program is:</DIV>
<DIV style="FONT-SIZE: 10pt; FONT-FAMILY: arial, helvetica, sans-serif"> </DIV>
<DIV style="FONT-SIZE: 10pt; FONT-FAMILY: arial, helvetica, sans-serif">with Ada.Text_io;<BR>procedure T is<BR>begin<BR>  Ada.Text_IO.Put_Line("Hello RTEMS Ada");<BR>end T;</DIV></BLOCKQUOTE>
<DIV dir=ltr style="FONT-SIZE: 10pt; FONT-FAMILY: arial, helvetica, sans-serif">The C hello test progam shows the 'normal, expected' behavior:</DIV>
<DIV dir=ltr style="FONT-SIZE: 10pt; FONT-FAMILY: arial, helvetica, sans-serif"> </DIV>
<BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px">
<DIV dir=ltr style="FONT-SIZE: 10pt; FONT-FAMILY: arial, helvetica, sans-serif">GNU gdb 6.4<BR>Copyright 2005 Free Software Foundation, Inc.<BR>GDB is free software, covered by the GNU General Public License, and you are<BR>welcome to change it and/or distribute copies of it under certain conditions.<BR>Type "show copying" to see the conditions.<BR>There is absolutely no warranty for GDB.  Type "show warranty" for details.<BR>This GDB was configured as "--host=i686-pc-cygwin --target=powerpc-rtems"...<BR>Connected to the simulator.<BR>Breakpoint 1 at 0xbb7c<BR>Breakpoint 2 at 0xa274<BR>Breakpoint 3 at 0x13afc: file ../../../../../../source/gcc-4.1-20060929/newlib/libc/stdlib/assert.c, line 57.<BR>(gdb) run<BR>Starting program: /opt/rtems-tools-4.7/powerpc-rtems/psim/lib/rtems-4.7/tests/hello.exe </DIV>
<DIV dir=ltr style="FONT-SIZE: 10pt; FONT-FAMILY: arial, helvetica, sans-serif"><BR>*** HELLO WORLD TEST ***<BR>Hello World<BR>*** END OF HELLO WORLD TEST ***</DIV>
<DIV dir=ltr style="FONT-SIZE: 10pt; FONT-FAMILY: arial, helvetica, sans-serif">Program exited normally.<BR>(gdb) quit<BR></DIV></BLOCKQUOTE>
<DIV dir=ltr style="FONT-SIZE: 10pt; FONT-FAMILY: arial, helvetica, sans-serif"> </DIV>
<DIV dir=ltr style="FONT-SIZE: 10pt; FONT-FAMILY: arial, helvetica, sans-serif">Any Ideas?</DIV>
<DIV dir=ltr style="FONT-SIZE: 10pt; FONT-FAMILY: arial, helvetica, sans-serif">Sincerely</DIV>
<DIV dir=ltr style="FONT-SIZE: 10pt; FONT-FAMILY: arial, helvetica, sans-serif">Avy Strominger</DIV>
<DIV dir=ltr style="FONT-SIZE: 10pt; FONT-FAMILY: arial, helvetica, sans-serif"><A href="mailto:astominger@yahoo.com">astominger@yahoo.com</A></DIV></div></body></html>