[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug ld/30724] cygwin ld performance regression since 014a602b86
From: |
cvs-commit at gcc dot gnu.org |
Subject: |
[Bug ld/30724] cygwin ld performance regression since 014a602b86 |
Date: |
Tue, 08 Aug 2023 23:25:33 +0000 |
https://sourceware.org/bugzilla/show_bug.cgi?id=30724
--- Comment #10 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot
gnu.org> ---
The master branch has been updated by Alan Modra <amodra@sourceware.org>:
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=f82ee0c8dc4ee32556e23e6cd83ef083618f704f
commit f82ee0c8dc4ee32556e23e6cd83ef083618f704f
Author: Alan Modra <amodra@gmail.com>
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/30724] Massive ld performance regression in binutils-2.41 since 014a602b86f08de96fc80ef3f96a87db6cccad56, (continued)
- [Bug ld/30724] Massive ld performance regression in binutils-2.41 since 014a602b86f08de96fc80ef3f96a87db6cccad56, pinskia at gcc dot gnu.org, 2023/08/05
- [Bug ld/30724] Massive ld performance regression in binutils-2.41 since 014a602b86f08de96fc80ef3f96a87db6cccad56, Stromeko at nexgo dot de, 2023/08/05
- [Bug ld/30724] Massive ld performance regression in binutils-2.41 since 014a602b86f08de96fc80ef3f96a87db6cccad56, Stromeko at nexgo dot de, 2023/08/06
- [Bug ld/30724] cygwin ld performance regression since 014a602b86, amodra at gmail dot com, 2023/08/06
- [Bug ld/30724] cygwin ld performance regression since 014a602b86, amodra at gmail dot com, 2023/08/06
- [Bug ld/30724] cygwin ld performance regression since 014a602b86, ssbssa at sourceware dot org, 2023/08/07
- [Bug ld/30724] cygwin ld performance regression since 014a602b86, Stromeko at nexgo dot de, 2023/08/07
- [Bug ld/30724] cygwin ld performance regression since 014a602b86, amodra at gmail dot com, 2023/08/07
- [Bug ld/30724] cygwin ld performance regression since 014a602b86, amodra at gmail dot com, 2023/08/07
- [Bug ld/30724] cygwin ld performance regression since 014a602b86,
cvs-commit at gcc dot gnu.org <=
- [Bug ld/30724] cygwin ld performance regression since 014a602b86, cvs-commit at gcc dot gnu.org, 2023/08/10
- [Bug ld/30724] cygwin ld performance regression since 014a602b86, amodra at gmail dot com, 2023/08/11
- [Bug ld/30724] cygwin ld performance regression since 014a602b86, Stromeko at nexgo dot de, 2023/08/17