--
What|Removed |Added
CC||j at uriah dot heep dot sax
||dot de
http://sourceware.org/bugz
--- 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
--- 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
--- 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
--- 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
--- 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
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
--- 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-
--- 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
--