Right, there are two such files, none of which contains anything like
".GNU.stack":
./libpolyml/sparc_assembly.S
./libpolyml/power_assembly.S
However, I do not think they should affect i586 architecture...
Then I have tried to follow
http://www.gentoo.org/proj/en/hardened/gnu-stack.xml
and added "-Wl,-z,noexecstack" parameters to the linker (part 7 of the
tutorial). It seems to work, but they do not advice to use such
solutions. Do you think this can be used anyway?
Lastly thanks for the patch, it made my life easier. Nevertheless, the
"no-debuginfo" warnings did not disappear. Am I doing something wrong?
Radomir Cernoch
2009/2/18 Marcus Meissner
On Wed, Feb 18, 2009 at 12:21:01PM +0100, Petr Uzel wrote:
On Wed, Feb 18, 2009 at 07:40:00AM -0300, aledr wrote:
On Wed, Feb 18, 2009 at 4:18 AM,
wrote: submit-request from: radomir_cernoch
home:radomir_cernoch/polyml -> openSUSE:Factory:Contrib/polyml
https://build.opensuse.org/package/show?package=polyml&project=home:radomir_cernoch https://build.opensuse.org/package/show?package=polyml&project=openSUSE:Factory:Contrib
Should the user be warned about "executable-stack" and "no-dependency-on" messages from rpmlint?
The no-dependency-on and no-debuginfo warnings could be fixed by following patch:
Index: polyml.spec =================================================================== --- polyml.spec (revision 2) +++ polyml.spec (working copy) @@ -33,7 +33,7 @@ %package devel Summary: Development files for %{name} Group: Development/Languages/C and C++ -Requires: c++_compiler glibc-devel libstdc++43-devel +Requires: c++_compiler glibc-devel libstdc++43-devel polyml = %{version} %description devel Poly/ML is a full implementation of Standard ML available as open-source. The package %{name}-devel contains files needed for development. @@ -42,7 +42,7 @@ %setup -n %{name}.%{version}
%build -./configure --prefix=/usr --libdir=%{_libdir} +%configure make CFLAGS='%{optflags}'
%install
=================================
But I'm not sure how about the exectuable-stack (if it has to be fixed).
Perhaps Marcus knows...
It should be fixed.
Likely it has .s or .S files without a note .GNU.stack entry or so.
Ciao, Marcus
-- To unsubscribe, e-mail: opensuse-contrib+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-contrib+help@opensuse.org