[augeas-devel] ./configure problem

David Lutterkort dlutter at redhat.com
Tue Apr 22 00:03:49 UTC 2008


On Mon, 2008-04-21 at 23:49 +0100, Daniel P. Berrange wrote:
> On Mon, Apr 21, 2008 at 10:40:48PM +0000, David Lutterkort wrote:
> > 
> > Cribbing off a similar problem that libvirt had when people first tried
> > to build it on Debian[1], can you try building from scratch with
> > 
> >         ./configure CFLAGS="-fno-stack-protector" 
> >         make
> >         make check
> > 
> > and see if that gets you any further ? If it does, I'll need to fix some
> > of the autoconf macros.
> 
> The key to fixing this issue for libvirt was that we needed to use
> AC_TRY_LINK instead of AC_TRY_COMPILE when probing compiler args
> because -fstack-protector  compiler arg had link time implications

I just had a look at the libvirt head to see how it was fixed there - it
seems that in the meantime any attempt of passing -fstack-protector is
gone from configure.in and acinclude.m4 (and the generated Makefile's)

Is passing -D_FORTIFY_SOURCE=2 enough to turn that on ?

David





More information about the augeas-devel mailing list