Samba 3.5.6 and determining ld version

Björn Jacke bj at SerNet.DE
Fri Nov 26 00:56:36 MST 2010

Hi Tom,
On 2010-11-26 at 00:59 +0100 Thomas Bork sent off:
> in Samba 3.5.6 was a change in in determining the gnu
> ld version (my old Samba version was 3.4.9 and was ok):
> New version:
> ac_cv_gnu_ld_version=`$CC -Wl,-v /dev/null 2>/dev/null | head -1`
> Old version was:
> ac_cv_gnu_ld_version=`$LD -v 2>/dev/null | head -1`

that is intended for portability reasons with differen compiler/linker combos,
we want to use ld only by calling it via the compiler to get consistent results
and consistent linker flag settings and the use of the linker that the compiler
might actually require to use. Therefore LD=ld is no longer sit directly. This
is working fine this way on all the buildfarm hosts with GNU and native
compilers/linkers and combinations of it. I wonder why it doesn't on your box,
it should :-). Which platform/distro do you have here? You use the plain
configure file that ships with the 3.5.6 tar ball or a autogen self created
from Can you plase send your full config.log to get some more
insight in this? 


More information about the samba-technical mailing list