When buildingpearpc on the Open Build Service the RPMLINT report
says;
The binary declares the stack as executable. Executable stack is usually an
error as it is only needed if the code contains GCC trampolines or similar
constructs which uses code on the stack. One common source for needlessly
executable stack cases are object files built from assembler files which don't
define a proper .note.GNU-stack section.
I can overcome this by adding the following in the rpm spec file;
LDFLAGS="$LDFLAGS -Wl,-z -Wl,noexecstack"
Is this an acceptable solution?