Package: ccache
Version: 2.4-13
Severity: normal

--- Please enter the report below this line. ---

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

Debian Release: lenny/sid
  500 unstable        www.debian-multimedia.org
  500 unstable        ftp.iasi.roedu.net
  500 testing         ftp.iasi.roedu.net
  500 gutsy           wine.budgetdedicated.com
    1 experimental    ftp.iasi.roedu.net

--- Package information. ---
Depends         (Version) | Installed
=========================-+-=============
libc6          (>= 2.7-1) | 2.7-6
zlib1g       (>= 1:1.1.4) | 1:1.2.3.3.dfsg-11




-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to