bug-findutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: findutils-4.2.27: build feedback


From: James Youngman
Subject: Re: findutils-4.2.27: build feedback
Date: Sun, 30 Apr 2006 16:01:28 +0100

On 4/27/06, Hans Meine <address@hidden> wrote:
gcc: Internal compiler error: program cc1 got fatal signal 11

The Internal Compiler Error message usually means either that there is
a bug in the compiler or that there is a prolem with the hardware, I
think.

  SunOS kogs1 5.8 Generic_117350-28 sun4u sparc SUNW,Ultra-250
I could neither compile 4.2.27 nor 4.2.26 (both lead to the sig11),
and with 4.2.25 I get this strange error:

gcc -DHAVE_CONFIG_H -I. -I../../lib -I.. -I../gnulib/lib -I../../gnulib/lib
-I/software/gettext-0.11.5/include -I/software/libiconv-1.8/include
-I/software/libiconv-1.8/SunOS-5.8/include
-I/software/gettext-0.11.5/SunOS-5.8/include  -g -O2 -c ../../lib/regextype.c
../../lib/regextype.c: In function `get_regex_type_synonym':
../../lib/regextype.c:147: parse error before `int'
../../lib/regextype.c:150: `flags' undeclared (first use in this function)
../../lib/regextype.c:150: (Each undeclared identifier is reported only once
../../lib/regextype.c:150: for each function it appears in.)
gmake[1]: *** [regextype.o] Error 1

Which I don't understand at all because the code looks fine and is not changed
by the preprocessor (I ran the above command with -E and it looked the same).
For today, I will stop trying. ;-/

In fact that code is not fine.  In 4.2.25 the get_regex_type_synonym()
function included executable code before the declaration of the
variable 'flags', whcih C89 does not allow.  That problem was fixed in
findutils-4.2.26.

James,




reply via email to

[Prev in Thread] Current Thread [Next in Thread]