Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 943162

Summary: binutils-2.43-r2 fails to apply binutils-2.43-linker-search-path.patch for cross toolchains
Product: Gentoo Linux Reporter: Sven Wegener <swegener>
Component: Current packagesAssignee: Gentoo Toolchain Maintainers <toolchain>
Status: RESOLVED FIXED    
Severity: normal CC: boris.staletic, chewi, flow, swegener, xavier.miller
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: cross-aarch64-unknown-linux-gnu:binutils-2.43-r2:20241110-075329.log

Description Sven Wegener gentoo-dev 2024-11-10 07:58:14 UTC
```
 *   0037-PR32300-dependency-file-link-dependencies-are-not-al.patch ...                                                                                                                       [ ok ]
 *   9999-Gentoo-We-make-a-release.patch ...                                                                                                                                                   [ ok ]
 * Done.
 * Applying binutils-2.43-linker-search-path.patch ...
patching file ld/ldelf.c
Hunk #2 FAILED at 1168.
1 out of 2 hunks FAILED -- saving rejects to file ld/ldelf.c.rej                                                                                                                               [ !! ]
```

binutils-2.43-linker-search-path.patch conflicts with 0037-PR32300-dependency-file-link-dependencies-are-not-al.patch from the updated patchset.
Comment 1 Sven Wegener gentoo-dev 2024-11-10 08:00:35 UTC
Created attachment 908351 [details]
cross-aarch64-unknown-linux-gnu:binutils-2.43-r2:20241110-075329.log
Comment 2 Sven Wegener gentoo-dev 2024-11-10 08:17:30 UTC
*** Bug 943163 has been marked as a duplicate of this bug. ***
Comment 3 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-11-10 08:56:56 UTC
Given that 0037 is a revert, it might be we can actually go back to the patch from 2.42.
Comment 4 Larry the Git Cow gentoo-dev 2024-11-10 09:44:54 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=72ef5d93a19e1e0bafa467a5bc086043ea1615f2

commit 72ef5d93a19e1e0bafa467a5bc086043ea1615f2
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2024-11-10 09:44:02 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2024-11-10 09:44:02 +0000

    sys-devel/binutils: fix cross patch for 2.43-r2
    
    0037-PR32300-dependency-file-link-dependencies-are-not-al.patch conflicts
    with binutils-2.43-linker-search-path.patch but we can go back to the
    one before from 2.42 given that 0037 is a revert.
    
    Closes: https://bugs.gentoo.org/943162
    Signed-off-by: Sam James <sam@gentoo.org>

 sys-devel/binutils/binutils-2.43-r2.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)