public inbox for gdb-patches@sourceware.org
 help / color / mirror / Atom feed
* 7.2 branch, configure problem, --with-python
@ 2010-07-26 23:45 Michael Snyder
  2010-07-27 15:30 ` Thiago Jung Bauermann
  0 siblings, 1 reply; 34+ messages in thread
From: Michael Snyder @ 2010-07-26 23:45 UTC (permalink / raw)
  To: gdb-patches

[-- Attachment #1: Type: text/plain, Size: 0 bytes --]



[-- Attachment #2: 7.2 branch, configure problem, --with-python.eml --]
[-- Type: message/rfc822, Size: 176950 bytes --]

[-- Attachment #2.1.1: Type: text/plain, Size: 874 bytes --]

Hey folks, I'm having a problem attempting to build the release branch
on a 32 bit RHEL5 system.  I've used "--with-python=xyz" to point to a
local install directory, but configure tells me it wasn't found.

The exact same configuration worked fine in version 7.1.

This is my configure command:
CFLAGS=-g \
LDFLAGS="-Wl,-R/build/toolchain/lin32/ncurses-5.5/lib 
-Wl,-R/build/toolchain/lin32/expat-1.95.8/lib 
-Wl,-R/build/toolchain/lin32/python-2.5/lib 
-Wl,-R/build/toolchain/lin32/zlib-1.2.3-3/lib \
$(srcdir)/configure --with-python=/build/toolchain/lin32/python-2.5

... and this is the error message:

checking for python2.5... no
configure: error: no usable python found at 
/build/toolchain/lin32/python-2.5
make[1]: *** [configure-gdb] Error 1


I'm attaching my config.status and gdb/config.log.
Any help appreciated.

Thanks,
Michael


[-- Attachment #2.1.2: config.status --]
[-- Type: text/plain, Size: 32779 bytes --]

#! /bin/sh
# Generated by configure.
# Run this file to recreate the current configuration.
# Compiler output produced by configure, useful for debugging
# configure, is in config.log if it exists.

debug=false
ac_cs_recheck=false
ac_cs_silent=false

SHELL=${CONFIG_SHELL-/bin/sh}
export SHELL
## -------------------- ##
## M4sh Initialization. ##
## -------------------- ##

# Be more Bourne compatible
DUALCASE=1; export DUALCASE # for MKS sh
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
  emulate sh
  NULLCMD=:
  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
  # is contrary to our usage.  Disable this feature.
  alias -g '${1+"$@"}'='"$@"'
  setopt NO_GLOB_SUBST
else
  case `(set -o) 2>/dev/null` in #(
  *posix*) :
    set -o posix ;; #(
  *) :
     ;;
esac
fi


as_nl='
'
export as_nl
# Printing a long string crashes Solaris 7 /usr/bin/printf.
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
# Prefer a ksh shell builtin over an external printf program on Solaris,
# but without wasting forks for bash or zsh.
if test -z "$BASH_VERSION$ZSH_VERSION" \
    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
  as_echo='print -r --'
  as_echo_n='print -rn --'
elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
  as_echo='printf %s\n'
  as_echo_n='printf %s'
else
  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
    as_echo_n='/usr/ucb/echo -n'
  else
    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
    as_echo_n_body='eval
      arg=$1;
      case $arg in #(
      *"$as_nl"*)
	expr "X$arg" : "X\\(.*\\)$as_nl";
	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
      esac;
      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
    '
    export as_echo_n_body
    as_echo_n='sh -c $as_echo_n_body as_echo'
  fi
  export as_echo_body
  as_echo='sh -c $as_echo_body as_echo'
fi

# The user is always right.
if test "${PATH_SEPARATOR+set}" != set; then
  PATH_SEPARATOR=:
  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
      PATH_SEPARATOR=';'
  }
fi


# IFS
# We need space, tab and new line, in precisely that order.  Quoting is
# there to prevent editors from complaining about space-tab.
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
# splitting by setting IFS to empty value.)
IFS=" ""	$as_nl"

# Find who we are.  Look in the path if we contain no directory separator.
case $0 in #((
  *[\\/]* ) as_myself=$0 ;;
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
for as_dir in $PATH
do
  IFS=$as_save_IFS
  test -z "$as_dir" && as_dir=.
    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
  done
IFS=$as_save_IFS

     ;;
esac
# We did not find ourselves, most probably we were run as `sh COMMAND'
# in which case we are not to be found in the path.
if test "x$as_myself" = x; then
  as_myself=$0
fi
if test ! -f "$as_myself"; then
  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
  exit 1
fi

# Unset variables that we do not need and which cause bugs (e.g. in
# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
# suppresses any "Segmentation fault" message there.  '((' could
# trigger a bug in pdksh 5.2.14.
for as_var in BASH_ENV ENV MAIL MAILPATH
do eval test x\${$as_var+set} = xset \
  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
done
PS1='$ '
PS2='> '
PS4='+ '

# NLS nuisances.
LC_ALL=C
export LC_ALL
LANGUAGE=C
export LANGUAGE

# CDPATH.
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH


# as_fn_error ERROR [LINENO LOG_FD]
# ---------------------------------
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
# script with status $?, using 1 if that was 0.
as_fn_error ()
{
  as_status=$?; test $as_status -eq 0 && as_status=1
  if test "$3"; then
    as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
    $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
  fi
  $as_echo "$as_me: error: $1" >&2
  as_fn_exit $as_status
} # as_fn_error


# as_fn_set_status STATUS
# -----------------------
# Set $? to STATUS, without forking.
as_fn_set_status ()
{
  return $1
} # as_fn_set_status

# as_fn_exit STATUS
# -----------------
# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
as_fn_exit ()
{
  set +e
  as_fn_set_status $1
  exit $1
} # as_fn_exit

# as_fn_unset VAR
# ---------------
# Portably unset VAR.
as_fn_unset ()
{
  { eval $1=; unset $1;}
}
as_unset=as_fn_unset
# as_fn_append VAR VALUE
# ----------------------
# Append the text in VALUE to the end of the definition contained in VAR. Take
# advantage of any shell optimizations that allow amortized linear growth over
# repeated appends, instead of the typical quadratic growth present in naive
# implementations.
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
  eval 'as_fn_append ()
  {
    eval $1+=\$2
  }'
else
  as_fn_append ()
  {
    eval $1=\$$1\$2
  }
fi # as_fn_append

# as_fn_arith ARG...
# ------------------
# Perform arithmetic evaluation on the ARGs, and store the result in the
# global $as_val. Take advantage of shells that can avoid forks. The arguments
# must be portable across $(()) and expr.
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
  eval 'as_fn_arith ()
  {
    as_val=$(( $* ))
  }'
else
  as_fn_arith ()
  {
    as_val=`expr "$@" || test $? -eq 1`
  }
fi # as_fn_arith


if expr a : '\(a\)' >/dev/null 2>&1 &&
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
  as_expr=expr
else
  as_expr=false
fi

if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
  as_basename=basename
else
  as_basename=false
fi

if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
  as_dirname=dirname
else
  as_dirname=false
fi

as_me=`$as_basename -- "$0" ||
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
	 X"$0" : 'X\(//\)$' \| \
	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
$as_echo X/"$0" |
    sed '/^.*\/\([^/][^/]*\)\/*$/{
	    s//\1/
	    q
	  }
	  /^X\/\(\/\/\)$/{
	    s//\1/
	    q
	  }
	  /^X\/\(\/\).*/{
	    s//\1/
	    q
	  }
	  s/.*/./; q'`

# Avoid depending upon Character Ranges.
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
as_cr_digits='0123456789'
as_cr_alnum=$as_cr_Letters$as_cr_digits

ECHO_C= ECHO_N= ECHO_T=
case `echo -n x` in #(((((
-n*)
  case `echo 'xy\c'` in
  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
  xy)  ECHO_C='\c';;
  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
       ECHO_T='	';;
  esac;;
*)
  ECHO_N='-n';;
esac

rm -f conf$$ conf$$.exe conf$$.file
if test -d conf$$.dir; then
  rm -f conf$$.dir/conf$$.file
else
  rm -f conf$$.dir
  mkdir conf$$.dir 2>/dev/null
fi
if (echo >conf$$.file) 2>/dev/null; then
  if ln -s conf$$.file conf$$ 2>/dev/null; then
    as_ln_s='ln -s'
    # ... but there are two gotchas:
    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
    # In both cases, we have to default to `cp -p'.
    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
      as_ln_s='cp -p'
  elif ln conf$$.file conf$$ 2>/dev/null; then
    as_ln_s=ln
  else
    as_ln_s='cp -p'
  fi
else
  as_ln_s='cp -p'
fi
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
rmdir conf$$.dir 2>/dev/null


# as_fn_mkdir_p
# -------------
# Create "$as_dir" as a directory, including parents if necessary.
as_fn_mkdir_p ()
{

  case $as_dir in #(
  -*) as_dir=./$as_dir;;
  esac
  test -d "$as_dir" || eval $as_mkdir_p || {
    as_dirs=
    while :; do
      case $as_dir in #(
      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
      *) as_qdir=$as_dir;;
      esac
      as_dirs="'$as_qdir' $as_dirs"
      as_dir=`$as_dirname -- "$as_dir" ||
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
	 X"$as_dir" : 'X\(//\)[^/]' \| \
	 X"$as_dir" : 'X\(//\)$' \| \
	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
$as_echo X"$as_dir" |
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
	    s//\1/
	    q
	  }
	  /^X\(\/\/\)[^/].*/{
	    s//\1/
	    q
	  }
	  /^X\(\/\/\)$/{
	    s//\1/
	    q
	  }
	  /^X\(\/\).*/{
	    s//\1/
	    q
	  }
	  s/.*/./; q'`
      test -d "$as_dir" && break
    done
    test -z "$as_dirs" || eval "mkdir $as_dirs"
  } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"


} # as_fn_mkdir_p
if mkdir -p . 2>/dev/null; then
  as_mkdir_p='mkdir -p "$as_dir"'
else
  test -d ./-p && rmdir ./-p
  as_mkdir_p=false
fi

if test -x / >/dev/null 2>&1; then
  as_test_x='test -x'
else
  if ls -dL / >/dev/null 2>&1; then
    as_ls_L_option=L
  else
    as_ls_L_option=
  fi
  as_test_x='
    eval sh -c '\''
      if test -d "$1"; then
	test -d "$1/.";
      else
	case $1 in #(
	-*)set "./$1";;
	esac;
	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
	???[sx]*):;;*)false;;esac;fi
    '\'' sh
  '
fi
as_executable_p=$as_test_x

# Sed expression to map a string onto a valid CPP name.
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"

# Sed expression to map a string onto a valid variable name.
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"


exec 6>&1
## ----------------------------------- ##
## Main body of $CONFIG_STATUS script. ##
## ----------------------------------- ##
# Save the log message, to keep $0 and so on meaningful, and to
# report actual input values of CONFIG_FILES etc. instead of their
# values after options handling.
ac_log="
This file was extended by $as_me, which was
generated by GNU Autoconf 2.64.  Invocation command line was

  CONFIG_FILES    = $CONFIG_FILES
  CONFIG_HEADERS  = $CONFIG_HEADERS
  CONFIG_LINKS    = $CONFIG_LINKS
  CONFIG_COMMANDS = $CONFIG_COMMANDS
  $ $0 $@

on `(hostname || uname -n) 2>/dev/null | sed 1q`
"

# Files that config.status was made for.
config_files=" Makefile"

ac_cs_usage="\
\`$as_me' instantiates files and other configuration actions
from templates according to the current configuration.  Unless the files
and actions are specified as TAGs, all are instantiated by default.

Usage: $0 [OPTION]... [TAG]...

  -h, --help       print this help, then exit
  -V, --version    print version number and configuration settings, then exit
  -q, --quiet, --silent
                   do not print progress messages
  -d, --debug      don't remove temporary files
      --recheck    update $as_me by reconfiguring in the same conditions
      --file=FILE[:TEMPLATE]
                   instantiate the configuration file FILE

Configuration files:
$config_files

Report bugs to the package provider."

ac_cs_version="\
config.status
configured by ../src-7.2/configure, generated by GNU Autoconf 2.64,
  with options \"'--with-python=/build/toolchain/lin32/python-2.5' '--enable-64-bit-bfd' 'CFLAGS=-g -DVMWARE_VMKGDB' 'LDFLAGS=-Wl,-R/build/toolchain/lin32/ncurses-5.5/lib -Wl,-R/build/toolchain/lin32/expat-1.95.8/lib -Wl,-R/build/toolchain/lin32/python-2.5/lib -Wl,-R/build/toolchain/lin32/zlib-1.2.3-3/lib'\"

Copyright (C) 2009 Free Software Foundation, Inc.
This config.status script is free software; the Free Software Foundation
gives unlimited permission to copy, distribute and modify it."

ac_pwd='/home/prom/msnyder/build-7.2'
srcdir='../src-7.2'
INSTALL='/usr/bin/install -c'
AWK='gawk'
test -n "$AWK" || AWK=awk
# The default lists apply if the user does not specify any file.
ac_need_defaults=:
while test $# != 0
do
  case $1 in
  --*=*)
    ac_option=`expr "X$1" : 'X\([^=]*\)='`
    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
    ac_shift=:
    ;;
  *)
    ac_option=$1
    ac_optarg=$2
    ac_shift=shift
    ;;
  esac

  case $ac_option in
  # Handling of the options.
  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
    ac_cs_recheck=: ;;
  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
    $as_echo "$ac_cs_version"; exit ;;
  --debug | --debu | --deb | --de | --d | -d )
    debug=: ;;
  --file | --fil | --fi | --f )
    $ac_shift
    case $ac_optarg in
    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
    esac
    as_fn_append CONFIG_FILES " '$ac_optarg'"
    ac_need_defaults=false;;
  --he | --h |  --help | --hel | -h )
    $as_echo "$ac_cs_usage"; exit ;;
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
  | -silent | --silent | --silen | --sile | --sil | --si | --s)
    ac_cs_silent=: ;;

  # This is an error.
  -*) as_fn_error "unrecognized option: \`$1'
Try \`$0 --help' for more information." ;;

  *) as_fn_append ac_config_targets " $1"
     ac_need_defaults=false ;;

  esac
  shift
done

ac_configure_extra_args=

if $ac_cs_silent; then
  exec 6>/dev/null
  ac_configure_extra_args="$ac_configure_extra_args --silent"
fi

if $ac_cs_recheck; then
  set X '/bin/sh' '../src-7.2/configure'  '--with-python=/build/toolchain/lin32/python-2.5' '--enable-64-bit-bfd' 'CFLAGS=-g -DVMWARE_VMKGDB' 'LDFLAGS=-Wl,-R/build/toolchain/lin32/ncurses-5.5/lib -Wl,-R/build/toolchain/lin32/expat-1.95.8/lib -Wl,-R/build/toolchain/lin32/python-2.5/lib -Wl,-R/build/toolchain/lin32/zlib-1.2.3-3/lib' $ac_configure_extra_args --no-create --no-recursion
  shift
  $as_echo "running CONFIG_SHELL=/bin/sh $*" >&6
  CONFIG_SHELL='/bin/sh'
  export CONFIG_SHELL
  exec "$@"
fi

exec 5>>config.log
{
  echo
  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
## Running $as_me. ##
_ASBOX
  $as_echo "$ac_log"
} >&5

#
# INIT-COMMANDS
#
extrasub_build="
/^@if build-libiberty$/d
/^@endif build-libiberty$/d
/^@if build-libiberty-no-bootstrap$/d
/^@endif build-libiberty-no-bootstrap$/d"
   extrasub_host="
/^@if intl$/d
/^@endif intl$/d
/^@if intl-no-bootstrap$/d
/^@endif intl-no-bootstrap$/d
/^@if libiberty$/d
/^@endif libiberty$/d
/^@if libiberty-no-bootstrap$/d
/^@endif libiberty-no-bootstrap$/d
/^@if opcodes$/d
/^@endif opcodes$/d
/^@if opcodes-no-bootstrap$/d
/^@endif opcodes-no-bootstrap$/d
/^@if bfd$/d
/^@endif bfd$/d
/^@if bfd-no-bootstrap$/d
/^@endif bfd-no-bootstrap$/d
/^@if readline$/d
/^@endif readline$/d
/^@if readline-no-bootstrap$/d
/^@endif readline-no-bootstrap$/d
/^@if libdecnumber$/d
/^@endif libdecnumber$/d
/^@if libdecnumber-no-bootstrap$/d
/^@endif libdecnumber-no-bootstrap$/d
/^@if sim$/d
/^@endif sim$/d
/^@if sim-no-bootstrap$/d
/^@endif sim-no-bootstrap$/d
/^@if gdb$/d
/^@endif gdb$/d
/^@if gdb-no-bootstrap$/d
/^@endif gdb-no-bootstrap$/d
/^@if etc$/d
/^@endif etc$/d
/^@if etc-no-bootstrap$/d
/^@endif etc-no-bootstrap$/d"
   extrasub_target="
/^@if /,/^@endif /d"


# Handling of arguments.
for ac_config_target in $ac_config_targets
do
  case $ac_config_target in
    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;

  *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
  esac
done


# If the user did not use the arguments to specify the items to instantiate,
# then the envvar interface is used.  Set only those that are not.
# We use the long form for the default assignment because of an extremely
# bizarre bug on SunOS 4.1.3.
if $ac_need_defaults; then
  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
fi

# Have a temporary directory for convenience.  Make it in the build tree
# simply because there is no reason against having it here, and in addition,
# creating and moving files from /tmp can sometimes cause problems.
# Hook for its removal unless debugging.
# Note that there is a small window in which the directory will not be cleaned:
# after its creation but before its name has been assigned to `$tmp'.
$debug ||
{
  tmp=
  trap 'exit_status=$?
  { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
' 0
  trap 'as_fn_exit 1' 1 2 13 15
}
# Create a (secure) tmp directory for tmp files.

{
  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
  test -n "$tmp" && test -d "$tmp"
}  ||
{
  tmp=./conf$$-$RANDOM
  (umask 077 && mkdir "$tmp")
} || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5

# Set up the scripts for CONFIG_FILES section.
# No need to generate them if there are no CONFIG_FILES.
# This happens for instance with `./config.status config.h'.
if test -n "$CONFIG_FILES"; then

if $AWK 'BEGIN { getline <"/dev/null" }' </dev/null 2>/dev/null; then
  ac_cs_awk_getline=:
  ac_cs_awk_pipe_init=
  ac_cs_awk_read_file='
      while ((getline aline < (F[key])) > 0)
	print(aline)
      close(F[key])'
  ac_cs_awk_pipe_fini=
else
  ac_cs_awk_getline=false
  ac_cs_awk_pipe_init="print \"cat <<'|#_!!_#|' &&\""
  ac_cs_awk_read_file='
      print "|#_!!_#|"
      print "cat " F[key] " &&"
      '$ac_cs_awk_pipe_init
  # The final `:' finishes the AND list.
  ac_cs_awk_pipe_fini='END { print "|#_!!_#|"; print ":" }'
fi
ac_cr=`echo X | tr X '\015'`
# On cygwin, bash can eat \r inside `` if the user requested igncr.
# But we know of no other shell where ac_cr would be empty at this
# point, so we can use a bashism as a fallback.
if test "x$ac_cr" = x; then
  eval ac_cr=\$\'\\r\'
fi
ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
  ac_cs_awk_cr='\r'
else
  ac_cs_awk_cr=$ac_cr
fi

echo 'BEGIN {' >"$tmp/subs1.awk" &&
cat >>"$tmp/subs1.awk" <<\_ACAWK &&
F["serialization_dependencies"]="serdep.tmp"
F["host_makefile_frag"]="../src-7.2/config/mh-x86omitfp"
F["target_makefile_frag"]="../src-7.2/config/mt-gnu"
F["alphaieee_frag"]="/dev/null"
F["ospace_frag"]="/dev/null"
_ACAWK
cat >>"$tmp/subs1.awk" <<\_ACAWK &&
S["LTLIBOBJS"]=""
S["LIBOBJS"]=""
S["compare_exclusions"]="gcc/cc*-checksum$(objext) | gcc/ada/*tools/*"
S["stage2_werror_flag"]=""
S["stage1_checking"]="--enable-checking=yes,types"
S["stage1_cflags"]="-g -fkeep-inline-functions"
S["MAINT"]="#"
S["MAINTAINER_MODE_FALSE"]=""
S["MAINTAINER_MODE_TRUE"]="#"
S["COMPILER_NM_FOR_TARGET"]="$(NM_FOR_TARGET)"
S["COMPILER_LD_FOR_TARGET"]="$(LD_FOR_TARGET)"
S["COMPILER_AS_FOR_TARGET"]="$(AS_FOR_TARGET)"
S["FLAGS_FOR_TARGET"]=""
S["RAW_CXX_FOR_TARGET"]="$(CXX)"
S["WINDMC_FOR_TARGET"]="$(WINDMC)"
S["WINDRES_FOR_TARGET"]="$(WINDRES)"
S["STRIP_FOR_TARGET"]="$(STRIP)"
S["RANLIB_FOR_TARGET"]="$(RANLIB)"
S["OBJDUMP_FOR_TARGET"]="$(OBJDUMP)"
S["NM_FOR_TARGET"]="$(NM)"
S["LIPO_FOR_TARGET"]="$(LIPO)"
S["LD_FOR_TARGET"]="$(LD)"
S["DLLTOOL_FOR_TARGET"]="$(DLLTOOL)"
S["AS_FOR_TARGET"]="$(AS)"
S["AR_FOR_TARGET"]="$(AR)"
S["GFORTRAN_FOR_TARGET"]="$(GFORTRAN)"
S["GCJ_FOR_TARGET"]="$(GCJ)"
S["GCC_FOR_TARGET"]="$()"
S["CXX_FOR_TARGET"]="$(CXX)"
S["CC_FOR_TARGET"]="$(CC)"
S["OBJDUMP"]="objdump"
S["OBJCOPY"]="objcopy"
S["WINDMC"]="windmc"
S["WINDRES"]="windres"
S["STRIP"]="strip"
S["RANLIB"]="ranlib"
S["NM"]="nm"
S["LIPO"]="lipo"
S["LD"]="ld"
S["DLLTOOL"]="dlltool"
S["AS"]="as"
S["AR"]="ar"
S["RUNTEST"]="runtest"
S["EXPECT"]="expect"
S["MAKEINFO"]="makeinfo"
S["FLEX"]="flex"
S["LEX"]="flex"
S["M4"]="m4"
S["BISON"]="bison"
S["YACC"]="bison -y"
S["config_shell"]="/bin/sh"
S["WINDRES_FOR_BUILD"]="$(WINDRES)"
S["WINDMC_FOR_BUILD"]="$(WINDMC)"
S["RANLIB_FOR_BUILD"]="$(RANLIB)"
S["NM_FOR_BUILD"]="$(NM)"
S["LD_FOR_BUILD"]="$(LD)"
S["LDFLAGS_FOR_BUILD"]="-Wl,-R/build/toolchain/lin32/ncurses-5.5/lib -Wl,-R/build/toolchain/lin32/expat-1.95.8/lib -Wl,-R/build/toolchain/lin32/python-2.5/lib -Wl,-R/build/"\
"toolchain/lin32/zlib-1.2.3-3/lib"
S["GFORTRAN_FOR_BUILD"]="$(GFORTRAN)"
S["GCJ_FOR_BUILD"]="$(GCJ)"
S["DLLTOOL_FOR_BUILD"]="$(DLLTOOL)"
S["CXX_FOR_BUILD"]="$(CXX)"
S["CXXFLAGS_FOR_BUILD"]="-g -O2"
S["CFLAGS_FOR_BUILD"]="-g -DVMWARE_VMKGDB"
S["CC_FOR_BUILD"]="$(CC)"
S["AS_FOR_BUILD"]="$(AS)"
S["AR_FOR_BUILD"]="$(AR)"
S["target_configargs"]="--cache-file=./config.cache --enable-multilib '--with-python=/build/toolchain/lin32/python-2.5' '--enable-64-bit-bfd' --program-transform-name='s,y,"\
"y,' --disable-option-checking"
S["target_configdirs"]=""
S["configdirs"]=" intl libiberty opcodes bfd readline libdecnumber sim gdb etc"
S["host_configargs"]="--cache-file=./config.cache  --with-system-zlib '--with-python=/build/toolchain/lin32/python-2.5' '--enable-64-bit-bfd' --program-transform-name='s,"\
"y,y,' --disable-option-checking"
S["build_configdirs"]=" libiberty"
S["build_configargs"]="--cache-file=../config.cache '--with-python=/build/toolchain/lin32/python-2.5' '--enable-64-bit-bfd' --program-transform-name='s,y,y,' --disable-opt"\
"ion-checking"
S["INSTALL_GDB_TK"]=""
S["GDB_TK"]=""
S["CONFIGURE_GDB_TK"]=""
S["build_tooldir"]="${exec_prefix}/i686-pc-linux-gnu"
S["tooldir"]="${exec_prefix}/i686-pc-linux-gnu"
S["GCC_SHLIB_SUBDIR"]=""
S["RPATH_ENVVAR"]="LD_LIBRARY_PATH"
S["BUILD_CONFIG"]=""
S["CXXFLAGS_FOR_TARGET"]="-g -O2"
S["CFLAGS_FOR_TARGET"]="-O2 -g -DVMWARE_VMKGDB"
S["DEBUG_PREFIX_CFLAGS_FOR_TARGET"]=""
S["SYSROOT_CFLAGS_FOR_TARGET"]=""
S["stage1_languages"]=",c,"
S["extra_host_libiberty_configure_flags"]=""
S["libelfinc"]="-I/usr/include/libelf"
S["libelflibs"]="-lelf"
S["EGREP"]="/bin/grep -E"
S["GREP"]="/bin/grep"
S["CPP"]="gcc -E"
S["clooginc"]=""
S["clooglibs"]=""
S["pplinc"]=""
S["ppllibs"]=""
S["poststage1_ldflags"]=""
S["poststage1_libs"]=""
S["stage1_libs"]=""
S["stage1_ldflags"]=""
S["extra_mpc_mpfr_configure_flags"]=""
S["extra_mpc_gmp_configure_flags"]=""
S["extra_mpfr_configure_flags"]=""
S["gmpinc"]=""
S["gmplibs"]="-lmpc -lmpfr -lgmp"
S["do_compare"]="cmp --ignore-initial=16 $$f1 $$f2"
S["GNATMAKE"]="no"
S["GNATBIND"]="no"
S["ac_ct_CXX"]="g++"
S["CXXFLAGS"]="-g -O2"
S["CXX"]="g++"
S["OBJEXT"]="o"
S["EXEEXT"]=""
S["ac_ct_CC"]="gcc"
S["CPPFLAGS"]=""
S["LDFLAGS"]="-Wl,-R/build/toolchain/lin32/ncurses-5.5/lib -Wl,-R/build/toolchain/lin32/expat-1.95.8/lib -Wl,-R/build/toolchain/lin32/python-2.5/lib -Wl,-R/build/"\
"toolchain/lin32/zlib-1.2.3-3/lib"
S["CFLAGS"]="-g -DVMWARE_VMKGDB"
S["CC"]="gcc"
S["target_subdir"]="i686-pc-linux-gnu"
S["host_subdir"]="."
S["build_subdir"]="build-i686-pc-linux-gnu"
S["build_libsubdir"]="build-i686-pc-linux-gnu"
S["AWK"]="gawk"
S["SED"]="/bin/sed"
S["LN_S"]="ln -s"
S["LN"]="ln"
S["INSTALL_DATA"]="${INSTALL} -m 644"
S["INSTALL_SCRIPT"]="${INSTALL}"
S["INSTALL_PROGRAM"]="${INSTALL}"
S["target_os"]="linux-gnu"
S["target_vendor"]="pc"
S["target_cpu"]="i686"
S["target"]="i686-pc-linux-gnu"
S["host_os"]="linux-gnu"
S["host_vendor"]="pc"
S["host_cpu"]="i686"
S["host"]="i686-pc-linux-gnu"
S["target_noncanonical"]="i686-pc-linux-gnu"
S["host_noncanonical"]="i686-pc-linux-gnu"
S["build_noncanonical"]="i686-pc-linux-gnu"
S["build_os"]="linux-gnu"
S["build_vendor"]="pc"
S["build_cpu"]="i686"
S["build"]="i686-pc-linux-gnu"
S["TOPLEVEL_CONFIGURE_ARGUMENTS"]="../src-7.2/configure --with-python=/build/toolchain/lin32/python-2.5 --enable-64-bit-bfd"
S["target_alias"]=""
S["host_alias"]=""
S["build_alias"]=""
S["LIBS"]=""
S["ECHO_T"]=""
S["ECHO_N"]="-n"
S["ECHO_C"]=""
S["DEFS"]="-DPACKAGE_NAME=\\\"\\\" -DPACKAGE_TARNAME=\\\"\\\" -DPACKAGE_VERSION=\\\"\\\" -DPACKAGE_STRING=\\\"\\\" -DPACKAGE_BUGREPORT=\\\"\\\" -DPACKAGE_URL=\\\"\\\" -DLT_OBJDIR=\\\".l"\
"ibs/\\\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INT"\
"TYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_LIBELF_H=1 -DHAVE_GELF_H=1"
S["mandir"]="${datarootdir}/man"
S["localedir"]="${datarootdir}/locale"
S["libdir"]="${exec_prefix}/lib"
S["psdir"]="${docdir}"
S["pdfdir"]="${docdir}"
S["dvidir"]="${docdir}"
S["htmldir"]="${docdir}"
S["infodir"]="${datarootdir}/info"
S["docdir"]="${datarootdir}/doc/${PACKAGE}"
S["oldincludedir"]="/usr/include"
S["includedir"]="${prefix}/include"
S["localstatedir"]="${prefix}/var"
S["sharedstatedir"]="${prefix}/com"
S["sysconfdir"]="${prefix}/etc"
S["datadir"]="${datarootdir}"
S["datarootdir"]="${prefix}/share"
S["libexecdir"]="${exec_prefix}/libexec"
S["sbindir"]="${exec_prefix}/sbin"
S["bindir"]="${exec_prefix}/bin"
S["program_transform_name"]="s,y,y,"
S["prefix"]="/usr/local"
S["exec_prefix"]="${prefix}"
S["PACKAGE_URL"]=""
S["PACKAGE_BUGREPORT"]=""
S["PACKAGE_STRING"]=""
S["PACKAGE_VERSION"]=""
S["PACKAGE_TARNAME"]=""
S["PACKAGE_NAME"]=""
S["PATH_SEPARATOR"]=":"
S["SHELL"]="/bin/sh"
_ACAWK
cat >>"$tmp/subs1.awk" <<_ACAWK &&
  for (key in S) S_is_set[key] = 1
  FS = "\a"
  $ac_cs_awk_pipe_init
}
{
  line = $ 0
  nfields = split(line, field, "@")
  substed = 0
  len = length(field[1])
  for (i = 2; i < nfields; i++) {
    key = field[i]
    keylen = length(key)
    if (S_is_set[key]) {
      value = S[key]
      line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
      len += length(value) + length(field[++i])
      substed = 1
    } else
      len += 1 + keylen
  }
  if (nfields == 3 && !substed) {
    key = field[2]
    if (F[key] != "" && line ~ /^[	 ]*@.*@[	 ]*$/) {
      $ac_cs_awk_read_file
      next
    }
  }
  print line
}
$ac_cs_awk_pipe_fini
_ACAWK
if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
else
  cat
fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
  || as_fn_error "could not setup config files machinery" "$LINENO" 5
fi # test -n "$CONFIG_FILES"


eval set X "  :F $CONFIG_FILES      "
shift
for ac_tag
do
  case $ac_tag in
  :[FHLC]) ac_mode=$ac_tag; continue;;
  esac
  case $ac_mode$ac_tag in
  :[FHL]*:*);;
  :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
  :[FH]-) ac_tag=-:-;;
  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
  esac
  ac_save_IFS=$IFS
  IFS=:
  set x $ac_tag
  IFS=$ac_save_IFS
  shift
  ac_file=$1
  shift

  case $ac_mode in
  :L) ac_source=$1;;
  :[FH])
    ac_file_inputs=
    for ac_f
    do
      case $ac_f in
      -) ac_f="$tmp/stdin";;
      *) # Look for the file first in the build tree, then in the source tree
	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
	 # because $ac_f cannot contain `:'.
	 test -f "$ac_f" ||
	   case $ac_f in
	   [\\/$]*) false;;
	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
	   esac ||
	   as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
      esac
      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
      as_fn_append ac_file_inputs " '$ac_f'"
    done

    # Let's still pretend it is `configure' which instantiates (i.e., don't
    # use $as_me), people would be surprised to read:
    #    /* config.h.  Generated by config.status.  */
    configure_input='Generated from '`
	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
	`' by configure.'
    if test x"$ac_file" != x-; then
      configure_input="$ac_file.  $configure_input"
      { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
$as_echo "$as_me: creating $ac_file" >&6;}
    fi
    # Neutralize special characters interpreted by sed in replacement strings.
    case $configure_input in #(
    *\&* | *\|* | *\\* )
       ac_sed_conf_input=`$as_echo "$configure_input" |
       sed 's/[\\\\&|]/\\\\&/g'`;; #(
    *) ac_sed_conf_input=$configure_input;;
    esac

    case $ac_tag in
    *:-:* | *:-) cat >"$tmp/stdin" \
      || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
    esac
    ;;
  esac

  ac_dir=`$as_dirname -- "$ac_file" ||
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
	 X"$ac_file" : 'X\(//\)[^/]' \| \
	 X"$ac_file" : 'X\(//\)$' \| \
	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
$as_echo X"$ac_file" |
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
	    s//\1/
	    q
	  }
	  /^X\(\/\/\)[^/].*/{
	    s//\1/
	    q
	  }
	  /^X\(\/\/\)$/{
	    s//\1/
	    q
	  }
	  /^X\(\/\).*/{
	    s//\1/
	    q
	  }
	  s/.*/./; q'`
  as_dir="$ac_dir"; as_fn_mkdir_p
  ac_builddir=.

case "$ac_dir" in
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
*)
  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
  # A ".." for each directory in $ac_dir_suffix.
  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
  case $ac_top_builddir_sub in
  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
  esac ;;
esac
ac_abs_top_builddir=$ac_pwd
ac_abs_builddir=$ac_pwd$ac_dir_suffix
# for backward compatibility:
ac_top_builddir=$ac_top_build_prefix

case $srcdir in
  .)  # We are building in place.
    ac_srcdir=.
    ac_top_srcdir=$ac_top_builddir_sub
    ac_abs_top_srcdir=$ac_pwd ;;
  [\\/]* | ?:[\\/]* )  # Absolute name.
    ac_srcdir=$srcdir$ac_dir_suffix;
    ac_top_srcdir=$srcdir
    ac_abs_top_srcdir=$srcdir ;;
  *) # Relative name.
    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
    ac_top_srcdir=$ac_top_build_prefix$srcdir
    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
esac
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix


  case $ac_mode in
  :F)
  #
  # CONFIG_FILE
  #

  case $INSTALL in
  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
  *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
  esac
# If the template does not know about datarootdir, expand it.
# FIXME: This hack should be removed a few years after 2.60.
ac_datarootdir_hack=; ac_datarootdir_seen=
ac_sed_dataroot='
/datarootdir/ {
  p
  q
}
/@datadir@/p
/@docdir@/p
/@infodir@/p
/@localedir@/p
/@mandir@/p'
case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
*datarootdir*) ac_datarootdir_seen=yes;;
*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
  ac_datarootdir_hack='
  s&@datadir@&${datarootdir}&g
  s&@docdir@&${datarootdir}/doc/${PACKAGE}&g
  s&@infodir@&${datarootdir}/info&g
  s&@localedir@&${datarootdir}/locale&g
  s&@mandir@&${datarootdir}/man&g
  s&\${datarootdir}&${prefix}/share&g' ;;
esac
ac_sed_extra="

:t
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
s|@configure_input@|$ac_sed_conf_input|;t t
s&@top_builddir@&$ac_top_builddir_sub&;t t
s&@top_build_prefix@&$ac_top_build_prefix&;t t
s&@srcdir@&$ac_srcdir&;t t
s&@abs_srcdir@&$ac_abs_srcdir&;t t
s&@top_srcdir@&$ac_top_srcdir&;t t
s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
s&@builddir@&$ac_builddir&;t t
s&@abs_builddir@&$ac_abs_builddir&;t t
s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
s&@INSTALL@&$ac_INSTALL&;t t
$ac_datarootdir_hack
"
eval sed \"\$ac_sed_extra\" "$ac_file_inputs" |
if $ac_cs_awk_getline; then
  $AWK -f "$tmp/subs.awk"
else
  $AWK -f "$tmp/subs.awk" | $SHELL
fi >$tmp/out \
  || as_fn_error "could not create $ac_file" "$LINENO" 5

test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
  { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
  { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
which seems to be undefined.  Please make sure it is defined." >&5
$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
which seems to be undefined.  Please make sure it is defined." >&2;}

  rm -f "$tmp/stdin"
  case $ac_file in
  -) cat "$tmp/out" && rm -f "$tmp/out";;
  *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
  esac \
  || as_fn_error "could not create $ac_file" "$LINENO" 5
 ;;



  esac


  case $ac_file$ac_mode in
    "Makefile":F) sed "$extrasub_build" Makefile |
   sed "$extrasub_host" |
   sed "$extrasub_target" > mf$$
   mv -f mf$$ Makefile ;;

  esac
done # for ac_tag


as_fn_exit 0

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2.1.3: config.log --]
[-- Type: text/x-log; name="config.log", Size: 96108 bytes --]

This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

It was created by configure, which was
generated by GNU Autoconf 2.64.  Invocation command line was

  $ /home/prom/msnyder/src-7.2/gdb/configure --cache-file=./config.cache --with-system-zlib --with-python=/build/toolchain/lin32/python-2.5 --enable-64-bit-bfd --program-transform-name=s,y,y, --disable-option-checking --build=i686-pc-linux-gnu --host=i686-pc-linux-gnu --target=i686-pc-linux-gnu --srcdir=../../src-7.2/gdb

## --------- ##
## Platform. ##
## --------- ##

hostname = chene-rhat5-vm-6
uname -m = i686
uname -r = 2.6.18-8.el5
uname -s = Linux
uname -v = #1 SMP Fri Jan 26 14:15:21 EST 2007

/usr/bin/uname -p = unknown
/bin/uname -X     = unknown

/bin/arch              = i686
/usr/bin/arch -k       = unknown
/usr/convex/getsysinfo = unknown
/usr/bin/hostinfo      = unknown
/bin/machine           = unknown
/usr/bin/oslevel       = unknown
/bin/universe          = unknown

PATH: /home/prom/opt/bin
PATH: /build/trees/bin
PATH: /sbin/
PATH: /usr/sbin
PATH: /usr/kerberos/bin
PATH: /usr/local/bin
PATH: /usr/bin
PATH: /bin
PATH: /usr/X11R6/bin
PATH: /home/prom/bin


## ----------- ##
## Core tests. ##
## ----------- ##

configure:2730: creating cache ./config.cache
configure:2816: checking whether to enable maintainer-specific portions of Makefiles
configure:2825: result: no
configure:2847: checking for i686-pc-linux-gnu-gcc
configure:2874: result: gcc
configure:3143: checking for C compiler version
configure:3152: gcc --version >&5
gcc (GCC) 4.1.1 20070105 (Red Hat 4.1.1-52)
Copyright (C) 2006 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

