Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 07 May 2015 00:22:52 +0000
From:      bugzilla-noreply@freebsd.org
To:        office@FreeBSD.org
Subject:   maintainer-feedback requested: [Bug 200020] [patch] editors/libreoffice: enable build on powerpc64
Message-ID:  <bug-200020-25061-U7JZhNi3tc@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-200020-25061@https.bugs.freebsd.org/bugzilla/>
References:  <bug-200020-25061@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
gmbroome@vcu.edu has reassigned Bugzilla Automation <bugzilla@FreeBSD.org>'s
request for maintainer-feedback to office@FreeBSD.org:
Bug 200020: [patch] editors/libreoffice: enable build on powerpc64
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D200020



--- Description ---
Created attachment 156448
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D156448&action=
=3Dedit
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 no=
t,
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=3D 4.8+" for powerpc64 via =
the
port Makefile because attempting to use base GCC 4.2 was a disaster.  Thoug=
h I
have not seen any problems from this myself for LibreOffice, should a linki=
ng
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, symlin=
king
GCC 4.8 libg++.so.6 in its place during LibreOffice build, then restoring t=
he
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 sa=
me
problem.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-200020-25061-U7JZhNi3tc>