This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/66400] New: g++.dg/stackprotectexplicit2.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:25:23 +0000
- Subject: [Bug c++/66400] New: g++.dg/stackprotectexplicit2.C FAILs with PIE
- Auto-submitted: auto-generated
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66400
Bug ID: 66400
Summary: g++.dg/stackprotectexplicit2.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/stackprotectexplicit2.C FAILs on both
Linux/x86_64
and Solaris 12/x86 with -m32:
+FAIL: g++.dg/stackprotectexplicit2.C -std=gnu++11 scan-assembler-times
stack_chk_fail 2
+FAIL: g++.dg/stackprotectexplicit2.C -std=gnu++14 scan-assembler-times
stack_chk_fail 2
+FAIL: g++.dg/stackprotectexplicit2.C -std=gnu++98 scan-assembler-times
stack_chk_fail 2
On Linux/x86_64, stackprotectexplicit2.s contains
call __stack_chk_fail_local
call __stack_chk_fail_local
.hidden __stack_chk_fail_local
Rainer