www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/2009/09/09/12:36:46

X-Authentication-Warning: delorie.com: mail set sender to djgpp-workers-bounces using -f
X-Recipient: djgpp-workers AT delorie DOT com
Date: Wed, 09 Sep 2009 19:33:50 +0300
From: Eli Zaretskii <eliz AT gnu DOT org>
Subject: Re: Building latest GDB snapshots
In-reply-to: <001801ca3123$ddf88ab0$99e9a010$@u-strasbg.fr>
X-012-Sender: halo1 AT inter DOT net DOT il
To: djgpp-workers AT delorie DOT com
Message-id: <83bplk2i35.fsf@gnu.org>
References: <83hbvj80ht DOT fsf AT gnu DOT org> <93c172b50909040715n791c007ema4715db95e946e2e AT mail DOT gmail DOT com> <83y6ou4sls DOT fsf AT gnu DOT org> <83tyzi4nn6 DOT fsf AT gnu DOT org> <83fxb14c4i DOT fsf AT gnu DOT org> <001801ca2f96$43b892d0$cb29b870$@u-strasbg.fr> <83vdju3ami DOT fsf AT gnu DOT org> <000301ca305d$bff70850$3fe518f0$@u-strasbg.fr> <83ljkp2uuy DOT fsf AT gnu DOT org> <001801ca3123$ddf88ab0$99e9a010$@u-strasbg.fr>
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

> From: "Pierre Muller" <muller AT ics DOT u-strasbg DOT fr>
> Cc: <djgpp-workers AT delorie DOT com>
> Date: Wed, 9 Sep 2009 10:02:24 +0200
> 
> I made some new tests:

Thanks.

> checking whether we are using the GNU C compiler... Exiting due to signal SIGSEGV

That's the problem with "return $ac_retval" in shell functions.  I
added to gdb/config/djgpp/config.sed a line that's supposed to work
around this problem:

    # This works around a bug in DJGPP port of Bash 2.0x
    s|return $ac_retval|(&)|g

Doesn't this work for you?  You should see in each configure script
that the above `return' is enclosed in parens, like this:

    (return $ac_retval)

instead of just

    return $ac_retval

in configure.orig.  Please see if djconfig.sh performed these edits,
because if it didn't, perhaps there's some bug in the script or in
config.sed that needs to be fixed.  I want to make sure DJGPP users
will be able to build GDB with the Bash binaries that are available
from the DJGPP sites.

- Raw text -


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