[Bug libgcc/64401] New: avr-elf crtbegin.o fails to compile

yselkowi at redhat dot com gcc-bugzilla@gcc.gnu.org
Wed Dec 24 21:10:00 GMT 2014


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64401

            Bug ID: 64401
           Summary: avr-elf crtbegin.o fails to compile
           Product: gcc
           Version: 4.9.2
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: libgcc
          Assignee: unassigned at gcc dot gnu.org
          Reporter: yselkowi at redhat dot com
              Host: x86_64-cygwin
            Target: avr-elf
             Build: x86_64-cygwin

Building gcc-4.9.2 with --target=avr-elf --without-headers using binutils-2.25,
libgcc.a itself and crtend.o are built, but not crtbegin.o:

/usr/src/ports/cross-gcc/cross-gcc-4.9.2-1.x86_64/build/avr-elf/./gcc/xgcc
-B/usr/src/ports/cross-gcc/cross-gcc-4.9.2-1.x86_64/build/avr-elf/./gcc/
-B/usr/avr-elf/bin/ -B/usr/avr-elf/lib/ -isystem /usr/avr-elf/include -isystem
/usr/avr-elf/sys-include    -g -ggdb -O2 -pipe -Wimplicit-function-declaration
-mmcu=avr25 -O2 -g -ggdb -O2 -pipe -Wimplicit-function-declaration -DIN_GCC 
-DCROSS_DIRECTORY_STRUCTURE  -W -Wall -Wno-narrowing -Wwrite-strings
-Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition 
-isystem ./include  -I. -I. -I../../.././gcc
-I/usr/src/ports/cross-gcc/cross-gcc-4.9.2-1.x86_64/src/gcc-4.9.2/libgcc
-I/usr/src/ports/cross-gcc/cross-gcc-4.9.2-1.x86_64/src/gcc-4.9.2/libgcc/.
-I/usr/src/ports/cross-gcc/cross-gcc-4.9.2-1.x86_64/src/gcc-4.9.2/libgcc/../gcc
-I/usr/src/ports/cross-gcc/cross-gcc-4.9.2-1.x86_64/src/gcc-4.9.2/libgcc/../include
  -g0 -finhibit-size-directive -fno-inline -fno-exceptions
-fno-zero-initialized-in-bss -fno-toplevel-reorder -fno-tree-vectorize
-fno-stack-protector -Dinhibit_libc -I. -I. -I../../.././gcc
-I/usr/src/ports/cross-gcc/cross-gcc-4.9.2-1.x86_64/src/gcc-4.9.2/libgcc
-I/usr/src/ports/cross-gcc/cross-gcc-4.9.2-1.x86_64/src/gcc-4.9.2/libgcc/.
-I/usr/src/ports/cross-gcc/cross-gcc-4.9.2-1.x86_64/src/gcc-4.9.2/libgcc/../gcc
-I/usr/src/ports/cross-gcc/cross-gcc-4.9.2-1.x86_64/src/gcc-4.9.2/libgcc/../include
 -o crtbegin.o -MT crtbegin.o -MD -MP -MF crtbegin.dep  -c
/usr/src/ports/cross-gcc/cross-gcc-4.9.2-1.x86_64/src/gcc-4.9.2/libgcc/crtstuff.c
-DCRT_BEGIN
/usr/src/ports/cross-gcc/cross-gcc-4.9.2-1.x86_64/src/gcc-4.9.2/libgcc/crtstuff.c:
In function ‘__do_global_ctors_1’:
/usr/src/ports/cross-gcc/cross-gcc-4.9.2-1.x86_64/src/gcc-4.9.2/libgcc/crtstuff.c:571:13:
error: expected ‘)’ before ‘:’ token
   __asm ("" : "=g" (jcr_list) : "0" (__JCR_LIST__));
             ^


More information about the Gcc-bugs mailing list