[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#479575: libqimageblitz4: requires executable stack on non-i386



Package: libqimageblitz4
Version: 1:0.0.4-3
Severity: normal

libqimageblitz4 is marked as requiring an executable stack on amd64.
This results in programs linked against it failing to start when SELinux
is enabled, with the error message:
libqimageblitz.so.4: cannot enable executable stack as shared object
requires: permission denied

I note that the source has been patched to prevent this by adding an
empty .note.GNU-stack section in blitz/asm_scale.S, but inside a #ifdef
so this only has effect on i386.  You need to move either this outside the
#ifdef, or not link with asm_scale.o on non-i386 (since it doesn't do
anything there anyway).  I have tested the former and it works.

Best wishes,
Martin Orr

-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.25 (SMP w/2 CPU cores; PREEMPT)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages libqimageblitz4 depends on:
ii  libc6                2.7-10experimental1 GNU C Library: Shared libraries
ii  libqt4-gui           4.4.0~rc1-5         Qt 4 GUI module
ii  libqtcore4           4.4.0~rc1-5         Qt 4 core module
ii  libstdc++6           4.3.0-4             The GNU Standard C++ Library v3

libqimageblitz4 recommends no packages.

-- no debconf information



Reply to: