Your message dated Sun, 3 May 2015 17:04:40 +0200
with message-id 
<CAK8D=pjsaud_24fy1ijbucsug9aup4scx9r+gcrcswbtlk1...@mail.gmail.com>
and subject line Closing
has caused the Debian Bug report #465324,
regarding Random preprocessor errors
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(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 ---
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




--- End Message ---
--- Begin Message ---
Closing this bug now since it's not a bug in ccache and it's only present
in archaic GCC versions.

-- Joel

--- End Message ---

Reply via email to