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

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

On Mon, Aug 08, 2005 at 04:25:32PM +0200, Marc-Christian Petersen wrote:
> 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/

Absolutely not.  Either the package needs an executable stack - in
which case this is, simply, wrong - or else it doesn't and whatever is
causing it to be tagged as needing one should be fixed.  IIRC it is
usually a matter of annotating assembly files in some way.

Daniel Jacobowitz
CodeSourcery, LLC

Reply to: