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


Hi Matúš,

your patch was still not pushed.

So we have two options here:
1. push your patch (I attached it with description ;-)
2. use make interactive variable LDFLAGS, a lá make LDFLAGS='-Wl,--no-as-needed' check

Any ideas on this?

Ciao
David

On 13.04.2012 12:40, Matúš Kukan wrote:
On 11 April 2012 14:24, Noel Grandin<noel@peralex.com>  wrote:
Building on Ubuntu 64-bit, "make check" is failing because of a missing
symbol in libtest_smoketest.so.
Doing a "make smoketest.clean" doesn't seem to help.
The library does genuinely seem to be missing the symbol (readelf log
attached).

Any ideas for tracking this down?
Does attached diff help ?
There is
-$(eval $(call gb_CppunitTest_use_libraries,smoketest,\
+$(eval $(call gb_CppunitTest_use_library_objects,smoketest,\

I did not know what commit message to write there.
If it helps feel free to push it anybody, please.

Best,
Matus


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

From 9c521b5029d9b9ff4636f775fb99c8c5d279f331 Mon Sep 17 00:00:00 2001
From: David Ostrovsky <David.Ostrovsky@gmx.de>
Date: Sun, 22 Apr 2012 22:36:53 +0200
Subject: [PATCH] fix ld toolchain problem defaulting to --as-needed option on
 ubuntu 11.10

---
 smoketest/CppunitTest_smoketest.mk |   12 +++++++-----
 1 files changed, 7 insertions(+), 5 deletions(-)

diff --git a/smoketest/CppunitTest_smoketest.mk b/smoketest/CppunitTest_smoketest.mk
index cbfc3d3..ce5625f 100644
--- a/smoketest/CppunitTest_smoketest.mk
+++ b/smoketest/CppunitTest_smoketest.mk
@@ -29,12 +29,14 @@ $(eval $(call gb_CppunitTest_CppunitTest,smoketest))
 
 $(eval $(call gb_CppunitTest_abort_on_assertion,smoketest))
 
-$(eval $(call gb_CppunitTest_use_api,smoketest,\
-       offapi \
-       udkapi \
-))
-
 $(eval $(call gb_CppunitTest_use_libraries,smoketest,\
+       cppu \
+       cppuhelper \
+       sal \
+       unotest \
+ ))
+
+$(eval $(call gb_CppunitTest_use_library_objects,smoketest,\
        smoketest \
 ))
 
-- 
1.7.5.4


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.