Zitat von Michael Stahl <mst...@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

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

Reply via email to