Missing symbol in GCC4/2 Hybrid
|Reported by:||jprostko||Owned by:||bonefish|
As noted by Humdinger on the Haiku Development list, there is an issue with some GCC2 apps such as Beam, BePDF, and VLC getting a "Missing symbol: gxx_personality_v0" error upon loading in a GCC4/2 hybrid environment.
I narrowed down the problem to hrev31110. Attached is a patch that addresses the issues on my end, although I don't think it's the way to handle the problem, since I kind of just went for the "try to get it working with the least amount of effort" approach. Naturally, reverting HaikuImage to 30109 would make things happy too, although counteract its whole intent, I suppose.
I initally thought the problem was only an issue with the libnet.so symlink, but I noticed the Beam error was actually due to an issue with libnetapi.so, so I addressed that as well in the patch.
I want to take a closer look at things later, but I think I'll head to sleep. In any case, I figured I'd submit a ticket with the patch just to give an idea where the issues lie. I kind of need to take a look at ImageRules and do some more builds to figure out more how all of these pieces fit together (like the use/non-use of "true") in rules such as the ones being used.