delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2005/03/19/12:13:38

X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f
Date: Sat, 19 Mar 2005 19:08:51 +0200
From: "Eli Zaretskii" <eliz AT gnu DOT org>
Sender: halo1 AT zahav DOT net DOT il
To: djgpp AT delorie DOT com
Message-ID: <01c52ca6$Blat.v2.4$78974520@zahav.net.il>
X-Mailer: emacs 22.0.50 (via feedmail 8 I) and Blat ver 2.4
In-reply-to: <01c52bd2$Blat.v2.4$b2387c60@zahav.net.il> (eliz@gnu.org)
Subject: Re: Emacs 21.4a
References: <1110992417 DOT 515321 DOT 24950 AT g14g2000cwa DOT googlegroups DOT com>
<01c52a63$Blat.v2.4$8b3bad00 AT zahav DOT net DOT il> <1111067231 DOT 228244 DOT 154740 AT f14g2000cwb DOT googlegroups DOT com> <01c52bd2$Blat.v2.4$b2387c60 AT zahav DOT net DOT il>
Reply-To: djgpp AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: djgpp AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

> Date: Fri, 18 Mar 2005 17:52:54 +0200
> From: "Eli Zaretskii" <eliz AT gnu DOT org>
> 
> I'll try to debug the problem when I have free time, but I no longer
> have enough of that to promise any firm date.  (Emacs 21.4 was
> produced from a branch that I considered long dead, so I don't track
> changes checked into that branch.)  In the meantime, I suggest to try
> an older version of Emacs (21.3, perhaps) and/or older version of
> GCC/Binutils.

Googling for the error message reveals that (1) this problem was
reported to GCC maintainers many times in the past, for versions of
GCC as old as 2.95.3; and (2) it is related to forwad references,
i.e. when a function is called before it is defined.

While I can avoid the error in short examples by reordering functions
so that no forward references are used, doing so in a huge file such
as keyboard.c is not simple, and I couldn't find the function(s) that
trigger this error.

For now, here's a work-around that doesn't require to install an older
version of GCC: go to the src directory and type the following
command:

    make keyboard.o CFLAGS='-O2'

This will produce a valid keyboard.o, but without debug info.  Then go
back to the top-level directory ("cd ..") and type "make install"
again to continue the build process.

- Raw text -


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