[CC'd to GRASS developers' list.]
Neil.Murphy@axa.ie wrote:
Here is the result from gmake5 src/libes/edit".
In function `format_value':
edit_cellhd.c:112: Internal compiler error in subst_stack_regs_pat, at
reg-stack.c:
1414Please submit a full bug report.
See <URL:https://qa.mandrakesoft.com/> for instructions.
This exact same message has been reported before, in:
From: "Georges Schwob"<schwob@respublica.fr>
Subject: [GRASSLIST:3697] Re: Compile Grass5.0.0pre4
Date: Tue, 21 May 2002 14:52:58 +0200
Message-Id: <GWGP4A$59DCDBBBEE9974BC403CD984877FA5A9@respublica.fr>
He reported that "gcc -v" said:
Reading specs from /usr/lib/gcc-lib/i586-mandrake-linux-gnu/2.96/specs
gcc version 2.96 20000731 (Mandrake Linux 8.2 2.96-0.76mdk)
Presumably this is the one from the Mandrake 8.2 CD?
You may need to replace your copy of gcc with an updated version.
However, another poster reported success on Mandrake 8.2 with:
CFLAGS="-O3 -mcpu=pentiumpro -Wall" LDFLAGS="-s" ./configure ...
--
Glynn Clements <glynn.clements@virgin.net>
Hi Glynn,
I had the problem with not compiled modules as well with gcc
3.0.4. Using 2.95 worked fine. It looks like 2.96 and 3.0.4 have
problems compiling GRASS, because these Versions were mentioned in
many mails about this problem. This should be checked out, because
it's just an observation, but I can't prove it.
Rainer
On Thu, 20 Jun 2002, Glynn Clements wrote:
[CC'd to GRASS developers' list.]
Neil.Murphy@axa.ie wrote:
Here is the result from gmake5 src/libes/edit".
In function `format_value': edit_cellhd.c:112: Internal compiler
error in subst_stack_regs_pat, at reg-stack.c: 1414Please submit a
full bug report. See <URL:https://qa.mandrakesoft.com/> for
instructions.
This exact same message has been reported before, in:
From: "Georges Schwob"<schwob@respublica.fr> Subject:
[GRASSLIST:3697] Re: Compile Grass5.0.0pre4 Date: Tue, 21 May 2002
14:52:58 +0200 Message-Id:
<GWGP4A$59DCDBBBEE9974BC403CD984877FA5A9@respublica.fr>
He reported that "gcc -v" said:
Reading specs from
/usr/lib/gcc-lib/i586-mandrake-linux-gnu/2.96/specs gcc version 2.96
20000731 (Mandrake Linux 8.2 2.96-0.76mdk)
Presumably this is the one from the Mandrake 8.2 CD?
You may need to replace your copy of gcc with an updated version.
However, another poster reported success on Mandrake 8.2 with:
CFLAGS="-O3 -mcpu=pentiumpro -Wall" LDFLAGS="-s" ./configure
...
On Thu, 20 Jun 2002, Glynn Clements wrote:
Neil.Murphy@axa.ie wrote:
> Here is the result from gmake5 src/libes/edit".
> In function `format_value':
> edit_cellhd.c:112: Internal compiler error in subst_stack_regs_pat, at
> reg-stack.c:
> 1414Please submit a full bug report.
...
CFLAGS="-O3 -mcpu=pentiumpro -Wall" LDFLAGS="-s" ./configure ...
Yes, seems to be the -O flag
src/libes/edit fails with -O2, works with -O3
tested on HEAD release June 28, gcc 2.96 (RH7.3)
Morten Hulden
On Fri, Jun 28, 2002 at 06:29:44PM +0200, Morten Hulden wrote:
On Thu, 20 Jun 2002, Glynn Clements wrote:
> Neil.Murphy@axa.ie wrote:
>
> > Here is the result from gmake5 src/libes/edit".
>
> > In function `format_value':
> > edit_cellhd.c:112: Internal compiler error in subst_stack_regs_pat, at
> > reg-stack.c:
> > 1414Please submit a full bug report.
...
> CFLAGS="-O3 -mcpu=pentiumpro -Wall" LDFLAGS="-s" ./configure ...
Yes, seems to be the -O flag
src/libes/edit fails with -O2, works with -O3
tested on HEAD release June 28, gcc 2.96 (RH7.3)
Does it help to change the function pointer invocation from:
(*func)(y, buf, projection);
to
func (y, buf, projection);
???
Line 112 in my copy is the ending brace...
--
Eric G. Miller <egm2@jps.net>