configure:3163: $? = 0
configure:3152: gcc -v >&5
Using built-in specs.
Target: i386-redhat-linux
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --enable-shared --enable-threads=posix --enable-checking=release --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-libgcj-multifile --enable-languages=c,c++,objc,obj-c++,java,fortran,ada --enable-java-awt=gtk --disable-dssi --enable-plugin --with-java-home=/usr/lib/jvm/java-1.4.2-gcj-1.4.2.0/jre --with-cpu=generic --host=i386-redhat-linux
Thread model: posix
gcc version 4.1.1 20070105 (Red Hat 4.1.1-52)
configure:3163: $? = 0
configure:3152: gcc -V >&5
gcc: '-V' option must have argument
configure:3163: $? = 1
configure:3152: gcc -qversion >&5
gcc: unrecognized option '-qversion'
gcc: no input files
configure:3163: $? = 1
configure:3183: checking for C compiler default output file name
configure:3205: gcc -g -DVMWARE_VMKGDB   -Wl,-R/build/toolchain/lin32/ncurses-5.5/lib -Wl,-R/build/toolchain/lin32/expat-1.95.8/lib -Wl,-R/build/toolchain/lin32/python-2.5/lib -Wl,-R/build/toolchain/lin32/zlib-1.2.3-3/lib conftest.c  >&5
configure:3209: $? = 0
configure:3246: result: a.out
configure:3262: checking whether the C compiler works
configure:3271: ./a.out
configure:3275: $? = 0
configure:3290: result: yes
configure:3297: checking whether we are cross compiling
configure:3299: result: no
configure:3302: checking for suffix of executables
configure:3309: gcc -o conftest -g -DVMWARE_VMKGDB   -Wl,-R/build/toolchain/lin32/ncurses-5.5/lib -Wl,-R/build/toolchain/lin32/expat-1.95.8/lib -Wl,-R/build/toolchain/lin32/python-2.5/lib -Wl,-R/build/toolchain/lin32/zlib-1.2.3-3/lib conftest.c  >&5
configure:3313: $? = 0
configure:3335: result: 
configure:3341: checking for suffix of object files
configure:3363: gcc -c -g -DVMWARE_VMKGDB  conftest.c >&5
configure:3367: $? = 0
configure:3388: result: o
configure:3392: checking whether we are using the GNU C compiler
configure:3411: gcc -c -g -DVMWARE_VMKGDB  conftest.c >&5
configure:3411: $? = 0
configure:3420: result: yes
configure:3429: checking whether gcc accepts -g
configure:3449: gcc -c -g  conftest.c >&5
configure:3449: $? = 0
configure:3490: result: yes
configure:3507: checking for gcc option to accept ISO C89
configure:3571: gcc  -c -g -DVMWARE_VMKGDB  conftest.c >&5
configure:3571: $? = 0
configure:3584: result: none needed
configure:3631: checking build system type
configure:3645: result: i686-pc-linux-gnu
configure:3665: checking host system type
configure:3678: result: i686-pc-linux-gnu
configure:3704: checking how to run the C preprocessor
configure:3735: gcc -E  conftest.c
configure:3735: $? = 0
configure:3749: gcc -E  conftest.c
conftest.c:9:28: error: ac_nonexistent.h: No such file or directory
configure:3749: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| /* end confdefs.h.  */
| #include <ac_nonexistent.h>
configure:3774: result: gcc -E
configure:3794: gcc -E  conftest.c
configure:3794: $? = 0
configure:3808: gcc -E  conftest.c
conftest.c:9:28: error: ac_nonexistent.h: No such file or directory
configure:3808: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| /* end confdefs.h.  */
| #include <ac_nonexistent.h>
configure:3837: checking for grep that handles long lines and -e
configure:3895: result: /bin/grep
configure:3900: checking for egrep
configure:3962: result: /bin/grep -E
configure:3967: checking for ANSI C header files
configure:3987: gcc -c -g -DVMWARE_VMKGDB  conftest.c >&5
configure:3987: $? = 0
configure:4060: gcc -o conftest -g -DVMWARE_VMKGDB   -Wl,-R/build/toolchain/lin32/ncurses-5.5/lib -Wl,-R/build/toolchain/lin32/expat-1.95.8/lib -Wl,-R/build/toolchain/lin32/python-2.5/lib -Wl,-R/build/toolchain/lin32/zlib-1.2.3-3/lib conftest.c  >&5
configure:4060: $? = 0
configure:4060: ./conftest
configure:4060: $? = 0
configure:4071: result: yes
configure:4084: checking for sys/types.h
configure:4084: gcc -c -g -DVMWARE_VMKGDB  conftest.c >&5
configure:4084: $? = 0
configure:4084: result: yes
configure:4084: checking for sys/stat.h
configure:4084: gcc -c -g -DVMWARE_VMKGDB  conftest.c >&5
configure:4084: $? = 0
configure:4084: result: yes
configure:4084: checking for stdlib.h
configure:4084: gcc -c -g -DVMWARE_VMKGDB  conftest.c >&5
configure:4084: $? = 0
configure:4084: result: yes
configure:4084: checking for string.h
configure:4084: gcc -c -g -DVMWARE_VMKGDB  conftest.c >&5
configure:4084: $? = 0
configure:4084: result: yes
configure:4084: checking for memory.h
configure:4084: gcc -c -g -DVMWARE_VMKGDB  conftest.c >&5
configure:4084: $? = 0
configure:4084: result: yes
configure:4084: checking for strings.h
configure:4084: gcc -c -g -DVMWARE_VMKGDB  conftest.c >&5
configure:4084: $? = 0
configure:4084: result: yes
configure:4084: checking for inttypes.h
configure:4084: gcc -c -g -DVMWARE_VMKGDB  conftest.c >&5
configure:4084: $? = 0
configure:4084: result: yes
configure:4084: checking for stdint.h
configure:4084: gcc -c -g -DVMWARE_VMKGDB  conftest.c >&5
configure:4084: $? = 0
configure:4084: result: yes
configure:4084: checking for unistd.h
configure:4084: gcc -c -g -DVMWARE_VMKGDB  conftest.c >&5
configure:4084: $? = 0
configure:4084: result: yes
configure:4100: checking minix/config.h usability
configure:4100: gcc -c -g -DVMWARE_VMKGDB  conftest.c >&5
conftest.c:52:26: error: minix/config.h: No such file or directory
configure:4100: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| /* end confdefs.h.  */
| #include <stdio.h>
| #ifdef HAVE_SYS_TYPES_H
| # include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_STAT_H
| # include <sys/stat.h>
| #endif
| #ifdef STDC_HEADERS
| # include <stdlib.h>
| # include <stddef.h>
| #else
| # ifdef HAVE_STDLIB_H
| #  include <stdlib.h>
| # endif
| #endif
| #ifdef HAVE_STRING_H
| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
| #  include <memory.h>
| # endif
| # include <string.h>
| #endif
| #ifdef HAVE_STRINGS_H
| # include <strings.h>
| #endif
| #ifdef HAVE_INTTYPES_H
| # include <inttypes.h>
| #endif
| #ifdef HAVE_STDINT_H
| # include <stdint.h>
| #endif
| #ifdef HAVE_UNISTD_H
| # include <unistd.h>
| #endif
| #include <minix/config.h>
configure:4100: result: no
configure:4100: checking minix/config.h presence
configure:4100: gcc -E  conftest.c
conftest.c:19:26: error: minix/config.h: No such file or directory
configure:4100: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| /* end confdefs.h.  */
| #include <minix/config.h>
configure:4100: result: no
configure:4100: checking for minix/config.h
configure:4100: result: no
configure:4129: checking whether it is safe to define __EXTENSIONS__
configure:4147: gcc -c -g -DVMWARE_VMKGDB  conftest.c >&5
configure:4147: $? = 0
configure:4154: result: yes
configure:4171: checking for i686-pc-linux-gnu-ranlib
configure:4198: result: ranlib
configure:4283: checking target system type
configure:4296: result: i686-pc-linux-gnu
configure:4365: checking for special C compiler options needed for large files
configure:4410: result: no
configure:4416: checking for _FILE_OFFSET_BITS value needed for large files
configure:4441: gcc -c -g -DVMWARE_VMKGDB  conftest.c >&5
conftest.c:30: warning: left shift count >= width of type
conftest.c:30: warning: left shift count >= width of type
conftest.c:32: error: size of array 'off_t_is_large' is negative
configure:4441: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define __EXTENSIONS__ 1
| #define _ALL_SOURCE 1
| #define _GNU_SOURCE 1
| #define _POSIX_PTHREAD_SEMANTICS 1
| #define _TANDEM_SOURCE 1
| /* end confdefs.h.  */
| #include <sys/types.h>
|  /* Check that off_t can represent 2**63 - 1 correctly.
|     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 << 62) - 1 + ((off_t) 1 << 62))
|   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
| 		       && LARGE_OFF_T % 2147483647 == 1)
| 		      ? 1 : -1];
| int
| main ()
| {
| 
|   ;
|   return 0;
| }
configure:4465: gcc -c -g -DVMWARE_VMKGDB  conftest.c >&5
configure:4465: $? = 0
configure:4473: result: 64
configure:4560: checking for gcc option to accept ANSI C
configure:4618: gcc  -c -g -DVMWARE_VMKGDB  conftest.c >&5
configure:4618: $? = 0
configure:4628: result: none needed
configure:4683: checking dependency style of gcc
configure:4714: trying gcc3
| depmode=gcc3 source=sub/conftest.c object=sub/conftest.o depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo /bin/sh ./depcomp gcc -c -o sub/conftest.o sub/conftest.c
configure:4753: success
configure:4768: result: gcc3
configure:4782: checking for make
configure:4809: result: make
configure:4834: checking whether make sets $(MAKE)
configure:4856: result: yes
configure:4890: checking whether NLS is requested
configure:4896: result: yes
configure:4902: checking for catalogs to be installed
configure:4934: result: 
configure:4972: checking sys/mman.h usability
configure:4972: gcc -c -g -DVMWARE_VMKGDB  conftest.c >&5
configure:4972: $? = 0
configure:4972: result: yes
configure:4972: checking sys/mman.h presence
configure:4972: gcc -E  conftest.c
configure:4972: $? = 0
configure:4972: result: yes
configure:4972: checking for sys/mman.h
configure:4972: result: yes
configure:4972: checking stddef.h usability
configure:4972: gcc -c -g -DVMWARE_VMKGDB  conftest.c >&5
configure:4972: $? = 0
configure:4972: result: yes
configure:4972: checking stddef.h presence
configure:4972: gcc -E  conftest.c
configure:4972: $? = 0
configure:4972: result: yes
configure:4972: checking for stddef.h
configure:4972: result: yes
configure:4972: checking for stdint.h
configure:4972: result: yes
configure:4972: checking wchar.h usability
configure:4972: gcc -c -g -DVMWARE_VMKGDB  conftest.c >&5
configure:4972: $? = 0
configure:4972: result: yes
configure:4972: checking wchar.h presence
configure:4972: gcc -E  conftest.c
configure:4972: $? = 0
configure:4972: result: yes
configure:4972: checking for wchar.h
configure:4972: result: yes
configure:4972: checking for string.h
configure:4972: result: yes
configure:4994: checking for mprotect
configure:4994: gcc -o conftest -g -DVMWARE_VMKGDB   -Wl,-R/build/toolchain/lin32/ncurses-5.5/lib -Wl,-R/build/toolchain/lin32/expat-1.95.8/lib -Wl,-R/build/toolchain/lin32/python-2.5/lib -Wl,-R/build/toolchain/lin32/zlib-1.2.3-3/lib conftest.c  >&5
configure:4994: $? = 0
configure:4994: result: yes
configure:4994: checking for memchr
configure:4994: gcc -o conftest -g -DVMWARE_VMKGDB   -Wl,-R/build/toolchain/lin32/ncurses-5.5/lib -Wl,-R/build/toolchain/lin32/expat-1.95.8/lib -Wl,-R/build/toolchain/lin32/python-2.5/lib -Wl,-R/build/toolchain/lin32/zlib-1.2.3-3/lib conftest.c  >&5
configure:4994: $? = 0
configure:4994: result: yes
configure:5090: checking for mmap
configure:5090: gcc -o conftest -g -DVMWARE_VMKGDB   -Wl,-R/build/toolchain/lin32/ncurses-5.5/lib -Wl,-R/build/toolchain/lin32/expat-1.95.8/lib -Wl,-R/build/toolchain/lin32/python-2.5/lib -Wl,-R/build/toolchain/lin32/zlib-1.2.3-3/lib conftest.c  >&5
configure:5090: $? = 0
configure:5090: result: yes
configure:5101: checking for MAP_ANONYMOUS
configure:5138: result: yes
configure:5178: checking whether memchr works
configure:5238: gcc -o conftest -g -DVMWARE_VMKGDB   -Wl,-R/build/toolchain/lin32/ncurses-5.5/lib -Wl,-R/build/toolchain/lin32/expat-1.95.8/lib -Wl,-R/build/toolchain/lin32/python-2.5/lib -Wl,-R/build/toolchain/lin32/zlib-1.2.3-3/lib conftest.c  >&5
configure:5238: $? = 0
configure:5238: ./conftest
configure:5238: $? = 0
configure:5248: result: yes
configure:5284: checking whether memmem is declared
configure:5284: gcc -c -g -DVMWARE_VMKGDB  conftest.c >&5
configure:5284: $? = 0
configure:5284: result: yes
configure:5310: checking for memmem
configure:5310: gcc -o conftest -g -DVMWARE_VMKGDB   -Wl,-R/build/toolchain/lin32/ncurses-5.5/lib -Wl,-R/build/toolchain/lin32/expat-1.95.8/lib -Wl,-R/build/toolchain/lin32/python-2.5/lib -Wl,-R/build/toolchain/lin32/zlib-1.2.3-3/lib conftest.c  >&5
configure:5310: $? = 0
configure:5310: result: yes
configure:5346: gcc -c -g -DVMWARE_VMKGDB  conftest.c >&5
conftest.c:37: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'a'
configure:5346: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define __EXTENSIONS__ 1
| #define _ALL_SOURCE 1
| #define _GNU_SOURCE 1
| #define _POSIX_PTHREAD_SEMANTICS 1
| #define _TANDEM_SOURCE 1
| #define _FILE_OFFSET_BITS 64
| #define ENABLE_NLS 1
| #define HAVE_SYS_MMAN_H 1
| #define HAVE_STDDEF_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_WCHAR_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MPROTECT 1
| #define HAVE_MEMCHR 1
| #define HAVE_MAP_ANONYMOUS 1
| #define HAVE_DECL_MEMMEM 1
| #define HAVE_MEMMEM 1
| /* end confdefs.h.  */
| #ifndef __APPLE_CC__
|          not a universal capable compiler
|         #endif
|         typedef int dummy;
| 
configure:5387: checking for wchar_t
configure:5404: gcc -c -g -DVMWARE_VMKGDB  conftest.c >&5
configure:5404: $? = 0
configure:5411: result: yes
configure:5421: checking whether the preprocessor supports include_next
configure:5459: gcc -c -g -DVMWARE_VMKGDB  -Iconftestd1b -Iconftestd2 conftest.c >&5
configure:5459: $? = 0
configure:5480: result: yes
configure:5508: checking for long long int
configure:5545: gcc -o conftest -g -DVMWARE_VMKGDB   -Wl,-R/build/toolchain/lin32/ncurses-5.5/lib -Wl,-R/build/toolchain/lin32/expat-1.95.8/lib -Wl,-R/build/toolchain/lin32/python-2.5/lib -Wl,-R/build/toolchain/lin32/zlib-1.2.3-3/lib conftest.c  >&5
configure:5545: $? = 0
configure:5575: gcc -o conftest -g -DVMWARE_VMKGDB   -Wl,-R/build/toolchain/lin32/ncurses-5.5/lib -Wl,-R/build/toolchain/lin32/expat-1.95.8/lib -Wl,-R/build/toolchain/lin32/python-2.5/lib -Wl,-R/build/toolchain/lin32/zlib-1.2.3-3/lib conftest.c  >&5
configure:5575: $? = 0
configure:5575: ./conftest
configure:5575: $? = 0
configure:5590: result: yes
configure:5599: checking for unsigned long long int
configure:5636: gcc -o conftest -g -DVMWARE_VMKGDB   -Wl,-R/build/toolchain/lin32/ncurses-5.5/lib -Wl,-R/build/toolchain/lin32/expat-1.95.8/lib -Wl,-R/build/toolchain/lin32/python-2.5/lib -Wl,-R/build/toolchain/lin32/zlib-1.2.3-3/lib conftest.c  >&5
configure:5636: $? = 0
configure:5644: result: yes
configure:5662: checking for C/C++ restrict keyword
configure:5687: gcc -c -g -DVMWARE_VMKGDB  conftest.c >&5
configure:5687: $? = 0
configure:5695: result: __restrict
configure:5779: checking whether memmem is declared without a macro
configure:5797: gcc -c -g -DVMWARE_VMKGDB  conftest.c >&5
configure:5797: $? = 0
configure:5805: result: yes
configure:5779: checking whether mempcpy is declared without a macro
configure:5797: gcc -c -g -DVMWARE_VMKGDB  conftest.c >&5
configure:5797: $? = 0
configure:5805: result: yes
configure:5779: checking whether memrchr is declared without a macro
configure:5797: gcc -c -g -DVMWARE_VMKGDB  conftest.c >&5
configure:5797: $? = 0
configure:5805: result: yes
configure:5779: checking whether rawmemchr is declared without a macro
configure:5797: gcc -c -g -DVMWARE_VMKGDB  conftest.c >&5
configure:5797: $? = 0
configure:5805: result: yes
configure:5779: checking whether stpcpy is declared without a macro
configure:5797: gcc -c -g -DVMWARE_VMKGDB  conftest.c >&5
configure:5797: $? = 0
configure:5805: result: yes
configure:5779: checking whether stpncpy is declared without a macro
configure:5797: gcc -c -g -DVMWARE_VMKGDB  conftest.c >&5
configure:5797: $? = 0
configure:5805: result: yes
configure:5779: checking whether strchrnul is declared without a macro
configure:5797: gcc -c -g -DVMWARE_VMKGDB  conftest.c >&5
configure:5797: $? = 0
configure:5805: result: yes
configure:5779: checking whether strdup is declared without a macro
configure:5797: gcc -c -g -DVMWARE_VMKGDB  conftest.c >&5
configure:5797: $? = 0
configure:5805: result: yes
configure:5779: checking whether strncat is declared without a macro
configure:5797: gcc -c -g -DVMWARE_VMKGDB  conftest.c >&5
configure:5797: $? = 0
configure:5805: result: yes
configure:5779: checking whether strndup is declared without a macro
configure:5797: gcc -c -g -DVMWARE_VMKGDB  conftest.c >&5
configure:5797: $? = 0
configure:5805: result: yes
configure:5779: checking whether strnlen is declared without a macro
configure:5797: gcc -c -g -DVMWARE_VMKGDB  conftest.c >&5
configure:5797: $? = 0
configure:5805: result: yes
configure:5779: checking whether strpbrk is declared without a macro
configure:5797: gcc -c -g -DVMWARE_VMKGDB  conftest.c >&5
configure:5797: $? = 0
configure:5805: result: yes
configure:5779: checking whether strsep is declared without a macro
configure:5797: gcc -c -g -DVMWARE_VMKGDB  conftest.c >&5
configure:5797: $? = 0
configure:5805: result: yes
configure:5779: checking whether strcasestr is declared without a macro
configure:5797: gcc -c -g -DVMWARE_VMKGDB  conftest.c >&5
configure:5797: $? = 0
configure:5805: result: yes
configure:5779: checking whether strtok_r is declared without a macro
configure:5797: gcc -c -g -DVMWARE_VMKGDB  conftest.c >&5
configure:5797: $? = 0
configure:5805: result: yes
configure:5779: checking whether strsignal is declared without a macro
configure:5797: gcc -c -g -DVMWARE_VMKGDB  conftest.c >&5
configure:5797: $? = 0
configure:5805: result: yes
configure:5779: checking whether strverscmp is declared without a macro
configure:5797: gcc -c -g -DVMWARE_VMKGDB  conftest.c >&5
configure:5797: $? = 0
configure:5805: result: yes
configure:5855: checking whether <wchar.h> uses 'inline' correctly
configure:5870: gcc -c -g -DVMWARE_VMKGDB  conftest.c >&5
configure:5873: $? = 0
configure:5884: gcc -c -g -DVMWARE_VMKGDB  conftest.c >&5
configure:5887: $? = 0
configure:5900: result: yes
configure:5915: checking for wint_t
configure:5940: gcc -c -g -DVMWARE_VMKGDB  conftest.c >&5
configure:5940: $? = 0
configure:5947: result: yes
configure:5999: checking whether memmem works in linear time
configure:6066: gcc -o conftest -g -DVMWARE_VMKGDB   -Wl,-R/build/toolchain/lin32/ncurses-5.5/lib -Wl,-R/build/toolchain/lin32/expat-1.95.8/lib -Wl,-R/build/toolchain/lin32/python-2.5/lib -Wl,-R/build/toolchain/lin32/zlib-1.2.3-3/lib conftest.c  >&5
configure:6066: $? = 0
configure:6066: ./conftest
/home/prom/msnyder/src-7.2/gdb/configure: line 1957: 12456 Alarm clock             ./conftest$ac_exeext
configure:6066: $? = 142
configure: program exited with status 142
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define __EXTENSIONS__ 1
| #define _ALL_SOURCE 1
| #define _GNU_SOURCE 1
| #define _POSIX_PTHREAD_SEMANTICS 1
| #define _TANDEM_SOURCE 1
| #define _FILE_OFFSET_BITS 64
| #define ENABLE_NLS 1
| #define HAVE_SYS_MMAN_H 1
| #define HAVE_STDDEF_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_WCHAR_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MPROTECT 1
| #define HAVE_MEMCHR 1
| #define HAVE_MAP_ANONYMOUS 1
| #define HAVE_DECL_MEMMEM 1
| #define HAVE_MEMMEM 1
| #define HAVE_WCHAR_T 1
| #define HAVE_LONG_LONG_INT 1
| #define HAVE_UNSIGNED_LONG_LONG_INT 1
| #define restrict __restrict
| #define HAVE_RAW_DECL_MEMMEM 1
| #define HAVE_RAW_DECL_MEMPCPY 1
| #define HAVE_RAW_DECL_MEMRCHR 1
| #define HAVE_RAW_DECL_RAWMEMCHR 1
| #define HAVE_RAW_DECL_STPCPY 1
| #define HAVE_RAW_DECL_STPNCPY 1
| #define HAVE_RAW_DECL_STRCHRNUL 1
| #define HAVE_RAW_DECL_STRDUP 1
| #define HAVE_RAW_DECL_STRNCAT 1
| #define HAVE_RAW_DECL_STRNDUP 1
| #define HAVE_RAW_DECL_STRNLEN 1
| #define HAVE_RAW_DECL_STRPBRK 1
| #define HAVE_RAW_DECL_STRSEP 1
| #define HAVE_RAW_DECL_STRCASESTR 1
| #define HAVE_RAW_DECL_STRTOK_R 1
| #define HAVE_RAW_DECL_STRSIGNAL 1
| #define HAVE_RAW_DECL_STRVERSCMP 1
| #define HAVE_WINT_T 1
| #define GNULIB_TEST_MEMCHR 1
| /* end confdefs.h.  */
| 
| #include <signal.h> /* for signal */
| #include <string.h> /* for memmem */
| #include <stdlib.h> /* for malloc */
| #include <unistd.h> /* for alarm */
| 
| int
| main ()
| {
| size_t m = 1000000;
|     char *haystack = (char *) malloc (2 * m + 1);
|     char *needle = (char *) malloc (m + 1);
|     void *result = 0;
|     /* Failure to compile this test due to missing alarm is okay,
|        since all such platforms (mingw) also lack memmem.  */
|     signal (SIGALRM, SIG_DFL);
|     alarm (5);
|     /* Check for quadratic performance.  */
|     if (haystack && needle)
|       {
|         memset (haystack, 'A', 2 * m);
|         haystack[2 * m] = 'B';
|         memset (needle, 'A', m);
|         needle[m] = 'B';
|         result = memmem (haystack, 2 * m + 1, needle, m + 1);
|       }
|     /* Check for empty needle behavior.  */
|     return !result || !memmem ("a", 1, 0, 0);
|   ;
|   return 0;
| }
configure:6077: result: no
configure:6109: checking for memmem
configure:6109: result: yes
configure:6156: checking whether NULL can be used in arbitrary expressions
configure:6174: gcc -c -g -DVMWARE_VMKGDB  conftest.c >&5
configure:6174: $? = 0
configure:6181: result: yes
configure:6348: checking whether stdint.h conforms to C99
configure:6517: gcc -c -g -DVMWARE_VMKGDB  conftest.c >&5
configure:6517: $? = 0
configure:6599: gcc -o conftest -g -DVMWARE_VMKGDB   -Wl,-R/build/toolchain/lin32/ncurses-5.5/lib -Wl,-R/build/toolchain/lin32/expat-1.95.8/lib -Wl,-R/build/toolchain/lin32/python-2.5/lib -Wl,-R/build/toolchain/lin32/zlib-1.2.3-3/lib conftest.c  >&5
configure:6599: $? = 0
configure:6599: ./conftest
configure:6599: $? = 0
configure:6611: result: yes
configure:7044: checking whether btowc is declared without a macro
configure:7069: gcc -c -g -DVMWARE_VMKGDB  conftest.c >&5
configure:7069: $? = 0
configure:7077: result: yes
configure:7044: checking whether wctob is declared without a macro
configure:7069: gcc -c -g -DVMWARE_VMKGDB  conftest.c >&5
configure:7069: $? = 0
configure:7077: result: yes
configure:7044: checking whether mbsinit is declared without a macro
configure:7069: gcc -c -g -DVMWARE_VMKGDB  conftest.c >&5
configure:7069: $? = 0
configure:7077: result: yes
configure:7044: checking whether mbrtowc is declared without a macro
configure:7069: gcc -c -g -DVMWARE_VMKGDB  conftest.c >&5
configure:7069: $? = 0
configure:7077: result: yes
configure:7044: checking whether mbrlen is declared without a macro
configure:7069: gcc -c -g -DVMWARE_VMKGDB  conftest.c >&5
configure:7069: $? = 0
configure:7077: result: yes
configure:7044: checking whether mbsrtowcs is declared without a macro
configure:7069: gcc -c -g -DVMWARE_VMKGDB  conftest.c >&5
configure:7069: $? = 0
configure:7077: result: yes
configure:7044: checking whether mbsnrtowcs is declared without a macro
configure:7069: gcc -c -g -DVMWARE_VMKGDB  conftest.c >&5
configure:7069: $? = 0
configure:7077: result: yes
configure:7044: checking whether wcrtomb is declared without a macro
configure:7069: gcc -c -g -DVMWARE_VMKGDB  conftest.c >&5
configure:7069: $? = 0
configure:7077: result: yes
configure:7044: checking whether wcsrtombs is declared without a macro
configure:7069: gcc -c -g -DVMWARE_VMKGDB  conftest.c >&5
configure:7069: $? = 0
configure:7077: result: yes
configure:7044: checking whether wcsnrtombs is declared without a macro
configure:7069: gcc -c -g -DVMWARE_VMKGDB  conftest.c >&5
configure:7069: $? = 0
configure:7077: result: yes
configure:7044: checking whether wcwidth is declared without a macro
configure:7069: gcc -c -g -DVMWARE_VMKGDB  conftest.c >&5
configure:7069: $? = 0
configure:7077: result: yes
configure:7164: checking for a BSD-compatible install
configure:7232: result: /usr/bin/install -c
configure:7243: checking whether build environment is sane
configure:7293: result: yes
configure:7434: checking for a thread-safe mkdir -p
configure:7473: result: /bin/mkdir -p
configure:7487: checking for gawk
configure:7514: result: gawk
configure:7535: checking for style of include used by make
configure:7563: result: GNU
configure:7639: checking dependency style of gcc
configure:7749: result: gcc3
configure:8151: checking libunwind.h usability
configure:8151: gcc -c -g -DVMWARE_VMKGDB  conftest.c >&5
conftest.c:112:23: error: libunwind.h: No such file or directory
configure:8151: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define __EXTENSIONS__ 1
| #define _ALL_SOURCE 1
| #define _GNU_SOURCE 1
| #define _POSIX_PTHREAD_SEMANTICS 1
| #define _TANDEM_SOURCE 1
| #define _FILE_OFFSET_BITS 64
| #define ENABLE_NLS 1
| #define HAVE_SYS_MMAN_H 1
| #define HAVE_STDDEF_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_WCHAR_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MPROTECT 1
| #define HAVE_MEMCHR 1
| #define HAVE_MAP_ANONYMOUS 1
| #define HAVE_DECL_MEMMEM 1
| #define HAVE_MEMMEM 1
| #define HAVE_WCHAR_T 1
| #define HAVE_LONG_LONG_INT 1
| #define HAVE_UNSIGNED_LONG_LONG_INT 1
| #define restrict __restrict
| #define HAVE_RAW_DECL_MEMMEM 1
| #define HAVE_RAW_DECL_MEMPCPY 1
| #define HAVE_RAW_DECL_MEMRCHR 1
| #define HAVE_RAW_DECL_RAWMEMCHR 1
| #define HAVE_RAW_DECL_STPCPY 1
| #define HAVE_RAW_DECL_STPNCPY 1
| #define HAVE_RAW_DECL_STRCHRNUL 1
| #define HAVE_RAW_DECL_STRDUP 1
| #define HAVE_RAW_DECL_STRNCAT 1
| #define HAVE_RAW_DECL_STRNDUP 1
| #define HAVE_RAW_DECL_STRNLEN 1
| #define HAVE_RAW_DECL_STRPBRK 1
| #define HAVE_RAW_DECL_STRSEP 1
| #define HAVE_RAW_DECL_STRCASESTR 1
| #define HAVE_RAW_DECL_STRTOK_R 1
| #define HAVE_RAW_DECL_STRSIGNAL 1
| #define HAVE_RAW_DECL_STRVERSCMP 1
| #define HAVE_WINT_T 1
| #define GNULIB_TEST_MEMCHR 1
| #define HAVE_MEMMEM 1
| #define GNULIB_TEST_MEMMEM 1
| #define HAVE_RAW_DECL_BTOWC 1
| #define HAVE_RAW_DECL_WCTOB 1
| #define HAVE_RAW_DECL_MBSINIT 1
| #define HAVE_RAW_DECL_MBRTOWC 1
| #define HAVE_RAW_DECL_MBRLEN 1
| #define HAVE_RAW_DECL_MBSRTOWCS 1
| #define HAVE_RAW_DECL_MBSNRTOWCS 1
| #define HAVE_RAW_DECL_WCRTOMB 1
| #define HAVE_RAW_DECL_WCSRTOMBS 1
| #define HAVE_RAW_DECL_WCSNRTOMBS 1
| #define HAVE_RAW_DECL_WCWIDTH 1
| #define PACKAGE "gdb"
| #define DEBUGDIR "/usr/local/lib/debug"
| #define DEBUGDIR_RELOCATABLE 1
| #define GDB_DATADIR "/usr/local/share/gdb"
| #define GDB_DATADIR_RELOCATABLE 1
| #define DEFAULT_BFD_ARCH bfd_i386_arch
| #define DEFAULT_BFD_VEC bfd_elf32_i386_vec
| /* end confdefs.h.  */
| #include <stdio.h>
| #ifdef HAVE_SYS_TYPES_H
| # include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_STAT_H
| # include <sys/stat.h>
| #endif
| #ifdef STDC_HEADERS
| # include <stdlib.h>
| # include <stddef.h>
| #else
| # ifdef HAVE_STDLIB_H
| #  include <stdlib.h>
| # endif
| #endif
| #ifdef HAVE_STRING_H
| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
| #  include <memory.h>
| # endif
| # include <string.h>
| #endif
| #ifdef HAVE_STRINGS_H
| # include <strings.h>
| #endif
| #ifdef HAVE_INTTYPES_H
| # include <inttypes.h>
| #endif
| #ifdef HAVE_STDINT_H
| # include <stdint.h>
| #endif
| #ifdef HAVE_UNISTD_H
| # include <unistd.h>
| #endif
| #include <libunwind.h>
configure:8151: result: no
configure:8151: checking libunwind.h presence
configure:8151: gcc -E  conftest.c
conftest.c:79:23: error: libunwind.h: No such file or directory
configure:8151: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define __EXTENSIONS__ 1
| #define _ALL_SOURCE 1
| #define _GNU_SOURCE 1
| #define _POSIX_PTHREAD_SEMANTICS 1
| #define _TANDEM_SOURCE 1
| #define _FILE_OFFSET_BITS 64
| #define ENABLE_NLS 1
| #define HAVE_SYS_MMAN_H 1
| #define HAVE_STDDEF_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_WCHAR_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MPROTECT 1
| #define HAVE_MEMCHR 1
| #define HAVE_MAP_ANONYMOUS 1
| #define HAVE_DECL_MEMMEM 1
| #define HAVE_MEMMEM 1
| #define HAVE_WCHAR_T 1
| #define HAVE_LONG_LONG_INT 1
| #define HAVE_UNSIGNED_LONG_LONG_INT 1
| #define restrict __restrict
| #define HAVE_RAW_DECL_MEMMEM 1
| #define HAVE_RAW_DECL_MEMPCPY 1
| #define HAVE_RAW_DECL_MEMRCHR 1
| #define HAVE_RAW_DECL_RAWMEMCHR 1
| #define HAVE_RAW_DECL_STPCPY 1
| #define HAVE_RAW_DECL_STPNCPY 1
| #define HAVE_RAW_DECL_STRCHRNUL 1
| #define HAVE_RAW_DECL_STRDUP 1
| #define HAVE_RAW_DECL_STRNCAT 1
| #define HAVE_RAW_DECL_STRNDUP 1
| #define HAVE_RAW_DECL_STRNLEN 1
| #define HAVE_RAW_DECL_STRPBRK 1
| #define HAVE_RAW_DECL_STRSEP 1
| #define HAVE_RAW_DECL_STRCASESTR 1
| #define HAVE_RAW_DECL_STRTOK_R 1
| #define HAVE_RAW_DECL_STRSIGNAL 1
| #define HAVE_RAW_DECL_STRVERSCMP 1
| #define HAVE_WINT_T 1
| #define GNULIB_TEST_MEMCHR 1
| #define HAVE_MEMMEM 1
| #define GNULIB_TEST_MEMMEM 1
| #define HAVE_RAW_DECL_BTOWC 1
| #define HAVE_RAW_DECL_WCTOB 1
| #define HAVE_RAW_DECL_MBSINIT 1
| #define HAVE_RAW_DECL_MBRTOWC 1
| #define HAVE_RAW_DECL_MBRLEN 1
| #define HAVE_RAW_DECL_MBSRTOWCS 1
| #define HAVE_RAW_DECL_MBSNRTOWCS 1
| #define HAVE_RAW_DECL_WCRTOMB 1
| #define HAVE_RAW_DECL_WCSRTOMBS 1
| #define HAVE_RAW_DECL_WCSNRTOMBS 1
| #define HAVE_RAW_DECL_WCWIDTH 1
| #define PACKAGE "gdb"
| #define DEBUGDIR "/usr/local/lib/debug"
| #define DEBUGDIR_RELOCATABLE 1
| #define GDB_DATADIR "/usr/local/share/gdb"
| #define GDB_DATADIR_RELOCATABLE 1
| #define DEFAULT_BFD_ARCH bfd_i386_arch
| #define DEFAULT_BFD_VEC bfd_elf32_i386_vec
| /* end confdefs.h.  */
| #include <libunwind.h>
configure:8151: result: no
configure:8151: checking for libunwind.h
configure:8151: result: no
configure:8151: checking libunwind-ia64.h usability
configure:8151: gcc -c -g -DVMWARE_VMKGDB  conftest.c >&5
conftest.c:112:28: error: libunwind-ia64.h: No such file or directory
configure:8151: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define __EXTENSIONS__ 1
| #define _ALL_SOURCE 1
| #define _GNU_SOURCE 1
| #define _POSIX_PTHREAD_SEMANTICS 1
| #define _TANDEM_SOURCE 1
| #define _FILE_OFFSET_BITS 64
| #define ENABLE_NLS 1
| #define HAVE_SYS_MMAN_H 1
| #define HAVE_STDDEF_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_WCHAR_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MPROTECT 1
| #define HAVE_MEMCHR 1
| #define HAVE_MAP_ANONYMOUS 1
| #define HAVE_DECL_MEMMEM 1
| #define HAVE_MEMMEM 1
| #define HAVE_WCHAR_T 1
| #define HAVE_LONG_LONG_INT 1
| #define HAVE_UNSIGNED_LONG_LONG_INT 1
| #define restrict __restrict
| #define HAVE_RAW_DECL_MEMMEM 1
| #define HAVE_RAW_DECL_MEMPCPY 1
| #define HAVE_RAW_DECL_MEMRCHR 1
| #define HAVE_RAW_DECL_RAWMEMCHR 1
| #define HAVE_RAW_DECL_STPCPY 1
| #define HAVE_RAW_DECL_STPNCPY 1
| #define HAVE_RAW_DECL_STRCHRNUL 1
| #define HAVE_RAW_DECL_STRDUP 1
| #define HAVE_RAW_DECL_STRNCAT 1
| #define HAVE_RAW_DECL_STRNDUP 1
| #define HAVE_RAW_DECL_STRNLEN 1
| #define HAVE_RAW_DECL_STRPBRK 1
| #define HAVE_RAW_DECL_STRSEP 1
| #define HAVE_RAW_DECL_STRCASESTR 1
| #define HAVE_RAW_DECL_STRTOK_R 1
| #define HAVE_RAW_DECL_STRSIGNAL 1
| #define HAVE_RAW_DECL_STRVERSCMP 1
| #define HAVE_WINT_T 1
| #define GNULIB_TEST_MEMCHR 1
| #define HAVE_MEMMEM 1
| #define GNULIB_TEST_MEMMEM 1
| #define HAVE_RAW_DECL_BTOWC 1
| #define HAVE_RAW_DECL_WCTOB 1
| #define HAVE_RAW_DECL_MBSINIT 1
| #define HAVE_RAW_DECL_MBRTOWC 1
| #define HAVE_RAW_DECL_MBRLEN 1
| #define HAVE_RAW_DECL_MBSRTOWCS 1
| #define HAVE_RAW_DECL_MBSNRTOWCS 1
| #define HAVE_RAW_DECL_WCRTOMB 1
| #define HAVE_RAW_DECL_WCSRTOMBS 1
| #define HAVE_RAW_DECL_WCSNRTOMBS 1
| #define HAVE_RAW_DECL_WCWIDTH 1
| #define PACKAGE "gdb"
| #define DEBUGDIR "/usr/local/lib/debug"
| #define DEBUGDIR_RELOCATABLE 1
| #define GDB_DATADIR "/usr/local/share/gdb"
| #define GDB_DATADIR_RELOCATABLE 1
| #define DEFAULT_BFD_ARCH bfd_i386_arch
| #define DEFAULT_BFD_VEC bfd_elf32_i386_vec
| /* end confdefs.h.  */
| #include <stdio.h>
| #ifdef HAVE_SYS_TYPES_H
| # include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_STAT_H
| # include <sys/stat.h>
| #endif
| #ifdef STDC_HEADERS
| # include <stdlib.h>
| # include <stddef.h>
| #else
| # ifdef HAVE_STDLIB_H
| #  include <stdlib.h>
| # endif
| #endif
| #ifdef HAVE_STRING_H
| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
| #  include <memory.h>
| # endif
| # include <string.h>
| #endif
| #ifdef HAVE_STRINGS_H
| # include <strings.h>
| #endif
| #ifdef HAVE_INTTYPES_H
| # include <inttypes.h>
| #endif
| #ifdef HAVE_STDINT_H
| # include <stdint.h>
| #endif
| #ifdef HAVE_UNISTD_H
| # include <unistd.h>
| #endif
| #include <libunwind-ia64.h>
configure:8151: result: no
configure:8151: checking libunwind-ia64.h presence
configure:8151: gcc -E  conftest.c
conftest.c:79:28: error: libunwind-ia64.h: No such file or directory
configure:8151: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define __EXTENSIONS__ 1
| #define _ALL_SOURCE 1
| #define _GNU_SOURCE 1
| #define _POSIX_PTHREAD_SEMANTICS 1
| #define _TANDEM_SOURCE 1
| #define _FILE_OFFSET_BITS 64
| #define ENABLE_NLS 1
| #define HAVE_SYS_MMAN_H 1
| #define HAVE_STDDEF_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_WCHAR_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MPROTECT 1
| #define HAVE_MEMCHR 1
| #define HAVE_MAP_ANONYMOUS 1
| #define HAVE_DECL_MEMMEM 1
| #define HAVE_MEMMEM 1
| #define HAVE_WCHAR_T 1
| #define HAVE_LONG_LONG_INT 1
| #define HAVE_UNSIGNED_LONG_LONG_INT 1
| #define restrict __restrict
| #define HAVE_RAW_DECL_MEMMEM 1
| #define HAVE_RAW_DECL_MEMPCPY 1
| #define HAVE_RAW_DECL_MEMRCHR 1
| #define HAVE_RAW_DECL_RAWMEMCHR 1
| #define HAVE_RAW_DECL_STPCPY 1
| #define HAVE_RAW_DECL_STPNCPY 1
| #define HAVE_RAW_DECL_STRCHRNUL 1
| #define HAVE_RAW_DECL_STRDUP 1
| #define HAVE_RAW_DECL_STRNCAT 1
| #define HAVE_RAW_DECL_STRNDUP 1
| #define HAVE_RAW_DECL_STRNLEN 1
| #define HAVE_RAW_DECL_STRPBRK 1
| #define HAVE_RAW_DECL_STRSEP 1
| #define HAVE_RAW_DECL_STRCASESTR 1
| #define HAVE_RAW_DECL_STRTOK_R 1
| #define HAVE_RAW_DECL_STRSIGNAL 1
| #define HAVE_RAW_DECL_STRVERSCMP 1
| #define HAVE_WINT_T 1
| #define GNULIB_TEST_MEMCHR 1
| #define HAVE_MEMMEM 1
| #define GNULIB_TEST_MEMMEM 1
| #define HAVE_RAW_DECL_BTOWC 1
| #define HAVE_RAW_DECL_WCTOB 1
| #define HAVE_RAW_DECL_MBSINIT 1
| #define HAVE_RAW_DECL_MBRTOWC 1
| #define HAVE_RAW_DECL_MBRLEN 1
| #define HAVE_RAW_DECL_MBSRTOWCS 1
| #define HAVE_RAW_DECL_MBSNRTOWCS 1
| #define HAVE_RAW_DECL_WCRTOMB 1
| #define HAVE_RAW_DECL_WCSRTOMBS 1
| #define HAVE_RAW_DECL_WCSNRTOMBS 1
| #define HAVE_RAW_DECL_WCWIDTH 1
| #define PACKAGE "gdb"
| #define DEBUGDIR "/usr/local/lib/debug"
| #define DEBUGDIR_RELOCATABLE 1
| #define GDB_DATADIR "/usr/local/share/gdb"
| #define GDB_DATADIR_RELOCATABLE 1
| #define DEFAULT_BFD_ARCH bfd_i386_arch
| #define DEFAULT_BFD_VEC bfd_elf32_i386_vec
| /* end confdefs.h.  */
| #include <libunwind-ia64.h>
configure:8151: result: no
configure:8151: checking for libunwind-ia64.h
configure:8151: result: no
configure:8222: checking for monstartup
configure:8222: gcc -o conftest -g -DVMWARE_VMKGDB   -Wl,-R/build/toolchain/lin32/ncurses-5.5/lib -Wl,-R/build/toolchain/lin32/expat-1.95.8/lib -Wl,-R/build/toolchain/lin32/python-2.5/lib -Wl,-R/build/toolchain/lin32/zlib-1.2.3-3/lib conftest.c  >&5
configure:8222: $? = 0
configure:8222: result: yes
configure:8222: checking for _mcleanup
configure:8222: gcc -o conftest -g -DVMWARE_VMKGDB   -Wl,-R/build/toolchain/lin32/ncurses-5.5/lib -Wl,-R/build/toolchain/lin32/expat-1.95.8/lib -Wl,-R/build/toolchain/lin32/python-2.5/lib -Wl,-R/build/toolchain/lin32/zlib-1.2.3-3/lib conftest.c  >&5
configure:8222: $? = 0
configure:8222: result: yes
configure:8232: checking for _etext
configure:8250: gcc -o conftest -g -DVMWARE_VMKGDB   -Wl,-R/build/toolchain/lin32/ncurses-5.5/lib -Wl,-R/build/toolchain/lin32/expat-1.95.8/lib -Wl,-R/build/toolchain/lin32/python-2.5/lib -Wl,-R/build/toolchain/lin32/zlib-1.2.3-3/lib conftest.c  >&5
configure:8250: $? = 0
configure:8258: result: yes
configure:8265: checking for etext
configure:8283: gcc -o conftest -g -DVMWARE_VMKGDB   -Wl,-R/build/toolchain/lin32/ncurses-5.5/lib -Wl,-R/build/toolchain/lin32/expat-1.95.8/lib -Wl,-R/build/toolchain/lin32/python-2.5/lib -Wl,-R/build/toolchain/lin32/zlib-1.2.3-3/lib conftest.c  >&5
configure:8283: $? = 0
configure:8291: result: yes
configure:8403: checking for gawk
configure:8430: result: gawk
configure:8442: checking whether ln -s works
configure:8446: result: yes
configure:8456: checking for i686-pc-linux-gnu-ranlib
configure:8483: result: ranlib
configure:8549: checking for bison
configure:8576: result: bison -y
configure:8592: checking for i686-pc-linux-gnu-ar
configure:8619: result: ar
configure:8684: checking for i686-pc-linux-gnu-dlltool
configure:8711: result: dlltool
configure:8776: checking for i686-pc-linux-gnu-windres
configure:8803: result: windres
configure:8870: checking for i686-pc-linux-gnu-mig
configure:8900: result: no
configure:8910: checking for mig
configure:8940: result: no
configure:8965: checking for main in -lm
configure:8984: gcc -o conftest -g -DVMWARE_VMKGDB   -Wl,-R/build/toolchain/lin32/ncurses-5.5/lib -Wl,-R/build/toolchain/lin32/expat-1.95.8/lib -Wl,-R/build/toolchain/lin32/python-2.5/lib -Wl,-R/build/toolchain/lin32/zlib-1.2.3-3/lib conftest.c -lm   >&5
configure:8984: $? = 0
configure:8993: result: yes
configure:9009: checking for wctype
configure:9009: gcc -o conftest -g -DVMWARE_VMKGDB   -Wl,-R/build/toolchain/lin32/ncurses-5.5/lib -Wl,-R/build/toolchain/lin32/expat-1.95.8/lib -Wl,-R/build/toolchain/lin32/python-2.5/lib -Wl,-R/build/toolchain/lin32/zlib-1.2.3-3/lib conftest.c -lm  >&5
configure:9009: $? = 0
configure:9009: result: yes
configure:9062: checking for library containing gethostbyname
configure:9093: gcc -o conftest -g -DVMWARE_VMKGDB   -Wl,-R/build/toolchain/lin32/ncurses-5.5/lib -Wl,-R/build/toolchain/lin32/expat-1.95.8/lib -Wl,-R/build/toolchain/lin32/python-2.5/lib -Wl,-R/build/toolchain/lin32/zlib-1.2.3-3/lib conftest.c -lm  >&5
configure:9093: $? = 0
configure:9110: result: none required
configure:9120: checking for library containing socketpair
configure:9151: gcc -o conftest -g -DVMWARE_VMKGDB   -Wl,-R/build/toolchain/lin32/ncurses-5.5/lib -Wl,-R/build/toolchain/lin32/expat-1.95.8/lib -Wl,-R/build/toolchain/lin32/python-2.5/lib -Wl,-R/build/toolchain/lin32/zlib-1.2.3-3/lib conftest.c -lm  >&5
configure:9151: $? = 0
configure:9168: result: none required
configure:9190: checking for library containing zlibVersion
configure:9221: gcc -o conftest -g -DVMWARE_VMKGDB   -Wl,-R/build/toolchain/lin32/ncurses-5.5/lib -Wl,-R/build/toolchain/lin32/expat-1.95.8/lib -Wl,-R/build/toolchain/lin32/python-2.5/lib -Wl,-R/build/toolchain/lin32/zlib-1.2.3-3/lib conftest.c -lm  >&5
/tmp/cccZ0nge.o: In function `main':
/home/prom/msnyder/build-7.2/gdb/conftest.c:97: undefined reference to `zlibVersion'
collect2: ld returned 1 exit status
configure:9221: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define __EXTENSIONS__ 1
| #define _ALL_SOURCE 1
| #define _GNU_SOURCE 1
| #define _POSIX_PTHREAD_SEMANTICS 1
| #define _TANDEM_SOURCE 1
| #define _FILE_OFFSET_BITS 64
| #define ENABLE_NLS 1
| #define HAVE_SYS_MMAN_H 1
| #define HAVE_STDDEF_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_WCHAR_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MPROTECT 1
| #define HAVE_MEMCHR 1
| #define HAVE_MAP_ANONYMOUS 1
| #define HAVE_DECL_MEMMEM 1
| #define HAVE_MEMMEM 1
| #define HAVE_WCHAR_T 1
| #define HAVE_LONG_LONG_INT 1
| #define HAVE_UNSIGNED_LONG_LONG_INT 1
| #define restrict __restrict
| #define HAVE_RAW_DECL_MEMMEM 1
| #define HAVE_RAW_DECL_MEMPCPY 1
| #define HAVE_RAW_DECL_MEMRCHR 1
| #define HAVE_RAW_DECL_RAWMEMCHR 1
| #define HAVE_RAW_DECL_STPCPY 1
| #define HAVE_RAW_DECL_STPNCPY 1
| #define HAVE_RAW_DECL_STRCHRNUL 1
| #define HAVE_RAW_DECL_STRDUP 1
| #define HAVE_RAW_DECL_STRNCAT 1
| #define HAVE_RAW_DECL_STRNDUP 1
| #define HAVE_RAW_DECL_STRNLEN 1
| #define HAVE_RAW_DECL_STRPBRK 1
| #define HAVE_RAW_DECL_STRSEP 1
| #define HAVE_RAW_DECL_STRCASESTR 1
| #define HAVE_RAW_DECL_STRTOK_R 1
| #define HAVE_RAW_DECL_STRSIGNAL 1
| #define HAVE_RAW_DECL_STRVERSCMP 1
| #define HAVE_WINT_T 1
| #define GNULIB_TEST_MEMCHR 1
| #define HAVE_MEMMEM 1
| #define GNULIB_TEST_MEMMEM 1
| #define HAVE_RAW_DECL_BTOWC 1
| #define HAVE_RAW_DECL_WCTOB 1
| #define HAVE_RAW_DECL_MBSINIT 1
| #define HAVE_RAW_DECL_MBRTOWC 1
| #define HAVE_RAW_DECL_MBRLEN 1
| #define HAVE_RAW_DECL_MBSRTOWCS 1
| #define HAVE_RAW_DECL_MBSNRTOWCS 1
| #define HAVE_RAW_DECL_WCRTOMB 1
| #define HAVE_RAW_DECL_WCSRTOMBS 1
| #define HAVE_RAW_DECL_WCSNRTOMBS 1
| #define HAVE_RAW_DECL_WCWIDTH 1
| #define PACKAGE "gdb"
| #define DEBUGDIR "/usr/local/lib/debug"
| #define DEBUGDIR_RELOCATABLE 1
| #define GDB_DATADIR "/usr/local/share/gdb"
| #define GDB_DATADIR_RELOCATABLE 1
| #define DEFAULT_BFD_ARCH bfd_i386_arch
| #define DEFAULT_BFD_VEC bfd_elf32_i386_vec
| #define HAVE_MONSTARTUP 1
| #define HAVE__MCLEANUP 1
| #define HAVE__ETEXT 1
| #define HAVE_ETEXT 1
| #define PKGVERSION "(GDB) "
| #define REPORT_BUGS_TO "<http://www.gnu.org/software/gdb/bugs/>"
| #define HAVE_LIBM 1
| /* end confdefs.h.  */
| 
| /* Override any GCC internal prototype to avoid an error.
|    Use char because int might match the return type of a GCC
|    builtin and then its argument prototype would still apply.  */
| #ifdef __cplusplus
| extern "C"
| #endif
| char zlibVersion ();
| int
| main ()
| {
| return zlibVersion ();
|   ;
|   return 0;
| }
configure:9221: gcc -o conftest -g -DVMWARE_VMKGDB   -Wl,-R/build/toolchain/lin32/ncurses-5.5/lib -Wl,-R/build/toolchain/lin32/expat-1.95.8/lib -Wl,-R/build/toolchain/lin32/python-2.5/lib -Wl,-R/build/toolchain/lin32/zlib-1.2.3-3/lib conftest.c -lz  -lm  >&5
configure:9221: $? = 0
configure:9238: result: -lz
configure:9245: checking zlib.h usability
configure:9245: gcc -c -g -DVMWARE_VMKGDB  conftest.c >&5
configure:9245: $? = 0
configure:9245: result: yes
configure:9245: checking zlib.h presence
configure:9245: gcc -E  conftest.c
configure:9245: $? = 0
configure:9245: result: yes
configure:9245: checking for zlib.h
configure:9245: result: yes
configure:9264: checking for library containing dlgetmodinfo
configure:9295: gcc -o conftest -g -DVMWARE_VMKGDB   -Wl,-R/build/toolchain/lin32/ncurses-5.5/lib -Wl,-R/build/toolchain/lin32/expat-1.95.8/lib -Wl,-R/build/toolchain/lin32/python-2.5/lib -Wl,-R/build/toolchain/lin32/zlib-1.2.3-3/lib conftest.c -lz -lm  >&5
/tmp/ccMEHinR.o: In function `main':
/home/prom/msnyder/build-7.2/gdb/conftest.c:98: undefined reference to `dlgetmodinfo'
collect2: ld returned 1 exit status
configure:9295: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define __EXTENSIONS__ 1
| #define _ALL_SOURCE 1
| #define _GNU_SOURCE 1
| #define _POSIX_PTHREAD_SEMANTICS 1
| #define _TANDEM_SOURCE 1
| #define _FILE_OFFSET_BITS 64
| #define ENABLE_NLS 1
| #define HAVE_SYS_MMAN_H 1
| #define HAVE_STDDEF_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_WCHAR_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MPROTECT 1
| #define HAVE_MEMCHR 1
| #define HAVE_MAP_ANONYMOUS 1
| #define HAVE_DECL_MEMMEM 1
| #define HAVE_MEMMEM 1
| #define HAVE_WCHAR_T 1
| #define HAVE_LONG_LONG_INT 1
| #define HAVE_UNSIGNED_LONG_LONG_INT 1
| #define restrict __restrict
| #define HAVE_RAW_DECL_MEMMEM 1
| #define HAVE_RAW_DECL_MEMPCPY 1
| #define HAVE_RAW_DECL_MEMRCHR 1
| #define HAVE_RAW_DECL_RAWMEMCHR 1
| #define HAVE_RAW_DECL_STPCPY 1
| #define HAVE_RAW_DECL_STPNCPY 1
| #define HAVE_RAW_DECL_STRCHRNUL 1
| #define HAVE_RAW_DECL_STRDUP 1
| #define HAVE_RAW_DECL_STRNCAT 1
| #define HAVE_RAW_DECL_STRNDUP 1
| #define HAVE_RAW_DECL_STRNLEN 1
| #define HAVE_RAW_DECL_STRPBRK 1
| #define HAVE_RAW_DECL_STRSEP 1
| #define HAVE_RAW_DECL_STRCASESTR 1
| #define HAVE_RAW_DECL_STRTOK_R 1
| #define HAVE_RAW_DECL_STRSIGNAL 1
| #define HAVE_RAW_DECL_STRVERSCMP 1
| #define HAVE_WINT_T 1
| #define GNULIB_TEST_MEMCHR 1
| #define HAVE_MEMMEM 1
| #define GNULIB_TEST_MEMMEM 1
| #define HAVE_RAW_DECL_BTOWC 1
| #define HAVE_RAW_DECL_WCTOB 1
| #define HAVE_RAW_DECL_MBSINIT 1
| #define HAVE_RAW_DECL_MBRTOWC 1
| #define HAVE_RAW_DECL_MBRLEN 1
| #define HAVE_RAW_DECL_MBSRTOWCS 1
| #define HAVE_RAW_DECL_MBSNRTOWCS 1
| #define HAVE_RAW_DECL_WCRTOMB 1
| #define HAVE_RAW_DECL_WCSRTOMBS 1
| #define HAVE_RAW_DECL_WCSNRTOMBS 1
| #define HAVE_RAW_DECL_WCWIDTH 1
| #define PACKAGE "gdb"
| #define DEBUGDIR "/usr/local/lib/debug"
| #define DEBUGDIR_RELOCATABLE 1
| #define GDB_DATADIR "/usr/local/share/gdb"
| #define GDB_DATADIR_RELOCATABLE 1
| #define DEFAULT_BFD_ARCH bfd_i386_arch
| #define DEFAULT_BFD_VEC bfd_elf32_i386_vec
| #define HAVE_MONSTARTUP 1
| #define HAVE__MCLEANUP 1
| #define HAVE__ETEXT 1
| #define HAVE_ETEXT 1
| #define PKGVERSION "(GDB) "
| #define REPORT_BUGS_TO "<http://www.gnu.org/software/gdb/bugs/>"
| #define HAVE_LIBM 1
| #define HAVE_ZLIB_H 1
| /* end confdefs.h.  */
| 
| /* Override any GCC internal prototype to avoid an error.
|    Use char because int might match the return type of a GCC
|    builtin and then its argument prototype would still apply.  */
| #ifdef __cplusplus
| extern "C"
| #endif
| char dlgetmodinfo ();
| int
| main ()
| {
| return dlgetmodinfo ();
|   ;
|   return 0;
| }
configure:9295: gcc -o conftest -g -DVMWARE_VMKGDB   -Wl,-R/build/toolchain/lin32/ncurses-5.5/lib -Wl,-R/build/toolchain/lin32/expat-1.95.8/lib -Wl,-R/build/toolchain/lin32/python-2.5/lib -Wl,-R/build/toolchain/lin32/zlib-1.2.3-3/lib conftest.c -ldl  -lz -lm  >&5
/tmp/cc2dezE3.o: In function `main':
/home/prom/msnyder/build-7.2/gdb/conftest.c:98: undefined reference to `dlgetmodinfo'
collect2: ld returned 1 exit status
configure:9295: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define __EXTENSIONS__ 1
| #define _ALL_SOURCE 1
| #define _GNU_SOURCE 1
| #define _POSIX_PTHREAD_SEMANTICS 1
| #define _TANDEM_SOURCE 1
| #define _FILE_OFFSET_BITS 64
| #define ENABLE_NLS 1
| #define HAVE_SYS_MMAN_H 1
| #define HAVE_STDDEF_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_WCHAR_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MPROTECT 1
| #define HAVE_MEMCHR 1
| #define HAVE_MAP_ANONYMOUS 1
| #define HAVE_DECL_MEMMEM 1
| #define HAVE_MEMMEM 1
| #define HAVE_WCHAR_T 1
| #define HAVE_LONG_LONG_INT 1
| #define HAVE_UNSIGNED_LONG_LONG_INT 1
| #define restrict __restrict
| #define HAVE_RAW_DECL_MEMMEM 1
| #define HAVE_RAW_DECL_MEMPCPY 1
| #define HAVE_RAW_DECL_MEMRCHR 1
| #define HAVE_RAW_DECL_RAWMEMCHR 1
| #define HAVE_RAW_DECL_STPCPY 1
| #define HAVE_RAW_DECL_STPNCPY 1
| #define HAVE_RAW_DECL_STRCHRNUL 1
| #define HAVE_RAW_DECL_STRDUP 1
| #define HAVE_RAW_DECL_STRNCAT 1
| #define HAVE_RAW_DECL_STRNDUP 1
| #define HAVE_RAW_DECL_STRNLEN 1
| #define HAVE_RAW_DECL_STRPBRK 1
| #define HAVE_RAW_DECL_STRSEP 1
| #define HAVE_RAW_DECL_STRCASESTR 1
| #define HAVE_RAW_DECL_STRTOK_R 1
| #define HAVE_RAW_DECL_STRSIGNAL 1
| #define HAVE_RAW_DECL_STRVERSCMP 1
| #define HAVE_WINT_T 1
| #define GNULIB_TEST_MEMCHR 1
| #define HAVE_MEMMEM 1
| #define GNULIB_TEST_MEMMEM 1
| #define HAVE_RAW_DECL_BTOWC 1
| #define HAVE_RAW_DECL_WCTOB 1
| #define HAVE_RAW_DECL_MBSINIT 1
| #define HAVE_RAW_DECL_MBRTOWC 1
| #define HAVE_RAW_DECL_MBRLEN 1
| #define HAVE_RAW_DECL_MBSRTOWCS 1
| #define HAVE_RAW_DECL_MBSNRTOWCS 1
| #define HAVE_RAW_DECL_WCRTOMB 1
| #define HAVE_RAW_DECL_WCSRTOMBS 1
| #define HAVE_RAW_DECL_WCSNRTOMBS 1
| #define HAVE_RAW_DECL_WCWIDTH 1
| #define PACKAGE "gdb"
| #define DEBUGDIR "/usr/local/lib/debug"
| #define DEBUGDIR_RELOCATABLE 1
| #define GDB_DATADIR "/usr/local/share/gdb"
| #define GDB_DATADIR_RELOCATABLE 1
| #define DEFAULT_BFD_ARCH bfd_i386_arch
| #define DEFAULT_BFD_VEC bfd_elf32_i386_vec
| #define HAVE_MONSTARTUP 1
| #define HAVE__MCLEANUP 1
| #define HAVE__ETEXT 1
| #define HAVE_ETEXT 1
| #define PKGVERSION "(GDB) "
| #define REPORT_BUGS_TO "<http://www.gnu.org/software/gdb/bugs/>"
| #define HAVE_LIBM 1
| #define HAVE_ZLIB_H 1
| /* end confdefs.h.  */
| 
| /* Override any GCC internal prototype to avoid an error.
|    Use char because int might match the return type of a GCC
|    builtin and then its argument prototype would still apply.  */
| #ifdef __cplusplus
| extern "C"
| #endif
| char dlgetmodinfo ();
| int
| main ()
| {
| return dlgetmodinfo ();
|   ;
|   return 0;
| }
configure:9295: gcc -o conftest -g -DVMWARE_VMKGDB   -Wl,-R/build/toolchain/lin32/ncurses-5.5/lib -Wl,-R/build/toolchain/lin32/expat-1.95.8/lib -Wl,-R/build/toolchain/lin32/python-2.5/lib -Wl,-R/build/toolchain/lin32/zlib-1.2.3-3/lib conftest.c -lxpdl  -lz -lm  >&5
/usr/bin/ld: cannot find -lxpdl
collect2: ld returned 1 exit status
configure:9295: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define __EXTENSIONS__ 1
| #define _ALL_SOURCE 1
| #define _GNU_SOURCE 1
| #define _POSIX_PTHREAD_SEMANTICS 1
| #define _TANDEM_SOURCE 1
| #define _FILE_OFFSET_BITS 64
| #define ENABLE_NLS 1
| #define HAVE_SYS_MMAN_H 1
| #define HAVE_STDDEF_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_WCHAR_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MPROTECT 1
| #define HAVE_MEMCHR 1
| #define HAVE_MAP_ANONYMOUS 1
| #define HAVE_DECL_MEMMEM 1
| #define HAVE_MEMMEM 1
| #define HAVE_WCHAR_T 1
| #define HAVE_LONG_LONG_INT 1
| #define HAVE_UNSIGNED_LONG_LONG_INT 1
| #define restrict __restrict
| #define HAVE_RAW_DECL_MEMMEM 1
| #define HAVE_RAW_DECL_MEMPCPY 1
| #define HAVE_RAW_DECL_MEMRCHR 1
| #define HAVE_RAW_DECL_RAWMEMCHR 1
| #define HAVE_RAW_DECL_STPCPY 1
| #define HAVE_RAW_DECL_STPNCPY 1
| #define HAVE_RAW_DECL_STRCHRNUL 1
| #define HAVE_RAW_DECL_STRDUP 1
| #define HAVE_RAW_DECL_STRNCAT 1
| #define HAVE_RAW_DECL_STRNDUP 1
| #define HAVE_RAW_DECL_STRNLEN 1
| #define HAVE_RAW_DECL_STRPBRK 1
| #define HAVE_RAW_DECL_STRSEP 1
| #define HAVE_RAW_DECL_STRCASESTR 1
| #define HAVE_RAW_DECL_STRTOK_R 1
| #define HAVE_RAW_DECL_STRSIGNAL 1
| #define HAVE_RAW_DECL_STRVERSCMP 1
| #define HAVE_WINT_T 1
| #define GNULIB_TEST_MEMCHR 1
| #define HAVE_MEMMEM 1
| #define GNULIB_TEST_MEMMEM 1
| #define HAVE_RAW_DECL_BTOWC 1
| #define HAVE_RAW_DECL_WCTOB 1
| #define HAVE_RAW_DECL_MBSINIT 1
| #define HAVE_RAW_DECL_MBRTOWC 1
| #define HAVE_RAW_DECL_MBRLEN 1
| #define HAVE_RAW_DECL_MBSRTOWCS 1
| #define HAVE_RAW_DECL_MBSNRTOWCS 1
| #define HAVE_RAW_DECL_WCRTOMB 1
| #define HAVE_RAW_DECL_WCSRTOMBS 1
| #define HAVE_RAW_DECL_WCSNRTOMBS 1
| #define HAVE_RAW_DECL_WCWIDTH 1
| #define PACKAGE "gdb"
| #define DEBUGDIR "/usr/local/lib/debug"
| #define DEBUGDIR_RELOCATABLE 1
| #define GDB_DATADIR "/usr/local/share/gdb"
| #define GDB_DATADIR_RELOCATABLE 1
| #define DEFAULT_BFD_ARCH bfd_i386_arch
| #define DEFAULT_BFD_VEC bfd_elf32_i386_vec
| #define HAVE_MONSTARTUP 1
| #define HAVE__MCLEANUP 1
| #define HAVE__ETEXT 1
| #define HAVE_ETEXT 1
| #define PKGVERSION "(GDB) "
| #define REPORT_BUGS_TO "<http://www.gnu.org/software/gdb/bugs/>"
| #define HAVE_LIBM 1
| #define HAVE_ZLIB_H 1
| /* end confdefs.h.  */
| 
| /* Override any GCC internal prototype to avoid an error.
|    Use char because int might match the return type of a GCC
|    builtin and then its argument prototype would still apply.  */
| #ifdef __cplusplus
| extern "C"
| #endif
| char dlgetmodinfo ();
| int
| main ()
| {
| return dlgetmodinfo ();
|   ;
|   return 0;
| }
configure:9312: result: no
configure:9338: checking for iconv
configure:9403: gcc -o conftest -g -DVMWARE_VMKGDB   -Wl,-R/build/toolchain/lin32/ncurses-5.5/lib -Wl,-R/build/toolchain/lin32/expat-1.95.8/lib -Wl,-R/build/toolchain/lin32/python-2.5/lib -Wl,-R/build/toolchain/lin32/zlib-1.2.3-3/lib conftest.c -lz -lm  >&5
configure:9403: $? = 0
configure:9445: result: yes
configure:9469: checking for iconv declaration
configure:9498: gcc -c -g -DVMWARE_VMKGDB   conftest.c >&5
configure:9498: $? = 0
configure:9509: result: install-shextern size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
configure:9561: checking for library containing waddstr
configure:9592: gcc -o conftest -g -DVMWARE_VMKGDB    -Wl,-R/build/toolchain/lin32/ncurses-5.5/lib -Wl,-R/build/toolchain/lin32/expat-1.95.8/lib -Wl,-R/build/toolchain/lin32/python-2.5/lib -Wl,-R/build/toolchain/lin32/zlib-1.2.3-3/lib conftest.c -lz -lm    >&5
/tmp/ccWbWY4s.o: In function `main':
/home/prom/msnyder/build-7.2/gdb/conftest.c:100: undefined reference to `waddstr'
collect2: ld returned 1 exit status
configure:9592: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define __EXTENSIONS__ 1
| #define _ALL_SOURCE 1
| #define _GNU_SOURCE 1
| #define _POSIX_PTHREAD_SEMANTICS 1
| #define _TANDEM_SOURCE 1
| #define _FILE_OFFSET_BITS 64
| #define ENABLE_NLS 1
| #define HAVE_SYS_MMAN_H 1
| #define HAVE_STDDEF_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_WCHAR_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MPROTECT 1
| #define HAVE_MEMCHR 1
| #define HAVE_MAP_ANONYMOUS 1
| #define HAVE_DECL_MEMMEM 1
| #define HAVE_MEMMEM 1
| #define HAVE_WCHAR_T 1
| #define HAVE_LONG_LONG_INT 1
| #define HAVE_UNSIGNED_LONG_LONG_INT 1
| #define restrict __restrict
| #define HAVE_RAW_DECL_MEMMEM 1
| #define HAVE_RAW_DECL_MEMPCPY 1
| #define HAVE_RAW_DECL_MEMRCHR 1
| #define HAVE_RAW_DECL_RAWMEMCHR 1
| #define HAVE_RAW_DECL_STPCPY 1
| #define HAVE_RAW_DECL_STPNCPY 1
| #define HAVE_RAW_DECL_STRCHRNUL 1
| #define HAVE_RAW_DECL_STRDUP 1
| #define HAVE_RAW_DECL_STRNCAT 1
| #define HAVE_RAW_DECL_STRNDUP 1
| #define HAVE_RAW_DECL_STRNLEN 1
| #define HAVE_RAW_DECL_STRPBRK 1
| #define HAVE_RAW_DECL_STRSEP 1
| #define HAVE_RAW_DECL_STRCASESTR 1
| #define HAVE_RAW_DECL_STRTOK_R 1
| #define HAVE_RAW_DECL_STRSIGNAL 1
| #define HAVE_RAW_DECL_STRVERSCMP 1
| #define HAVE_WINT_T 1
| #define GNULIB_TEST_MEMCHR 1
| #define HAVE_MEMMEM 1
| #define GNULIB_TEST_MEMMEM 1
| #define HAVE_RAW_DECL_BTOWC 1
| #define HAVE_RAW_DECL_WCTOB 1
| #define HAVE_RAW_DECL_MBSINIT 1
| #define HAVE_RAW_DECL_MBRTOWC 1
| #define HAVE_RAW_DECL_MBRLEN 1
| #define HAVE_RAW_DECL_MBSRTOWCS 1
| #define HAVE_RAW_DECL_MBSNRTOWCS 1
| #define HAVE_RAW_DECL_WCRTOMB 1
| #define HAVE_RAW_DECL_WCSRTOMBS 1
| #define HAVE_RAW_DECL_WCSNRTOMBS 1
| #define HAVE_RAW_DECL_WCWIDTH 1
| #define PACKAGE "gdb"
| #define DEBUGDIR "/usr/local/lib/debug"
| #define DEBUGDIR_RELOCATABLE 1
| #define GDB_DATADIR "/usr/local/share/gdb"
| #define GDB_DATADIR_RELOCATABLE 1
| #define DEFAULT_BFD_ARCH bfd_i386_arch
| #define DEFAULT_BFD_VEC bfd_elf32_i386_vec
| #define HAVE_MONSTARTUP 1
| #define HAVE__MCLEANUP 1
| #define HAVE__ETEXT 1
| #define HAVE_ETEXT 1
| #define PKGVERSION "(GDB) "
| #define REPORT_BUGS_TO "<http://www.gnu.org/software/gdb/bugs/>"
| #define HAVE_LIBM 1
| #define HAVE_ZLIB_H 1
| #define HAVE_ICONV 1
| #define ICONV_CONST 
| /* end confdefs.h.  */
| 
| /* Override any GCC internal prototype to avoid an error.
|    Use char because int might match the return type of a GCC
|    builtin and then its argument prototype would still apply.  */
| #ifdef __cplusplus
| extern "C"
| #endif
| char waddstr ();
| int
| main ()
| {
| return waddstr ();
|   ;
|   return 0;
| }
configure:9592: gcc -o conftest -g -DVMWARE_VMKGDB    -Wl,-R/build/toolchain/lin32/ncurses-5.5/lib -Wl,-R/build/toolchain/lin32/expat-1.95.8/lib -Wl,-R/build/toolchain/lin32/python-2.5/lib -Wl,-R/build/toolchain/lin32/zlib-1.2.3-3/lib conftest.c -lncurses  -lz -lm    >&5
configure:9592: $? = 0
configure:9609: result: -lncurses
configure:9667: checking for library containing tgetent
configure:9698: gcc -o conftest -g -DVMWARE_VMKGDB    -Wl,-R/build/toolchain/lin32/ncurses-5.5/lib -Wl,-R/build/toolchain/lin32/expat-1.95.8/lib -Wl,-R/build/toolchain/lin32/python-2.5/lib -Wl,-R/build/toolchain/lin32/zlib-1.2.3-3/lib conftest.c -lncurses -lz -lm    >&5
configure:9698: $? = 0
configure:9715: result: none required
configure:9789: checking whether to use expat
configure:9791: result: auto
configure:9839: checking for ld used by GCC
configure:9902: result: ld
configure:9909: checking if the linker (ld) is GNU ld
GNU ld version 2.17.50.0.6-2.el5 20061020
configure:9921: result: yes
configure:9927: checking for shared library run path origin
configure:9940: result: done
configure:10367: checking for libexpat
configure:10386: gcc -o conftest -g -DVMWARE_VMKGDB    -Wl,-R/build/toolchain/lin32/ncurses-5.5/lib -Wl,-R/build/toolchain/lin32/expat-1.95.8/lib -Wl,-R/build/toolchain/lin32/python-2.5/lib -Wl,-R/build/toolchain/lin32/zlib-1.2.3-3/lib conftest.c -lncurses -lz -lm    -lexpat >&5
configure:10386: $? = 0
configure:10396: result: yes
configure:10403: checking how to link with libexpat
configure:10405: result: -lexpat
configure:10431: checking for XML_StopParser
configure:10431: gcc -o conftest -g -DVMWARE_VMKGDB    -Wl,-R/build/toolchain/lin32/ncurses-5.5/lib -Wl,-R/build/toolchain/lin32/expat-1.95.8/lib -Wl,-R/build/toolchain/lin32/python-2.5/lib -Wl,-R/build/toolchain/lin32/zlib-1.2.3-3/lib conftest.c -lncurses -lz -lm    -lexpat >&5
configure:10431: $? = 0
configure:10431: result: yes
configure:10456: checking whether to use python
configure:10458: result: /build/toolchain/lin32/python-2.5
configure:10664: checking for python2.5
configure:10682: gcc -o conftest -g -DVMWARE_VMKGDB   -I/build/toolchain/lin32/python-2.5/include -I/build/toolchain/lin32/python-2.5/include   -Wl,-R/build/toolchain/lin32/ncurses-5.5/lib -Wl,-R/build/toolchain/lin32/expat-1.95.8/lib -Wl,-R/build/toolchain/lin32/python-2.5/lib -Wl,-R/build/toolchain/lin32/zlib-1.2.3-3/lib conftest.c -lncurses -lz -lm    -L/build/toolchain/lin32/python-2.5/lib/python2.5/config -lpthread -ldl -lutil -lm -lpython2.5 >&5
/build/toolchain/lin32/python-2.5/lib/python2.5/config/libpython2.5.a(posixmodule.o): In function `posix_tmpnam':
/local/toolchain/main/src/python-2.5/Python-2.5/./Modules/posixmodule.c:6718: warning: the use of `tmpnam_r' is dangerous, better use `mkstemp'
/build/toolchain/lin32/python-2.5/lib/python2.5/config/libpython2.5.a(posixmodule.o): In function `posix_tempnam':
/local/toolchain/main/src/python-2.5/Python-2.5/./Modules/posixmodule.c:6673: warning: the use of `tempnam' is dangerous, better use `mkstemp'
/build/toolchain/lin32/python-2.5/lib/python2.5/config/libpython2.5.a(tokenizer.o): In function `get_coding_spec':
/local/toolchain/main/src/python-2.5/Python-2.5/Parser/tokenizer.c:232: undefined reference to `__ctype_b'
/build/toolchain/lin32/python-2.5/lib/python2.5/config/libpython2.5.a(tokenizer.o): In function `tolower':
/usr/include/ctype.h:170: undefined reference to `__ctype_tolower'
/build/toolchain/lin32/python-2.5/lib/python2.5/config/libpython2.5.a(tokenizer.o): In function `tok_get':
/local/toolchain/main/src/python-2.5/Python-2.5/Parser/tokenizer.c:1262: undefined reference to `__ctype_b'
/local/toolchain/main/src/python-2.5/Python-2.5/Parser/tokenizer.c:1280: undefined reference to `__ctype_b'
/local/toolchain/main/src/python-2.5/Python-2.5/Parser/tokenizer.c:1280: undefined reference to `__ctype_b'
/local/toolchain/main/src/python-2.5/Python-2.5/Parser/tokenizer.c:1303: undefined reference to `__ctype_b'
/local/toolchain/main/src/python-2.5/Python-2.5/Parser/tokenizer.c:1365: undefined reference to `__ctype_b'
/build/toolchain/lin32/python-2.5/lib/python2.5/config/libpython2.5.a(tokenizer.o):/local/toolchain/main/src/python-2.5/Python-2.5/Parser/tokenizer.c:1375: more undefined references to `__ctype_b' follow
/build/toolchain/lin32/python-2.5/lib/python2.5/config/libpython2.5.a(stringobject.o): In function `string_upper':
/local/toolchain/main/src/python-2.5/Python-2.5/Objects/stringobject.c:2168: undefined reference to `__ctype_toupper'
/build/toolchain/lin32/python-2.5/lib/python2.5/config/libpython2.5.a(stringobject.o): In function `string_lower':
/local/toolchain/main/src/python-2.5/Python-2.5/Objects/stringobject.c:2134: undefined reference to `__ctype_b'
/local/toolchain/main/src/python-2.5/Python-2.5/Objects/stringobject.c:2135: undefined reference to `__ctype_tolower'
/build/toolchain/lin32/python-2.5/lib/python2.5/config/libpython2.5.a(stringobject.o): In function `do_strip':
/local/toolchain/main/src/python-2.5/Python-2.5/Objects/stringobject.c:1996: undefined reference to `__ctype_b'
/local/toolchain/main/src/python-2.5/Python-2.5/Objects/stringobject.c:2005: undefined reference to `__ctype_b'
/build/toolchain/lin32/python-2.5/lib/python2.5/config/libpython2.5.a(stringobject.o): In function `rsplit_whitespace':
/local/toolchain/main/src/python-2.5/Python-2.5/Objects/stringobject.c:1589: undefined reference to `__ctype_b'
/local/toolchain/main/src/python-2.5/Python-2.5/Objects/stringobject.c:1598: undefined reference to `__ctype_b'
/build/toolchain/lin32/python-2.5/lib/python2.5/config/libpython2.5.a(stringobject.o): In function `split_whitespace':
/local/toolchain/main/src/python-2.5/Python-2.5/Objects/stringobject.c:1383: undefined reference to `__ctype_b'
/build/toolchain/lin32/python-2.5/lib/python2.5/config/libpython2.5.a(stringobject.o):/local/toolchain/main/src/python-2.5/Python-2.5/Objects/stringobject.c:1386: more undefined references to `__ctype_b' follow
/build/toolchain/lin32/python-2.5/lib/python2.5/config/libpython2.5.a(stringobject.o): In function `tolower':
/usr/include/ctype.h:170: undefined reference to `__ctype_tolower'
/build/toolchain/lin32/python-2.5/lib/python2.5/config/libpython2.5.a(stringobject.o): In function `toupper':
/usr/include/ctype.h:176: undefined reference to `__ctype_toupper'
/build/toolchain/lin32/python-2.5/lib/python2.5/config/libpython2.5.a(stringobject.o): In function `PyString_Format':
/local/toolchain/main/src/python-2.5/Python-2.5/Objects/stringobject.c:4559: undefined reference to `__ctype_b'
/local/toolchain/main/src/python-2.5/Python-2.5/Objects/stringobject.c:4594: undefined reference to `__ctype_b'
/build/toolchain/lin32/python-2.5/lib/python2.5/config/libpython2.5.a(stringobject.o): In function `string_swapcase':
/local/toolchain/main/src/python-2.5/Python-2.5/Objects/stringobject.c:2308: undefined reference to `__ctype_b'
/build/toolchain/lin32/python-2.5/lib/python2.5/config/libpython2.5.a(stringobject.o): In function `toupper':
/usr/include/ctype.h:176: undefined reference to `__ctype_toupper'
/build/toolchain/lin32/python-2.5/lib/python2.5/config/libpython2.5.a(stringobject.o): In function `tolower':
/usr/include/ctype.h:170: undefined reference to `__ctype_tolower'
/build/toolchain/lin32/python-2.5/lib/python2.5/config/libpython2.5.a(stringobject.o): In function `string_title':
/local/toolchain/main/src/python-2.5/Python-2.5/Objects/stringobject.c:2194: undefined reference to `__ctype_b'
/build/toolchain/lin32/python-2.5/lib/python2.5/config/libpython2.5.a(stringobject.o): In function `tolower':
/usr/include/ctype.h:170: undefined reference to `__ctype_tolower'
/build/toolchain/lin32/python-2.5/lib/python2.5/config/libpython2.5.a(stringobject.o): In function `toupper':
/usr/include/ctype.h:176: undefined reference to `__ctype_toupper'
/build/toolchain/lin32/python-2.5/lib/python2.5/config/libpython2.5.a(typeobject.o): In function `valid_identifier':
/local/toolchain/main/src/python-2.5/Python-2.5/Objects/typeobject.c:1550: undefined reference to `__ctype_b'
/build/toolchain/lin32/python-2.5/lib/python2.5/config/libpython2.5.a(unicodeobject.o): In function `PyUnicode_EncodeUTF7':
/local/toolchain/main/src/python-2.5/Python-2.5/Objects/unicodeobject.c:1125: undefined reference to `__ctype_b'
/local/toolchain/main/src/python-2.5/Python-2.5/Objects/unicodeobject.c:1146: undefined reference to `__ctype_b'
/build/toolchain/lin32/python-2.5/lib/python2.5/config/libpython2.5.a(unicodeobject.o): In function `PyUnicodeUCS4_DecodeRawUnicodeEscape':
/local/toolchain/main/src/python-2.5/Python-2.5/Objects/unicodeobject.c:2251: undefined reference to `__ctype_b'
/build/toolchain/lin32/python-2.5/lib/python2.5/config/libpython2.5.a(unicodeobject.o): In function `PyUnicode_DecodeUTF7':
/local/toolchain/main/src/python-2.5/Python-2.5/Objects/unicodeobject.c:976: undefined reference to `__ctype_b'
/build/toolchain/lin32/python-2.5/lib/python2.5/config/libpython2.5.a(unicodeobject.o):/local/toolchain/main/src/python-2.5/Python-2.5/Objects/unicodeobject.c:1875: more undefined references to `__ctype_b' follow
/build/toolchain/lin32/python-2.5/lib/python2.5/config/libpython2.5.a(codecs.o): In function `tolower':
/usr/include/ctype.h:170: undefined reference to `__ctype_tolower'
/build/toolchain/lin32/python-2.5/lib/python2.5/config/libpython2.5.a(getargs.o): In function `converttuple':
/local/toolchain/main/src/python-2.5/Python-2.5/Python/getargs.c:417: undefined reference to `__ctype_b'
/build/toolchain/lin32/python-2.5/lib/python2.5/config/libpython2.5.a(getargs.o): In function `vgetargskeywords':
/local/toolchain/main/src/python-2.5/Python-2.5/Python/getargs.c:1381: undefined reference to `__ctype_b'
/build/toolchain/lin32/python-2.5/lib/python2.5/config/libpython2.5.a(getargs.o): In function `vgetargs1':
/local/toolchain/main/src/python-2.5/Python-2.5/Python/getargs.c:234: undefined reference to `__ctype_b'
/local/toolchain/main/src/python-2.5/Python-2.5/Python/getargs.c:324: undefined reference to `__ctype_b'
/build/toolchain/lin32/python-2.5/lib/python2.5/config/libpython2.5.a(mystrtoul.o): In function `PyOS_strtoul':
/local/toolchain/main/src/python-2.5/Python-2.5/Python/mystrtoul.c:110: undefined reference to `__ctype_b'
/build/toolchain/lin32/python-2.5/lib/python2.5/config/libpython2.5.a(mystrtoul.o):/local/toolchain/main/src/python-2.5/Python-2.5/Python/mystrtoul.c:213: more undefined references to `__ctype_b' follow
/build/toolchain/lin32/python-2.5/lib/python2.5/config/libpython2.5.a(_sre.o): In function `tolower':
/usr/include/ctype.h:170: undefined reference to `__ctype_tolower'
/build/toolchain/lin32/python-2.5/lib/python2.5/config/libpython2.5.a(_sre.o): In function `sre_category':
/local/toolchain/main/src/python-2.5/Python-2.5/./Modules/_sre.c:212: undefined reference to `__ctype_b'
/local/toolchain/main/src/python-2.5/Python-2.5/./Modules/_sre.c:210: undefined reference to `__ctype_b'
/build/toolchain/lin32/python-2.5/lib/python2.5/config/libpython2.5.a(_sre.o): In function `tolower':
/usr/include/ctype.h:170: undefined reference to `__ctype_tolower'
/build/toolchain/lin32/python-2.5/lib/python2.5/config/libpython2.5.a(_sre.o): In function `sre_uat':
/local/toolchain/main/src/python-2.5/Python-2.5/./Modules/_sre.c:394: undefined reference to `__ctype_b'
/local/toolchain/main/src/python-2.5/Python-2.5/./Modules/_sre.c:396: undefined reference to `__ctype_b'
/local/toolchain/main/src/python-2.5/Python-2.5/./Modules/_sre.c:385: undefined reference to `__ctype_b'
/local/toolchain/main/src/python-2.5/Python-2.5/./Modules/_sre.c:387: undefined reference to `__ctype_b'
/build/toolchain/lin32/python-2.5/lib/python2.5/config/libpython2.5.a(_sre.o): In function `sre_at':
/local/toolchain/main/src/python-2.5/Python-2.5/./Modules/_sre.c:394: undefined reference to `__ctype_b'
/build/toolchain/lin32/python-2.5/lib/python2.5/config/libpython2.5.a(_sre.o):/local/toolchain/main/src/python-2.5/Python-2.5/./Modules/_sre.c:396: more undefined references to `__ctype_b' follow
collect2: ld returned 1 exit status
configure:10682: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define __EXTENSIONS__ 1
| #define _ALL_SOURCE 1
| #define _GNU_SOURCE 1
| #define _POSIX_PTHREAD_SEMANTICS 1
| #define _TANDEM_SOURCE 1
| #define _FILE_OFFSET_BITS 64
| #define ENABLE_NLS 1
| #define HAVE_SYS_MMAN_H 1
| #define HAVE_STDDEF_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_WCHAR_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MPROTECT 1
| #define HAVE_MEMCHR 1
| #define HAVE_MAP_ANONYMOUS 1
| #define HAVE_DECL_MEMMEM 1
| #define HAVE_MEMMEM 1
| #define HAVE_WCHAR_T 1
| #define HAVE_LONG_LONG_INT 1
| #define HAVE_UNSIGNED_LONG_LONG_INT 1
| #define restrict __restrict
| #define HAVE_RAW_DECL_MEMMEM 1
| #define HAVE_RAW_DECL_MEMPCPY 1
| #define HAVE_RAW_DECL_MEMRCHR 1
| #define HAVE_RAW_DECL_RAWMEMCHR 1
| #define HAVE_RAW_DECL_STPCPY 1
| #define HAVE_RAW_DECL_STPNCPY 1
| #define HAVE_RAW_DECL_STRCHRNUL 1
| #define HAVE_RAW_DECL_STRDUP 1
| #define HAVE_RAW_DECL_STRNCAT 1
| #define HAVE_RAW_DECL_STRNDUP 1
| #define HAVE_RAW_DECL_STRNLEN 1
| #define HAVE_RAW_DECL_STRPBRK 1
| #define HAVE_RAW_DECL_STRSEP 1
| #define HAVE_RAW_DECL_STRCASESTR 1
| #define HAVE_RAW_DECL_STRTOK_R 1
| #define HAVE_RAW_DECL_STRSIGNAL 1
| #define HAVE_RAW_DECL_STRVERSCMP 1
| #define HAVE_WINT_T 1
| #define GNULIB_TEST_MEMCHR 1
| #define HAVE_MEMMEM 1
| #define GNULIB_TEST_MEMMEM 1
| #define HAVE_RAW_DECL_BTOWC 1
| #define HAVE_RAW_DECL_WCTOB 1
| #define HAVE_RAW_DECL_MBSINIT 1
| #define HAVE_RAW_DECL_MBRTOWC 1
| #define HAVE_RAW_DECL_MBRLEN 1
| #define HAVE_RAW_DECL_MBSRTOWCS 1
| #define HAVE_RAW_DECL_MBSNRTOWCS 1
| #define HAVE_RAW_DECL_WCRTOMB 1
| #define HAVE_RAW_DECL_WCSRTOMBS 1
| #define HAVE_RAW_DECL_WCSNRTOMBS 1
| #define HAVE_RAW_DECL_WCWIDTH 1
| #define PACKAGE "gdb"
| #define DEBUGDIR "/usr/local/lib/debug"
| #define DEBUGDIR_RELOCATABLE 1
| #define GDB_DATADIR "/usr/local/share/gdb"
| #define GDB_DATADIR_RELOCATABLE 1
| #define DEFAULT_BFD_ARCH bfd_i386_arch
| #define DEFAULT_BFD_VEC bfd_elf32_i386_vec
| #define HAVE_MONSTARTUP 1
| #define HAVE__MCLEANUP 1
| #define HAVE__ETEXT 1
| #define HAVE_ETEXT 1
| #define PKGVERSION "(GDB) "
| #define REPORT_BUGS_TO "<http://www.gnu.org/software/gdb/bugs/>"
| #define HAVE_LIBM 1
| #define HAVE_ZLIB_H 1
| #define HAVE_ICONV 1
| #define ICONV_CONST 
| #define HAVE_LIBEXPAT 1
| #define HAVE_XML_STOPPARSER 1
| /* end confdefs.h.  */
| #include "python2.5/Python.h"
| int
| main ()
| {
| Py_Initialize ();
|   ;
|   return 0;
| }
configure:10690: result: no
configure:10842: error: no usable python found at /build/toolchain/lin32/python-2.5

## ---------------- ##
## Cache variables. ##
## ---------------- ##

ac_cv_build=i686-pc-linux-gnu
ac_cv_c_compiler_gnu=yes
ac_cv_c_restrict=__restrict
ac_cv_env_CC_set=set
ac_cv_env_CC_value=gcc
ac_cv_env_CFLAGS_set=set
ac_cv_env_CFLAGS_value='-g -DVMWARE_VMKGDB'
ac_cv_env_CPPFLAGS_set=
ac_cv_env_CPPFLAGS_value=
ac_cv_env_CPP_set=
ac_cv_env_CPP_value=
ac_cv_env_LDFLAGS_set=set
ac_cv_env_LDFLAGS_value=' -Wl,-R/build/toolchain/lin32/ncurses-5.5/lib -Wl,-R/build/toolchain/lin32/expat-1.95.8/lib -Wl,-R/build/toolchain/lin32/python-2.5/lib -Wl,-R/build/toolchain/lin32/zlib-1.2.3-3/lib'
ac_cv_env_LIBS_set=
ac_cv_env_LIBS_value=
ac_cv_env_XMKMF_set=
ac_cv_env_XMKMF_value=
ac_cv_env_YACC_set=set
ac_cv_env_YACC_value='bison -y'
ac_cv_env_YFLAGS_set=
ac_cv_env_YFLAGS_value=
ac_cv_env_build_alias_set=set
ac_cv_env_build_alias_value=i686-pc-linux-gnu
ac_cv_env_host_alias_set=set
ac_cv_env_host_alias_value=i686-pc-linux-gnu
ac_cv_env_target_alias_set=set
ac_cv_env_target_alias_value=i686-pc-linux-gnu
ac_cv_func_XML_StopParser=yes
ac_cv_func__mcleanup=yes
ac_cv_func_memchr=yes
ac_cv_func_memmem=yes
ac_cv_func_mmap=yes
ac_cv_func_monstartup=yes
ac_cv_func_mprotect=yes
ac_cv_func_wctype=yes
ac_cv_have_decl_btowc=yes
ac_cv_have_decl_mbrlen=yes
ac_cv_have_decl_mbrtowc=yes
ac_cv_have_decl_mbsinit=yes
ac_cv_have_decl_mbsnrtowcs=yes
ac_cv_have_decl_mbsrtowcs=yes
ac_cv_have_decl_memmem=yes
ac_cv_have_decl_mempcpy=yes
ac_cv_have_decl_memrchr=yes
ac_cv_have_decl_rawmemchr=yes
ac_cv_have_decl_stpcpy=yes
ac_cv_have_decl_stpncpy=yes
ac_cv_have_decl_strcasestr=yes
ac_cv_have_decl_strchrnul=yes
ac_cv_have_decl_strdup=yes
ac_cv_have_decl_strncat=yes
ac_cv_have_decl_strndup=yes
ac_cv_have_decl_strnlen=yes
ac_cv_have_decl_strpbrk=yes
ac_cv_have_decl_strsep=yes
ac_cv_have_decl_strsignal=yes
ac_cv_have_decl_strtok_r=yes
ac_cv_have_decl_strverscmp=yes
ac_cv_have_decl_wcrtomb=yes
ac_cv_have_decl_wcsnrtombs=yes
ac_cv_have_decl_wcsrtombs=yes
ac_cv_have_decl_wctob=yes
ac_cv_have_decl_wcwidth=yes
ac_cv_header_inttypes_h=yes
ac_cv_header_libunwind_h=no
ac_cv_header_libunwind_ia64_h=no
ac_cv_header_memory_h=yes
ac_cv_header_minix_config_h=no
ac_cv_header_stdc=yes
ac_cv_header_stddef_h=yes
ac_cv_header_stdint_h=yes
ac_cv_header_stdlib_h=yes
ac_cv_header_string_h=yes
ac_cv_header_strings_h=yes
ac_cv_header_sys_mman_h=yes
ac_cv_header_sys_stat_h=yes
ac_cv_header_sys_types_h=yes
ac_cv_header_unistd_h=yes
ac_cv_header_wchar_h=yes
ac_cv_header_zlib_h=yes
ac_cv_host=i686-pc-linux-gnu
ac_cv_lib_m_main=yes
ac_cv_libexpat=yes
ac_cv_objext=o
ac_cv_path_EGREP='/bin/grep -E'
ac_cv_path_GREP=/bin/grep
ac_cv_path_mkdir=/bin/mkdir
ac_cv_prog_AR=ar
ac_cv_prog_AWK=gawk
ac_cv_prog_CC=gcc
ac_cv_prog_CPP='gcc -E'
ac_cv_prog_DLLTOOL=dlltool
ac_cv_prog_MAKE=make
ac_cv_prog_RANLIB=ranlib
ac_cv_prog_WINDRES=windres
ac_cv_prog_YACC='bison -y'
ac_cv_prog_cc_c89=
ac_cv_prog_cc_g=yes
ac_cv_prog_make_make_set=yes
ac_cv_safe_to_define___extensions__=yes
ac_cv_search_dlgetmodinfo=no
ac_cv_search_gethostbyname='none required'
ac_cv_search_socketpair='none required'
ac_cv_search_tgetent='none required'
ac_cv_search_waddstr=-lncurses
ac_cv_search_zlibVersion=-lz
ac_cv_sys_file_offset_bits=64
ac_cv_sys_largefile_CC=no
ac_cv_target=i686-pc-linux-gnu
ac_cv_type_long_long_int=yes
ac_cv_type_unsigned_long_long_int=yes
ac_cv_var__etext=yes
ac_cv_var_etext=yes
acl_cv_hardcode_direct=no
acl_cv_hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
acl_cv_hardcode_libdir_separator=
acl_cv_hardcode_minus_L=no
acl_cv_libext=a
acl_cv_path_LD=ld
acl_cv_prog_gnu_ld=yes
acl_cv_rpath=done
acl_cv_shlibext=so
acl_cv_wl=-Wl,
am_cv_CC_dependencies_compiler_type=gcc3
am_cv_build_libiconv_path=
am_cv_func_iconv=yes
am_cv_lib_iconv=no
am_cv_prog_cc_stdc=
am_cv_proto_iconv='extern size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);'
am_cv_proto_iconv_arg1=
am_cv_use_build_libiconv=no
gl_cv_c_multiarch=no
gl_cv_decl_null_works=yes
gl_cv_func_memchr_works=yes
gl_cv_func_memmem_works=no
gl_cv_have_include_next=yes
gl_cv_have_raw_decl_btowc=yes
gl_cv_have_raw_decl_mbrlen=yes
gl_cv_have_raw_decl_mbrtowc=yes
gl_cv_have_raw_decl_mbsinit=yes
gl_cv_have_raw_decl_mbsnrtowcs=yes
gl_cv_have_raw_decl_mbsrtowcs=yes
gl_cv_have_raw_decl_memmem=yes
gl_cv_have_raw_decl_mempcpy=yes
gl_cv_have_raw_decl_memrchr=yes
gl_cv_have_raw_decl_rawmemchr=yes
gl_cv_have_raw_decl_stpcpy=yes
gl_cv_have_raw_decl_stpncpy=yes
gl_cv_have_raw_decl_strcasestr=yes
gl_cv_have_raw_decl_strchrnul=yes
gl_cv_have_raw_decl_strdup=yes
gl_cv_have_raw_decl_strncat=yes
gl_cv_have_raw_decl_strndup=yes
gl_cv_have_raw_decl_strnlen=yes
gl_cv_have_raw_decl_strpbrk=yes
gl_cv_have_raw_decl_strsep=yes
gl_cv_have_raw_decl_strsignal=yes
gl_cv_have_raw_decl_strtok_r=yes
gl_cv_have_raw_decl_strverscmp=yes
gl_cv_have_raw_decl_wcrtomb=yes
gl_cv_have_raw_decl_wcsnrtombs=yes
gl_cv_have_raw_decl_wcsrtombs=yes
gl_cv_have_raw_decl_wctob=yes
gl_cv_have_raw_decl_wcwidth=yes
gl_cv_header_wchar_h_correct_inline=yes
gl_cv_header_working_stdint_h=yes
gl_cv_next_stdint_h='<stdint.h>'
gl_cv_next_string_h='<string.h>'
gl_cv_next_wchar_h='<wchar.h>'
gt_cv_c_wchar_t=yes
gt_cv_c_wint_t=yes

## ----------------- ##
## Output variables. ##
## ----------------- ##

ACLOCAL='${SHELL} /home/prom/msnyder/src-7.2/missing --run aclocal-1.11'
ALLOCA=''
AMDEPBACKSLASH='\'
AMDEP_FALSE='#'
AMDEP_TRUE=''
AMTAR='${SHELL} /home/prom/msnyder/src-7.2/missing --run tar'
APPLE_UNIVERSAL_BUILD='0'
AR='ar'
AUTOCONF='${SHELL} /home/prom/msnyder/src-7.2/missing --run autoconf'
AUTOHEADER='${SHELL} /home/prom/msnyder/src-7.2/missing --run autoheader'
AUTOMAKE='${SHELL} /home/prom/msnyder/src-7.2/missing --run automake-1.11'
AWK='gawk'
BITSIZEOF_PTRDIFF_T=''
BITSIZEOF_SIG_ATOMIC_T=''
BITSIZEOF_SIZE_T=''
BITSIZEOF_WCHAR_T=''
BITSIZEOF_WINT_T=''
CATALOGS=''
CATOBJEXT='.gmo'
CC='gcc'
CCDEPMODE='depmode=gcc3'
CFLAGS='-g -DVMWARE_VMKGDB'
CONFIG_ALL=' all-po all-tui'
CONFIG_CLEAN=' clean-po clean-tui'
CONFIG_DEPS=' $(SUBDIR_CLI_DEPS) $(SUBDIR_MI_DEPS) $(SUBDIR_TUI_DEPS)'
CONFIG_INSTALL=' install-po install-tui'
CONFIG_LDFLAGS=''
CONFIG_OBS=' $(SUBDIR_CLI_OBS) $(SUBDIR_MI_OBS) $(SUBDIR_TUI_OBS)'
CONFIG_SRCS=' $(SUBDIR_CLI_SRCS) $(SUBDIR_MI_SRCS) $(SUBDIR_TUI_SRCS)'
CONFIG_UNINSTALL=' uninstall-po uninstall-tui'
CPP='gcc -E'
CPPFLAGS=' '
CYGPATH_W='echo'
DATADIRNAME='share'
DEBUGDIR='${exec_prefix}/lib/debug'
DEFS=''
DEPDIR='.deps'
DLLTOOL='dlltool'
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EGREP='/bin/grep -E'
ENABLE_CFLAGS=' $(SUBDIR_CLI_CFLAGS) $(SUBDIR_MI_CFLAGS) $(SUBDIR_TUI_CFLAGS)'
EXEEXT=''
GDBTKLIBS=''
GDBTK_CFLAGS=''
GDBTK_SRC_DIR=''
GDB_DATADIR='${datarootdir}/gdb'
GDB_NM_FILE=''
GENCAT='gencat'
GL_COND_LIBTOOL_FALSE=''
GL_COND_LIBTOOL_TRUE='#'
GMAKE_FALSE='#'
GMAKE_TRUE=''
GMSGFMT='/usr/bin/msgfmt'
GNULIB_BTOWC='0'
GNULIB_MBRLEN='0'
GNULIB_MBRTOWC='0'
GNULIB_MBSCASECMP='0'
GNULIB_MBSCASESTR='0'
GNULIB_MBSCHR='0'
GNULIB_MBSCSPN='0'
GNULIB_MBSINIT='0'
GNULIB_MBSLEN='0'
GNULIB_MBSNCASECMP='0'
GNULIB_MBSNLEN='0'
GNULIB_MBSNRTOWCS='0'
GNULIB_MBSPBRK='0'
GNULIB_MBSPCASECMP='0'
GNULIB_MBSRCHR='0'
GNULIB_MBSRTOWCS='0'
GNULIB_MBSSEP='0'
GNULIB_MBSSPN='0'
GNULIB_MBSSTR='0'
GNULIB_MBSTOK_R='0'
GNULIB_MEMCHR='1'
GNULIB_MEMMEM='1'
GNULIB_MEMPCPY='0'
GNULIB_MEMRCHR='0'
GNULIB_RAWMEMCHR='0'
GNULIB_STDINT_H=''
GNULIB_STPCPY='0'
GNULIB_STPNCPY='0'
GNULIB_STRCASESTR='0'
GNULIB_STRCHRNUL='0'
GNULIB_STRDUP='0'
GNULIB_STRERROR='0'
GNULIB_STRNCAT='0'
GNULIB_STRNDUP='0'
GNULIB_STRNLEN='0'
GNULIB_STRPBRK='0'
GNULIB_STRSEP='0'
GNULIB_STRSIGNAL='0'
GNULIB_STRSTR='0'
GNULIB_STRTOK_R='0'
GNULIB_STRVERSCMP='0'
GNULIB_WCRTOMB='0'
GNULIB_WCSNRTOMBS='0'
GNULIB_WCSRTOMBS='0'
GNULIB_WCTOB='0'
GNULIB_WCWIDTH='0'
GREP='/bin/grep'
GUI_CFLAGS_X=''
HAVE_BTOWC='1'
HAVE_DECL_MEMMEM='1'
HAVE_DECL_MEMRCHR='1'
HAVE_DECL_STRDUP='1'
HAVE_DECL_STRNDUP='1'
HAVE_DECL_STRNLEN='1'
HAVE_DECL_STRSIGNAL='1'
HAVE_DECL_STRTOK_R='1'
HAVE_DECL_WCTOB='1'
HAVE_DECL_WCWIDTH='1'
HAVE_INTTYPES_H='1'
HAVE_LIBEXPAT='yes'
HAVE_LONG_LONG_INT='1'
HAVE_MBRLEN='1'
HAVE_MBRTOWC='1'
HAVE_MBSINIT='1'
HAVE_MBSLEN='0'
HAVE_MBSNRTOWCS='1'
HAVE_MBSRTOWCS='1'
HAVE_MEMCHR='1'
HAVE_MEMPCPY='1'
HAVE_RAWMEMCHR='1'
HAVE_SIGNED_SIG_ATOMIC_T=''
HAVE_SIGNED_WCHAR_T=''
HAVE_SIGNED_WINT_T=''
HAVE_STDINT_H='1'
HAVE_STPCPY='1'
HAVE_STPNCPY='1'
HAVE_STRCASESTR='1'
HAVE_STRCHRNUL='1'
HAVE_STRPBRK='1'
HAVE_STRSEP='1'
HAVE_STRVERSCMP='1'
HAVE_SYS_BITYPES_H=''
HAVE_SYS_INTTYPES_H=''
HAVE_SYS_TYPES_H='1'
HAVE_UNSIGNED_LONG_LONG_INT='1'
HAVE_WCHAR_H='1'
HAVE_WCHAR_T='1'
HAVE_WCRTOMB='1'
HAVE_WCSNRTOMBS='1'
HAVE_WCSRTOMBS='1'
HAVE_WINT_T='1'
INCINTL=''
INCLUDE_NEXT='include_next'
INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next'
INSTALL_DATA='/usr/bin/install -c -m 644'
INSTALL_PROGRAM='/usr/bin/install -c'
INSTALL_SCRIPT='/usr/bin/install -c'
INSTALL_STRIP_PROGRAM='$(install_sh) -c -s'
INSTOBJEXT='.mo'
LDFLAGS=' -Wl,-R/build/toolchain/lin32/ncurses-5.5/lib -Wl,-R/build/toolchain/lin32/expat-1.95.8/lib -Wl,-R/build/toolchain/lin32/python-2.5/lib -Wl,-R/build/toolchain/lin32/zlib-1.2.3-3/lib'
LIBEXPAT='-lexpat'
LIBGNU_LIBDEPS=''
LIBGNU_LTLIBDEPS=''
LIBGUI=''
LIBINTL=''
LIBINTL_DEP=''
LIBOBJS=''
LIBS='-lncurses -lz -lm   '
LN_S='ln -s'
LTLIBEXPAT='-lexpat'
LTLIBOBJS=''
MAINT='#'
MAINTAINER_MODE_FALSE=''
MAINTAINER_MODE_TRUE='#'
MAKE='make'
MAKEINFO='makeinfo --split-size=5000000'
MIG=''
MKDIR_P='/bin/mkdir -p'
NEXT_AS_FIRST_DIRECTIVE_STDDEF_H=''
NEXT_AS_FIRST_DIRECTIVE_STDINT_H='<stdint.h>'
NEXT_AS_FIRST_DIRECTIVE_STRING_H='<string.h>'
NEXT_AS_FIRST_DIRECTIVE_WCHAR_H='<wchar.h>'
NEXT_STDDEF_H=''
NEXT_STDINT_H='<stdint.h>'
NEXT_STRING_H='<string.h>'
NEXT_WCHAR_H='<wchar.h>'
OBJEXT='o'
PACKAGE='gdb'
PACKAGE_BUGREPORT=''
PACKAGE_NAME=''
PACKAGE_STRING=''
PACKAGE_TARNAME=''
PACKAGE_URL=''
PACKAGE_VERSION=''
PATH_SEPARATOR=':'
PKGVERSION='(GDB) '
POSUB='po'
PRAGMA_SYSTEM_HEADER='#pragma GCC system_header'
PROFILE_CFLAGS=''
PTRDIFF_T_SUFFIX=''
PYTHON_CFLAGS=''
RANLIB='ranlib'
RDYNAMIC=''
READLINE='$(READLINE_DIR)/libreadline.a'
READLINE_CFLAGS='-I$(READLINE_SRC)/..'
READLINE_DEPS='$(READLINE)'
REPLACE_BTOWC='0'
REPLACE_MBRLEN='0'
REPLACE_MBRTOWC='0'
REPLACE_MBSINIT='0'
REPLACE_MBSNRTOWCS='0'
REPLACE_MBSRTOWCS='0'
REPLACE_MBSTATE_T='0'
REPLACE_MEMCHR='0'
REPLACE_MEMMEM='1'
REPLACE_NULL='0'
REPLACE_STPNCPY='0'
REPLACE_STRCASESTR='0'
REPLACE_STRDUP='0'
REPLACE_STRERROR='0'
REPLACE_STRNCAT='0'
REPLACE_STRNDUP='0'
REPLACE_STRNLEN='0'
REPLACE_STRSIGNAL='0'
REPLACE_STRSTR='0'
REPLACE_STRTOK_R='0'
REPLACE_WCRTOMB='0'
REPLACE_WCSNRTOMBS='0'
REPLACE_WCSRTOMBS='0'
REPLACE_WCTOB='0'
REPLACE_WCWIDTH='0'
REPORT_BUGS_TEXI='@uref{http://www.gnu.org/software/gdb/bugs/}'
REPORT_BUGS_TO='<http://www.gnu.org/software/gdb/bugs/>'
SER_HARDWIRE=''
SET_MAKE=''
SHELL='/bin/sh'
SIG_ATOMIC_T_SUFFIX=''
SIM=''
SIM_OBS=''
SIZE_T_SUFFIX=''
STDDEF_H=''
STDINT_H=''
STRIP=''
SYSTEM_GDBINIT=''
TARGET_OBS=' amd64-tdep.o amd64-linux-tdep.o i386-tdep.o i386-linux-tdep.o glibc-tdep.o i387-tdep.o solib.o solib-svr4.o symfile-mem.o corelow.o linux-tdep.o linux-record.o'
TARGET_SYSTEM_ROOT=''
TARGET_SYSTEM_ROOT_DEFINE=''
TCL_BIN_DIR=''
TCL_DEPS=''
TCL_INCLUDE=''
TCL_LIBRARY=''
TCL_LIB_FILE=''
TCL_LIB_FLAG=''
TCL_LIB_SPEC=''
TCL_PATCH_LEVEL=''
TCL_SRC_DIR=''
TCL_STUB_LIB_FILE=''
TCL_STUB_LIB_FLAG=''
TCL_STUB_LIB_SPEC=''
TCL_VERSION=''
TK_BIN_DIR=''
TK_DEPS=''
TK_INCLUDE=''
TK_LIBRARY=''
TK_LIB_FILE=''
TK_LIB_FLAG=''
TK_LIB_SPEC=''
TK_SRC_DIR=''
TK_STUB_LIB_FILE=''
TK_STUB_LIB_FLAG=''
TK_STUB_LIB_SPEC=''
TK_VERSION=''
TK_XINCLUDES=''
UNDEFINE_STRTOK_R='0'
USE_NLS='yes'
VERSION='UNUSED-VERSION'
WARN_CFLAGS=''
WCHAR_T_SUFFIX=''
WERROR_CFLAGS=''
WIN32LDAPP=''
WIN32LIBS=''
WINDRES='windres'
WINT_T_SUFFIX=''
XGETTEXT='/usr/bin/xgettext'
XMKMF=''
X_CFLAGS=''
X_LDFLAGS=''
X_LIBS=''
YACC='bison -y'
YFLAGS=''
ac_ct_CC=''
am__EXEEXT_FALSE=''
am__EXEEXT_TRUE=''
am__fastdepCC_FALSE='#'
am__fastdepCC_TRUE=''
am__include='include'
am__isrc=' -I$(srcdir)'
am__leading_dot='.'
am__quote=''
am__tar='${AMTAR} chof - "$$tardir"'
am__untar='${AMTAR} xf -'
bindir='${exec_prefix}/bin'
build='i686-pc-linux-gnu'
build_alias='i686-pc-linux-gnu'
build_cpu='i686'
build_os='linux-gnu'
build_vendor='pc'
datadir='${datarootdir}'
datarootdir='${prefix}/share'
docdir='${datarootdir}/doc/${PACKAGE}'
dvidir='${docdir}'
exec_prefix='${prefix}'
frags=''
gl_LIBOBJS=' memmem.o'
gl_LTLIBOBJS=''
gltests_LIBOBJS=''
gltests_LTLIBOBJS=''
gltests_WITNESS='IN__GNULIB_TESTS'
host='i686-pc-linux-gnu'
host_alias='i686-pc-linux-gnu'
host_cpu='i686'
host_os='linux-gnu'
host_vendor='pc'
htmldir='${docdir}'
includedir='${prefix}/include'
infodir='${datarootdir}/info'
install_sh='${SHELL} /home/prom/msnyder/src-7.2/install-sh'
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
localedir='${datadir}/locale'
localstatedir='${prefix}/var'
mandir='${datarootdir}/man'
mkdir_p='/bin/mkdir -p'
oldincludedir='/usr/include'
pdfdir='${docdir}'
prefix='/usr/local'
program_transform_name='s,y,y,'
psdir='${docdir}'
python_prog_path=''
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
subdirs=' doc testsuite'
sysconfdir='${prefix}/etc'
target='i686-pc-linux-gnu'
target_alias='i686-pc-linux-gnu'
target_cpu='i686'
target_os='linux-gnu'
target_subdir=''
target_vendor='pc'

## ------------------- ##
## File substitutions. ##
## ------------------- ##

host_makefile_frag=''

## ----------- ##
## confdefs.h. ##
## ----------- ##

/* confdefs.h */
#define PACKAGE_NAME ""
#define PACKAGE_TARNAME ""
#define PACKAGE_VERSION ""
#define PACKAGE_STRING ""
#define PACKAGE_BUGREPORT ""
#define PACKAGE_URL ""
#define STDC_HEADERS 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STRING_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define __EXTENSIONS__ 1
#define _ALL_SOURCE 1
#define _GNU_SOURCE 1
#define _POSIX_PTHREAD_SEMANTICS 1
#define _TANDEM_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define ENABLE_NLS 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_STDDEF_H 1
#define HAVE_STDINT_H 1
#define HAVE_WCHAR_H 1
#define HAVE_STRING_H 1
#define HAVE_MPROTECT 1
#define HAVE_MEMCHR 1
#define HAVE_MAP_ANONYMOUS 1
#define HAVE_DECL_MEMMEM 1
#define HAVE_MEMMEM 1
#define HAVE_WCHAR_T 1
#define HAVE_LONG_LONG_INT 1
#define HAVE_UNSIGNED_LONG_LONG_INT 1
#define restrict __restrict
#define HAVE_RAW_DECL_MEMMEM 1
#define HAVE_RAW_DECL_MEMPCPY 1
#define HAVE_RAW_DECL_MEMRCHR 1
#define HAVE_RAW_DECL_RAWMEMCHR 1
#define HAVE_RAW_DECL_STPCPY 1
#define HAVE_RAW_DECL_STPNCPY 1
#define HAVE_RAW_DECL_STRCHRNUL 1
#define HAVE_RAW_DECL_STRDUP 1
#define HAVE_RAW_DECL_STRNCAT 1
#define HAVE_RAW_DECL_STRNDUP 1
#define HAVE_RAW_DECL_STRNLEN 1
#define HAVE_RAW_DECL_STRPBRK 1
#define HAVE_RAW_DECL_STRSEP 1
#define HAVE_RAW_DECL_STRCASESTR 1
#define HAVE_RAW_DECL_STRTOK_R 1
#define HAVE_RAW_DECL_STRSIGNAL 1
#define HAVE_RAW_DECL_STRVERSCMP 1
#define HAVE_WINT_T 1
#define GNULIB_TEST_MEMCHR 1
#define HAVE_MEMMEM 1
#define GNULIB_TEST_MEMMEM 1
#define HAVE_RAW_DECL_BTOWC 1
#define HAVE_RAW_DECL_WCTOB 1
#define HAVE_RAW_DECL_MBSINIT 1
#define HAVE_RAW_DECL_MBRTOWC 1
#define HAVE_RAW_DECL_MBRLEN 1
#define HAVE_RAW_DECL_MBSRTOWCS 1
#define HAVE_RAW_DECL_MBSNRTOWCS 1
#define HAVE_RAW_DECL_WCRTOMB 1
#define HAVE_RAW_DECL_WCSRTOMBS 1
#define HAVE_RAW_DECL_WCSNRTOMBS 1
#define HAVE_RAW_DECL_WCWIDTH 1
#define PACKAGE "gdb"
#define DEBUGDIR "/usr/local/lib/debug"
#define DEBUGDIR_RELOCATABLE 1
#define GDB_DATADIR "/usr/local/share/gdb"
#define GDB_DATADIR_RELOCATABLE 1
#define DEFAULT_BFD_ARCH bfd_i386_arch
#define DEFAULT_BFD_VEC bfd_elf32_i386_vec
#define HAVE_MONSTARTUP 1
#define HAVE__MCLEANUP 1
#define HAVE__ETEXT 1
#define HAVE_ETEXT 1
#define PKGVERSION "(GDB) "
#define REPORT_BUGS_TO "<http://www.gnu.org/software/gdb/bugs/>"
#define HAVE_LIBM 1
#define HAVE_ZLIB_H 1
#define HAVE_ICONV 1
#define ICONV_CONST 
#define HAVE_LIBEXPAT 1
#define HAVE_XML_STOPPARSER 1

configure: exit 1

^ permalink raw reply	[flat|nested] 34+ messages in thread

* Re: 7.2 branch, configure problem, --with-python
  2010-07-26 23:45 7.2 branch, configure problem, --with-python Michael Snyder
@ 2010-07-27 15:30 ` Thiago Jung Bauermann
  2010-07-27 17:17   ` Michael Snyder
  2010-07-28  0:30   ` Michael Snyder
  0 siblings, 2 replies; 34+ messages in thread
From: Thiago Jung Bauermann @ 2010-07-27 15:30 UTC (permalink / raw)
  To: Michael Snyder; +Cc: gdb-patches

On Mon, 2010-07-26 at 16:45 -0700, Michael Snyder wrote:
> Hey folks, I'm having a problem attempting to build the release branch
> on a 32 bit RHEL5 system.  I've used "--with-python=xyz" to point to a
> local install directory, but configure tells me it wasn't found.
> 
> The exact same configuration worked fine in version 7.1.
> 
> This is my configure command:
> CFLAGS=-g \
> LDFLAGS="-Wl,-R/build/toolchain/lin32/ncurses-5.5/lib 
> -Wl,-R/build/toolchain/lin32/expat-1.95.8/lib 
> -Wl,-R/build/toolchain/lin32/python-2.5/lib 
> -Wl,-R/build/toolchain/lin32/zlib-1.2.3-3/lib \
> $(srcdir)/configure --with-python=/build/toolchain/lin32/python-2.5
> 
> ... and this is the error message:
> 
> checking for python2.5... no
> configure: error: no usable python found at 
> /build/toolchain/lin32/python-2.5
> make[1]: *** [configure-gdb] Error 1

You're getting lots of "undefined reference to `__ctype_b'" errors when
statically linking with libpython2.5.a. I've never seen such error
myself, but it looks like that it is related to using old versions of
glibc (like version 2.3 or so). E.g., see:

