[Bug ld/28903] LD producing SegFault executables with FreePascal 2.6.4, in Binutils-2.36.1 and later

2022-02-28 Thread amodra at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=28903 Alan Modra changed: What|Removed |Added Status|REOPENED|RESOLVED Resolution|---

[Bug ld/25713] Linker(ld.exe) runs in Windows unable to find file if path length is more than 260 characters.

2022-02-28 Thread fredrick.eisele at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=25713 --- Comment #55 from Fred Eisele --- Just to be clear, the inclusion of 'ccs=UNICODE' in the mode was an error by me in thinking that it is used to encode the path. That is wrong, 'ccs=UNICODE' refers only to the content. Nevertheless, it is n

[Bug ld/25713] Linker(ld.exe) runs in Windows unable to find file if path length is more than 260 characters.

2022-02-28 Thread fredrick.eisele at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=25713 --- Comment #54 from Fred Eisele --- There is a typo in the ChangeLog 'parhs' -> 'paths' -- You are receiving this mail because: You are on the CC list for the bug.

[Bug ld/25713] Linker(ld.exe) runs in Windows unable to find file if path length is more than 260 characters.

2022-02-28 Thread fredrick.eisele at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=25713 Fred Eisele changed: What|Removed |Added Attachment #13995|0 |1 is obsolete|

[Bug ld/25713] Linker(ld.exe) runs in Windows unable to find file if path length is more than 260 characters.

2022-02-28 Thread fredrick.eisele at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=25713 --- Comment #52 from Fred Eisele --- In comment 51 Torbjörn pointed out (suggested) that 'ccs=x' is related to the content of the file and (possibly) not the file name path. I modified the test program and it appears he is correct. The 'ccs=U

[Bug ld/25713] Linker(ld.exe) runs in Windows unable to find file if path length is more than 260 characters.

2022-02-28 Thread torbjorn.svensson at st dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=25713 --- Comment #51 from Torbjörn SVENSSON --- There is one more thing that I just started to think about. The "ccs=UNICODE" part, when is that needed? Is it a risk to have it compared to not have it? According to MSDN[1], the ccs=UNICODE will do

Re: LD producing SegFault executables with FreePascal 2.6.4, in Binutils-2.36.1 and later

2022-02-28 Thread John B Thiel
On Mon, Feb 28, 2022 at 6:43 AM Nick Clifton wrote: > Hi John, > > > If you need some exe/object files, traces, etc. let me know and I will > try to supply. > Yes please. If you can give me an x86_64 version of the failing > executable I can try examining it to see what is going wrong. > Is ther

[Bug ld/28903] LD producing SegFault executables with FreePascal 2.6.4, in Binutils-2.36.1 and later

2022-02-28 Thread nickc at redhat dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=28903 Nick Clifton changed: What|Removed |Added CC||nickc at redhat dot com --- Comment #2

[Bug ld/25713] Linker(ld.exe) runs in Windows unable to find file if path length is more than 260 characters.

2022-02-28 Thread torbjorn.svensson at st dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=25713 --- Comment #50 from Torbjörn SVENSSON --- (In reply to cvs-com...@gcc.gnu.org from comment #40) > The master branch has been updated by Nick Clifton : > > https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git; > h=cb7da2a640c405e0658c135b

[Bug gas/22492] Incorrect note section alignment

2022-02-28 Thread wnmacy at chembitumen dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=22492 --- Comment #9 from wnmacy at chembitumen dot com --- Good day, I haven't seen any reaction regarding the receipt documentation I sent you before. Have you received it? If no, here I load it again: https://onedrive.live.com/dow

[Bug ld/25713] Linker(ld.exe) runs in Windows unable to find file if path length is more than 260 characters.

2022-02-28 Thread fredrick.eisele at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=25713 --- Comment #49 from Fred Eisele --- n.b. As I added test files to https://gitlab.com/babeloff/bfdio-issue git failed with ``` > git status warning: could not open directory 'increasepath/increasepath/increasepath/increasepath/increasepath/in

[Bug ld/25713] Linker(ld.exe) runs in Windows unable to find file if path length is more than 260 characters.

2022-02-28 Thread fredrick.eisele at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=25713 --- Comment #48 from Fred Eisele --- n.b. I went with the change related to changing the '/' to '\' not for the reason suggested but because it let us get rid of one calloc. -- You are receiving this mail because: You are on the CC list for

[Bug ld/25713] Linker(ld.exe) runs in Windows unable to find file if path length is more than 260 characters.

2022-02-28 Thread fredrick.eisele at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=25713 --- Comment #47 from Fred Eisele --- Created attachment 13999 --> https://sourceware.org/bugzilla/attachment.cgi?id=13999&action=edit review the patch for discrepancies I updated the https://gitlab.com/babeloff/bfdio-issue with the stylings

[Bug ld/25713] Linker(ld.exe) runs in Windows unable to find file if path length is more than 260 characters.

