This is the mail archive of the
gdb-prs@sources.redhat.com
mailing list for the GDB project.
build/1753: broken readline configure in gdb cross build
- From: ddaney at avtrex dot com
- To: gdb-gnats at sources dot redhat dot com
- Date: 20 Aug 2004 09:06:17 -0000
- Subject: build/1753: broken readline configure in gdb cross build
- Reply-to: ddaney at avtrex dot com
>Number: 1753
>Category: build
>Synopsis: broken readline configure in gdb cross build
>Confidential: no
>Severity: critical
>Priority: medium
>Responsible: unassigned
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Fri Aug 20 09:08:00 UTC 2004
>Closed-Date:
>Last-Modified:
>Originator: ddaney@avtrex.com
>Release: gdb gdb_6_2-branch 2004-08-19
>Organization:
>Environment:
build=i686-pc-linux-gnu
host=mipsel-linux
target=mipsel-linux
>Description:
http://sources.redhat.com/ml/gdb/2004-08/msg00238.html
I just did:
../gdbcvs/src/configure --build=i686-pc-linux --host=mipsel-linux
--target=mipsel-linux
from gdb_6_2-branch of today.
I get this when doing make :
.
.
.
checking for mbsrtowcs... yes
checking for wcwidth... yes
checking for mbstate_t... configure: error: cannot run test program
while cross compiling
See `config.log' for more details.
make: *** [configure-readline] Error 1
I know that placing this line:
bash_cv_have_mbstate_t=${bash_cv_have_mbstate_t=yes}
in readline's config.cache will work around, but isn't it about time
that someone fixed readline's configure?
David Daney
>How-To-Repeat:
>Fix:
http://sources.redhat.com/ml/gdb/2004-08/msg00240.html
readline's configure no longer calls AC_TRY_RUN in readline 5.0.
So when gdb imports that, the problem should be fixed.
Michael Chastain
>Release-Note:
>Audit-Trail:
>Unformatted: