delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/2009/09/04/06:33:57

X-Authentication-Warning: delorie.com: mail set sender to djgpp-workers-bounces using -f
X-Recipient: djgpp-workers AT delorie DOT com
Date: Fri, 04 Sep 2009 13:31:26 +0300
From: Eli Zaretskii <eliz AT gnu DOT org>
Subject: Building latest GDB snapshots
X-012-Sender: halo1 AT inter DOT net DOT il
To: djgpp-workers AT delorie DOT com
Message-id: <83hbvj80ht.fsf@gnu.org>
Reply-To: djgpp-workers AT delorie DOT com

Can someone build the latest GDB CVS snapshots with DJGPP?

They switched to a newer version of Autotools, where the parts of the
configure script that are run each time it tries to compile a program
were replaced with a shell function ac_fn_c_try_compile.  The DJGPP
port of Bash crashes while running this function, at least on XP,
where I have my DJGPP development environment installed.

I tried both the latest v2.03 port of Bash 2.04 (from current/v2gnu)
and v2.04 port of Bash 2.05 (from beta/v2gnu): they both crash in the
same way.  Bash 2.05 Initially got stuck instead, but when I modified
this line of the script

  exec 7<&0 </dev/null 6>&1

(which caused an error message from Bash 2.04) to this:

  exec 6>&1

then Bash 2.05 began crashing like Bash 2.04.

If no one can suggest a workaround for this (e.g., by some editing of
the configure scripts or by some change in the development
environment), I guess this will be the end of the way for the DJGPP
port of GDB, because I will not have time and resources to debug Bash
and fix it any time soon.  That would mean all the efforts I invested
in bringing the DJGPP GDB back to life would be lost, and GDB 7.0, to
be released soon, will not support a DJGPP build.

Any help is greatly appreciated.  If you do succeed, please try with
the 20090902 (Sep 2) snapshot, because this is what I'm trying to
build.

TIA

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019