This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/66399] New: g++.dg/abi/anon4.C FAILs with PIE
- From: "ro at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 03 Jun 2015 13:20:17 +0000
- Subject: [Bug c++/66399] New: g++.dg/abi/anon4.C FAILs with PIE
- Auto-submitted: auto-generated
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66399
Bug ID: 66399
Summary: g++.dg/abi/anon4.C FAILs with PIE
Product: gcc
Version: 6.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: ro at gcc dot gnu.org
CC: hjl at gcc dot gnu.org
Target Milestone: ---
Host: x86_64-unknown-linux-gnu, i386-pc-solaris2.12
Target: x86_64-unknown-linux-gnu, i386-pc-solaris2.12
Build: x86_64-unknown-linux-gnu, i386-pc-solaris2.12
With --enable-default-pie, g++.dg/abi/anon4.C FAILs on both Linux/x86_64 and
Solaris 12/x86 with -m32:
+FAIL: g++.dg/abi/anon4.C -std=c++11 scan-assembler-not comdat
+FAIL: g++.dg/abi/anon4.C -std=c++14 scan-assembler-not comdat
+FAIL: g++.dg/abi/anon4.C -std=c++98 scan-assembler-not comdat
On Linux, anon4.s contains
.section
.text.__x86.get_pc_thunk.bx,"axG",@progbits,__x86.get_pc_thunk.bx,comdat
Rainer