When building SDCC, an segfault happens in sdar command.
The problem is fixed by upgrading sdbinutils to binutils 2.31.1.
I am working on a patch to do the upgrade; I am still testing it.
The upgrade to binutils 2.31.1 fixed about 24 of the 25 segfaults.
Is there a even newer version of binutils that any of you would suggest trying?
I picked 2.31.1 because it appeared to have fixes for segfaults in the changes.
Tim S.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
In the past, when a problem with binutils came up, I usually upgraded to the latest release of GNU binutils. To do so, I first looked at the diff from the current version (i.e. compared current sdbinutils to the version of GNU binutils it is based on), then made corresponding changes to the current GNU binutils (remove targets irrelevant for SDCC, add the little bit of extra stuff SDCC needs).
Last edit: Maarten Brock 2024-09-04
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello, Tim.
I tried to contact you via SourceForge, but didn't get a reply. Could you contact me by email (my email address is in the SDCC Changelog)? Thanks.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
The problem is not visable if the option "-O2" is used. It is visable when options "-Og -fcaller-saves" are used.
Tim S.
The upgrade to binutils 2.31.1 fixed about 24 of the 25 segfaults.
Is there a even newer version of binutils that any of you would suggest trying?
I picked 2.31.1 because it appeared to have fixes for segfaults in the changes.
Tim S.
In the past, when a problem with binutils came up, I usually upgraded to the latest release of GNU binutils. To do so, I first looked at the diff from the current version (i.e. compared current sdbinutils to the version of GNU binutils it is based on), then made corresponding changes to the current GNU binutils (remove targets irrelevant for SDCC, add the little bit of extra stuff SDCC needs).
Last edit: Maarten Brock 2024-09-04
The regression tests for ds390 has many ASlink-Warning-Undefined issues;
so, my version upgrade of sdbinutils to 2.31.1 needs more work.
Tim S.
Hello, Tim.
I tried to contact you via SourceForge, but didn't get a reply. Could you contact me by email (my email address is in the SDCC Changelog)? Thanks.