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


Stephen,

When I tried to build libreoffice with clang 3.2 for x86-64 linux I
got a segfault in CustomTarget_uno_test.
After I made the above change the segfault went away.
I don't really understand the bridges module so there might be a
better way to fix this, but disabling optimization on that file worked
for me.

Thanks,

Peter

On Mon, Mar 25, 2013 at 1:38 PM, Stephan Bergmann <sbergman@redhat.com> wrote:
On 03/24/2013 03:21 PM, Peter Foley wrote:

commit d72b4106e2b1525f76ea4d91458204aeec8b408e
Author: Peter Foley <pefoley2@verizon.net>
Date:   Sun Mar 24 10:20:09 2013 -0400

     make bridges work with clang on x64 linux

     Change-Id: Idf5c7586e375f0321c765d165f9698403b7a7daf

diff --git a/bridges/Library_cpp_uno.mk b/bridges/Library_cpp_uno.mk
index 12275f5..987517d 100644
--- a/bridges/Library_cpp_uno.mk
+++ b/bridges/Library_cpp_uno.mk
@@ -130,7 +130,8 @@ else ifeq ($(CPU),X)
  ifneq ($(filter DRAGONFLY FREEBSD LINUX NETBSD OPENBSD,$(OS)),)
  bridges_SELECTED_BRIDGE := gcc3_linux_x86-64
  bridge_asm_objects := call
-bridge_exception_objects := abi callvirtualmethod cpp2uno except uno2cpp
+bridge_noopt_objects := callvirtualmethod
+bridge_exception_objects := abi cpp2uno except uno2cpp


Peter, can you elaborate which build exactly got fixed by this?

Stephan

  else ifeq ($(OS),MACOSX)
  bridges_SELECTED_BRIDGE := gcc3_macosx_x86-64
  bridge_exception_objects := abi call callvirtualmethod cpp2uno except
uno2cpp



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.