From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16380 invoked by alias); 1 Nov 2011 23:17:31 -0000 Received: (qmail 16367 invoked by uid 22791); 1 Nov 2011 23:17:30 -0000 X-SWARE-Spam-Status: No, hits=-2.9 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00 X-Spam-Check-By: sourceware.org Received: from localhost (HELO gcc.gnu.org) (127.0.0.1) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 01 Nov 2011 23:17:15 +0000 From: "moret at berkeley dot edu" To: gcc-bugs@gcc.gnu.org Subject: [Bug other/50954] New: Snow Leopard 10.6.8 - TinyOS Oscilloscope - Segmentation Fault Date: Tue, 01 Nov 2011 23:17:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: other X-Bugzilla-Keywords: X-Bugzilla-Severity: critical X-Bugzilla-Who: moret at berkeley dot edu X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: Message-ID: X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2011-11/txt/msg00076.txt.bz2 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 for instructions. make: *** [exe0] Error 1 Any hints? regards, Stefano Moret