|
Message-ID: <20111110195014.GB1683@altlinux.org>
Date: Thu, 10 Nov 2011 23:50:15 +0400
From: "Dmitry V. Levin" <ldv@...linux.org>
To: owl-dev@...ts.openwall.com
Subject: Re: %optflags for new gcc
On Thu, Nov 10, 2011 at 11:33:09PM +0400, Solar Designer wrote:
> Dmitry, all -
>
> On Mon, Nov 07, 2011 at 12:29:04AM +0400, Solar Designer wrote:
> > I guess -D_FORTIFY_SOURCE=2 and -fstack-protector would cause issues
> > when building kernel modules. Did ALT Linux receive (m)any problem
> > reports from users trying to build additional kernel modules, such as
> > hardware vendors'? How do you recommend we deal with this?
>
> -fstack-protector is only enabled by default when -nostdlib is not
> specified. Perhaps this is what helps with kernel module builds, which
> do specify -nostdlib (or at least are supposed to). As to
> -D_FORTIFY_SOURCE=2, it just should not matter when glibc's header files
> are not included.
>
> So I guess kernel module builds do work despite of these new defaults.
Yes, they certainly do work.
--
ldv
Content of type "application/pgp-signature" skipped
Powered by blists - more mailing lists
Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.