public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
* RE: configure.in:420: m4: ERROR: Recursion limit of 1024 exceeded???
@ 2002-04-19  4:35 Spencer Marshall
  0 siblings, 0 replies; 3+ messages in thread
From: Spencer Marshall @ 2002-04-19  4:35 UTC (permalink / raw)
  To: me; +Cc: gcc-help


Thank you, that did the trick, and got a bit further, I need to troll 
through gcc.gnu.org for the new error

In file included from gthr-default.h:1,
                 from ../../src/gcc/gthr.h:98,
                 from ../../src/gcc/libgcc2.c:2977:
../../src/gcc/gthr-posix.h:37:21: pthread.h: No such file or directory
make[2]: *** [libgcc/./_eh.o] Error 1
make[2]: Leaving directory `/export/dalmany/gdsm/build/gcc'
make[1]: *** [stmp-multilib] Error 2
make[1]: Leaving directory `/export/dalmany/gdsm/build/gcc'
make: *** [all-gcc] Error 2

Many thanks for your help,

Spencer

>From: "Rupert Wood" <me@rupey.net>
>To: "'Spencer Marshall'" <gdsmarshall@hotmail.com>
>CC: <gcc-help@gcc.gnu.org>
>Subject: RE: configure.in:420: m4: ERROR: Recursion limit of 1024 
>exceeded???
>Date: Fri, 19 Apr 2002 09:36:45 +0100
>
>Spencer Marshall wrote:
>
> > make[1]: Entering directory `/export/dalmany/gdsm/build/gcc'
> > cd ../../src/gcc && autoheader
> > configure.in:420: m4: ERROR: Recursion limit of 1024 Exceeded
>
>Regenerating the GCC configure etc. isn't trivial. (I can't remember the
>magics involved to make it work.) They shouldn't need regenerating
>anyway.
>
From the top level of your source tree, run either:
>
>     contrib/gcc_update --touch
>or
>     contrib/egcs_update --touch
>
>and it should leave most of the pregenerated files alone. (2.95 has
>egcs_update and 3+ has gcc_update but I don't know which one 2.96 has.)
>
>This might instead be a make bug - but if you're running GNU/Linux then
>you probably already have GNU make.
>
>Rup.
>




_________________________________________________________________
Join the worldÂ’s largest e-mail service with MSN Hotmail. 
http://www.hotmail.com

^ permalink raw reply	[flat|nested] 3+ messages in thread

* RE: configure.in:420: m4: ERROR: Recursion limit of 1024 exceeded???
       [not found] <616BE6A276E3714788D2AC35C40CD18D5DCE82@whale.softwire.co.uk>
@ 2002-04-19  3:01 ` Rupert Wood
  0 siblings, 0 replies; 3+ messages in thread
From: Rupert Wood @ 2002-04-19  3:01 UTC (permalink / raw)
  To: 'Spencer Marshall'; +Cc: gcc-help

Spencer Marshall wrote:

> make[1]: Entering directory `/export/dalmany/gdsm/build/gcc'
> cd ../../src/gcc && autoheader
> configure.in:420: m4: ERROR: Recursion limit of 1024 Exceeded

Regenerating the GCC configure etc. isn't trivial. (I can't remember the
magics involved to make it work.) They shouldn't need regenerating
anyway.

From the top level of your source tree, run either:

    contrib/gcc_update --touch
or
    contrib/egcs_update --touch

and it should leave most of the pregenerated files alone. (2.95 has
egcs_update and 3+ has gcc_update but I don't know which one 2.96 has.)

This might instead be a make bug - but if you're running GNU/Linux then
you probably already have GNU make.

Rup.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* configure.in:420: m4: ERROR: Recursion limit of 1024 exceeded???
@ 2002-04-19  1:37 Spencer Marshall
  0 siblings, 0 replies; 3+ messages in thread
From: Spencer Marshall @ 2002-04-19  1:37 UTC (permalink / raw)
  To: gcc-help


HELP....

I am having problems making a gcc cross compiler, I get the error below

I have the following in /export/dalmany/gdsm
gcc-2.96-20000731
newlib-1.8.1
binutils-2.11.90.0.8

I have created the directory /export/dalmany/gdsm/src and in it created the 
following links
bfd -> ../binutils-2.11.90.0.8/bfd
binutils -> ../binutils-2.11.90.0.8/binutils
config -> ../binutils-2.11.90.0.8/config
config.guess -> ../gcc-2.96-20000731/config.guess
config.if -> ../gcc-2.96-20000731/config.if
config.sub -> ../gcc-2.96-20000731/config.sub
configure -> ../gcc-2.96-20000731/configure
configure.in -> ../gcc-2.96-20000731/configure.in
gas -> ../binutils-2.11.90.0.8/gas
gcc -> ../gcc-2.96-20000731/gcc
include -> ../binutils-2.11.90.0.8/include
ld -> ../binutils-2.11.90.0.8/ld
libgloss -> ../newlib-1.8.1/libgloss
libiberty -> ../binutils-2.11.90.0.8/libiberty
Makefile.in -> ../gcc-2.96-20000731/Makefile.in
move-if-change -> ../gcc-2.96-20000731/move-if-change
newlib -> ../newlib-1.8.1/newlib
opcodes -> ../binutils-2.11.90.0.8/opcodes
texinfo -> ../binutils-2.11.90.0.8/texinfo

I then did the following
cd /export/dalmany/gdsm/build
host=i386-redhat-linux
target=sparc-sun-solaris2
prefix=/sun
i=$prefix/bin
../src/configure --target=$target --prefix=$prefix --verbose
make all install

which gave me this....
<snip>
make[3]: Leaving directory `/export/dalmany/gdsm/build/ld'
make[2]: Leaving directory `/export/dalmany/gdsm/build/ld'
make[1]: Leaving directory `/export/dalmany/gdsm/build/ld'
make[1]: Entering directory `/export/dalmany/gdsm/build/gcc'
cd ../../src/gcc && autoheader
configure.in:420: m4: ERROR: Recursion limit of 1024 exceeded, use -L<N> to 
change it
autoconf: tracing failed
make[1]: *** [../../src/gcc/cstamp-h.in] Error 1
make[1]: Leaving directory `/export/dalmany/gdsm/build/gcc'
make: *** [all-gcc] Error 2

Please can anyone help
Sytem information before building
uname
Linux mckinley 2.4.17 #21 Fri Apr 5 07:55:03 BST 2002 i686 unknown

gcc -v
Reading specs from /usr/lib/gcc-lib/i386-redhat-linux/2.96/specs
gcc version 2.96 20000731 (Red Hat Linux 7.1 2.96-98)

Many thanks,

Spencer


_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2002-04-19 10:01 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-04-19  4:35 configure.in:420: m4: ERROR: Recursion limit of 1024 exceeded??? Spencer Marshall
     [not found] <616BE6A276E3714788D2AC35C40CD18D5DCE82@whale.softwire.co.uk>
2002-04-19  3:01 ` Rupert Wood
  -- strict thread matches above, loose matches on Subject: below --
2002-04-19  1:37 Spencer Marshall

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).