Description of problem: While attempting to compile GDC (GNU D Compiler) I discovered a bug in the current version of GCC. Running the command 'gcc --version' claims GCC is version 4.1, as well does checking my RPM version of gcc. This was to be expected, however the unexpected part was that while compiling gdc, the failure reported there was a problem with the symbol tables. Having run strings on /usr/lib64/libstdc++.so.6.0.8 it reported the following: GCC_4.2.0 GCC_3.3 GCC_3.0 I'm fairly certain this is due to backporting of patches from GCC 4.2 to GCC 4.1. So far, this is the only time I've encountered this problem, but it may have some nasty side-effects in other applications that have been as of yet unseen. How reproducible: 100% Steps to Reproduce: 1. Compile GDC 2. Fail.
The @GCC_4.2.0 symbols are supplied by the included libgcc_s.so.1. If GDC includes its own libgcc_s.so.1 which overrides the system one, it is buggy and should be fixed.