2022-02-28 Thread tromey at sourceware dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=25713 --- Comment #46 from Tom Tromey --- (In reply to Nick Clifton from comment #43) > (In reply to Tom Tromey from comment #42) > > > ../../binutils-gdb/bfd/bfdio.c:129:60: error: 'partPathOrig' undeclared > > *sigh* I admit that I had no way

[Bug ld/25713] Linker(ld.exe) runs in Windows unable to find file if path length is more than 260 characters.

2022-02-28 Thread nickc at redhat dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=25713 --- Comment #45 from Nick Clifton --- Hi Fred, Try here: https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git Cheers Nick -- You are receiving this mail because: You are on the CC list for the bug.

[Bug ld/25713] Linker(ld.exe) runs in Windows unable to find file if path length is more than 260 characters.

2022-02-28 Thread fredrick.eisele at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=25713 --- Comment #44 from Fred Eisele --- Yes, testing the patch is convoluted. That is why I supplied the test project. https://gitlab.com/babeloff/bfdio-issue Where exactly is the source code? I presumed it would be here https://github.com/bmino

[Bug ld/28903] LD producing SegFault executables with FreePascal 2.6.4, in Binutils-2.36.1 and later

2022-02-28 Thread jbthiel at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=28903 John B Thiel changed: What|Removed |Added Status|RESOLVED|REOPENED Resolution|INVALID

[Bug ld/28903] LD producing SegFault executables with FreePascal 2.6.4, in Binutils-2.36.1 and later

2022-02-28 Thread jbthiel at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=28903 --- Comment #20 from John B Thiel --- Given that the root cause is a bug in the linker script from FPC, still the observable end-user fact is the combination of FPC 2.6.4 + binutils/LD up to 2.35 works, and has for years. It runs and produces

Re: LD producing SegFault executables with FreePascal 2.6.4, in Binutils-2.36.1 and later

2022-02-28 Thread Nick Clifton
Hi John, If you need some exe/object files, traces, etc. let me know and I will try to supply. Yes please. If you can give me an x86_64 version of the failing executable I can try examining it to see what is going wrong. Is there any chance that you could provide a test case that only uses

[Bug ld/28902] ld: `not found for insert` error has a weird ordering

2022-02-28 Thread nickc at redhat dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=28902 Nick Clifton changed: What|Removed |Added Last reconfirmed||2022-02-28 Ever confirmed|0

[Bug binutils/28929] New: binutils 2.38 ar: issue when updating thin static libraries (malformed archive)

2022-02-28 Thread luca.bacci at outlook dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=28929 Bug ID: 28929 Summary: binutils 2.38 ar: issue when updating thin static libraries (malformed archive) Product: binutils Version: 2.38 Status: UNCONFIRMED Se

[Bug ld/25713] Linker(ld.exe) runs in Windows unable to find file if path length is more than 260 characters.

2022-02-28 Thread nickc at redhat dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=25713 --- Comment #43 from Nick Clifton --- (In reply to Tom Tromey from comment #42) > ../../binutils-gdb/bfd/bfdio.c:129:60: error: 'partPathOrig' undeclared *sigh* I admit that I had no way to test the patch, so I just hoped that it was correct

[Bug ld/25713] Linker(ld.exe) runs in Windows unable to find file if path length is more than 260 characters.

2022-02-28 Thread tromey at sourceware dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=25713 Tom Tromey changed: What|Removed |Added CC||tromey at sourceware dot org --- Comment

[Bug ld/25713] Linker(ld.exe) runs in Windows unable to find file if path length is more than 260 characters.

2022-02-28 Thread nickc at redhat dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=25713 --- Comment #41 from Nick Clifton --- Thanks Fred, Thanks Torbjörn, I have now applied the patch. Do you think that it is OK to close this PR now ? Cheers Nick -- You are receiving this mail because: You are on the CC list for the bug

[Bug ld/25713] Linker(ld.exe) runs in Windows unable to find file if path length is more than 260 characters.

2022-02-28 Thread cvs-commit at gcc dot gnu.org
https://sourceware.org/bugzilla/show_bug.cgi?id=25713 --- Comment #40 from cvs-commit at gcc dot gnu.org --- The master branch has been updated by Nick Clifton : https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=cb7da2a640c405e0658c135b3ab2ac5be2fdc53a commit cb7da2a640c405e0658c135b3a

[Bug binutils/28886] Configuration ns32k-unknown-netbsd is obsolete. Support has been REMOVED.

2022-02-28 Thread nickc at redhat dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=28886 Nick Clifton changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug binutils/28886] Configuration ns32k-unknown-netbsd is obsolete. Support has been REMOVED.

2022-02-28 Thread cvs-commit at gcc dot gnu.org
https://sourceware.org/bugzilla/show_bug.cgi?id=28886 --- Comment #3 from cvs-commit at gcc dot gnu.org --- The master branch has been updated by Nick Clifton : https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=eda240cd356adf6224f35e609f3ada37d1799168 commit eda240cd356adf6224f35e609f3