------- Comment #2 from kengert at redhat dot com 2008-02-09 05:32 ------- It appears there is some sort of visibility issue, I should have had this idea earlier because of the "hidden symbol" message shown in the build output.
The mozilla build system has a configuration option to disable the visibility feature, as I understand it. Once I pass ac_cv_visibility_pragma=no to the mozilla configure scripts, it works. (FYI the comments for that mozilla build option point to gcc bug 26905 and gcc bug 20297.) -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35145