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 target/34299] New: [avr] ICE on function attribute syntax for main()


+++ This bug was initially created as a clone of Bug #31331 +++

On a Mac(Tiger) compilation of a TinyOS standard example application "Blink"
does not compile. Please mail me if important information is missing. As I
cannot access the MAC I cannot provide the C file created by the Nesc Compiler.


make micaz
sh: line 1: sha1sum: command not found
sh: line 1: sha1sum: command not found
mkdir -p build/micaz
    compiling BlinkAppC to a micaz binary
ncc -o build/micaz/main.exe -Os -fnesc-separator=\never1096WritE -Wall -Wshadow
-Wnesc-all -target=micaz -fnesc-cfile=build/micaz/app.c -board=micasb --param
max-inline-insns-single=100000 -I/sw/include/python2.5/
-DIDENT_PROGRAM_NAME=\"BlinkAppC\" -DIDENT_USER_ID=\"admin\"
-DIDENT_HOSTNAME=\"macbook-zina.in\" -DIDENT_USER_HASH=0L
-DIDENT_UNIX_TIME=0x474aa64cL -DIDENT_UID_HASH=0L -fnesc-dump=wiring
-fnesc-dump='interfaces(!abstract())' -fnesc-dump='referenced(interfacedefs,
components)' -fnesc-dumpfile=build/micaz/wiring-check.xml BlinkAppC.nc -lm 
/sw/tinyos-2.x/tinyos-2.x/tos/chips/atm128/timer/HplAtm128Timer0AsyncP.nc:178:
internal compiler error: in start_function, at c-decl.c:6177
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


The NesC Compiler involved is:
nescc: 1.2.9
gcc -_fnesc-gcc=gcc -specs=/opt/tinyostools//lib/ncc/tdspecs
-_fnesc-include=nesc_nx -I/opt/tinyostools//lib/ncc -v -DNESC=129
Using built-in specs.
Reading specs from /opt/tinyostools//lib/ncc/tdspecs
Target: i386-apple-darwin8.10.1
Configured with: ../gcc-4.2.2/configure --prefix=/opt/local
--enable-languages=c,c++,java,objc,obj-c++,fortran
--libdir=/opt/local/lib/gcc42 --includedir=/opt/local/include/gcc42
--infodir=/opt/local/share/info --mandir=/opt/local/share/man
--with-local-prefix=/opt/local --with-system-zlib --disable-nls
--disable-multilib --program-suffix=-mp-4.2
--with-gxx-include-dir=/opt/local/include/gcc42/c++/ --with-gmp=/opt/local
--with-mpfr=/opt/local
Thread model: posix
gcc version 4.2.2


avr-gcc -v produces:

Using built-in specs.
Target: avr
Configured with: ../configure --target=avr --prefix=/opt/tinyostools/
--disable-nls --enable-languages=c --disable-libsp : (reconfigured)
../configure --target=avr --prefix=/opt/tinyostools/ --disable-nls
--enable-languages=c --disable-libssp
Thread model: single
gcc version 4.2.2


-- 
           Summary: [avr] ICE on function attribute syntax for main()
           Product: gcc
           Version: 4.2.2
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: marek dot jawurek at gmx dot net
GCC target triplet: avr


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


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