http://lists.debian.org/debian-glibc/2002/10/msg00340.html
http://lists.debian.org/debian-glibc/2002/10/msg00093.html

configure is trying to compile a trivial Python application using:

gcc -o conftest -g -DVMWARE_VMKGDB
-I/build/toolchain/lin32/python-2.5/include
-I/build/toolchain/lin32/python-2.5/include
-Wl,-R/build/toolchain/lin32/ncurses-5.5/lib
-Wl,-R/build/toolchain/lin32/expat-1.95.8/lib
-Wl,-R/build/toolchain/lin32/python-2.5/lib
-Wl,-R/build/toolchain/lin32/zlib-1.2.3-3/lib conftest.c -lncurses -lz
-lm    -L/build/toolchain/lin32/python-2.5/lib/python2.5/config
-lpthread -ldl -lutil -lm -lpython2.5 >&5

Which (apart from the -Wl,-R options) look harmless to me.
My initial impression is that there's something fishy with your
libpython2.5.a. I don't know why GDB 7.1 and GDB 7.2 would differ here.
-- 
[]'s
Thiago Jung Bauermann
IBM Linux Technology Center

^ permalink raw reply	[flat|nested] 34+ messages in thread

* Re: 7.2 branch, configure problem, --with-python
  2010-07-27 15:30 ` Thiago Jung Bauermann
@ 2010-07-27 17:17   ` Michael Snyder
  2010-07-27 17:25     ` Jan Kratochvil
  2010-07-28  0:30   ` Michael Snyder
  1 sibling, 1 reply; 34+ messages in thread
