https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67373
Jonas Jelten <jj at stusta dot net> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jj at stusta dot net --- Comment #3 from Jonas Jelten <jj at stusta dot net> --- I got the same problem: avr-gcc -mmcu=atmega8 -O3 -T /usr/lib64/binutils/avr/2.25.1/ldscripts/avr4.xn -Wl,-Map=blingbling.map blingbling.o -o blingbling.elf /usr/libexec/gcc/avr/ld: cannot find crtatmega8.o: No such file or directory /usr/libexec/gcc/avr/ld: cannot find -latmega8 collect2: error: ld returned 1 exit status ... The -T option was required so gcc finds the linker script, without it, it crashes even earlier: avr-gcc -mmcu=atmega8 -O3 -Wl,-Map=blingbling.map blingbling.o -o blingbling.elf /usr/libexec/gcc/avr/ld: cannot open linker script file ldscripts/avr4.xn: No such file or directory collect2: error: ld returned 1 exit status Any idea how to fix that?