www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/2009/09/04/10:15:20

X-Authentication-Warning: delorie.com: mail set sender to djgpp-workers-bounces using -f
X-Recipient: djgpp-workers AT delorie DOT com
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=gmail.com; s=gamma;
h=domainkey-signature:mime-version:received:in-reply-to:references
:date:message-id:subject:from:to:content-type
:content-transfer-encoding;
bh=4cHGQJHL0xcVjwUMGvmGDox0e8ORj1F1sec5fybdBbc=;
b=giFVQnTyl+bimKFuvvhSIlldvOgxcL8z2mUjbspvjeiLs+1+ZBKhllWOMhRMXRL13/
S3mtMoDFSD9nyABU6rCaZHj6hBGGt3shHLXOyaQG1KkitMxXXWxsMYjILk3zHT39izxu
RvIdHG1WXrdHQ9fKUUuHoFF15mPhH3v6hWDK0=
DomainKey-Signature: a=rsa-sha1; c=nofws;
d=gmail.com; s=gamma;
h=mime-version:in-reply-to:references:date:message-id:subject:from:to
:content-type:content-transfer-encoding;
b=ZQ+4wFLpnscKJUqMzYlt1BxGTfL1d8uy9H6dDmGW3xrkNYiGZMYnjrnBYFaFWLabsU
+3HOBe54Uh7oejkIGI5e8j7eCBZmueuU5swq4XpYSTVxT9Qcv97FY04xzGKH1o/C9Ays
ly15y5InPX9pzvGFj+/vMpm7900dr76qn2CNQ=
MIME-Version: 1.0
In-Reply-To: <83hbvj80ht.fsf@gnu.org>
References: <83hbvj80ht DOT fsf AT gnu DOT org>
Date: Fri, 4 Sep 2009 09:15:00 -0500
Message-ID: <93c172b50909040715n791c007ema4715db95e946e2e@mail.gmail.com>
Subject: Re: Building latest GDB snapshots
From: Rugxulo <rugxulo AT gmail DOT com>
To: djgpp-workers AT delorie DOT com
Reply-To: djgpp-workers AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: djgpp-workers AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

Hi,    :-)

On Fri, Sep 4, 2009 at 5:31 AM, Eli Zaretskii<eliz AT gnu DOT org> wrote:
>
> Can someone build the latest GDB CVS snapshots with DJGPP?

I personally could probably try later if you really really needed me
to, but I've never built GDB before so I'm a little hesitant.
Hopefully Andris can squeeze in a compile or two for you.   :-)

> 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.

It's supposed to be much faster this way (e.g. Cygwin -> 30% speed increase=
).

> The DJGPP port of Bash crashes while running this function, at least on X=
P,
> where I have my DJGPP development environment installed.
>
> 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. =A0That 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.

Wow, you sound exasperated! Yes, it's a very annoying bug, and
apparently it's existed since 2004 (hi, Gordon!). No fix yet (Bash
source is confusing!), but we do mostly know where the problem lies.

http://www.delorie.com/djgpp/mail-archives/browse.cgi?p=3Ddjgpp/2006/08/08/=
16:37:27
http://www.delorie.com/djgpp/mail-archives/browse.cgi?p=3Ddjgpp/2006/08/20/=
11:54:36
http://lists.gnu.org/archive/html/bug-autoconf/2009-08/msg00066.html

For now, I suggest the wonderful workaround of putting "( " and " )"
around the "return $ac_retval" portions. That seems to make it work
for DJGPP Bash, at least. (I guess you didn't notice my similar issue
when ZILE upgraded to AutoConf 2.64, heh.)

- Raw text -


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