Andrea Musuruane wrote:
I've got 2 packages where rpmlint gives a warning about the binary
declaring the stack as executable. I've not yet imported them in CVS
because of this problem. You can find SRPMS here:
I'm not really able to solve this. Can someone help? Even proper
documentation would be helpful.
The first step is to find out which object file in the executable / .so is
causing the executable stack problem.
For each .o file in the source dir after building, do:
eu-readelf -S foo.o
And then then output for each .o file must contain a .note.GNU-stack section,
if it doesn't then that .o file is the culprit of then flags part of the
.note.GNU-stack section contains a .o file then that .o file is (one of) the
culprit(s) too even though it has a .note.GNU-stack section. Most of the time
the problem .o files are files generated from asm code.
Once you've got a list of troublesome source files drop me a mail and I'll
explain the next step in fixing this.