I've been discussing this problem in the nodejs discussion group since 0.8.0. The problem seems to be specific to older systems like Leopard; I don't see the problem on Snow Leopard. Another user reported the same problem on Slackware Linux 13.
The first suggestion in the group was to try building --without-snapshot, which succeeds, but the node it builds does not work (all of the tests fail). Another developer thought some fixes that were included in 0.8.2 would help; they didn't. I tried building with gcc-4.2 instead of gcc-4.0; no change. The next suggestion was to try changing the optimization flags (i.e. setting configure.optflags
to something other than -O2
), so that's the next thing I'll try.