[Libreoffice-commits] core.git: make bridges work with clang on x64 linux

Peter Foley pefoley2 at verizon.net
Mon Mar 25 11:56:47 PDT 2013


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 at redhat.com> wrote:
> On 03/24/2013 03:21 PM, Peter Foley wrote:
>>
>> commit d72b4106e2b1525f76ea4d91458204aeec8b408e
>> Author: Peter Foley <pefoley2 at 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
>
>


More information about the LibreOffice mailing list