From: Michael Snyder @ 2010-07-27 17:17 UTC (permalink / raw)
  To: Thiago Jung Bauermann; +Cc: gdb-patches

Thiago Jung Bauermann wrote:
> On Mon, 2010-07-26 at 16:45 -0700, Michael Snyder wrote:
>> Hey folks, I'm having a problem attempting to build the release branch
>> on a 32 bit RHEL5 system.  I've used "--with-python=xyz" to point to a
>> local install directory, but configure tells me it wasn't found.
>>
>> The exact same configuration worked fine in version 7.1.
>>
>> This is my configure command:
>> CFLAGS=-g \
>> LDFLAGS="-Wl,-R/build/toolchain/lin32/ncurses-5.5/lib 
>> -Wl,-R/build/toolchain/lin32/expat-1.95.8/lib 
>> -Wl,-R/build/toolchain/lin32/python-2.5/lib 
>> -Wl,-R/build/toolchain/lin32/zlib-1.2.3-3/lib \
>> $(srcdir)/configure --with-python=/build/toolchain/lin32/python-2.5
>>
>> ... and this is the error message:
>>
>> checking for python2.5... no
>> configure: error: no usable python found at 
>> /build/toolchain/lin32/python-2.5
>> make[1]: *** [configure-gdb] Error 1
> 
> You're getting lots of "undefined reference to `__ctype_b'" errors when
> statically linking with libpython2.5.a. I've never seen such error
> myself, but it looks like that it is related to using old versions of
> glibc (like version 2.3 or so). E.g., see:
> 
> http://lists.debian.org/debian-glibc/2002/10/msg00340.html
> http://lists.debian.org/debian-glibc/2002/10/msg00093.html
> 
> configure is trying to compile a trivial Python application using:
> 
> gcc -o conftest -g -DVMWARE_VMKGDB
> -I/build/toolchain/lin32/python-2.5/include
> -I/build/toolchain/lin32/python-2.5/include
> -Wl,-R/build/toolchain/lin32/ncurses-5.5/lib
> -Wl,-R/build/toolchain/lin32/expat-1.95.8/lib
> -Wl,-R/build/toolchain/lin32/python-2.5/lib
> -Wl,-R/build/toolchain/lin32/zlib-1.2.3-3/lib conftest.c -lncurses -lz
> -lm    -L/build/toolchain/lin32/python-2.5/lib/python2.5/config
> -lpthread -ldl -lutil -lm -lpython2.5 >&5
> 
> Which (apart from the -Wl,-R options) look harmless to me.
> My initial impression is that there's something fishy with your
> libpython2.5.a. I don't know why GDB 7.1 and GDB 7.2 would differ here.

