From owner-freebsd-current@FreeBSD.ORG Thu Sep 19 11:51:14 2013 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 9613DAAC; Thu, 19 Sep 2013 11:51:14 +0000 (UTC) (envelope-from serguey-grigoriev@yandex.ru) Received: from forward2h.mail.yandex.net (forward2h.mail.yandex.net [IPv6:2a02:6b8:0:f05::2]) by mx1.freebsd.org (Postfix) with ESMTP id 0ADB12824; Thu, 19 Sep 2013 11:51:14 +0000 (UTC) Received: from web25h.yandex.ru (web25h.yandex.ru [84.201.187.159]) by forward2h.mail.yandex.net (Yandex) with ESMTP id 8AB1F7018AE; Thu, 19 Sep 2013 15:51:10 +0400 (MSK) Received: from 127.0.0.1 (localhost [127.0.0.1]) by web25h.yandex.ru (Yandex) with ESMTP id 8EE212E14AE; Thu, 19 Sep 2013 15:51:09 +0400 (MSK) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1379591470; bh=dMDoqjGldyxeOii3GPUWYQkrLWU0aol4h2eSztlSaAA=; h=From:To:Cc:In-Reply-To:References:Subject:Date; b=aY1nLJeu88iAQOd4CmHHS6luAiswYsYPiFkY3pXWm5euMU0OAhs+6BdjHp9R18FxB 4edG/xQBGc44RHRF0lgeldgABb/ycGEV8Qdj45dsMN8ntnvKpolkaoAKG0BtvBQXFk SWXcNluxXnAQ7eCBUcuk/R5u4Bl6KH4zQn5kY9t8= Received: from office-gw.skytel.spb.ru (office-gw.skytel.spb.ru [193.110.239.131]) by web25h.yandex.ru with HTTP; Thu, 19 Sep 2013 15:51:09 +0400 From: S.N.Grigoriev To: Jung-uk Kim , David Chisnall In-Reply-To: <523A3E89.5020608@FreeBSD.org> References: <104781379415439@web14h.yandex.ru> <20130917162045.5b0fc356@thor.walstatt.dyndns.org> <20130917154914.GD31894@ithaqua.etoilebsd.net> <20130917155245.GE31894@ithaqua.etoilebsd.net> <52389059.8000200@FreeBSD.org> <5238FC0E.9090004@FreeBSD.org> <20130918172615.42270918@kalimero.tijl.coosemans.org> <95159E17-E700-464F-BBEE-C7C97355B8EB@FreeBSD.org> <5239E0DB.20400@FreeBSD.org> <523A3E89.5020608@FreeBSD.org> Subject: Re: libreoffice build error MIME-Version: 1.0 Message-Id: <266841379591469@web25h.yandex.ru> X-Mailer: Yamail [ http://yandex.ru ] 5.0 Date: Thu, 19 Sep 2013 15:51:09 +0400 Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset=utf-8 X-Mailman-Approved-At: Thu, 19 Sep 2013 12:27:01 +0000 Cc: Baptiste Daroussin , FreeBSD-current , "O. Hartmann" , Tijl Coosemans , Shawn Webb X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 19 Sep 2013 11:51:14 -0000 19.09.2013, 04:02, "Jung-uk Kim" : > > On 2013-09-18 13:20:27 -0400, Jung-uk Kim wrote: > 2013년  9월 18일 13:20, Jung-uk Kim 쓴 글:> On 2013-09-18 12:39:46 > - -0400, David Chisnall wrote: > >>>  On 18 Sep 2013, at 16:26, Tijl Coosemans >>>  wrote: >>>>  On Tue, 17 Sep 2013 21:04:14 -0400 Jung-uk Kim wrote: >>>>>  -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 >>>>> >>>>>  On 2013-09-17 13:24:41 -0400, Jung-uk Kim wrote: >>>>>>  I am still working on libc++ issues but it is much more >>>>>>  complicated. :-( >>>>>  I fixed almost everything except for exception handling >>>>>  issues. Unfortunately, libc++/libcxxrt's exception handling >>>>>  is not 100% compatible with libstdc++'s and I couldn't find >>>>>  a proper fix. :-( >>>>> >>>>>  Basically, C++/UNO bridge for LibreOffice/OpenOffice does >>>>>  some clever hacks, somewhat similar to the example on this >>>>>  blog page: >>>>> >>>>>  http://zbigg.blogspot.com/2009/03/catch-on-g.html >>>>  The definition of struct __cxa_exception doesn't match the one >>>>  in /usr/include/c++/v1/cxxabi.h.  There's an extra field at >>>>  the start in the __LP64__ case: uintptr_t referenceCount. >>>  This field is present in newer versions of the ABI spec and is >>>  also there in new versions of libsupc++.  It's required for >>>  implementing C++11 dependent exceptions. >>>  It shouldn't matter for code that doesn't allocate the structure >>>  (and nothing outside of libsupc++ / libcxxrt should be >>>  allocating them), because these structures are always passed >>>  around by pointers to their ends (where the _Unwind_Exception >>>  structure lives). >>  Ah, I see.  Now I wrote a proper fix and it looks very promising. >>  :-) > > Committed: > > http://svnweb.freebsd.org/changeset/ports/327589 > > Thanks! > > Jung-uk Kim > > * PS: IMHO, the ABI compatibility issue must be fixed before 10.0. > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v2.0.21 (FreeBSD) > Thanks for your commit! Now Libreoffice builds and works fine. -- Regards, S.Grigoriev.