The branch, v3-6-test has been updated
via b76501d build/autoconf: put ld check variable in quotes
via 1f1fedd build/autoconf: fix check for GNU ld version
from e28ec90 smbd: fix initial large PAC sess setup response
http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v3-6-test
- Log -----------------------------------------------------------------
commit b76501dbf14bcba0eba7b5420b191caf237f0b35
Author: Björn Jacke <[email protected]>
Date: Wed Feb 20 17:06:49 2013 +0100
build/autoconf: put ld check variable in quotes
Signed-off-by: Bjoern Jacke <[email protected]>
Reviewed-by: Stefan Metzmacher <[email protected]>
(cherry picked from commit ac9620b942d6d51a1c35c4177c3f241351fc1ebd)
The last 2 patches address bug #7825 (need to fix GNU ld version detection
with
old gcc releases).
commit 1f1feddc6f414a91859b0dae77b34953b479d47e
Author: Björn Jacke <[email protected]>
Date: Tue Feb 19 15:30:34 2013 +0100
build/autoconf: fix check for GNU ld version
we need to look for the version once in the stdout and once in the stderr
output. Some version of ld output to stdout, some output to stderr.
redirecting
stderr to stdout messes the output up in our case, that's why we have to do
two
runs. See also bug #7825.
Signed-off-by: Bjoern Jacke <[email protected]>
Reviewed-by: Stefan Metzmacher <[email protected]>
Autobuild-User(master): Bj�rn Jacke <[email protected]>
Autobuild-Date(master): Tue Feb 19 20:56:12 CET 2013 on sn-devel-104
(cherry picked from commit ff8ba0628f6f13a5be1df94e5ac2e83008b7c69c)
-----------------------------------------------------------------------
Summary of changes:
source3/configure.in | 6 +++++-
1 files changed, 5 insertions(+), 1 deletions(-)
Changeset truncated at 500 lines:
diff --git a/source3/configure.in b/source3/configure.in
index 458ea39..86da83d 100644
--- a/source3/configure.in
+++ b/source3/configure.in
@@ -231,7 +231,11 @@ dnl Certain versions of GNU ld the default is not to have
the
dnl --allow-shlib-undefined flag defined. This causes a stackload of
dnl warnings when building modules.
if test "$ac_cv_prog_gnu_ld" = "yes"; then
- ac_cv_gnu_ld_version=`$CC -Wl,-v /dev/null 2>&1 < /dev/null | grep "GNU
ld"`
+ ac_cv_gnu_ld_version=`$CC -Wl,-v /dev/null 2> /dev/null < /dev/null |
grep "GNU ld"`
+ # we need to make a 2nd (separate!) check on the output of stderr, see
bug #7825:
+ if test -z "$ac_cv_gnu_ld_version" ; then
+ ac_cv_gnu_ld_version=`$CC -Wl,-v /dev/null 2>&1 > /dev/null <
/dev/null | grep "GNU ld"`
+ fi
AC_MSG_CHECKING(GNU ld release date)
changequote(,)dnl
ac_cv_gnu_ld_date=`echo $ac_cv_gnu_ld_version | sed -n
's,^.*\([2-9][0-9][0-9][0-9]\)[-]*\([01][0-9]\)[-]*\([0-3][0-9]\).*$,\1\2\3,p'`
--
Samba Shared Repository