compat-gcc-32 workaround in Fedora Core 4 (and possible elsewhere)
I was hitting the same problem in FC4.
The only ways to upgrade gcc are to upgrade to FC7 or FC8 using yum (too scarry for me)
or compile GCC from source (this also might hit the GCC bug, so GCC would need to be compiled with gcc compat 3.2)
I desided to give it a try compiling clamav using gcc compat 3.2, seems to work fine so far.
compat-gcc-32.x86_64 3.2.3-47.fc4 installed
compat-gcc-32-c++.x86_64 3.2.3-47.fc4 installed
Just run the following before configure:
then just as you would build it regulary