[distcc] more gcc version problems

Martin Pool mbp at samba.org
Wed Feb 5 03:24:11 GMT 2003


The version of gcc that has recently gone into Debian unstable
seems not to work in conjunction with older versions.  It looks like
some of the gcc-specific headers depend on extensions that are only
present in the corresponding cc1.

Unlike with previously known imcompatibilties between .o files from
different compilers, the problem here is between new
preprocessors/headers and old compilers.

If you see errors like those below, then you need to either explicitly
specify (say) gcc-2.95, or upgrade all machines to the same version.


In file included from /usr/include/_G_config.h:44,
                 from /usr/include/libio.h:32,
                 from /usr/lib/gcc-lib/i386-linux/3.2.2/include/stdio.h:81,
                 from /home/mbp/hello.c:1:
/usr/include/gconv.h:176: field `__data' has incomplete type
In file included from /usr/include/libio.h:53,
                 from /usr/lib/gcc-lib/i386-linux/3.2.2/include/stdio.h:81,
                 from /home/mbp/hello.c:1:
/usr/lib/gcc-lib/i386-linux/3.2.2/include/stdarg.h:43: parse error before `__gnuc_va_list'
/usr/lib/gcc-lib/i386-linux/3.2.2/include/stdarg.h:43: warning: data definition has no type or
storage class
In file included from /usr/lib/gcc-lib/i386-linux/3.2.2/include/stdio.h:81,
                 from /home/mbp/hello.c:1:
/usr/include/libio.h:463: parse error before `__gnuc_va_list'
/usr/include/libio.h:465: parse error before `__gnuc_va_list'
In file included from /home/mbp/hello.c:1:
/usr/lib/gcc-lib/i386-linux/3.2.2/include/stdio.h:203: warning: `__malloc__' attribute directive ignored
/usr/lib/gcc-lib/i386-linux/3.2.2/include/stdio.h:314: parse error before `__gnuc_va_list'
/usr/lib/gcc-lib/i386-linux/3.2.2/include/stdio.h:316: parse error before `__gnuc_va_list'
/usr/lib/gcc-lib/i386-linux/3.2.2/include/stdio.h:320: parse error before `__gnuc_va_list'
/usr/lib/gcc-lib/i386-linux/3.2.2/include/stdio.h:331: parse error before `__gnuc_va_list'


-- 
Martin 


More information about the distcc mailing list