Red Hat Bugzilla – Bug 429230
GCC4 Compiler compilation bug
Last modified: 2008-01-23 09:09:36 EST
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:
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.
Steps to Reproduce:
1. Compile GDC
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.