[JIRA] Updated: (SNOW-287) Build of LLPlugin fails on 64bit linux due to non PIC code linking into the DSO

Robin Cornelius (JIRA) no-reply at lindenlab.cascadeo.com
Mon Jan 4 08:37:59 PST 2010


     [ http://jira.secondlife.com/browse/SNOW-287?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Robin Cornelius updated SNOW-287:
---------------------------------

    Source Version: Snowglobe 1.3
    Patch attached: [Patch attached]

> Build of LLPlugin fails on 64bit linux due to non PIC code linking into the DSO
> -------------------------------------------------------------------------------
>
>                 Key: SNOW-287
>                 URL: http://jira.secondlife.com/browse/SNOW-287
>             Project: 6. Second Life Snowglobe - SNOW
>          Issue Type: Bug
>          Components: Source Code 
>    Affects Versions: Snowglobe 1.2
>         Environment: Linux x86_64
>            Reporter: Robin Cornelius
>             Fix For: Snowglobe 1.3
>
>         Attachments: 64bitHandleLLCommonPICcase.patch, pic.diff
>
>
> linking of llplugin fails with
> Linking CXX shared library libmedia_plugin_webkit.so
> cd /home/robin/llsvn/opensource/snowglobe/trunk/indra/viewer-linux-x86_64-relwithdebinfo/media_plugins/webkit && /usr/bin/cmake -E cmake_link_script CMakeFiles/media_plugin_webkit.dir/link.txt --verbose=1
> /usr/lib/ccache/g++  -fPIC -Wall -Wno-sign-compare -Wno-trigraphs -Wno-non-virtual-dtor -Werror -Wno-reorder  -m64 -DLL_RELEASE=1 -D_SECURE_SCL=0 -DLL_SEND_CRASH_REPORTS=0 -DNDEBUG -DLL_RELEASE_WITH_DEBUG_INFO=1  -shared -Wl,-soname,libmedia_plugin_webkit.so -o libmedia_plugin_webkit.so CMakeFiles/media_plugin_webkit.dir/media_plugin_webkit.cpp.o -L/home/robin/llsvn/opensource/snowglobe/trunk/indra/viewer-linux-x86_64-relwithdebinfo/llplugin -L/home/robin/llsvn/opensource/snowglobe/trunk/indra/viewer-linux-x86_64-relwithdebinfo/media_plugins/base -L/home/robin/llsvn/opensource/snowglobe/trunk/indra/viewer-linux-x86_64-relwithdebinfo/llcommon ../../llplugin/libllplugin.a ../base/libmedia_plugin_base.a ../../llcommon/libllcommon.a -lllqtwebkit -laprutil-1 -lapr-1 -lexpat -lz 
> /usr/bin/ld: ../../llplugin/libllplugin.a(llpluginmessage.cpp.o): relocation R_X86_64_32 against `.rodata' can not be used when making a shared object; recompile with -fPIC
> ../../llplugin/libllplugin.a: could not read symbols: Bad value
> http://www.technovelty.org/code/c/amd64-pic.html

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.secondlife.com/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the Jira-notify mailing list