Your message dated Tue, 12 Feb 2008 14:38:39 +1300 with message-id <[EMAIL PROTECTED]> has caused the $gProject $gBug report #$ref, regarding Random preprocessor errors to be marked as having been forwarded to the upstream software author(s) [EMAIL PROTECTED]
(NB: If you are a system administrator and have no idea what this message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact [EMAIL PROTECTED] immediately.) -- 465324: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=465324 Debian Bug Tracking System Contact [EMAIL PROTECTED] with problems
--- Begin Message ---Has anybody seen similar problems with ccache and gcc 4.3 ? Francois ----- Forwarded message from Török Edwin <[EMAIL PROTECTED]> ----- Date: Mon, 11 Feb 2008 22:40:26 +0200 To: [EMAIL PROTECTED] Subject: Bug#465324: Random preprocessor errors I am getting seemingly random errors while compiling with gcc-4.3 and ccache: gcc-4.3 -DHAVE_CONFIG_H -I. -I../../../../trunk/libclamav -I.. -I../../../../trunk -I../../../../trunk/libclamav/nsis -I../../../../trunk/libclamav/lzma -g3 -Wextra -Wall -Wbad-function-cast -Wcast-align -Wcast-qual -Wdisabled-optimization -Wendif-labels -Wfloat-equal -Wformat=2 -Wformat-nonliteral -Winline -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wno-unused-parameter -Wpointer-arith -Wshadow -Wstrict-prototypes -Wswitch -Wundef -Wwrite-strings -O3 -fstack-protector-all -Wstack-protector -D_FORTIFY_SOURCE=2 -march=k8 -mfpmath=sse -msse -msse2 -m3dnow -mmmx -Wstrict-overflow=5 -pedantic -MT scanners.lo -MD -MP -MF .deps/scanners.Tpo -c ../../../../trunk/libclamav/scanners.c -fPIC -DPIC -o .libs/scanners.o In file included from ../../../../trunk/libclamav/scanners.c:29: /usr/include/stdlib.h:341: error: expected ‘,’ or ‘;’ before ‘__attribute_’ /usr/include/stdlib.h:341: error: stray ‘\177’ in program make[3]: *** [scanners.lo] Error 1 If I run the *same* command again it succeeds. I couldn't find a way to reliably reproduce the problem, it has happened only 3 times today for example. Here's another: In file included from ex1.c:4: /usr/include/stdlib.h: In function ‘srand48_r’: /usr/include/stdlib.h:454: error: expected declaration specifiers before ‘_’ /usr/include/stdlib.h:454: error: stray ‘\177’ in program /usr/include/stdlib.h:457: error: storage class specified for parameter ‘seed48_r’ /usr/include/stdlib.h:461: error: storage class specified for parameter ‘lcong48_r’ /usr/include/stdlib.h:471: error: storage class specified for parameter ‘malloc’ /usr/include/stdlib.h:474: error: storage class specified for parameter ‘calloc’ /usr/include/stdlib.h:486: error: storage class specified for parameter ‘realloc’ /usr/include/stdlib.h:488: error: storage class specified for parameter ‘free’ /usr/include/stdlib.h:493: error: storage class specified for parameter ‘cfree’ In file included from /usr/include/stdlib.h:497, from ex1.c:4: /usr/include/alloca.h:33: error: storage class specified for parameter ‘alloca’ In file included from ex1.c:4: This does NOT occur if I use gcc-4.3 directly, or if I use gcc-4.2 with ccache. $ which gcc-4.3 /usr/lib/ccache/gcc-4.3 I haven't ever seen these errors while using gcc 3.x, and 4.1., 4.2. They only appear when using gcc-4.3 and ccache. $ gcc-4.3 -v Using built-in specs. Target: x86_64-linux-gnu Configured with: ../src/configure -v --with-pkgversion='Debian 4.3-20080202-1' --with-bugurl=file:///usr/share/doc/gcc-4.3/README.Bugs --enable-languages=c,c++,fortran,objc,obj-c++,treelang --prefix=/usr --enable-shared --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --enable-nls --with-gxx-include-dir=/usr/include/c++/4.3 --program-suffix=-4.3 --enable-clocale=gnu --enable-libstdcxx-debug --enable-libffi --enable-objc-gc --enable-mpfr --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu Thread model: posix gcc version 4.3.0 20080202 (experimental) [trunk revision 132072] (Debian 4.3-20080202-1) --- System information. --- Architecture: amd64 Kernel: Linux 2.6.24-1-amd64 ----- End forwarded message -----
--- End Message ---

