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

Bug#321718: glibc: Upgrade caused many libs to complain about "executable stack"

Package: glibc
Followup-For: Bug #321718

Hi all,

I'd suggest to rebuild all required packages (libraries) with
CFLAGS -Wa,--noexecstack so that assembled modules get tagged
as not needing executable stacks.

I've rebuilt some packages (liblzo1, openssl, libgdbm3, libelfg0,
libgcrypt11 and so on) with those flags. For everyone who's
interested: http://debian.linux-systeme.com/

Not an option (imho) is to disable mprotect() with chpax(8) or
paxctl(1) on binaries complaining about permission denied of
executable stack.

Kind regards,

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'stable'), (1, 'experimental')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.4.20-wolk4.18s
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

Reply to: