On Thu, Apr 2, 2009 at 4:47 PM, Craig Schlenter
<craig.schlen...@gmail.com> wrote:
> Just a wild guess but I think it's missing the circular linker magic
> start/end stuff when compiling the plugin. Will try to confirm when I'm near
> a pc again ...

Confirmed. Here's the line it's using to generate the plugin on my machine:

g++ -o 
/home/craig/chromium.git/src/sconsbuild/Debug/plugins/libnpapi_test_plugin.so
-m32 -pthread -shared
/home/craig/chromium.git/src/sconsbuild/Debug/obj/webkit/glue/plugins/test/npapi_constants.os
/home/craig/chromium.git/src/sconsbuild/Debug/obj/webkit/glue/plugins/test/npapi_test.os
/home/craig/chromium.git/src/sconsbuild/Debug/obj/webkit/glue/plugins/test/plugin_arguments_test.os
/home/craig/chromium.git/src/sconsbuild/Debug/obj/webkit/glue/plugins/test/plugin_delete_plugin_in_stream_test.os
/home/craig/chromium.git/src/sconsbuild/Debug/obj/webkit/glue/plugins/test/plugin_get_javascript_url_test.os
/home/craig/chromium.git/src/sconsbuild/Debug/obj/webkit/glue/plugins/test/plugin_geturl_test.os
/home/craig/chromium.git/src/sconsbuild/Debug/obj/webkit/glue/plugins/test/plugin_new_fails_test.os
/home/craig/chromium.git/src/sconsbuild/Debug/obj/webkit/glue/plugins/test/plugin_npobject_proxy_test.os
/home/craig/chromium.git/src/sconsbuild/Debug/obj/webkit/glue/plugins/test/plugin_test.os
-L/home/craig/chromium.git/src/sconsbuild/Debug/lib -lrt -lgtk-x11-2.0
-lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lpangocairo-1.0 -lpango-1.0
-lcairo -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0 -lssl3 -lsmime3
-lnss3 -lnssutil3 -lplds4 -lplc4 -lnspr4 -lpthread -ldl -lbase -licuuc
-licui18n -licudata -levent

When I add -Wl,--start-group and -Wl,--end-group to that (manually
since haven't figured out how to make gyp do it), then the missing
symbol problem goes away (at least when loading chrome and navigating
to mail.google which is where I was seeing the problem).

HTH,

--Craig

> On 02 Apr 2009, at 15:48, Dean McNamee <de...@chromium.org> wrote:
>
>>
>> I confirmed the debug build line has no -g.
>>
>> Also, all of the buildbots are red because of ICU issues:
>>
>>
>> http://build.chromium.org/buildbot/waterfall/builders/Modules%20Linux%20(dbg)/builds/6601/steps/test_shell_tests/logs/MimeTypeTests
>>
>> On Thu, Apr 2, 2009 at 3:46 PM, Dan Kegel <daniel.r.ke...@gmail.com>
>> wrote:
>>>
>>> And it seems to be built without debugging flags in debug mode.
>>> At least, I can't single-step through code on Linux.
>>>
>>> On Thu, Apr 2, 2009 at 4:18 AM, Dean McNamee <de...@chromium.org> wrote:
>>>>
>>>> (this isn't just V8, all of chromium is built without optimization in
>>>> release).  There are lots of other issues all over the place.
>>>>
>>>> On Thu, Apr 2, 2009 at 1:14 PM, Dean McNamee <de...@chromium.org> wrote:
>>>>>
>>>>> Notice the lack of -O2, etc.  This also broke SYMBOLS= PROFILE=,
>>>>> COVERAGE=, etc.
>>>>>
>>>>> I am tempted to revert it all.
>>>
>>
>> >>
>

--~--~---------~--~----~------------~-------~--~----~
Chromium Developers mailing list: chromium-dev@googlegroups.com 
View archives, change email options, or unsubscribe: 
    http://groups.google.com/group/chromium-dev
-~----------~----~----~----~------~----~------~--~---

Reply via email to