From patchwork Fri Feb 19 02:57:05 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Douglas Goldstein X-Patchwork-Id: 8355771 Return-Path: X-Original-To: patchwork-xen-devel@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 1E1F59F38B for ; Fri, 19 Feb 2016 03:00:25 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id A6E19203EC for ; Fri, 19 Feb 2016 03:00:23 +0000 (UTC) Received: from lists.xen.org (lists.xenproject.org [50.57.142.19]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 3A3CE203E6 for ; Fri, 19 Feb 2016 03:00:22 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=lists.xen.org) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1aWbG4-00030V-Rf; Fri, 19 Feb 2016 02:57:28 +0000 Received: from mail6.bemta5.messagelabs.com ([195.245.231.135]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1aWbG2-00030A-Ng for xen-devel@lists.xen.org; Fri, 19 Feb 2016 02:57:26 +0000 Received: from [85.158.139.211] by server-13.bemta-5.messagelabs.com id 8B/A6-02983-59486C65; Fri, 19 Feb 2016 02:57:25 +0000 X-Env-Sender: cardoe@cardoe.com X-Msg-Ref: server-11.tower-206.messagelabs.com!1455850643!11169610!1 X-Originating-IP: [209.85.161.181] X-SpamReason: No, hits=0.0 required=7.0 tests= X-StarScan-Received: X-StarScan-Version: 7.35.1; banners=-,-,- X-VirusChecked: Checked Received: (qmail 27239 invoked from network); 19 Feb 2016 02:57:24 -0000 Received: from mail-yw0-f181.google.com (HELO mail-yw0-f181.google.com) (209.85.161.181) by server-11.tower-206.messagelabs.com with AES128-GCM-SHA256 encrypted SMTP; 19 Feb 2016 02:57:24 -0000 Received: by mail-yw0-f181.google.com with SMTP id e63so57467432ywc.3 for ; Thu, 18 Feb 2016 18:57:24 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cardoe.com; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=W38s/ZISs+98s4I+5MrngWf7/Nl7/B0KMxvG8mae/OQ=; b=ZtwdkZcJyHYsrNbW9AOV0lyCqNGmQOzdzFANtzuoejeE5lJn+8OQXplBsvkSKWXFS1 zqZcXQCSrK1xvUpSc7B0VfUYnS+Ftpmx4GtQ0Pjyk4KULc6in8/Oyni2HxneAM5YcJaj FlTYKStTHAb2t/U0KndNJTUPTmxUuI+Y04QtQ= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=W38s/ZISs+98s4I+5MrngWf7/Nl7/B0KMxvG8mae/OQ=; b=BK9sbiiFXRMu2X2kmMxqGiDZAY6IV5iX7U++E0Nv5bVKJTa8bjmDDtIToYflog9peB SphUCuBgNZ7k4NnvcqhdSduNxpC3oTW6cMotvd9Gay78N6HyVGKbODEP57yMw3AwUZw4 QLcnmejWcS8/eGP0VcHbqwOKKDeUXaRvrnwctFTi6ea2l0x0Uv/5ncnBRsBLzUHoaRAd fN5mAp3lbzlWsMUIe+66mKeR08AKjhp4xrAbf7YiIJgUxJZzGc2aS14thI0+eCcbua0Q YhmtyFnspBRUte8DQdAmBypSPiXhzN0XhKN5ueTlc0LxGOrg/1udKl2pZdo+h27OTFCm BITQ== X-Gm-Message-State: AG10YOQZ2mrbvWzjdu+FHYwr0omlAguleEvHRqjx1xhRymjTOgI06ECzhsE4yhmnm1IxEw== X-Received: by 10.129.2.136 with SMTP id 130mr6438039ywc.340.1455850643702; Thu, 18 Feb 2016 18:57:23 -0800 (PST) Received: from swanson.lan (c-68-46-196-185.hsd1.al.comcast.net. [68.46.196.185]) by smtp.gmail.com with ESMTPSA id h131sm7083124ywb.25.2016.02.18.18.57.22 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 18 Feb 2016 18:57:22 -0800 (PST) From: Doug Goldstein To: xen-devel@lists.xen.org Date: Thu, 18 Feb 2016 20:57:05 -0600 Message-Id: <1455850625-9624-4-git-send-email-cardoe@cardoe.com> X-Mailer: git-send-email 2.4.10 In-Reply-To: <1455850625-9624-1-git-send-email-cardoe@cardoe.com> References: <1455850625-9624-1-git-send-email-cardoe@cardoe.com> Cc: Ian Jackson , Wei Liu , Doug Goldstein , Ian Campbell , Stefano Stabellini Subject: [Xen-devel] [PATCH v2 4/4] configure: rerun autoconf X-BeenThere: xen-devel@lists.xen.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org X-Spam-Status: No, score=-4.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_MED, T_DKIM_INVALID, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Signed-off-by: Doug Goldstein --- CC: Ian Jackson CC: Stefano Stabellini CC: Ian Campbell CC: Wei Liu Before these changes I was seeing the following errors: https://travis-ci.org/cardoe/xen/jobs/110174912 https://travis-ci.org/cardoe/xen/jobs/110196932#L1435 (you have to expand the 'cat tools/config.log' and go down to line 1435). The goal here is to enabling building the toolstack in Travis. This series gets us to this: https://travis-ci.org/cardoe/xen/jobs/110210149#L3536 But Andrew Cooper has provided a patch to solve that issue in 'hvmloader: Use xen/errno.h rather than the host systems errno.h' change since v1: - don't screw up the white space --- tools/configure | 295 ++++++++++++++++++++++++++++---------------------------- 1 file changed, 148 insertions(+), 147 deletions(-) diff --git a/tools/configure b/tools/configure index cd41b26..0244591 100755 --- a/tools/configure +++ b/tools/configure @@ -682,9 +682,6 @@ INSTALL_PROGRAM SET_MAKE AWK IASL -BCC -LD86 -AS86 XGETTEXT BASH XML @@ -704,6 +701,9 @@ qemu_xen_systemd qemu_xen_path qemu_xen rombios +BCC +LD86 +AS86 qemu_traditional blktap2 LINUX_BACKEND_MODULES @@ -3348,7 +3348,7 @@ else We can't simply define LARGE_OFF_T to be 9223372036854775807, since some C++ compilers masquerading as C compilers incorrectly reject 9223372036854775807. */ -#define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31)) +#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62)) int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 && LARGE_OFF_T % 2147483647 == 1) ? 1 : -1]; @@ -3394,7 +3394,7 @@ else We can't simply define LARGE_OFF_T to be 9223372036854775807, since some C++ compilers masquerading as C compilers incorrectly reject 9223372036854775807. */ -#define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31)) +#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62)) int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 && LARGE_OFF_T % 2147483647 == 1) ? 1 : -1]; @@ -3418,7 +3418,7 @@ rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext We can't simply define LARGE_OFF_T to be 9223372036854775807, since some C++ compilers masquerading as C compilers incorrectly reject 9223372036854775807. */ -#define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31)) +#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62)) int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 && LARGE_OFF_T % 2147483647 == 1) ? 1 : -1]; @@ -3463,7 +3463,7 @@ else We can't simply define LARGE_OFF_T to be 9223372036854775807, since some C++ compilers masquerading as C compilers incorrectly reject 9223372036854775807. */ -#define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31)) +#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62)) int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 && LARGE_OFF_T % 2147483647 == 1) ? 1 : -1]; @@ -3487,7 +3487,7 @@ rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext We can't simply define LARGE_OFF_T to be 9223372036854775807, since some C++ compilers masquerading as C compilers incorrectly reject 9223372036854775807. */ -#define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31)) +#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62)) int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 && LARGE_OFF_T % 2147483647 == 1) ? 1 : -1]; @@ -4242,6 +4242,141 @@ fi if test "x$enable_rombios" = "xyes"; then : + # Extract the first word of "as86", so it can be a program name with args. +set dummy as86; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_path_AS86+:} false; then : + $as_echo_n "(cached) " >&6 +else + case $AS86 in + [\\/]* | ?:[\\/]*) + ac_cv_path_AS86="$AS86" # Let the user override the test with a path. + ;; + *) + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_path_AS86="$as_dir/$ac_word$ac_exec_ext" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + + test -z "$ac_cv_path_AS86" && ac_cv_path_AS86="no" + ;; +esac +fi +AS86=$ac_cv_path_AS86 +if test -n "$AS86"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS86" >&5 +$as_echo "$AS86" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + +if test x"${AS86}" = x"no" +then + as_fn_error $? "Unable to find as86, please install as86" "$LINENO" 5 +fi + # Extract the first word of "ld86", so it can be a program name with args. +set dummy ld86; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_path_LD86+:} false; then : + $as_echo_n "(cached) " >&6 +else + case $LD86 in + [\\/]* | ?:[\\/]*) + ac_cv_path_LD86="$LD86" # Let the user override the test with a path. + ;; + *) + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_path_LD86="$as_dir/$ac_word$ac_exec_ext" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + + test -z "$ac_cv_path_LD86" && ac_cv_path_LD86="no" + ;; +esac +fi +LD86=$ac_cv_path_LD86 +if test -n "$LD86"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD86" >&5 +$as_echo "$LD86" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + +if test x"${LD86}" = x"no" +then + as_fn_error $? "Unable to find ld86, please install ld86" "$LINENO" 5 +fi + # Extract the first word of "bcc", so it can be a program name with args. +set dummy bcc; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_path_BCC+:} false; then : + $as_echo_n "(cached) " >&6 +else + case $BCC in + [\\/]* | ?:[\\/]*) + ac_cv_path_BCC="$BCC" # Let the user override the test with a path. + ;; + *) + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_path_BCC="$as_dir/$ac_word$ac_exec_ext" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + + test -z "$ac_cv_path_BCC" && ac_cv_path_BCC="no" + ;; +esac +fi +BCC=$ac_cv_path_BCC +if test -n "$BCC"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BCC" >&5 +$as_echo "$BCC" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + +if test x"${BCC}" = x"no" +then + as_fn_error $? "Unable to find bcc, please install bcc" "$LINENO" 5 +fi $as_echo "#define HAVE_ROMBIOS 1" >>confdefs.h @@ -7150,9 +7285,9 @@ if test x"$pyconfig" = x"no"; then : print "-I" + distutils.sysconfig.get_config_var("INCLUDEPY")'`" CPPFLAGS="$CPPFLAGS `$PYTHON -c 'import distutils.sysconfig; \ print distutils.sysconfig.get_config_var("CFLAGS")'`" - LDFLAGS="$LDFLAGS `$PYTHON -c 'import distutils.sysconfig; \ + PYTHON_LIBS="$LDFLAGS `$PYTHON -c 'import distutils.sysconfig; \ print distutils.sysconfig.get_config_var("LIBS")'`" - LDFLAGS="$LDFLAGS `$PYTHON -c 'import distutils.sysconfig; \ + PYTHON_LIBS="$LDFLAGS `$PYTHON -c 'import distutils.sysconfig; \ print distutils.sysconfig.get_config_var("SYSLIBS")'`" LDFLAGS="$LDFLAGS `$PYTHON -c 'import distutils.sysconfig; \ print "-L" + distutils.sysconfig.get_python_lib(plat_specific=1,\ @@ -7166,6 +7301,7 @@ else CPPFLAGS="$CFLAGS `$PYTHON-config --cflags`" LDFLAGS="$LDFLAGS `$PYTHON-config --ldflags`" + PYTHON_LIBS="$LIBS `$PYTHON-config --libs`" fi @@ -7184,7 +7320,7 @@ if eval \${$as_ac_Lib+:} false; then : $as_echo_n "(cached) " >&6 else ac_check_lib_save_LIBS=$LIBS -LIBS="-lpython$ac_python_version $LIBS" +LIBS="-lpython$ac_python_version $PYTHON_LIBS $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -7227,7 +7363,7 @@ else fi CPPFLAGS=$ac_previous_cppflags -LDLFAGS=$ac_previous_ldflags +LDFLAGS=$ac_previous_ldflags { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether Python setup.py brokenly enables -D_FORTIFY_SOURCE" >&5 @@ -7315,141 +7451,6 @@ then fi case "$host_cpu" in i[3456]86|x86_64) - # Extract the first word of "as86", so it can be a program name with args. -set dummy as86; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_path_AS86+:} false; then : - $as_echo_n "(cached) " >&6 -else - case $AS86 in - [\\/]* | ?:[\\/]*) - ac_cv_path_AS86="$AS86" # Let the user override the test with a path. - ;; - *) - as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then - ac_cv_path_AS86="$as_dir/$ac_word$ac_exec_ext" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done - done -IFS=$as_save_IFS - - test -z "$ac_cv_path_AS86" && ac_cv_path_AS86="no" - ;; -esac -fi -AS86=$ac_cv_path_AS86 -if test -n "$AS86"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS86" >&5 -$as_echo "$AS86" >&6; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } -fi - - -if test x"${AS86}" = x"no" -then - as_fn_error $? "Unable to find as86, please install as86" "$LINENO" 5 -fi - # Extract the first word of "ld86", so it can be a program name with args. -set dummy ld86; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_path_LD86+:} false; then : - $as_echo_n "(cached) " >&6 -else - case $LD86 in - [\\/]* | ?:[\\/]*) - ac_cv_path_LD86="$LD86" # Let the user override the test with a path. - ;; - *) - as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then - ac_cv_path_LD86="$as_dir/$ac_word$ac_exec_ext" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done - done -IFS=$as_save_IFS - - test -z "$ac_cv_path_LD86" && ac_cv_path_LD86="no" - ;; -esac -fi -LD86=$ac_cv_path_LD86 -if test -n "$LD86"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD86" >&5 -$as_echo "$LD86" >&6; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } -fi - - -if test x"${LD86}" = x"no" -then - as_fn_error $? "Unable to find ld86, please install ld86" "$LINENO" 5 -fi - # Extract the first word of "bcc", so it can be a program name with args. -set dummy bcc; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_path_BCC+:} false; then : - $as_echo_n "(cached) " >&6 -else - case $BCC in - [\\/]* | ?:[\\/]*) - ac_cv_path_BCC="$BCC" # Let the user override the test with a path. - ;; - *) - as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then - ac_cv_path_BCC="$as_dir/$ac_word$ac_exec_ext" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done - done -IFS=$as_save_IFS - - test -z "$ac_cv_path_BCC" && ac_cv_path_BCC="no" - ;; -esac -fi -BCC=$ac_cv_path_BCC -if test -n "$BCC"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BCC" >&5 -$as_echo "$BCC" >&6; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } -fi - - -if test x"${BCC}" = x"no" -then - as_fn_error $? "Unable to find bcc, please install bcc" "$LINENO" 5 -fi # Extract the first word of "iasl", so it can be a program name with args. set dummy iasl; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5