Re: Bug detected as a-comlin.adb:36:17

2007-03-31 Thread Eric Botcazou
 please tell me about the bug or error.Now i am already
 stuk i am unable to understand what to do next???
 so please help me!!

Ada is not supported for this target.

-- 
Eric Botcazou


Bug detected as a-comlin.adb:36:17

2007-03-30 Thread sameer sinha
hello,
I am trying to build gcc-3.4.5 and gcc-3.4.6
for i960 as target.
my host machine:i686-pc-linux-gnu
target maccine:i960-unknown-coff
native compiler on my machine: gcc-4.0
operating system/gc version:gcc version 4.0.0 (Red Hat
4.0.0-8)on Fedora core-4

i have already installed binutils-2.18 and newlib on
my system.After then i tried to install a cross
compiler for  i960 for language c.And it's working
fine.And i am able to compile the c program and also
able to see the output by running the executable on
i960 simulator.

now the problem came wheen i tried to build gcc-3.4.5
and gcc-3.4.6 for target i960 for language ada.
my directory structure is as follows:
../../GCC-3.4.X
  inside this directory i made two directory
/source and /build
then inside build directory i ran the command:
build$./../source/gcc-3.4.X/configure
--enable-languages=c,ada --enable-obsolete
--target=i960-unknown-coff --with-newlib

then i ran the command 
$ make
and it builded successfully then i went inside
directory gcc by running the command
build$ cd gcc
and i ran the cammand
build/gcc$ make gnatlib

and i got the following bug:-

../../xgcc -B../../ -c -g -O2  -W -Wall -gnatpg 
a-comlin.adb -o a-comlin.o
+===GNAT BUG
DETECTED==+
| 3.4.5 (i960-unknown-coff) Storage_Error stack
overflow (or erroneous memory access)|
| Error detected at a-comlin.adb:36:17
|
| 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
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.


compilation abandoned
make[2]: *** [a-comlin.o] Error 1
make[2]: Leaving directory
`/home/sameer/fresh_cross_build/GCC-3.4.5/build/gcc/ada/rts'
make[1]: *** [gnatlib] Error 2
make[1]: Leaving directory
`/home/sameer/fresh_cross_build/GCC-3.4.5/build/gcc/ada'
make: *** [gnatlib] Error 2

please tell me about the bug or error.Now i am already
stuk i am unable to understand what to do next???
so please help me!!

Thanks  Regards
sameer kumar sinha
Project Engineer 
C-DAC Knowledge Park 
#1, Old Madras Road 
Bangalore - 560 038, INDIA



__
Yahoo! India Answers: Share what you know. Learn something new
http://in.answers.yahoo.com/