I use the Swarm Toolkit (www.swarm.org) which depends on some gcc-2.95.2 features. WHen I compile programs against swarm using gcc-2.95.2, I get these annoying warnings. We have determined that these are just noise, there is nothing to worry about. usr/bin/ld: warning: type and size of dynamic symbol `__objc_class_name_SwarmObject' are not defined /usr/bin/ld: warning: type and size of dynamic symbol `__objc_class_name_ZoomRaster' are not defined /usr/bin/ld: warning: type and size of dynamic symbol `__objc_class_name_CustomProbeMap' are not define /usr/bin/ld: warning: type and size of dynamic symbol `__objc_class_name_GUISwarm' are not defined I've attached a file called gcc-objc.diff that makes the problem go away. I got it from someone who knows tons more about this than I do, I can't explain it. His point was that there is something dubious about the current approach for objc, and his patch just clears up one misconception in a larger misconception. I don't really care what you do, if you can make these erroneous warnings go away. They are distracting the user community. Release: gcc-2.95.2 (as well as egcs 1.1x and newer gcc) Environment: RedHat Linux How-To-Repeat: build Swarm against gcc-2.95.2 and the compile a swarm application, such as heatbugs.
Fix: apply the gcc-objc.diff, recompile gcc, problem vanishes.
State-Changed-From-To: open->closed State-Changed-Why: See Nicola Pero's post http://gcc.gnu.org/ml/gcc/2002-06/msg01712.html