[Bug ld/9841] avr-ld crashes when -relax is used with ATMega8535 target

2009-02-13 Thread j at uriah dot heep dot sax dot de
-- What|Removed |Added CC||j at uriah dot heep dot sax ||dot de http://sourceware.org/bugz

[Bug ld/9841] avr-ld crashes when -relax is used with ATMega8535 target

2009-02-13 Thread pwilson at scopuli dot com
--- Additional Comments From pwilson at scopuli dot com 2009-02-14 07:45 --- Created an attachment (id=3737) --> (http://sourceware.org/bugzilla/attachment.cgi?id=3737&action=view) stack trace of ld core dump In case this is helpful ... I built gcc 4.3.2 and binutils 2.19 with the pat

[Bug ld/9841] avr-ld crashes when -relax is used with ATMega8535 target

2009-02-13 Thread j at uriah dot heep dot sax dot de
--- Additional Comments From j at uriah dot heep dot sax dot de 2009-02-14 07:42 --- The location of the crash is: Program received signal SIGSEGV, Segmentation fault. 0x080985f0 in elf32_avr_relax_section (abfd=0x821e600, sec=0x826d014, link_info=0x810ba40, again=0xbfbfe318) at el

[Bug ld/9841] avr-ld crashes when -relax is used with ATMega8535 target

2009-02-13 Thread pwilson at scopuli dot com
--- Additional Comments From pwilson at scopuli dot com 2009-02-14 03:54 --- Created an attachment (id=3736) --> (http://sourceware.org/bugzilla/attachment.cgi?id=3736&action=view) Output of --debug-relax option using WinAVR 20081205 Output from: avr-gcc -O2 -fno-strict-aliasing -pipe

[Bug ld/9841] avr-ld crashes when -relax is used with ATMega8535 target

2009-02-13 Thread darius at dons dot net dot au
--- Additional Comments From darius at dons dot net dot au 2009-02-14 03:35 --- I added -Wl,--debug-relax per Eric's suggestion and get the following.. avr-gcc -O -DF_CPU=800 -Os -Wall -gdwarf-2 -mmcu=atmega8535 -Wl,-u,vfprintf -lprintf_min -Wl,-relax -Wl,--debug-relax -Wl,-Map=s

[Bug ld/9841] avr-ld crashes when -relax is used with ATMega8535 target

2009-02-13 Thread darius at dons dot net dot au
--- Additional Comments From darius at dons dot net dot au 2009-02-14 02:34 --- Created an attachment (id=3735) --> (http://sourceware.org/bugzilla/attachment.cgi?id=3735&action=view) Project that causes the crash Unpack and run BSD make (ie pmake in Linux, make in FreeBSD), see ld cra

[Bug ld/9841] New: avr-ld crashes when -relax is used with ATMega8535 target

2009-02-13 Thread darius at dons dot net dot au
The following causes ld to seg fault.. avr-gcc -O -DF_CPU=800 -Os -Wall -gdwarf-2 -mmcu=atmega8535 -Wa,- avr-gcc -O -DF_CPU=800 -Os -Wall -gdwarf-2 -mmcu=atmega8535 -Wa,- avr-gcc -O -DF_CPU=800 -Os -Wall -gdwarf-2 -mmcu=atmega8535 -Wa,- avr-gcc -O -DF_CPU=800 -Os -Wall -gdwarf-2

[Bug binutils/9811] export table broken after forward (dlltool)

2009-02-13 Thread dannysmith at users dot sourceforge dot net
--- Additional Comments From dannysmith at users dot sourceforge dot net 2009-02-13 08:13 --- (In reply to comment #3) > Created an attachment (id=3734) --> (http://sourceware.org/bugzilla/attachment.cgi?id=3734&action=view) > Patch to defparse.y > > Patch And ChangeLog entry 2009-02-

[Bug binutils/9811] export table broken after forward (dlltool)

2009-02-13 Thread dannysmith at users dot sourceforge dot net
--- Additional Comments From dannysmith at users dot sourceforge dot net 2009-02-13 08:11 --- Created an attachment (id=3734) --> (http://sourceware.org/bugzilla/attachment.cgi?id=3734&action=view) Patch to defparse.y Patch -- http://sourceware.org/bugzilla/show_bug.cgi?id=9811 --