This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Strange build errors compiling SPEC with mainline
On Fri, Mar 18, 2005 at 03:02:53PM +0100, Michael Matz wrote:
> Hi,
>
> On Fri, 18 Mar 2005, Diego Novillo wrote:
>
> > Starting around 2005-03-17, I haven't been able to compile
> > several SPEC tests with mainline. Has there been any change in
> > the pre-processor that might explain these errors?
> >
> > I'm pretty sure my installation is correct because this worked
> > until 2005-03-15, the system header files are all there and I get
> > no such errors from the runs with tree-cleanup-branch (merged
> > 2005-02-23).
> >
> > Any ideas?
> >
> > Thanks. Diego.
> >
> > -----------------------------------------------------------------------------
> > /home/cygnus/dnovillo/perf/sbox/gcc/local.i686/inst.tobiano/bin/gcc -c -o bits.o -O3 -march=i686 bits.c
> > Error from make 'specmake build 2> make.err | tee make.out':
> > In file included from gzip.h:37,
> > from bits.c:55:
> > /usr/include/stdio.h:34:21: error: stddef.h: No such file or directory
>
> stddef.h is a header installed by GCC into
> lib/gcc/<arch>/4.1.0/include/stddef.h If it can't be found it means that
> it's not installed there, which might be due to Zacks changes. You should
> look if you have a 'const' directory instead of the 4.1.0 one. If yes,
> then this is the problem, and Zacks latest patches fixes it.
I haven't yet tried the patch but I get similar errors on powerpc64-linux
compiling a hello world program with mainline for the last two days, and
the directories are named 'const'.
Janis