The following causes ld to seg fault.. avr-gcc -O -DF_CPU=8000000 -Os -Wall -gdwarf-2 -mmcu=atmega8535 -Wa,- avr-gcc -O -DF_CPU=8000000 -Os -Wall -gdwarf-2 -mmcu=atmega8535 -Wa,- avr-gcc -O -DF_CPU=8000000 -Os -Wall -gdwarf-2 -mmcu=atmega8535 -Wa,- avr-gcc -O -DF_CPU=8000000 -Os -Wall -gdwarf-2 -mmcu=atmega8535 -Wa,- avr-gcc -O -DF_CPU=8000000 -Os -Wall -gdwarf-2 -mmcu=atmega8535 -Wl,-u,vfprintf -lprintf_min -Wl,-relax -Wl,-Map=sprink.map,--cref -g sprink.o cons.o ds1307.o 1wire.o -o sprink.elf
If I select an atmega16 or atmega32 it doesn't crash, if I don't use -relax it also doesn't crash. Reproducable in Windows (WinAVR), FreeBSD 6.2 and Ubuntu 8.10. -- Summary: avr-ld crashes when -relax is used with ATMega8535 target Product: binutils Version: 2.18 Status: NEW Severity: normal Priority: P2 Component: ld AssignedTo: unassigned at sources dot redhat dot com ReportedBy: darius at dons dot net dot au CC: bug-binutils at gnu dot org,eweddington at cso dot atmel dot com GCC host triplet: x86_64-portbld-freebsd6.2 http://sourceware.org/bugzilla/show_bug.cgi?id=9841 ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is. _______________________________________________ bug-binutils mailing list bug-binutils@gnu.org http://lists.gnu.org/mailman/listinfo/bug-binutils