[Bug 200020] [patch] editors/libreoffice: enable build on powerpc64
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Thu May 7 00:22:53 UTC 2015
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 at FreeBSD.org
Reporter: gmbroome at vcu.edu
CC: freebsd-ppc at FreeBSD.org
Assignee: office at FreeBSD.org
Keywords: patch
Flags: maintainer-feedback?(office at FreeBSD.org)
CC: freebsd-ppc at 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 on the CC list for the bug.
More information about the freebsd-ppc
mailing list