Fixing USE_GCC for LibreOffice on i386

Tijl Coosemans tijl at FreeBSD.org
Thu May 23 17:45:11 UTC 2013


On 2013-05-10 23:08, Kevin Zheng wrote:
> This issue was discussed quite a bit on this list a little while ago,
> and I'd like to figure out what we should do to fix the problem.
> 
> In ports/176967, Gabor (pgj@) pointed out that the WITH_GCC knob fixes
> LibreOffice by using GCC instead of Clang. This fix works for me.
> 
> In ports/178041, the submitter converted the WITH_GCC knob to a
> user-configurable option (via `make config`).
> 
> Instead, I'm thinking that we add some logic to the Makefile that
> requires GCC when ARCH is i386. This way, users won't have to wrestle
> with the knob or configurable option. In addition, this let us keep
> using Clang on the systems where it actually works.
> 
> Ideas/suggestions/comments? If not, I'd like to send in a PR with my
> proposed changes.

The problem with clang on i386 has been fixed now. You need to update
devel/llvm, lang/clang and editors/libreoffice.

As for WITH_GCC, I think it's mostly there for testing purposes and
not really as a user option. The reason is that the gcc ports use
their own C++ libraries (instead of base system libraries) and that
means to be safe all C++ code should be built with it, not just
libreoffice.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 228 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freebsd.org/pipermail/freebsd-office/attachments/20130523/6dcb0662/attachment.sig>


More information about the freebsd-office mailing list