Thanks for your analysis.
7.1 and 7.2 differ because 7.1 links against the dynamic library,
while 7.2 links against the static python library.  I don't know
why the change.

^ permalink raw reply	[flat|nested] 34+ messages in thread

* Re: 7.2 branch, configure problem, --with-python
  2010-07-27 17:17   ` Michael Snyder
@ 2010-07-27 17:25     ` Jan Kratochvil
  0 siblings, 0 replies; 34+ messages in thread
From: Jan Kratochvil @ 2010-07-27 17:25 UTC (permalink / raw)
  To: Michael Snyder; +Cc: Thiago Jung Bauermann, gdb-patches

On Tue, 27 Jul 2010 19:17:13 +0200, Michael Snyder wrote:
> 7.1 and 7.2 differ because 7.1 links against the dynamic library,
> while 7.2 links against the static python library.  I don't know
> why the change.

guessing: GDB now uses python-config which I noticed as python's needless
-export-dynamic thus disables GDB's --dynamic-list.  Filed for python as:
	https://bugzilla.redhat.com/show_bug.cgi?id=618061


Regards,
Jan

^ permalink raw reply	[flat|nested] 34+ messages in thread

* Re: 7.2 branch, configure problem, --with-python
  2010-07-27 15:30 ` Thiago Jung Bauermann
  2010-07-27 17:17   ` Michael Snyder
@ 2010-07-28  0:30   ` Michael Snyder
  2010-07-28 16:15     ` Tom Tromey
  1 sibling, 1 reply; 34+ messages in thread
From: Michael Snyder @ 2010-07-28  0:30 UTC (permalink / raw)
  To: Thiago Jung Bauermann; +Cc: gdb-patches

Thiago Jung Bauermann wrote:
> On Mon, 2010-07-26 at 16:45 -0700, Michael Snyder wrote:
>> Hey folks, I'm having a problem attempting to build the release branch
>> on a 32 bit RHEL5 system.  I've used "--with-python=xyz" to point to a
>> local install directory, but configure tells me it wasn't found.
>>
>> The exact same configuration worked fine in version 7.1.
>>
>> This is my configure command:
>> CFLAGS=-g \
>> LDFLAGS="-Wl,-R/build/toolchain/lin32/ncurses-5.5/lib 
>> -Wl,-R/build/toolchain/lin32/expat-1.95.8/lib 
>> -Wl,-R/build/toolchain/lin32/python-2.5/lib 
>> -Wl,-R/build/toolchain/lin32/zlib-1.2.3-3/lib \
>> $(srcdir)/configure --with-python=/build/toolchain/lin32/python-2.5
>>
>> ... and this is the error message:
>>
>> checking for python2.5... no
>> configure: error: no usable python found at 
>> /build/toolchain/lin32/python-2.5
>> make[1]: *** [configure-gdb] Error 1
> 
> You're getting lots of "undefined reference to `__ctype_b'" errors when
> statically linking with libpython2.5.a. I've never seen such error
> myself, but it looks like that it is related to using old versions of
> glibc (like version 2.3 or so). E.g., see:
> 
> http://lists.debian.org/debian-glibc/2002/10/msg00340.html
> http://lists.debian.org/debian-glibc/2002/10/msg00093.html

Yes, and it turns out that the binary release of python 2.5 and 2.6.1
were compiled against glibc 2.2.5.

So this problem shows up because we've switched to static linking
(at least for configure).

Isn't this problem showing up for anyone else?  It seems to me that
it will bite anybody who's using a binary release of these versions.

^ permalink raw reply	[flat|nested] 34+ messages in thread

* Re: 7.2 branch, configure problem, --with-python
  2010-07-28  0:30   ` Michael Snyder
@ 2010-07-28 16:15     ` Tom Tromey
  2010-07-28 16:56       ` Michael Snyder
  2010-07-28 17:20       ` Joel Brobecker
  0 siblings, 2 replies; 34+ messages in thread
From: Tom Tromey @ 2010-07-28 16:15 UTC (permalink / raw)
  To: Michael Snyder; +Cc: Thiago Jung Bauermann, gdb-patches

Michael> So this problem shows up because we've switched to static linking
Michael> (at least for configure).

I wonder why that changed.  Does your Python come with dynamic
libraries?  Did 7.1 choose those instead?  AFAIK we didn't intentionally
make any change to prefer static libraries -- I think that would be a
bad decision.

Michael> Isn't this problem showing up for anyone else?  It seems to me that
Michael> it will bite anybody who's using a binary release of these versions.

Jan reports that 7.2 builds ok on RHEL 5 against the system python.
At least those of us at Red Hat haven't hit this problem since we use
the system python, not the one you are using.

Tom

^ permalink raw reply	[flat|nested] 34+ messages in thread

* Re: 7.2 branch, configure problem, --with-python
  2010-07-28 16:15     ` Tom Tromey
@ 2010-07-28 16:56       ` Michael Snyder
  2010-07-28 17:20       ` Joel Brobecker
  1 sibling, 0 replies; 34+ messages in thread
From: Michael Snyder @ 2010-07-28 16:56 UTC (permalink / raw)
  To: Tom Tromey; +Cc: Thiago Jung Bauermann, gdb-patches

Tom Tromey wrote:
> Michael> So this problem shows up because we've switched to static linking
> Michael> (at least for configure).
> 
> I wonder why that changed. 

Me too.

> Does your Python come with dynamic libraries? 

Yep.

> Did 7.1 choose those instead? 

Yep.

> AFAIK we didn't intentionally make any change to prefer static libraries -- 

That's odd, because it seems like a non-trivial change was required.

 > I think that would be a bad decision.

Me too.

Both 7.1 and 7.2 use "ac_fn_c_try_link", which is locally defined in 
configure.  In configure.ac, it appears to be AC_TRY_LIBPYTHON.

^ permalink raw reply	[flat|nested] 34+ messages in thread

* Re: 7.2 branch, configure problem, --with-python
  2010-07-28 16:15     ` Tom Tromey
  2010-07-28 16:56       ` Michael Snyder
@ 2010-07-28 17:20       ` Joel Brobecker
  2010-07-28 17:27         ` Michael Snyder
  1 sibling, 1 reply; 34+ messages in thread
From: Joel Brobecker @ 2010-07-28 17:20 UTC (permalink / raw)
  To: Tom Tromey; +Cc: Michael Snyder, Thiago Jung Bauermann, gdb-patches

> I wonder why that changed.  Does your Python come with dynamic
> libraries?  Did 7.1 choose those instead?  AFAIK we didn't intentionally
> make any change to prefer static libraries -- I think that would be a
> bad decision.

Perhaps the linker is not finding the python shared library?
I think it should.

One thing we should be aware of is that it seems that the Python
developers themselves made the static libpython the default, and users
building python need to explicitly request the dynamic libpython for it
to be built. Maybe python-config.py is skewed that way too (meaning,
lack of testing with the dynamic version of libpython).

-- 
Joel

^ permalink raw reply	[flat|nested] 34+ messages in thread

* Re: 7.2 branch, configure problem, --with-python
  2010-07-28 17:20       ` Joel Brobecker
@ 2010-07-28 17:27         ` Michael Snyder
  2010-07-28 17:37           ` Joel Brobecker
  0 siblings, 1 reply; 34+ messages in thread
From: Michael Snyder @ 2010-07-28 17:27 UTC (permalink / raw)
  To: Joel Brobecker; +Cc: Tom Tromey, Thiago Jung Bauermann, gdb-patches

Joel Brobecker wrote:
>> I wonder why that changed.  Does your Python come with dynamic
>> libraries?  Did 7.1 choose those instead?  AFAIK we didn't intentionally
>> make any change to prefer static libraries -- I think that would be a
>> bad decision.
> 
> Perhaps the linker is not finding the python shared library?
> I think it should.
> 
> One thing we should be aware of is that it seems that the Python
> developers themselves made the static libpython the default, and users
> building python need to explicitly request the dynamic libpython for it
> to be built. Maybe python-config.py is skewed that way too (meaning,
> lack of testing with the dynamic version of libpython).
> 

Ahhh... perhaps we're getting warm.

7.2 gdb/config.log links the conftest program with these args:

-L/build/toolchain/lin64/python-2.5/lib/python2.5/config ... -lpython2.5

Whereas the equivalent args in 7.1 config.log are these:

  -L/build/toolchain/lin64/python-2.5/lib -lpython2.5



Notice the -L directory is different.  The first one is where the
static library is stored (7.2), and the second (7.1) is where the
dynamic library is stored.

What I don't know is, who made this change.

^ permalink raw reply	[flat|nested] 34+ messages in thread

* Re: 7.2 branch, configure problem, --with-python
  2010-07-28 17:27         ` Michael Snyder
@ 2010-07-28 17:37           ` Joel Brobecker
  2010-07-28 17:59             ` Michael Snyder
  0 siblings, 1 reply; 34+ messages in thread
From: Joel Brobecker @ 2010-07-28 17:37 UTC (permalink / raw)
  To: Michael Snyder; +Cc: Tom Tromey, Thiago Jung Bauermann, gdb-patches

> What I don't know is, who made this change.

Most likely the fact that we switched from in-house configury to
using gdb/python/python-config.py.

Can you check if the patch to python-config.py helps? I just sent
a (ping) message about it.

-- 
Joel

^ permalink raw reply	[flat|nested] 34+ messages in thread

* Re: 7.2 branch, configure problem, --with-python
  2010-07-28 17:37           ` Joel Brobecker
@ 2010-07-28 17:59             ` Michael Snyder
  2010-07-28 18:08               ` Joel Brobecker
  0 siblings, 1 reply; 34+ messages in thread
From: Michael Snyder @ 2010-07-28 17:59 UTC (permalink / raw)
  To: Joel Brobecker; +Cc: Tom Tromey, Thiago Jung Bauermann, gdb-patches

Joel Brobecker wrote:
>> What I don't know is, who made this change.
> 
> Most likely the fact that we switched from in-house configury to
> using gdb/python/python-config.py.

Yes:
     python_libs=`${python_prog} ${srcdir}/python/python-config.py 
--ldflags`


> 
> Can you check if the patch to python-config.py helps? I just sent
> a (ping) message about it.
> 

Patch does not apply to 7.2 branch -- there's been a conflicting change.

My python is to shaky -- would you be willing to update the patch?


^ permalink raw reply	[flat|nested] 34+ messages in thread

* Re: 7.2 branch, configure problem, --with-python
  2010-07-28 17:59             ` Michael Snyder
@ 2010-07-28 18:08               ` Joel Brobecker
  2010-07-28 18:10                 ` Michael Snyder
  0 siblings, 1 reply; 34+ messages in thread
From: Joel Brobecker @ 2010-07-28 18:08 UTC (permalink / raw)
  To: Michael Snyder; +Cc: Tom Tromey, Thiago Jung Bauermann, gdb-patches

> Patch does not apply to 7.2 branch -- there's been a conflicting change.
> My python is to shaky -- would you be willing to update the patch?

Can you try on HEAD first?  That would be the simplest for me, as
I am a little under pressure to catch up on all fronts, right now.

-- 
Joel

^ permalink raw reply	[flat|nested] 34+ messages in thread

* Re: 7.2 branch, configure problem, --with-python
  2010-07-28 18:08               ` Joel Brobecker
@ 2010-07-28 18:10                 ` Michael Snyder
  2010-07-28 18:15                   ` Michael Snyder
  2010-07-28 18:19                   ` Joel Brobecker
  0 siblings, 2 replies; 34+ messages in thread
From: Michael Snyder @ 2010-07-28 18:10 UTC (permalink / raw)
  To: Joel Brobecker; +Cc: Tom Tromey, Thiago Jung Bauermann, gdb-patches

Joel Brobecker wrote:
>> Patch does not apply to 7.2 branch -- there's been a conflicting change.
>> My python is to shaky -- would you be willing to update the patch?
> 
> Can you try on HEAD first?  That would be the simplest for me, as
> I am a little under pressure to catch up on all fronts, right now.
> 

Patch doesn't apply on HEAD.

^ permalink raw reply	[flat|nested] 34+ messages in thread

* Re: 7.2 branch, configure problem, --with-python
  2010-07-28 18:10                 ` Michael Snyder
@ 2010-07-28 18:15                   ` Michael Snyder
  2010-07-28 19:59                     ` Michael Snyder
  2010-07-28 18:19                   ` Joel Brobecker
  1 sibling, 1 reply; 34+ messages in thread
From: Michael Snyder @ 2010-07-28 18:15 UTC (permalink / raw)
  To: Joel Brobecker; +Cc: Tom Tromey, Thiago Jung Bauermann, gdb-patches

Michael Snyder wrote:
> Joel Brobecker wrote:
>>> Patch does not apply to 7.2 branch -- there's been a conflicting change.
>>> My python is to shaky -- would you be willing to update the patch?
>> Can you try on HEAD first?  That would be the simplest for me, as
>> I am a little under pressure to catch up on all fronts, right now.
>>
> 
> Patch doesn't apply on HEAD.

The conflicting change was this one (actually the conflict is fairly small):


2010-07-08  Joel Brobecker  <brobecker@adacore.com>

         * python/python-config.py: Resync with Python 2.7 version of this
         script.

^ permalink raw reply	[flat|nested] 34+ messages in thread

* Re: 7.2 branch, configure problem, --with-python
  2010-07-28 18:10                 ` Michael Snyder
  2010-07-28 18:15                   ` Michael Snyder
@ 2010-07-28 18:19                   ` Joel Brobecker
  2010-07-28 18:23                     ` Michael Snyder
  1 sibling, 1 reply; 34+ messages in thread
From: Joel Brobecker @ 2010-07-28 18:19 UTC (permalink / raw)
  To: Michael Snyder; +Cc: Tom Tromey, Thiago Jung Bauermann, gdb-patches

> >Can you try on HEAD first?  That would be the simplest for me, as
> >I am a little under pressure to catch up on all fronts, right now.
> >
> 
> Patch doesn't apply on HEAD.

It just applied fine for me. Are you sure? (please note the extra a/ and
b/ in the directory names, so you have to use a different -p level).

-- 
Joel

^ permalink raw reply	[flat|nested] 34+ messages in thread

* Re: 7.2 branch, configure problem, --with-python
  2010-07-28 18:19                   ` Joel Brobecker
