Hi there. I am developing on the Teensy, and whenever I try to link the resulting ELF it has a segfault
-------- begin -------- avr-gcc (GCC) 4.6.2 Copyright (C) 2011 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Compiling C: example.c avr-gcc -c -mmcu=at90usb1286 -I. -gdwarf-2 -DF_CPU=16000000UL -Os -funsigned-char -funsigned-bitfields -ffunction-sections -fpack-struct -fshort-enums -Wall -Wstrict-prototypes -Wa,-adhlns=./example.lst -std=gnu99 -MMD -MP -MF .dep/example.o.d example.c -o example.o Compiling C: uart.c avr-gcc -c -mmcu=at90usb1286 -I. -gdwarf-2 -DF_CPU=16000000UL -Os -funsigned-char -funsigned-bitfields -ffunction-sections -fpack-struct -fshort-enums -Wall -Wstrict-prototypes -Wa,-adhlns=./uart.lst -std=gnu99 -MMD -MP -MF .dep/uart.o.d uart.c -o uart.o Linking: example.elf avr-gcc -mmcu=at90usb1286 -I. -gdwarf-2 -DF_CPU=16000000UL -Os -funsigned-char -funsigned-bitfields -ffunction-sections -fpack-struct -fshort-enums -Wall -Wstrict-prototypes -Wa,-adhlns=example.o -std=gnu99 -MMD -MP -MF .dep/example.elf.d example.o uart.o --output example.elf -Wl,-Map=example.map,--cref -Wl,--relax -Wl,--gc-sections -lm collect2: ld terminated with signal 11 [Segmentation fault] make: *** [example.elf] Error 1 I am running arch linux, with gcc-avr, binutils-avr and avr-libc Is this an error on my end, or is there something wrong with Thanks Thomas Phillips _______________________________________________ AVR-libc-dev mailing list AVR-libc-dev@nongnu.org https://lists.nongnu.org/mailman/listinfo/avr-libc-dev