[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug ld/26675] 32bit build of dxvk fails with binutils 2.35.1
From: |
mike at fireburn dot co.uk |
Subject: |
[Bug ld/26675] 32bit build of dxvk fails with binutils 2.35.1 |
Date: |
Tue, 29 Sep 2020 12:06:17 +0000 |
https://sourceware.org/bugzilla/show_bug.cgi?id=26675
--- Comment #8 from Mike Lothian <mike at fireburn dot co.uk> ---
Hi, not sure if I'll be able to make a test case. I have bisected between 2.34
and 2.35.1 and found this to be the bad commit:
Author: H.J. Lu <hjl.tools@gmail.com>
Date: Wed Jul 22 03:49:07 2020 -0700
ld: Properly override the IR definition
We change the previous definition in the IR object to undefweak only
after all LTO symbols have been read.
include/
PR ld/26262
PR ld/26267
* bfdlink.h (bfd_link_info): Add lto_all_symbols_read.
ld/
PR ld/26262
PR ld/26267
* ldlang.c (lang_process): Set lto_all_symbols_read after all
LTO IR symbols have been read.
* plugin.c (plugin_notice): Override the IR definition only if
all LTO IR symbols have been read or the new definition is
non-weak and the the IR definition is weak
* testsuite/ld-plugin/lto.exp: Run PR ld/26262 and ld/26267
tests.
* testsuite/ld-plugin/pr26262a.c: New file.
* testsuite/ld-plugin/pr26262b.c: Likewise.
* testsuite/ld-plugin/pr26262c.c: Likewise.
* testsuite/ld-plugin/pr26267.err: Likewise.
* testsuite/ld-plugin/pr26267a.c: Likewise.
* testsuite/ld-plugin/pr26267b.c: Likewise.
* testsuite/ld-plugin/pr26267c.c: Likewise.
(cherry picked from commit 0e6a3f07f50723d1831291492b96fdf74bcbdc11)
include/ChangeLog | 6 ++++++
include/bfdlink.h | 3 +++
ld/ChangeLog | 19 ++++++++++++++++++
ld/ldlang.c | 1 +
ld/plugin.c | 16 +++++++++------
ld/testsuite/ld-plugin/lto.exp | 40 ++++++++++++++++++++++++++++++++++++++
ld/testsuite/ld-plugin/pr26262a.c | 21 ++++++++++++++++++++
ld/testsuite/ld-plugin/pr26262b.c | 16 +++++++++++++++
ld/testsuite/ld-plugin/pr26262c.c | 6 ++++++
ld/testsuite/ld-plugin/pr26267.err | 3 +++
ld/testsuite/ld-plugin/pr26267a.c | 21 ++++++++++++++++++++
ld/testsuite/ld-plugin/pr26267b.c | 15 ++++++++++++++
ld/testsuite/ld-plugin/pr26267c.c | 6 ++++++
13 files changed, 167 insertions(+), 6 deletions(-)
create mode 100644 ld/testsuite/ld-plugin/pr26262a.c
create mode 100644 ld/testsuite/ld-plugin/pr26262b.c
create mode 100644 ld/testsuite/ld-plugin/pr26262c.c
create mode 100644 ld/testsuite/ld-plugin/pr26267.err
create mode 100644 ld/testsuite/ld-plugin/pr26267a.c
create mode 100644 ld/testsuite/ld-plugin/pr26267b.c
create mode 100644 ld/testsuite/ld-plugin/pr26267c.c
--
You are receiving this mail because:
You are on the CC list for the bug.
- [Bug ld/26675] New: 32bit build of dxvk fails with binutils 2.35.1, mike at fireburn dot co.uk, 2020/09/29
- [Bug ld/26675] 32bit build of dxvk fails with binutils 2.35.1, mike at fireburn dot co.uk, 2020/09/29
- [Bug ld/26675] 32bit build of dxvk fails with binutils 2.35.1, nickc at redhat dot com, 2020/09/29
- [Bug ld/26675] 32bit build of dxvk fails with binutils 2.35.1, mike at fireburn dot co.uk, 2020/09/29
- [Bug ld/26675] 32bit build of dxvk fails with binutils 2.35.1, mike at fireburn dot co.uk, 2020/09/29
- [Bug ld/26675] 32bit build of dxvk fails with binutils 2.35.1, nickc at redhat dot com, 2020/09/29
- [Bug ld/26675] 32bit build of dxvk fails with binutils 2.35.1, mike at fireburn dot co.uk, 2020/09/29
- [Bug ld/26675] 32bit build of dxvk fails with binutils 2.35.1, nickc at redhat dot com, 2020/09/29
- [Bug ld/26675] 32bit build of dxvk fails with binutils 2.35.1,
mike at fireburn dot co.uk <=
- [Bug ld/26675] 32bit build of dxvk fails with binutils 2.35.1, mike at fireburn dot co.uk, 2020/09/29
- [Bug ld/26675] 32bit build of dxvk fails with binutils 2.35.1, mike at fireburn dot co.uk, 2020/09/29
- [Bug ld/26675] 32bit build of dxvk fails with binutils 2.35.1, nickc at redhat dot com, 2020/09/29
- [Bug ld/26675] 32bit build of dxvk fails with binutils 2.35.1, hjl.tools at gmail dot com, 2020/09/29
- [Bug ld/26675] 32bit build of dxvk fails with binutils 2.35.1, mike at fireburn dot co.uk, 2020/09/29
- [Bug ld/26675] 32bit build of dxvk fails with binutils 2.35.1, hjl.tools at gmail dot com, 2020/09/29
- [Bug ld/26675] 32bit build of dxvk fails with binutils 2.35.1, mike at fireburn dot co.uk, 2020/09/29
- [Bug ld/26675] 32bit build of dxvk fails with binutils 2.35.1, mike at fireburn dot co.uk, 2020/09/29
- [Bug ld/26675] 32bit build of dxvk fails with binutils 2.35.1, nickc at redhat dot com, 2020/09/30
- [Bug ld/26675] 32bit build of dxvk fails with binutils 2.35.1, cvs-commit at gcc dot gnu.org, 2020/09/30