@ 2010-07-28 18:23                     ` Michael Snyder
  2010-07-28 18:27                       ` Joel Brobecker
  0 siblings, 1 reply; 34+ messages in thread
From: Michael Snyder @ 2010-07-28 18:23 UTC (permalink / raw)
  To: Joel Brobecker; +Cc: gdb-patches

Joel Brobecker wrote:
>>> Can you try on HEAD first?  That would be the simplest for me, as
>>> I am a little under pressure to catch up on all fronts, right now.
>>>
>> Patch doesn't apply on HEAD.
> 
> It just applied fine for me. Are you sure? (please note the extra a/ and
> b/ in the directory names, so you have to use a different -p level).
> 

Are we talking about the same patch?

diff --git a/gdb/python/python-config.py b/gdb/python/python-config.py
index 0230eb4..aa4aea3 100644
--- a/gdb/python/python-config.py
+++ b/gdb/python/python-config.py
@@ -50,8 +50,21 @@ for opt in opt_flags:
          # add the prefix/lib/pythonX.Y/config dir, but only if there is no
          # shared library in prefix/lib/.
          if opt == '--ldflags':
+            # Provide the location where the Python library is installed.
+            # We always provide it, because Python may have been installed
+            # at a non-standard location.
              if not getvar('Py_ENABLE_SHARED'):
-                libs.insert(0, '-L' + getvar('LIBPL'))
+                # There is no shared library in prefix/lib.  The static
+                # library is in prefix/lib/pythonX.Y/config.
+                #
+                # Note that we cannot use getvar('LIBPL') like we used to,
+                # because it provides the location at build time, which 
might
+                # be different from the actual location at runtime.
+                libdir = sysconfig.get_python_lib(standard_lib=True) + 
'/config'
+            else:
+                # The Python shared library is installed in prefix/lib.
+                libdir = sysconfig.PREFIX + '/lib'
+            libs.insert(0, '-L' + libdir)
              libs.extend(getvar('LINKFORSHARED').split())
          print ' '.join(libs)


^ permalink raw reply	[flat|nested] 34+ messages in thread

* Re: 7.2 branch, configure problem, --with-python
  2010-07-28 18:23                     ` Michael Snyder
@ 2010-07-28 18:27                       ` Joel Brobecker
  2010-07-28 19:58                         ` Michael Snyder
  0 siblings, 1 reply; 34+ messages in thread
From: Joel Brobecker @ 2010-07-28 18:27 UTC (permalink / raw)
  To: Michael Snyder; +Cc: gdb-patches

> Are we talking about the same patch?

Yep!

-- 
Joel

^ permalink raw reply	[flat|nested] 34+ messages in thread

* Re: 7.2 branch, configure problem, --with-python
  2010-07-28 18:27                       ` Joel Brobecker
@ 2010-07-28 19:58                         ` Michael Snyder
  2010-07-28 20:02                           ` Michael Snyder
  0 siblings, 1 reply; 34+ messages in thread
From: Michael Snyder @ 2010-07-28 19:58 UTC (permalink / raw)
  To: Joel Brobecker; +Cc: gdb-patches

Joel Brobecker wrote:
>> Are we talking about the same patch?
> 
> Yep!

I see -- I need to apply both changes to the branch.

Well, that didn't help, and neither did applying the one change to HEAD.

I tried configuring both with and without --enable-shared.

In all cases, it tried to link statically.

I'm thinking, if gdb links against python statically, that will 
certainly bloat the gdb executable...

^ permalink raw reply	[flat|nested] 34+ messages in thread

* Re: 7.2 branch, configure problem, --with-python
  2010-07-28 18:15                   ` Michael Snyder
@ 2010-07-28 19:59                     ` Michael Snyder
  2010-07-28 21:32                       ` Joel Brobecker
  0 siblings, 1 reply; 34+ messages in thread
From: Michael Snyder @ 2010-07-28 19:59 UTC (permalink / raw)
  To: Joel Brobecker; +Cc: gdb-patches

Michael Snyder wrote:

> 2010-07-08  Joel Brobecker  <brobecker@adacore.com>
> 
>          * python/python-config.py: Resync with Python 2.7 version of this
>          script.

Joel, did you mean for this change to go into the release branch?



^ permalink raw reply	[flat|nested] 34+ messages in thread

* Re: 7.2 branch, configure problem, --with-python
  2010-07-28 19:58                         ` Michael Snyder
@ 2010-07-28 20:02                           ` Michael Snyder
  2010-07-28 20:07                             ` Michael Snyder
  0 siblings, 1 reply; 34+ messages in thread
From: Michael Snyder @ 2010-07-28 20:02 UTC (permalink / raw)
  To: Joel Brobecker; +Cc: gdb-patches

Michael Snyder wrote:
> Joel Brobecker wrote:
>>> Are we talking about the same patch?
>> Yep!
> 
> I see -- I need to apply both changes to the branch.
> 
> Well, that didn't help, and neither did applying the one change to HEAD.
> 
> I tried configuring both with and without --enable-shared.
> 
> In all cases, it tried to link statically.
> 
> I'm thinking, if gdb links against python statically, that will 
> certainly bloat the gdb executable...
> 

Hmmm, yes, unstripped gdb-7.2 is about 6 meg bigger than 7.1.


^ permalink raw reply	[flat|nested] 34+ messages in thread

* Re: 7.2 branch, configure problem, --with-python
  2010-07-28 20:02                           ` Michael Snyder
@ 2010-07-28 20:07                             ` Michael Snyder
  2010-07-28 20:21                               ` Michael Snyder
  0 siblings, 1 reply; 34+ messages in thread
From: Michael Snyder @ 2010-07-28 20:07 UTC (permalink / raw)
  To: Joel Brobecker; +Cc: gdb-patches

Michael Snyder wrote:
> Michael Snyder wrote:
>> Joel Brobecker wrote:
>>>> Are we talking about the same patch?
>>> Yep!
>> I see -- I need to apply both changes to the branch.
>>
>> Well, that didn't help, and neither did applying the one change to HEAD.
>>
>> I tried configuring both with and without --enable-shared.
>>
>> In all cases, it tried to link statically.
>>
>> I'm thinking, if gdb links against python statically, that will 
>> certainly bloat the gdb executable...
>>
> 
> Hmmm, yes, unstripped gdb-7.2 is about 6 meg bigger than 7.1.

And even stripped, gdb is now 32 percent bigger.

^ permalink raw reply	[flat|nested] 34+ messages in thread

* Re: 7.2 branch, configure problem, --with-python
  2010-07-28 20:07                             ` Michael Snyder
@ 2010-07-28 20:21                               ` Michael Snyder
  2010-07-28 21:36                                 ` Joel Brobecker
  0 siblings, 1 reply; 34+ messages in thread
From: Michael Snyder @ 2010-07-28 20:21 UTC (permalink / raw)
  To: Joel Brobecker; +Cc: gdb-patches

Michael Snyder wrote:
> Michael Snyder wrote:
>> Michael Snyder wrote:
>>> Joel Brobecker wrote:
>>>>> Are we talking about the same patch?
>>>> Yep!
>>> I see -- I need to apply both changes to the branch.
>>>
>>> Well, that didn't help, and neither did applying the one change to HEAD.
>>>
>>> I tried configuring both with and without --enable-shared.
>>>
>>> In all cases, it tried to link statically.
>>>
>>> I'm thinking, if gdb links against python statically, that will 
>>> certainly bloat the gdb executable...
>>>
>> Hmmm, yes, unstripped gdb-7.2 is about 6 meg bigger than 7.1.
> 
> And even stripped, gdb is now 32 percent bigger.

So... aren't there some distro-related concerns about linking
gdb against a static system library?


^ permalink raw reply	[flat|nested] 34+ messages in thread

* Re: 7.2 branch, configure problem, --with-python
  2010-07-28 19:59                     ` Michael Snyder
@ 2010-07-28 21:32                       ` Joel Brobecker
  0 siblings, 0 replies; 34+ messages in thread
From: Joel Brobecker @ 2010-07-28 21:32 UTC (permalink / raw)
  To: Michael Snyder; +Cc: gdb-patches

> >2010-07-08  Joel Brobecker  <brobecker@adacore.com>
> >
> >         * python/python-config.py: Resync with Python 2.7 version of this
> >         script.
> 
> Joel, did you mean for this change to go into the release branch?

I didn't, no.

-- 
Joel

^ permalink raw reply	[flat|nested] 34+ messages in thread

* Re: 7.2 branch, configure problem, --with-python
  2010-07-28 20:21                               ` Michael Snyder
@ 2010-07-28 21:36                                 ` Joel Brobecker
  2010-07-28 22:56                                   ` Michael Snyder
  0 siblings, 1 reply; 34+ messages in thread
From: Joel Brobecker @ 2010-07-28 21:36 UTC (permalink / raw)
  To: Michael Snyder; +Cc: gdb-patches

> So... aren't there some distro-related concerns about linking
> gdb against a static system library?

I don't understand why you are seeing this. For instance, on my Ubuntu
distribution where the system python was installed with a shared
libpython, I see that GDB is correctly linked against a libpython.so
rather than linked with the archive:

    % ldd gdb
            [...]
            libpython2.6.so.1.0 => /usr/lib/libpython2.6.so.1.0 (0x00007fae940a8000)
            [...]

There must be something else in your case that causes the problem (?).

-- 
Joel

^ permalink raw reply	[flat|nested] 34+ messages in thread

* Re: 7.2 branch, configure problem, --with-python
  2010-07-28 21:36                                 ` Joel Brobecker
@ 2010-07-28 22:56                                   ` Michael Snyder
  2010-07-29 15:28                                     ` Joel Brobecker
  0 siblings, 1 reply; 34+ messages in thread
From: Michael Snyder @ 2010-07-28 22:56 UTC (permalink / raw)
  To: Joel Brobecker; +Cc: gdb-patches

Joel Brobecker wrote:
>> So... aren't there some distro-related concerns about linking
>> gdb against a static system library?
> 
> I don't understand why you are seeing this. For instance, on my Ubuntu
> distribution where the system python was installed with a shared
> libpython, I see that GDB is correctly linked against a libpython.so
> rather than linked with the archive:
> 
>     % ldd gdb
>             [...]
>             libpython2.6.so.1.0 => /usr/lib/libpython2.6.so.1.0 (0x00007fae940a8000)
>             [...]
> 
> There must be something else in your case that causes the problem (?).
> 

Hmmm, what if you try configure --with-python=/usr?
That will approximate what I'm doing (only with me it's a
non-standard install location).

I see when I do that, gdb seems to be statically linked to the system 
python static library.

^ permalink raw reply	[flat|nested] 34+ messages in thread

* Re: 7.2 branch, configure problem, --with-python
  2010-07-28 22:56                                   ` Michael Snyder
@ 2010-07-29 15:28                                     ` Joel Brobecker
  2010-07-29 17:37                                       ` Michael Snyder
  0 siblings, 1 reply; 34+ messages in thread
From: Joel Brobecker @ 2010-07-29 15:28 UTC (permalink / raw)
  To: Michael Snyder; +Cc: gdb-patches

> Hmmm, what if you try configure --with-python=/usr?
> That will approximate what I'm doing (only with me it's a
> non-standard install location).

I just rebuilt python-2.7 with --enable-shared and installed it at
a non-standard location.  And then configured GDB as follow:

    % CFLAGS='-g' ~/act/gdb-public/configure --with-python=/t.a/brobecke/python-2.7-shared

And I still see GDB being linked against the python DSO:

    % ldd gdb/gdb
    libpython2.7.so.1.0 => /t.a/brobecke/python-2.7-shared/lib/libpython2.7.so.1.0 (0x00007f5effa5f000)

For this to work, I did need my python-config.py patch, because
the compilation command was missing a -L/path/to/python/dso, without
which the configure check for libpython2.7 would fail.

In order to understand what is going on, you will probably have to
dig into your config.log file and see what the configure script is
doing. I'm starting to think that your python install might be screwed
or non-standard?

-- 
Joel

^ permalink raw reply	[flat|nested] 34+ messages in thread

* Re: 7.2 branch, configure problem, --with-python
  2010-07-29 15:28                                     ` Joel Brobecker
@ 2010-07-29 17:37                                       ` Michael Snyder
  2010-07-29 17:52                                         ` Michael Snyder
  0 siblings, 1 reply; 34+ messages in thread
From: Michael Snyder @ 2010-07-29 17:37 UTC (permalink / raw)
  To: Joel Brobecker; +Cc: gdb-patches

Joel Brobecker wrote:
>> Hmmm, what if you try configure --with-python=/usr?
>> That will approximate what I'm doing (only with me it's a
>> non-standard install location).
> 
> I just rebuilt python-2.7 with --enable-shared and installed it at
> a non-standard location.  And then configured GDB as follow:

Wow, thanks for going to all that effort.

>     % CFLAGS='-g' ~/act/gdb-public/configure --with-python=/t.a/brobecke/python-2.7-shared
> 
> And I still see GDB being linked against the python DSO:
> 
>     % ldd gdb/gdb
>     libpython2.7.so.1.0 => /t.a/brobecke/python-2.7-shared/lib/libpython2.7.so.1.0 (0x00007f5effa5f000)

Grr, frustrating (for me...)

> For this to work, I did need my python-config.py patch, because
> the compilation command was missing a -L/path/to/python/dso, without
> which the configure check for libpython2.7 would fail.

Right.  I assume you worked out of HEAD?

> In order to understand what is going on, you will probably have to
> dig into your config.log file and see what the configure script is
> doing. I'm starting to think that your python install might be screwed
> or non-standard?

Well, it's screwed in that the static library is linked against an
older glibc, but other than that I think it's ok.  I have the dso at
xyz/python-2.6.1/lib and the static at 
xyz/python-2.6.1/lib/python2.6/config.

But the link command in config.log only points to the static location.
Even with your patch.  Even when I say --with-python=/usr.



^ permalink raw reply	[flat|nested] 34+ messages in thread

* Re: 7.2 branch, configure problem, --with-python
  2010-07-29 17:37                                       ` Michael Snyder
@ 2010-07-29 17:52                                         ` Michael Snyder
  2010-07-29 18:41                                           ` Joel Brobecker
  0 siblings, 1 reply; 34+ messages in thread
From: Michael Snyder @ 2010-07-29 17:52 UTC (permalink / raw)
  To: Joel Brobecker; +Cc: gdb-patches

Michael Snyder wrote:
> Joel Brobecker wrote:
>>> Hmmm, what if you try configure --with-python=/usr?
>>> That will approximate what I'm doing (only with me it's a
>>> non-standard install location).
>> I just rebuilt python-2.7 with --enable-shared and installed it at
>> a non-standard location.  And then configured GDB as follow:
> 
> Wow, thanks for going to all that effort.

Umm, how does Py_ENABLE_SHARED get defined?
Is this an environment variable that I need to set?


^ permalink raw reply	[flat|nested] 34+ messages in thread

* Re: 7.2 branch, configure problem, --with-python
  2010-07-29 17:52                                         ` Michael Snyder
@ 2010-07-29 18:41                                           ` Joel Brobecker
  2010-07-29 18:49                                             ` Michael Snyder
  0 siblings, 1 reply; 34+ messages in thread
From: Joel Brobecker @ 2010-07-29 18:41 UTC (permalink / raw)
  To: Michael Snyder; +Cc: gdb-patches

> >Wow, thanks for going to all that effort.
> 
> Umm, how does Py_ENABLE_SHARED get defined?
> Is this an environment variable that I need to set?

No - This variable is defined in module sysconfig if your python was
built with --enable-shared. For instance, with 7.2-shared:

        % python-2.7-shared
        >>> from distutils import sysconfig
        >>> sysconfig.get_config_var("Py_ENABLE_SHARED")
        1

Whereas with the static version:

        % python-2.7-static
        >>> from distutils import sysconfig
        >>> sysconfig.get_config_var("Py_ENABLE_SHARED")
        0

Surprisingly, the system python installed on my ubuntu machine
returns 0 for Py_ENABLE_SHARED, even though I definitely have
the shared version of libpython there.  But at the same time,
I do have both archive and dso installed at both <prefix>/lib
and <prefix>/lib/python-<version>/config...

That's why, I think, it ends up working for me, even though it
seems that the python that is distributed with ubuntu is statically
linked.

-- 
Joel

^ permalink raw reply	[flat|nested] 34+ messages in thread

* Re: 7.2 branch, configure problem, --with-python
  2010-07-29 18:41                                           ` Joel Brobecker
@ 2010-07-29 18:49                                             ` Michael Snyder
  2010-07-29 19:05                                               ` Joel Brobecker
  0 siblings, 1 reply; 34+ messages in thread
From: Michael Snyder @ 2010-07-29 18:49 UTC (permalink / raw)
  To: Joel Brobecker; +Cc: gdb-patches

Joel Brobecker wrote:
>>> Wow, thanks for going to all that effort.
>> Umm, how does Py_ENABLE_SHARED get defined?
>> Is this an environment variable that I need to set?
> 
> No - This variable is defined in module sysconfig if your python was
> built with --enable-shared. For instance, with 7.2-shared:
> 
>         % python-2.7-shared
>         >>> from distutils import sysconfig
>         >>> sysconfig.get_config_var("Py_ENABLE_SHARED")
>         1
> 
> Whereas with the static version:
> 
>         % python-2.7-static
>         >>> from distutils import sysconfig
>         >>> sysconfig.get_config_var("Py_ENABLE_SHARED")
>         0
> 
> Surprisingly, the system python installed on my ubuntu machine
> returns 0 for Py_ENABLE_SHARED, even though I definitely have
> the shared version of libpython there.  But at the same time,
> I do have both archive and dso installed at both <prefix>/lib
> and <prefix>/lib/python-<version>/config...
> 
> That's why, I think, it ends up working for me, even though it
> seems that the python that is distributed with ubuntu is statically
> linked.
> 

Umm, yeah.  configure is always looking for the libs in
<prefix>/lib/<version>config.  Which for me (both system
and personal install) contains only the static libs.


^ permalink raw reply	[flat|nested] 34+ messages in thread

* Re: 7.2 branch, configure problem, --with-python
  2010-07-29 18:49                                             ` Michael Snyder
@ 2010-07-29 19:05                                               ` Joel Brobecker
  2010-07-29 19:31                                                 ` Michael Snyder
  0 siblings, 1 reply; 34+ messages in thread
From: Joel Brobecker @ 2010-07-29 19:05 UTC (permalink / raw)
  To: Michael Snyder; +Cc: gdb-patches

> Umm, yeah.  configure is always looking for the libs in
> <prefix>/lib/<version>config.  Which for me (both system
> and personal install) contains only the static libs.

And that would be what a normal install looks like:

  - If you configure python with --enable-shared, lib/ should only
    contain the dso, and lib/python-<version>/config/ should only
    contain the archive.

  - If you configure without --enable-shared, then lib/ should only
    contain the archive. And so should your lib/python-<version>/config/
    directory.

The bottom line, IMO, is that you python install is simply broken.
It looks like libpython.so was built separately from the rest of
the python install. For instance, what does "ldd /path/to/your/python"
show? Is it linked against libpython.so?

-- 
Joel

^ permalink raw reply	[flat|nested] 34+ messages in thread

* Re: 7.2 branch, configure problem, --with-python
  2010-07-29 19:05                                               ` Joel Brobecker
@ 2010-07-29 19:31                                                 ` Michael Snyder
  2010-07-29 21:32                                                   ` Joel Brobecker
  0 siblings, 1 reply; 34+ messages in thread
From: Michael Snyder @ 2010-07-29 19:31 UTC (permalink / raw)
  To: Joel Brobecker; +Cc: gdb-patches

Joel Brobecker wrote:
>> Umm, yeah.  configure is always looking for the libs in
>> <prefix>/lib/<version>config.  Which for me (both system
>> and personal install) contains only the static libs.
> 
> And that would be what a normal install looks like:
> 
>   - If you configure python with --enable-shared, lib/ should only
>     contain the dso, and lib/python-<version>/config/ should only
>     contain the archive.
> 
>   - If you configure without --enable-shared, then lib/ should only
>     contain the archive. And so should your lib/python-<version>/config/
>     directory.
> 
> The bottom line, IMO, is that you python install is simply broken.

It works fine with gdb-7.1 (dynamically linked)...

> It looks like libpython.so was built separately from the rest of
> the python install. For instance, what does "ldd /path/to/your/python"
> show? Is it linked against libpython.so?

Um, no, it appears to be linked statically.
What about yours (the 2.7 version that you built)?

^ permalink raw reply	[flat|nested] 34+ messages in thread

* Re: 7.2 branch, configure problem, --with-python
  2010-07-29 19:31                                                 ` Michael Snyder
@ 2010-07-29 21:32                                                   ` Joel Brobecker
  2010-07-29 21:45                                                     ` Michael Snyder
  0 siblings, 1 reply; 34+ messages in thread
From: Joel Brobecker @ 2010-07-29 21:32 UTC (permalink / raw)
  To: Michael Snyder; +Cc: gdb-patches

> >The bottom line, IMO, is that you python install is simply broken.
> 
> It works fine with gdb-7.1 (dynamically linked)...

If it works with 7.1, I think it was by accident (IMO).

> Um, no, it appears to be linked statically.
> What about yours (the 2.7 version that you built)?

Exactly what I thought. Mine shows a dynamic dependency on libpython.so.

I really think that the problem is with your Python install. If you want
to be able to link dynamically with your python install, you'll have to
add a link to libpython.so in your lib/python-<version>/config directory.
The problem is that your python binary was built without --enable-shared
and thus Python itself believes that there is no libpython.so.  And
because of that, it is telling the GDB configure to use the static
archive.  The Ubuntu python install is equally broken (IMO), but it
happens to work because there is a copy of the the libpython.so in
the config/ directory as well.

-- 
Joel

^ permalink raw reply	[flat|nested] 34+ messages in thread

* Re: 7.2 branch, configure problem, --with-python
  2010-07-29 21:32                                                   ` Joel Brobecker
@ 2010-07-29 21:45                                                     ` Michael Snyder
  0 siblings, 0 replies; 34+ messages in thread
From: Michael Snyder @ 2010-07-29 21:45 UTC (permalink / raw)
  To: Joel Brobecker; +Cc: gdb-patches

Joel Brobecker wrote:
>>> The bottom line, IMO, is that you python install is simply broken.
>> It works fine with gdb-7.1 (dynamically linked)...
> 
> If it works with 7.1, I think it was by accident (IMO).
> 
>> Um, no, it appears to be linked statically.
>> What about yours (the 2.7 version that you built)?
> 
> Exactly what I thought. Mine shows a dynamic dependency on libpython.so.
> 
> I really think that the problem is with your Python install. If you want
> to be able to link dynamically with your python install, you'll have to
> add a link to libpython.so in your lib/python-<version>/config directory.
> The problem is that your python binary was built without --enable-shared
> and thus Python itself believes that there is no libpython.so.  And
> because of that, it is telling the GDB configure to use the static
> archive.  The Ubuntu python install is equally broken (IMO), but it
> happens to work because there is a copy of the the libpython.so in
> the config/ directory as well.
> 

OK, I'm on the same page.  Thanks!

^ permalink raw reply	[flat|nested] 34+ messages in thread

end of thread, other threads:[~2010-07-29 21:45 UTC | newest]

Thread overview: 34+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-07-26 23:45 7.2 branch, configure problem, --with-python Michael Snyder
2010-07-27 15:30 ` Thiago Jung Bauermann
2010-07-27 17:17   ` Michael Snyder
2010-07-27 17:25     ` Jan Kratochvil
2010-07-28  0:30   ` Michael Snyder
2010-07-28 16:15     ` Tom Tromey
2010-07-28 16:56       ` Michael Snyder
2010-07-28 17:20       ` Joel Brobecker
2010-07-28 17:27         ` Michael Snyder
2010-07-28 17:37           ` Joel Brobecker
2010-07-28 17:59             ` Michael Snyder
2010-07-28 18:08               ` Joel Brobecker
2010-07-28 18:10                 ` Michael Snyder
2010-07-28 18:15                   ` Michael Snyder
2010-07-28 19:59                     ` Michael Snyder
2010-07-28 21:32                       ` Joel Brobecker
2010-07-28 18:19                   ` Joel Brobecker
2010-07-28 18:23                     ` Michael Snyder
2010-07-28 18:27                       ` Joel Brobecker
2010-07-28 19:58                         ` Michael Snyder
2010-07-28 20:02                           ` Michael Snyder
2010-07-28 20:07                             ` Michael Snyder
2010-07-28 20:21                               ` Michael Snyder
2010-07-28 21:36                                 ` Joel Brobecker
2010-07-28 22:56                                   ` Michael Snyder
2010-07-29 15:28                                     ` Joel Brobecker
2010-07-29 17:37                                       ` Michael Snyder
2010-07-29 17:52                                         ` Michael Snyder
2010-07-29 18:41                                           ` Joel Brobecker
2010-07-29 18:49                                             ` Michael Snyder
2010-07-29 19:05                                               ` Joel Brobecker
2010-07-29 19:31                                                 ` Michael Snyder
2010-07-29 21:32                                                   ` Joel Brobecker
2010-07-29 21:45                                                     ` Michael Snyder

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).