[Bug 230536] New: Error in cross compiler for AVR (linker problem)
https://bugzilla.novell.com/show_bug.cgi?id=230536 Summary: Error in cross compiler for AVR (linker problem) Product: openSUSE 10.2 Version: Final Platform: i686 OS/Version: SuSE Other Status: NEW Severity: Normal Priority: P5 - None Component: Development AssignedTo: pth@novell.com ReportedBy: bewoern@gmx.de QAContact: qa@suse.de In openSUSE 10.2, the AVR cross compiler (Version 4.1.2 20061115 prerelease SUSE Linux) reports the following after compiling any code: avr-gcc: Internal error: Segmentation fault (program ld) Please submit a full bug report. See URL:http://bugs.opensuse.org for instructions. The compilation was done with the following compiler options: avr-gcc -mmcu=attiny13 -Xlinker --oformat -Xlinker ihex test.c Important is, that the HEX file is selected as target. In the file test.c, only a simple code is written: int main (void) { while (1); return (0); } -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=230536 ------- Comment #1 from bewoern@gmx.de 2006-12-22 10:10 MST ------- Created an attachment (id=110943) --> (https://bugzilla.novell.com/attachment.cgi?id=110943&action=view) Batch file to start compilation Start compilation with this batch file -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=230536 ------- Comment #2 from bewoern@gmx.de 2006-12-22 10:11 MST ------- Created an attachment (id=110944) --> (https://bugzilla.novell.com/attachment.cgi?id=110944&action=view) source code This is the simple source code for compilation. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=230536 pth@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|pth@novell.com |jw@novell.com -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=230536 jw@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED ------- Comment #3 from jw@novell.com 2007-01-08 15:18 MST ------- I have never tried --oformat ihex before. My usual idiom is avr-gcc -mmcu=attiny13 -o test.out test.c avr-objcopy -O ihex test.out test.hex I'll investigate what is wrong with --oformat. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=230536 jw@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution| |FIXED ------- Comment #4 from jw@novell.com 2007-01-08 16:15 MST ------- cross-avr-binutils-2.17.50.0.5 is bad, please update to version 2.17.50.0.8 found on ftp://ftp.suse.com/pub/people/jw/avr/10.2 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=230536 jw@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED Resolution|FIXED | ------- Comment #5 from jw@novell.com 2007-01-09 07:13 MST ------- Oops. 2.17.50.0.8 also fails on another machine. On x86_64 it behaves, on i386 it does not. Not fixed. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=230536 jw@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|REOPENED |NEEDINFO Info Provider| |bewoern@gmx.de ------- Comment #6 from jw@novell.com 2007-01-11 09:01 MST ------- Bernhard, do you have a binutils version where --oformat ihex works? I fail to find one. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=230536 ------- Comment #7 from bewoern@gmx.de 2007-01-13 00:20 MST ------- (In reply to comment #6)
Bernhard, do you have a binutils version where --oformat ihex works? I fail to find one.
Hello, Juergen Before i compiled my projects with openSuSE 10.2, i used Debian 3.1 "Sarge" for my compilations. It is necessary to use openSuSE, because the AVR compiler in Debian does not support the Tiny25. The Tiny25 will be used in future projects. Debian 3.1 "Sarge" uses the AVR binutils Version 2.15. The package is named "binutils-avr" I hope, this information is useful for your analysis. If you need more information, let me know. Regards Bernhard -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=230536 jw@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Severity|Normal |Enhancement ------- Comment #8 from jw@novell.com 2007-01-15 06:29 MST ------- binutils-2.15 is old enough, not to contain this bug. I found that the bug was introduced in Aug 2006. I'll have to discuss that with upstream, it was a feature addition that interferes here. This may take some time. Is the workaround suggested in comment #3 usable for you? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=230536 jw@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |ASSIGNED Info Provider|bewoern@gmx.de | ------- Comment #9 from jw@novell.com 2007-01-15 15:25 MST ------- http://sourceware.org/bugzilla/show_bug.cgi?id=3874 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=230536 ------- Comment #10 from bewoern@gmx.de 2007-01-15 23:09 MST ------- (In reply to comment #8)
binutils-2.15 is old enough, not to contain this bug. I found that the bug was introduced in Aug 2006. I'll have to discuss that with upstream, it was a feature addition that interferes here. This may take some time. Is the workaround suggested in comment #3 usable for you?
I will test the workaround next weekend. Thank you for your support. Regards Bernhard -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=230536
------- Comment #11 from jw@novell.com 2007-01-24 13:21 MST -------
Bernhard, please check out the latest cross-avr-binutils from
ftp://ftp.suse.com/pub/people/jw/avr/10.2
Nick Clifton
https://bugzilla.novell.com/show_bug.cgi?id=230536 ------- Comment #12 from bewoern@gmx.de 2007-01-27 03:56 MST ------- (In reply to comment #11)
Bernhard, please check out the latest cross-avr-binutils from ftp://ftp.suse.com/pub/people/jw/avr/10.2
Nick Clifton
found the problem. now -Xlinker --oformat -Xlinker ihex works for me. Please confirm.
With the version 2.17.50-0.1 for i586, it works. Thank you for the support. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=230536 jw@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution| |FIXED ------- Comment #13 from jw@novell.com 2007-01-29 04:34 MST ------- closing. thanks! -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=230536 ------- Comment #14 from bewoern@gmx.de 2007-01-29 23:10 MST ------- (In reply to comment #13)
closing. thanks!
Is the new avr-binutils available in the normal SuSE-updates in the future? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=230536 ------- Comment #15 from jw@novell.com 2007-01-30 07:02 MST ------- yes. It is already part of factory http://ftp.opensuse.org/pub/opensuse/distribution/SL-OSS-factory/inst-source... -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=230536 ------- Comment #16 from bewoern@gmx.de 2007-01-30 11:35 MST ------- (In reply to comment #15)
yes. It is already part of factory http://ftp.opensuse.org/pub/opensuse/distribution/SL-OSS-factory/inst-source...
After update of my SuSE 10.2, the new avr-binutils is not available. Is it possible, to put the new avr-binutils to the update folder of 10.2? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=230536 jw@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |aj@novell.com ------- Comment #17 from jw@novell.com 2007-01-30 13:21 MST ------- AJ, I'd like to have this fixed for 10.2, do you approve? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=230536 aj@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED Resolution|FIXED | ------- Comment #18 from aj@novell.com 2007-01-31 01:13 MST ------- Approved: MaintenanceTracker-8202 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=230536 ------- Comment #19 from jw@novell.com 2007-01-31 15:36 MST ------- patchinfo submitted. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=230536 ast@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|REOPENED |RESOLVED Resolution| |FIXED ------- Comment #20 from ast@novell.com 2007-02-07 09:42 MST ------- released -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=230536 bewoern@gmx.de changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED Resolution|FIXED | ------- Comment #21 from bewoern@gmx.de 2007-02-16 02:55 MST ------- I have updated my system, but the new cross-avr-binutils is not installed. I think, the problem is the version number: - In the Installation repository, the version is 2.17.50.0.5-20 - In the update repository, the version is 2.17.50.0.5-0.1 The package manager uses the newer version, that is the -20 version. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=230536 jw@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|REOPENED |NEEDINFO Info Provider| |aj@novell.com ------- Comment #22 from jw@novell.com 2007-02-16 05:18 MST ------- I have no idea what to do now. AJ can you help here? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=230536 aj@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Info Provider|aj@novell.com |kkaempf@novell.com ------- Comment #23 from aj@novell.com 2007-02-16 05:37 MST ------- comment #21 is a question for the libzypp experts. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=230536 kkaempf@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |schubi@novell.com, kkaempf@novell.com Status|NEEDINFO |REOPENED Info Provider|kkaempf@novell.com | ------- Comment #24 from kkaempf@novell.com 2007-02-16 07:56 MST ------- Release -20 is of course larger than release -0.1. Where's the bug ? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=230536 ------- Comment #25 from bewoern@gmx.de 2007-02-17 09:15 MST ------- The problem is, that the -0.1 release is in the update repository. In the normal installation repository, there is the -20 release. ==> The package manager uses always the rpm package from the installation repository. Not the rpm package from the update repository. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=230536 ------- Comment #26 from kkaempf@novell.com 2007-02-19 06:16 MST ------- So the package manager is right as it only has the release number to decide upon. This looks more like a bug in the update package. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=230536 ------- Comment #27 from bewoern@gmx.de 2007-03-21 12:49 MST ------- I think, the only problem is, that the avr-binutils in the update repository has the version number 2.17.50.0.5-0.1. Suggestion: Give the package "avr-binutils" in the update repository the version number 2.17.50.0.5-21. So, the version number in the update repository is higher than the version number in the installation repository. ==> The package manager uses the newer version in the update repository. Thank you for the great support. Regards Bernhard -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=230536 bewoern@gmx.de changed: What |Removed |Added ---------------------------------------------------------------------------- Status|REOPENED |RESOLVED Resolution| |WONTFIX ------- Comment #28 from bewoern@gmx.de 2007-04-23 08:57 MST ------- After consultation of Juergen Weigert, this bug is closed. It is possible to install the update manually. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
participants (1)
-
bugzilla_noreply@novell.com