[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug ld/29259] ld -r may create reloc sections with unordered relocs aga
From: |
nickc at redhat dot com |
Subject: |
[Bug ld/29259] ld -r may create reloc sections with unordered relocs again |
Date: |
Wed, 27 Sep 2023 10:15:32 +0000 |
https://sourceware.org/bugzilla/show_bug.cgi?id=29259
Nick Clifton <nickc at redhat dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |nickc at redhat dot com
--- Comment #4 from Nick Clifton <nickc at redhat dot com> ---
(In reply to Ajay Kaher from comment #3)
> Initially we observed ~10% degradation to compiling Linux Kernel
I assume that you are talking about the time-taken-to-compile-the-kernel as
opposed to the performance-speed-of-the-compiled-and-linked-kernel ?
> with
> gcc-12.x as compare to gcc-10.x. During investigation we found ~5% is
> because of binutils and with git bisect end up with following commit:
>
> https://github.com/bminor/binutils-gdb/commit/
> fba1ac87dcb76e61f270d236f1e7c8aaec80f9c4
>
> Could this problem be fixed (in some other way) without any degradation?
I think that the short answer is "no" since this is an area of the code where a
lot of care has to be taken to get things in the right order. The answer could
be "yes", but I suspect that would involve a complete rewrite of a lot of the
linker, something that is bound to cause a lot more problems.
Sorry but I think that in this case you are going to have choose between a
slower but better able to handle special cases linker (2.39 or later) and a
faster but breaks under certain circumstances linker (2.38 or earlier).
--
You are receiving this mail because:
You are on the CC list for the bug.