Description of problem:
while linking application with g++4 (gcc402), the error appears, that there is
It should be in libstdc++, but it's not.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
It is not included there because RHEL4 includes libstdc++ from GCC 3.4.5-RH,
rather than 4.0.x.
But, g++4 included in RHEL4 has been patched not to ever use that symbol,
see gcc4-c++-pr10606-revert.patch in src.rpm.
I don't see how you can get that error unless you are using your own GCC 4.0.x
build rather than the one included in RHEL4.
In fact I was using 4.0.2 from FC, but when I saw RH released 4.0.2 version, I
reinstalled whole development packages (gcc*, cpp, binutils, libtools, libgcc,
libstdc++ and some more). However the symbol is still in use.
It's little strange, but only one object requires this(unfortunatelly I can't
show it to You...).
Adding -lsupc++ to the linking phase helped, but it's not what I looked for.
Well, in fact I have to apologize. It appeard to be problem with ccache was not
ccache -C was not enought, but rm -rf /tmp/ccache fixed the thing.
Sorry and thanx. MArk is as a NOTaBUG