I am stuck with a weird error while trying to compile my TinyOS program.The
error started popping up only after i upgraded my gcc toolset.I am not sure
if this is a gcc error or NesC error

I have the following version of tools installed (target platform IRIS)

gcc 4.9.0
deputy-1.1-1.i386
nesc-1.3.4-20120709.i686
tinyos-tools-1.4.0-3.i386


                                                                           ^
/opt/tinyos-2.x/tos/chips/at45db/BlockStorageP.nc: In function
'BlockStorageP__newRequest':
/opt/tinyos-2.x/tos/system/FcfsResourceQueueC.nc:88:63: warning: array
subscript is above array bounds [-Warray-bounds]
          resQ[qTail] = id;
                                                               ^
/opt/tinyos-2.x/tos/chips/at45db/HplAt45dbByteC.nc: In function
'HplAt45dbByteC__0__Resource__granted':
/opt/tinyos-2.x/tos/chips/at45db/HplAt45dbByteC.nc:171:1: internal compiler
error: Segmentation fault
   }
 ^

/opt/tinyos-2.x/tos/chips/at45db/HplAt45dbByteC.nc:171:1: internal compiler
error: Aborted
avr-gcc: internal compiler error: Aborted (program cc1)
Please submit a full bug report,
with preprocessed source if appropriate.
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to