https://sourceware.org/bugzilla/show_bug.cgi?id=31299
Bug ID: 31299
Summary: Misleading message with --warn-execstack
--fatal-warnings
Product: binutils
Version: 2.43 (HEAD)
Status: NEW
Severity: normal
Priority: P2
Component: ld
Assignee: unassigned at sourceware dot org
Reporter: hjl.tools at gmail dot com
Target Milestone: ---
[hjl@gnu-cfl-3 tmp]$ gcc -c x.s
[hjl@gnu-cfl-3 tmp]$ ld -shared x.o -z stack-size=0x123400 --warn-execstack
--fatal-warnings
ld: warning: x.o: missing .note.GNU-stack section implies executable stack
ld: NOTE: This behaviour is deprecated and will be removed in a future version
of the linker
[hjl@gnu-cfl-3 tmp]$
1. It is an error, not warning.
2. The deprecation message shouldn't be there with --fatal-warnings.
--
You are receiving this mail because:
You are on the CC list for the bug.