This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug other/50954] New: Snow Leopard 10.6.8 - TinyOS Oscilloscope - Segmentation Fault


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50954

             Bug #: 50954
           Summary: Snow Leopard 10.6.8 - TinyOS Oscilloscope -
                    Segmentation Fault
    Classification: Unclassified
           Product: gcc
           Version: 4.2.1
            Status: UNCONFIRMED
          Severity: critical
          Priority: P3
         Component: other
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: moret@berkeley.edu


My OS is MAC OS X 10.6.8, I've TinyOS installed on it. 

gcc --version:
i686-apple-darwin10-gcc-4.2.1 (GCC) 4.2.1 (Apple Inc. build 5666) (dot 3)

It works if I try to build some of the default applications provided by TinyOS
release (like Blink, Null, etc.). But if I try to compile the Oscilloscope
application for telosb motes I get this output:

$ make telosb
mkdir -p build/telosb
    compiling OscilloscopeAppC to a telosb binary
ncc -o build/telosb/main.exe  -Os -O -fnesc-separator=__ -Wall -Wshadow
-Wnesc-all -target=telosb -fnesc-cfile=build/telosb/app.c -board=
-DDEFINED_TOS_AM_GROUP=0x22 -DIDENT_APPNAME=\"OscilloscopeApp\"
-DIDENT_USERNAME=\"Cinese\" -DIDENT_HOSTNAME=\"MacBook-di-Stef\"
-DIDENT_USERHASH=0x688ec652L -DIDENT_TIMESTAMP=0x4eb07db8L
-DIDENT_UIDHASH=0xe99bd6e1L  OscilloscopeAppC.nc -lm 
/opt/tinyos-2.x/tos/chips/cc2420/lpl/DummyLplC.nc:39:2: warning: #warning "***
LOW POWER COMMUNICATIONS DISABLED ***"
/opt/tinyos-2.x/tos/chips/msp430/adc12/Msp430Adc12ImplP.nc:68:4: warning:
#warning Accessing TimerA for ADC12
/opt/tinyos-2.x/tos/interfaces/TaskBasic.nc: In function
`CC2420TransmitP__CaptureSFD__captured':
/opt/tinyos-2.x/tos/interfaces/TaskBasic.nc:67: internal 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

Any hints?

regards,
Stefano Moret


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]