[Bug ld/30724] cygwin ld performance regression since 014a602b86
https://sourceware.org/bugzilla/show_bug.cgi?id=30724 --- Comment #10 from cvs-commit at gcc dot gnu.org --- The master branch has been updated by Alan Modra : https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=f82ee0c8dc4ee32556e23e6cd83ef083618f704f commit f82ee0c8dc4ee32556e23e6cd83ef083618f704f Author: Alan Modra Date: Mon Aug 7 08:28:55 2023 +0930 PR30724, cygwin ld performance regression since 014a602b86 According to the reporter of this bug the newlib fseek implementation is likely slowed down by locking and fflush, only attempting to optimise seeks when the file is opened read-only. Thus when writing the output we get a dramatic slowdown due to commit 014a602b86. PR 30724 * bfd.c (enum bfd_last_io): New. (struct bfd): Add last_io field. * bfd-in2.h: Regenerate. * bfd-io.c (bfd_bread, bfd_bwrite): Force seek if last_io is opposite direction. (bfd_seek): Reinstate optimisation for seek to same position. -- You are receiving this mail because: You are on the CC list for the bug.
[Bug ld/30732] ld: 'ELF weak (alias)' tests fail on hppa
https://sourceware.org/bugzilla/show_bug.cgi?id=30732 --- Comment #9 from dave.anglin at bell dot net --- Let's leave things as they are for the moment. I will test hppa64 builds on linux and hpux. I started hacking on glibc to support hppa64-linux but got waylaid. -- You are receiving this mail because: You are on the CC list for the bug.
[Bug ld/30732] ld: 'ELF weak (alias)' tests fail on hppa
https://sourceware.org/bugzilla/show_bug.cgi?id=30732 --- Comment #8 from Sam James --- (In reply to dave.anglin from comment #7) > On 2023-08-08 3:33 p.m., sam at gentoo dot org wrote: > > Thanks Dave, I've done that last night in > > https://inbox.sourceware.org/binutils/871qgdto5m@gentoo.org/T/#m0f16fd340d16e17949f2153309606b0918d0b926. > I think the xfail and notarget comments were written as they were so they > didn't match hppa64. I haven't yet got a testing setup for hppa64 (we have a package for it, obviously, for building kernels, but I haven't tried to build it manually yet) but I can revert my commits and replace with an explicit hppa1.1 and hppa2.0 if you prefer. But personally I'm not that focused on hppa64 just yet until we have the userland stuff more figured out. Whatever you prefer. -- You are receiving this mail because: You are on the CC list for the bug.
[Bug ld/30732] ld: 'ELF weak (alias)' tests fail on hppa
https://sourceware.org/bugzilla/show_bug.cgi?id=30732 --- Comment #7 from dave.anglin at bell dot net --- On 2023-08-08 3:33 p.m., sam at gentoo dot org wrote: > Thanks Dave, I've done that last night in > https://inbox.sourceware.org/binutils/871qgdto5m@gentoo.org/T/#m0f16fd340d16e17949f2153309606b0918d0b926. I think the xfail and notarget comments were written as they were so they didn't match hppa64. -- You are receiving this mail because: You are on the CC list for the bug.
[Bug ld/30732] ld: 'ELF weak (alias)' tests fail on hppa
https://sourceware.org/bugzilla/show_bug.cgi?id=30732 --- Comment #6 from dave.anglin at bell dot net --- On 2023-08-08 3:33 p.m., sam at gentoo dot org wrote: > Let me check if I can repeoduce the ELF weak (alias) failure. The segv appears to be in printf. -- You are receiving this mail because: You are on the CC list for the bug.
[Bug ld/30732] ld: 'ELF weak (alias)' tests fail on hppa
https://sourceware.org/bugzilla/show_bug.cgi?id=30732 --- Comment #5 from Sam James --- (In reply to dave.anglin from comment #4) > Created attachment 15051 [details] > ld-hppa.d > > On 2023-08-08 12:16 p.m., danglin at gcc dot gnu.org wrote: > > I see for GNU ld (GNU Binutils) 2.41.50.20230808: > > XFAIL: relocatable with script > > UNSUPPORTED: SHF_GNU_RETAIN 7a > The xfail and notarget comments for these tests need adjusting for hppa2.0 . Thanks Dave, I've done that last night in https://inbox.sourceware.org/binutils/871qgdto5m@gentoo.org/T/#m0f16fd340d16e17949f2153309606b0918d0b926. Let me check if I can repeoduce the ELF weak (alias) failure. -- You are receiving this mail because: You are on the CC list for the bug.
Re: [Bug ld/30724] cygwin ld performance regression since 014a602b86
amodra at gmail dot com writes: >> is that on Git somewhere? I can run a tests with it >> the upcoming weekend most likely. > No, the patch is not upstream anywhere yet, I'll wait for someone to test it > on > cygwin before committing. It applies with "git am" to either binutils master > or binutils-2_41-branch. I've just built binutils 2.41 on Cygwin with the patch applied and all seems well. Linking protobuf is within the measurement uncertainty of the previous build. The "objdump the gcc binaries" exercise is ever so slightly slower than with the other 2.41 builds and that time is spent in system, so it seems that there are indeed instances where an extra fflush gets inserted. No further findings so far, I'll install it and do a full build of gcc again tomorrow.
[Bug ld/30732] ld: 'ELF weak (alias)' tests fail on hppa
https://sourceware.org/bugzilla/show_bug.cgi?id=30732 --- Comment #4 from dave.anglin at bell dot net --- On 2023-08-08 12:16 p.m., danglin at gcc dot gnu.org wrote: > I see for GNU ld (GNU Binutils) 2.41.50.20230808: > XFAIL: relocatable with script > UNSUPPORTED: SHF_GNU_RETAIN 7a The xfail and notarget comments for these tests need adjusting for hppa2.0 . -- You are receiving this mail because: You are on the CC list for the bug.
[Bug gprofng/30700] tmpdir/gp-collect-app_F test fails
https://sourceware.org/bugzilla/show_bug.cgi?id=30700 Sam James changed: What|Removed |Added Target Milestone|--- |2.42 -- You are receiving this mail because: You are on the CC list for the bug.
[Bug ld/30733] ld: SHF_GNU_RETAIN 7a' test fail on hppa
https://sourceware.org/bugzilla/show_bug.cgi?id=30733 Sam James changed: What|Removed |Added Assignee|unassigned at sourceware dot org |sam at gentoo dot org -- You are receiving this mail because: You are on the CC list for the bug.
[Bug ld/30734] ld: 'relocatable with script' test fails on hppa
https://sourceware.org/bugzilla/show_bug.cgi?id=30734 Sam James changed: What|Removed |Added Assignee|unassigned at sourceware dot org |sam at gentoo dot org -- You are receiving this mail because: You are on the CC list for the bug.
[Bug ld/30734] ld: 'relocatable with script' test fails on hppa
https://sourceware.org/bugzilla/show_bug.cgi?id=30734 Sam James changed: What|Removed |Added Target Milestone|--- |2.42 Status|NEW |RESOLVED Resolution|--- |FIXED --- Comment #3 from Sam James --- Fixed for 2.42. -- You are receiving this mail because: You are on the CC list for the bug.
[Bug ld/30733] ld: SHF_GNU_RETAIN 7a' test fail on hppa
https://sourceware.org/bugzilla/show_bug.cgi?id=30733 Sam James changed: What|Removed |Added Status|NEW |RESOLVED Target Milestone|--- |2.42 Resolution|--- |FIXED --- Comment #3 from Sam James --- Fixed for 2.42. -- You are receiving this mail because: You are on the CC list for the bug.
[Bug ld/30733] ld: SHF_GNU_RETAIN 7a' test fail on hppa
https://sourceware.org/bugzilla/show_bug.cgi?id=30733 --- Comment #2 from cvs-commit at gcc dot gnu.org --- The master branch has been updated by Sam James : https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=e3b66187192ce6840df283c00f6395bb0ff15cf5 commit e3b66187192ce6840df283c00f6395bb0ff15cf5 Author: Sam James Date: Tue Aug 8 02:19:57 2023 +0100 ld: Fix retain7a.d XFAIL/notarget entry for hppa PR 30733 * ld/testsuite/ld-elf/retain7a.d: Fix XFAIL entry for hppa to match hppa{1.1,2.0}*, like hppa2.0-unknown-linux-gnu which Gentoo uses. Signed-off-by: Sam James -- You are receiving this mail because: You are on the CC list for the bug.
[Bug ld/30734] ld: 'relocatable with script' test fails on hppa
https://sourceware.org/bugzilla/show_bug.cgi?id=30734 --- Comment #2 from cvs-commit at gcc dot gnu.org --- The master branch has been updated by Sam James : https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=0e339f6b4f2df25ed351cb94dc7fe16868626f49 commit 0e339f6b4f2df25ed351cb94dc7fe16868626f49 Author: Sam James Date: Tue Aug 8 02:17:57 2023 +0100 ld: Fix relocatable.d XFAIL/notarget entry for hppa PR 30734 * ld/testsuite/ld-elf/relocatable.d: Fix notarget entry for hppa to match hppa{1.1,2.0}*, like hppa2.0-unknown-linux-gnu which Gentoo uses. Signed-off-by: Sam James -- You are receiving this mail because: You are on the CC list for the bug.
[Bug gprofng/30700] tmpdir/gp-collect-app_F test fails
https://sourceware.org/bugzilla/show_bug.cgi?id=30700 Vladimir Mezentsev changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED|RESOLVED --- Comment #14 from Vladimir Mezentsev --- Update status as resolved/fixed. -- You are receiving this mail because: You are on the CC list for the bug.
[Bug ld/30732] ld: 'ELF weak (alias)' tests fail on hppa
https://sourceware.org/bugzilla/show_bug.cgi?id=30732 --- Comment #3 from John David Anglin --- I see for GNU ld (GNU Binutils) 2.41.50.20230808: XFAIL: relocatable with script UNSUPPORTED: SHF_GNU_RETAIN 7a PASS: ELF weak (alias) Is the segmentation fault in the ELF weak test reproducible? -- You are receiving this mail because: You are on the CC list for the bug.