[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Monotone-devel] [bug #30277] configure script fails when LDFLAGS contai
From: |
Thomas Keller |
Subject: |
[Monotone-devel] [bug #30277] configure script fails when LDFLAGS contains 'as-needed' |
Date: |
Mon, 28 Jun 2010 21:24:41 +0000 |
User-agent: |
Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; de; rv:1.9.2.3) Gecko/20100401 Firefox/3.6.3 |
Update of bug #30277 (project monotone):
Status: None => Works for me
_______________________________________________________
Follow-up Comment #1:
I could not reproduce this on Fedora 12 (gcc 4.4.3, i686, Lua 5.1.4), as
./configure LDFLAGS="-Wl,--hash-style=gnu -Wl,--as-needed" runs through
without problems.
I looked at the configuration test in detail, and it seems as if there is a
minor difference between yours and mine. Mine looks like this:
g++ -o conftest -g -O2 -Wall -W -Wno-unused -Wl,--hash-style=gnu
-Wl,--as-needed conftest.cpp -lz -llua -lm -ldl
while your looks like this:
g++ -o conftest -march=native -O2 -pipe -Wall -W -Wno-unused
-Wl,--hash-style=gnu -Wl,--as-needed conftest.cpp -lz -llua -lm
I have no idea why yours is missing -ldl in the linker line - my pkg-config
gets it right:
$ pkg-config lua --libs
-llua -lm -ldl
Can anybody else reproduce Gour's issue?
_______________________________________________________
Reply to this item at:
<http://savannah.nongnu.org/bugs/?30277>
_______________________________________________
Nachricht geschickt von/durch Savannah
http://savannah.nongnu.org/