Date: Thu, 07 May 2015 00:22:52 +0000 From: bugzilla-noreply@freebsd.org To: office@FreeBSD.org Subject: [Bug 200020] [patch] editors/libreoffice: enable build on powerpc64 Message-ID: <bug-200020-25061@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
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.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-200020-25061>