From owner-freebsd-office@FreeBSD.ORG Thu May 7 00:22:53 2015 Return-Path: Delivered-To: office@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id DAD6DF66 for ; Thu, 7 May 2015 00:22:52 +0000 (UTC) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id BC24B14F0 for ; Thu, 7 May 2015 00:22:52 +0000 (UTC) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.9/8.14.9) with ESMTP id t470Mqft073092 for ; Thu, 7 May 2015 00:22:52 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: office@FreeBSD.org Subject: [Bug 200020] [patch] editors/libreoffice: enable build on powerpc64 Date: Thu, 07 May 2015 00:22:52 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: patch X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: gmbroome@vcu.edu X-Bugzilla-Status: New X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: office@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status keywords bug_severity priority component assigned_to reporter cc flagtypes.name attachments.created Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-office@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Office applications on FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 07 May 2015 00:22:53 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=200020 Bug ID: 200020 Summary: [patch] editors/libreoffice: enable build on powerpc64 Product: Ports & Packages Version: Latest Hardware: ppc OS: Any Status: New Keywords: patch Severity: Affects Some People Priority: --- Component: Individual Port(s) Assignee: office@FreeBSD.org Reporter: gmbroome@vcu.edu CC: freebsd-ppc@FreeBSD.org Assignee: office@FreeBSD.org Keywords: patch Flags: maintainer-feedback?(office@FreeBSD.org) CC: freebsd-ppc@FreeBSD.org Created attachment 156448 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=156448&action=edit Enable editors/libreoffice build on powerpc64 The LibreOffice build tools support Linux on PPC64, but FreeBSD only on i386 and AMD64. The included [admittedly rough-edged] patches enable build functionality on the PPC64 platform. Expected result: The port builds Actual result: For starters, the configure script chokes saying that FreeBSD PowerPC64 is not a supported platform. Other issues are encountered later in the build process once the configuration script is updated. Steps to reproduce: Attempt to build LibreOffice on FreeBSD/powerpc64 The included patch is against LibreOffice 4.3.7 on ports tree r385496. The resulting build runs (tested on a PowerMac G5 "Late 2005"). It does not, however, display any icons in the resulting applications; i.e. LibreOffice menu buttons etc. are text-only. Otherwise the build seems to behave agreeably, and it's certainly better than no build at all. Additional patches for the icon issue will be forthcoming if / when I'm able to resolve that problem. Final note: the provided patch enables "USE_GCC= 4.8+" for powerpc64 via the port Makefile because attempting to use base GCC 4.2 was a disaster. Though I have not seen any problems from this myself for LibreOffice, should a linking issue be encountered during ppc64 build after applying the patch, my first guess would be that the LibreOffice build system is attempting to use libc++ from the base system rather than the GCC 4.8 version. If that happens, as a workaround one might try temporarily setting base libg++.so.* aside, symlinking GCC 4.8 libg++.so.6 in its place during LibreOffice build, then restoring the original after the build is complete, as the FreeBSD system linker is a bit wiser about determining dependencies and doesn't seem to suffer from the same problem. -- You are receiving this mail because: You are the assignee for the bug.