delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/2009/09/04/11:52:16

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 18:50:07 +0300
From: Eli Zaretskii <eliz AT gnu DOT org>
Subject: Re: Building latest GDB snapshots
In-reply-to: <93c172b50909040715n791c007ema4715db95e946e2e@mail.gmail.com>
X-012-Sender: halo1 AT inter DOT net DOT il
To: djgpp-workers AT delorie DOT com
Message-id: <83y6ou4sls.fsf@gnu.org>
References: <83hbvj80ht DOT fsf AT gnu DOT org> <93c172b50909040715n791c007ema4715db95e946e2e AT mail DOT gmail 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

> Date: Fri, 4 Sep 2009 09:15:00 -0500
> From: Rugxulo <rugxulo AT gmail DOT com>
> 
> > 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.

Don't rush just yet, see below.

> Wow, you sound exasperated!

Sorry, that was written in a moment of despair.  It's hard to see your
work go down the drain because of some unrelated problem.

Since then, I already found the culprit: it's the use of (foo)
parenthesized expressions in functions (they do work outside of
functions).  So my plan is to replace the offending functions' bodies
with equivalents that don't use (foo), as part of editing all the
configure scripts that the DJGPP build script for GDB already does.

> 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=djgpp/2006/08/08/16:37:27
> http://www.delorie.com/djgpp/mail-archives/browse.cgi?p=djgpp/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.

That's not the workaround I found, but I will try that as well.  If it
works, it's an easier edit than what I had in mind.

> (I guess you didn't notice my similar issue when ZILE upgraded to
> AutoConf 2.64, heh.)

Sorry, cannot afford reading everything these days.

Thanks.

- Raw text -


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