Strange build errors compiling SPEC with mainline
Diego Novillo
dnovillo@redhat.com
Fri Mar 18 16:55:00 GMT 2005
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
In file included from /usr/include/_G_config.h:44,
from /usr/include/libio.h:32,
from /usr/include/stdio.h:72,
from gzip.h:37,
from bits.c:55:
/usr/include/gconv.h:72: error: expected declaration specifiers or '...' before'size_t'
/usr/include/gconv.h:88: error: expected declaration specifiers or '...' before'size_t'
/usr/include/gconv.h:97: error: expected declaration specifiers or '...' before'size_t'
/usr/include/gconv.h:174: error: expected specifier-qualifier-list before 'size_t'
In file included from /usr/include/stdio.h:72,
from gzip.h:37,
from bits.c:55:
/usr/include/libio.h:53:21: error: stdarg.h: No such file or directory
In file included from /usr/include/stdio.h:72,
from gzip.h:37,
from bits.c:55:
/usr/include/libio.h:354: error: expected declaration specifiers or '...' before 'size_t'
/usr/include/libio.h:363: error: expected declaration specifiers or '...' before 'size_t'
/usr/include/libio.h:475: error: expected declaration specifiers or '...' before '__gnuc_va_list'
/usr/include/libio.h:477: error: expected declaration specifiers or '...' before '__gnuc_va_list'
/usr/include/libio.h:479: error: expected '=', ',', ';', 'asm' or '__attribute__' before '_IO_sgetn'
In file included from gzip.h:37,
from bits.c:55:
/usr/include/stdio.h:304: error: expected declaration specifiers or '...' before 'size_t'
/usr/include/stdio.h:311: error: expected declaration specifiers or '...' before 'size_t'
/usr/include/stdio.h:339: error: expected declaration specifiers or '...' before '__gnuc_va_list'
-----------------------------------------------------------------------------
More information about the Gcc
mailing list