[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug gold/17578] New: Confusing "requires executable stack" warning from
From: |
ilya.konstantinov at gmail dot com |
Subject: |
[Bug gold/17578] New: Confusing "requires executable stack" warning from gold |
Date: |
Tue, 11 Nov 2014 17:40:08 +0000 |
https://sourceware.org/bugzilla/show_bug.cgi?id=17578
Bug ID: 17578
Summary: Confusing "requires executable stack" warning from
gold
Product: binutils
Version: unspecified
Status: NEW
Severity: normal
Priority: P2
Component: gold
Assignee: ccoutant at google dot com
Reporter: ilya.konstantinov at gmail dot com
CC: ian at airs dot com
1. Compile object files with -Wa,--execstack
2. Link said object files with -Wl,-z,execstack
gold will produce warnings such as:
ld : warning : foo.o: requires executable stack
This warning is confusing, since one would think that by explicitly specifying
-Wl,-z,execstack, one is acknowledging that and no warning is needed.
The relevant code is in bintuils/gold/layout.cc:
if (parameters->options().warn_execstack()
|| parameters->options().is_stack_executable())
^^^
--
You are receiving this mail because:
You are on the CC list for the bug.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Bug gold/17578] New: Confusing "requires executable stack" warning from gold,
ilya.konstantinov at gmail dot com <=