This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug debug/81993] New: gcc 7.X -gsplit-dwarf removes some symbols, causing some undefined references
- From: "sylvestre at debian dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sat, 26 Aug 2017 16:35:58 +0000
- Subject: [Bug debug/81993] New: gcc 7.X -gsplit-dwarf removes some symbols, causing some undefined references
- Auto-submitted: auto-generated
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81993
Bug ID: 81993
Summary: gcc 7.X -gsplit-dwarf removes some symbols, causing
some undefined references
Product: gcc
Version: 7.2.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: debug
Assignee: unassigned at gcc dot gnu.org
Reporter: sylvestre at debian dot org
Target Milestone: ---
Reported https://bugs.llvm.org/show_bug.cgi?id=34140 & discussed
https://gcc.gnu.org/ml/gcc/2017-08/msg00287.html
Adding __attribute__((used)) fixed the issue for the clang build.
sorry I don't have a test case.
- Follow-Ups:
- [Bug debug/81993] [7/8 Regression] -gsplit-dwarf removes some symbols, causing some undefined references
- From: trippels at gcc dot gnu.org
- [Bug debug/81993] [7/8 Regression] -gsplit-dwarf removes some symbols, causing some undefined references
- From: trippels at gcc dot gnu.org
- [Bug debug/81993] [7/8 Regression] -gsplit-dwarf removes some symbols, causing some undefined references
- From: trippels at gcc dot gnu.org
- [Bug debug/81993] [7/8 Regression] -gsplit-dwarf removes some symbols, causing some undefined references
- From: rguenth at gcc dot gnu.org
- [Bug debug/81993] [7/8 Regression] -gsplit-dwarf removes some symbols, causing some undefined references
- From: rguenth at gcc dot gnu.org
- [Bug debug/81993] [7/8 Regression] -gsplit-dwarf removes some symbols, causing some undefined references
- From: trippels at gcc dot gnu.org
- [Bug debug/81993] [7/8 Regression] -gsplit-dwarf removes some symbols, causing some undefined references
- From: sylvestre at debian dot org
- [Bug debug/81993] [7/8 Regression] -gsplit-dwarf removes some symbols, causing some undefined references
- From: rguenther at suse dot de
- [Bug debug/81993] [7/8 Regression] -gsplit-dwarf removes some symbols, causing some undefined references
- From: trippels at gcc dot gnu.org
- [Bug debug/81993] [7 Regression] -gsplit-dwarf removes some symbols, causing some undefined references
- From: rguenth at gcc dot gnu.org
- [Bug debug/81993] [7 Regression] -gsplit-dwarf removes some symbols, causing some undefined references
- From: rguenth at gcc dot gnu.org
- [Bug debug/81993] [7 Regression] -gsplit-dwarf removes some symbols, causing some undefined references
- From: rguenth at gcc dot gnu.org
- [Bug debug/81993] [7 Regression] -gsplit-dwarf removes some symbols, causing some undefined references
- From: sylvestre at debian dot org