Date: prev next · Thread: first prev next last
2012 Archives by date, by thread · List index


Zitat von Michael Stahl <mstahl@redhat.com>:

On 12/04/12 12:32, Noel Grandin wrote:


On 2012-04-12 11:51, Stephan Bergmann wrote:
What is the output of

readelf -d
workdir/unxlngx6.pro/LinkTarget/CppunitTest/libtest_smoketest.so

for you?

Output attached.

 0x0000000000000001 (NEEDED)             Shared library: [libc.so.6]

yeah, that's rather too little :(

this is missing here:

 0x0000000000000001 (NEEDED)             Shared library: [libsmoketest.so]

indeed looks like your ld defaults to --as-needed.

it should work if you do this:

cd smoketest && make -r clean && make -r LDFLAGS=-Wl,--no-as-needed
subsequentcheck


As it's stated here [1]

*Caution:* Reading the documentation, you may be tempted to try the --no-as-needed option as a "quick fix" workaround, but it's generally the not the right fix. If you aren't able to get a package working with the --as-needed and --no-copy-dt-needed-entries options enabled, it's best to submit a bug report and get expert attention. (It may be a sign of deeper flaws in the code or linking strategy of the package.)

[1] https://wiki.ubuntu.com/NattyNarwhal/ToolchainTransition

wonder what we should do about ld that defaults to --as-needed...

_______________________________________________
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


David


Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.