From: Remy B. <rem...@po...> - 2004-10-29 14:46:18
|
Some more data: I compiled gcc-3.4.2, rebuilt the libc, and now the compilation fails with the following. I guess 3.4.2 is not yet ready for prime time. I'll try again with 3.3.4, and finally again with 3.2.3 and the latest patch from CVS. -- Remy ncc -o build/wsnbase/main.exe -Os -I/home/joe/src/wsn/tinyos/tos/platform/wsnbase -I/home/joe/src/wsn/tinyos/tos/lib/XE1205Radio -fnesc-target=msp430 -gcc=msp430-gcc -mmcu=msp430x149 -Wall -Wshadow -DDEF_TOS_AM_GROUP=0x7d -Wnesc-all -target=wsnbase -fnesc-cfile=build/wsnbase/app.c -board= -DIDENT_PROGRAM_NAME="SenseBase" -DIDENT_PROGRAM_NAME_BYTES="83,101,110,115,101,66,97,115,101,0" -DIDENT_USER_HASH=0L -DIDENT_UNIX_TIME=0x4182565fL SenseBase.nc -lm /opt/tinyos-1.x/tos/platform/msp430/MSP430ADC12M.nc:661:2: warning: #warning "This version of gcc might contain a bug which results in false accessing of bitfields in structs (MSP430ADC12M.nc will fail). Version 3.2.3 is known to be safe (3.3.2 is known to contain the bug)." /opt/tinyos-1.x/tos/platform/msp430/HPLADC12M.nc: In function `HPLADC12M$HPLADC12$setControl1': /opt/tinyos-1.x/tos/platform/msp430/HPLADC12M.nc:55: warning: dereferencing type-punned pointer will break strict-aliasing rules /opt/tinyos-1.x/tos/platform/msp430/MSP430ADC12M.nc: In function `MSP430ADC12M$MSP430ADC12Advanced$getSingleDataRepeat': /opt/tinyos-1.x/tos/platform/msp430/MSP430ADC12M.nc:407: warning: dereferencing type-punned pointer will break strict-aliasing rules /opt/tinyos-1.x/tos/platform/msp430/MSP430ADC12M.nc:414: warning: dereferencing type-punned pointer will break strict-aliasing rules /opt/tinyos-1.x/tos/platform/msp430/MSP430ADC12M.nc:415: warning: dereferencing type-punned pointer will break strict-aliasing rules /opt/tinyos-1.x/tos/platform/msp430/MSP430TimerM.nc: In function `MSP430TimerM$ControlA0$getControl': /opt/tinyos-1.x/tos/platform/msp430/MSP430TimerM.nc:180: warning: dereferencing type-punned pointer will break strict-aliasing rules /opt/tinyos-1.x/tos/platform/msp430/MSP430TimerM.nc: In function `MSP430TimerM$ControlA1$getControl': /opt/tinyos-1.x/tos/platform/msp430/MSP430TimerM.nc:181: warning: dereferencing type-punned pointer will break strict-aliasing rules /opt/tinyos-1.x/tos/platform/msp430/MSP430TimerM.nc: In function `MSP430TimerM$ControlA2$getControl': /opt/tinyos-1.x/tos/platform/msp430/MSP430TimerM.nc:182: warning: dereferencing type-punned pointer will break strict-aliasing rules /opt/tinyos-1.x/tos/platform/msp430/MSP430TimerM.nc: In function `MSP430TimerM$ControlB0$getControl': /opt/tinyos-1.x/tos/platform/msp430/MSP430TimerM.nc:322: warning: dereferencing type-punned pointer will break strict-aliasing rules /opt/tinyos-1.x/tos/platform/msp430/MSP430TimerM.nc: In function `MSP430TimerM$ControlB1$getControl': /opt/tinyos-1.x/tos/platform/msp430/MSP430TimerM.nc:323: warning: dereferencing type-punned pointer will break strict-aliasing rules /opt/tinyos-1.x/tos/platform/msp430/MSP430TimerM.nc: In function `MSP430TimerM$ControlB2$getControl': /opt/tinyos-1.x/tos/platform/msp430/MSP430TimerM.nc:324: warning: dereferencing type-punned pointer will break strict-aliasing rules /opt/tinyos-1.x/tos/platform/msp430/MSP430TimerM.nc: In function `MSP430TimerM$ControlB3$getControl': /opt/tinyos-1.x/tos/platform/msp430/MSP430TimerM.nc:325: warning: dereferencing type-punned pointer will break strict-aliasing rules /opt/tinyos-1.x/tos/platform/msp430/MSP430TimerM.nc: In function `MSP430TimerM$ControlB4$getControl': /opt/tinyos-1.x/tos/platform/msp430/MSP430TimerM.nc:326: warning: dereferencing type-punned pointer will break strict-aliasing rules /opt/tinyos-1.x/tos/platform/msp430/MSP430TimerM.nc: In function `MSP430TimerM$ControlB5$getControl': /opt/tinyos-1.x/tos/platform/msp430/MSP430TimerM.nc:327: warning: dereferencing type-punned pointer will break strict-aliasing rules /opt/tinyos-1.x/tos/platform/msp430/MSP430TimerM.nc: In function `MSP430TimerM$ControlB6$getControl': /opt/tinyos-1.x/tos/platform/msp430/MSP430TimerM.nc:328: warning: dereferencing type-punned pointer will break strict-aliasing rules /opt/tinyos-1.x/tos/platform/msp430/MSP430ADC12M.nc: In function `MSP430ADC12M$checkQueue': /opt/tinyos-1.x/tos/platform/msp430/MSP430ADC12M.nc:717: warning: dereferencing type-punned pointer will break strict-aliasing rules /opt/tinyos-1.x/tos/platform/msp430/MSP430ADC12M.nc:718: warning: dereferencing type-punned pointer will break strict-aliasing rules /opt/tinyos-1.x/tos/platform/msp430/HPLADC12M.nc: In function `HPLADC12M$HPLADC12$setControl0_IgnoreRef': /opt/tinyos-1.x/tos/platform/msp430/HPLADC12M.nc:59: warning: dereferencing type-punned pointer will break strict-aliasing rules /opt/tinyos-1.x/tos/platform/msp430/HPLADC12M.nc:62: warning: dereferencing type-punned pointer will break strict-aliasing rules /opt/tinyos-1.x/tos/platform/msp430/HPLADC12M.nc: In function `HPLADC12M$HPLADC12$setMemControl': /opt/tinyos-1.x/tos/platform/msp430/HPLADC12M.nc:77: warning: dereferencing type-punned pointer will break strict-aliasing rules /opt/tinyos-1.x/tos/platform/msp430/MSP430ADC12M.nc: In function `MSP430ADC12M$internalGetSequenceData': /opt/tinyos-1.x/tos/platform/msp430/MSP430ADC12M.nc:513: warning: dereferencing type-punned pointer will break strict-aliasing rules /opt/tinyos-1.x/tos/platform/msp430/MSP430ADC12M.nc:522: warning: dereferencing type-punned pointer will break strict-aliasing rules /opt/tinyos-1.x/tos/platform/msp430/MSP430ADC12M.nc:523: warning: dereferencing type-punned pointer will break strict-aliasing rules /opt/tinyos-1.x/tos/platform/msp430/MSP430ADC12M.nc: In function `MSP430ADC12M$MSP430ADC12Basic$getSingleData': /opt/tinyos-1.x/tos/platform/msp430/MSP430ADC12M.nc:217: warning: dereferencing type-punned pointer will break strict-aliasing rules /opt/tinyos-1.x/tos/platform/msp430/MSP430ADC12M.nc:218: warning: dereferencing type-punned pointer will break strict-aliasing rules /opt/tinyos-1.x/tos/platform/msp430/msp430hardware.h: In function `TimerM$StdControl$init': /opt/tinyos-1.x/tos/platform/msp430/msp430hardware.h:178: internal compiler error: Segmentation fault Please submit a full bug report, with preprocessed source if appropriate. See <URL:http://gcc.gnu.org/bugs.html> for instructions. make: *** [exe0] Error 1 |