[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug ld/25993] Bug in bfd causes crashes with DXVK
From: |
wgpierce17 at gmail dot com |
Subject: |
[Bug ld/25993] Bug in bfd causes crashes with DXVK |
Date: |
Fri, 15 May 2020 08:29:10 +0000 |
https://sourceware.org/bugzilla/show_bug.cgi?id=25993
--- Comment #1 from William Pierce <wgpierce17 at gmail dot com> ---
The files in my previous comment ran the build commands to build binutils using
no extra compiler or linker flags. In this case, I actually found that I
couldn't reproduce the problem! So the logs I provided in the first comment
may not be useful.
The default flags to use when building in the distribution I use are
CPPFLAGS="-D_FORTIFY_SOURCE=2"
CFLAGS="-march=x86-64 -mtune=generic -O2 -pipe -fno-plt"
CXXFLAGS="-march=x86-64 -mtune=generic -O2 -pipe -fno-plt"
LDFLAGS="-Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now"
I found if I disable all the CPPFLAGS/CFLAGS/CXXFLAGS and leave only the
LDFLAGS, then I can reproduce the issue. (I did not try out disabling other
combinations of flags.)
I tried with a few subsets of the LDFLAGS flags like
LDFLAGS="-Wl,-O1"
or
LDFLAGS="-Wl,--sort-common,--as-needed"
and could reproduce it with either of those as well (but maybe not some other
combinations).
Any advice on how to debug further would be appreciated. I could pare down the
flags more or diff the resulting binaries in the actual good/bad case.
--
You are receiving this mail because:
You are on the CC list for the bug.
- [Bug ld/25993] New: Bug in bfd causes crashes with DXVK, wgpierce17 at gmail dot com, 2020/05/15
- [Bug ld/25993] Bug in bfd causes crashes with DXVK,
wgpierce17 at gmail dot com <=
- [Bug ld/25993] Bug in bfd causes crashes with DXVK, nickc at redhat dot com, 2020/05/15
- [Bug ld/25993] Bug in bfd causes crashes with DXVK, amodra at gmail dot com, 2020/05/15
- [Bug ld/25993] Bug in bfd causes crashes with DXVK, nickc at redhat dot com, 2020/05/15
- [Bug ld/25993] Bug in bfd causes crashes with DXVK, wgpierce17 at gmail dot com, 2020/05/16
- [Bug ld/25993] Bug in bfd causes crashes with DXVK, amodra at gmail dot com, 2020/05/16
- [Bug ld/25993] Bug in bfd causes crashes with DXVK, amodra at gmail dot com, 2020/05/17
- [Bug ld/25993] Bug in bfd causes crashes with DXVK, cvs-commit at gcc dot gnu.org, 2020/05/18
- [Bug ld/25993] Bug in bfd causes crashes with DXVK, nickc at redhat dot com, 2020/05/18
- [Bug ld/25993] Bug in bfd causes crashes with DXVK, cvs-commit at gcc dot gnu.org, 2020/05/19
- [Bug ld/25993] Bug in bfd causes crashes with DXVK, amodra at gmail dot com, 2020/05/19