[augeas-devel] ./configure problem
Daniel P. Berrange
berrange at redhat.com
Mon Apr 21 22:49:12 UTC 2008
On Mon, Apr 21, 2008 at 10:40:48PM +0000, David Lutterkort wrote:
>
> On Sat, 2008-04-19 at 10:09 +0100, Dean Wilson wrote:
> > /usr/bin/ld: final link failed: Nonrepresentable section on output
> > collect2: ld returned 1 exit status
>
> The interesting thing is the error message just before in teh log you
> sent me:
>
> /usr/bin/ld: .libs/augtool: hidden symbol
> `__stack_chk_fail_local'
> in /usr/lib/gcc/i486-linux-gnu/4.1.2/libssp_nonshared.a(libssp_nonshared_la-ssp-local.o) is referenced by DSO
>
> 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
Dan.
--
|: Red Hat, Engineering, Boston -o- http://people.redhat.com/berrange/ :|
|: http://libvirt.org -o- http://virt-manager.org -o- http://ovirt.org :|
|: http://autobuild.org -o- http://search.cpan.org/~danberr/ :|
|: GnuPG: 7D3B9505 -o- F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505 :|
More information about the augeas-devel
mailing list