monotone-devel
[Top][All Lists]
Advanced

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

[Monotone-devel] Re: [bug #30277] configure script fails when LDFLAGS co


From: Gour
Subject: [Monotone-devel] Re: [bug #30277] configure script fails when LDFLAGS contains 'as-needed'
Date: Tue, 29 Jun 2010 07:26:59 +0200

On Mon, 28 Jun 2010 21:24:41 +0000
>>>>>> "Thomas" == Thomas Keller <address@hidden> wrote:

Thomas> I could not reproduce this on Fedora 12 (gcc 4.4.3, i686, Lua
Thomas> 5.1.4), as ./configure LDFLAGS="-Wl,--hash-style=gnu
Thomas> -Wl,--as-needed" runs through without problems.

Maybe it's due to gcc...I've:

address@hidden gour] gcc -v
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-unknown-linux-gnu/4.5.0/lto-wrapper
Target: x86_64-unknown-linux-gnu
Configured with: ../configure --prefix=/usr
--enable-languages=c,c++,fortran,objc,obj-c++,ada --enable-shared
--enable-threads=posix --enable-__cxa_atexit --enable-clocale=gnu
--enable-gnu-unique-object --enable-lto --enable-plugin
--disable-multilib --disable-libstdcxx-pch --with-system-zlib
--with-ppl --with-cloog --libdir=/usr/lib --libexecdir=/usr/lib
--mandir=/usr/share/man --infodir=/usr/share/info
Thread model: posix
gcc version 4.5.0 20100610 (prerelease) (GCC) 

Thomas> I looked at the configuration test in detail, and it seems as
Thomas> if there is a minor difference between yours and mine. Mine
Thomas> looks like this:

Difference in CFLAGS.

I've: CFLAGS="-march=native -O2 -pipe"

Thomas> I have no idea why yours is missing -ldl in the linker line -
Thomas> my pkg-config gets it right:

Hmm, that's interesting... 

address@hidden gour] pkg-config lua --libs
-llua -lm  

However, when I unset LDFLAGS in my build script, it builds fine?


Sincerely,
Gour

-- 

Gour  | Hlapicina, Croatia  | GPG key: F96FF5F6
----------------------------------------------------------------

Attachment: signature.asc
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]