Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 23 May 2013 19:44:36 +0200
From:      Tijl Coosemans <tijl@FreeBSD.org>
To:        Kevin Zheng <kevinz5000@gmail.com>
Cc:        office@freebsd.org
Subject:   Re: Fixing USE_GCC for LibreOffice on i386
Message-ID:  <519E5584.2050402@FreeBSD.org>
In-Reply-To: <518D61C1.7020402@gmail.com>
References:  <518D61C1.7020402@gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
------enig2WPXCAJGGAOVXNWIRVOWX
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

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.
>=20
> 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.
>=20
> In ports/178041, the submitter converted the WITH_GCC knob to a
> user-configurable option (via `make config`).
>=20
> 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.
>=20
> 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.


------enig2WPXCAJGGAOVXNWIRVOWX
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.20 (FreeBSD)

iF4EAREIAAYFAlGeVYsACgkQfoCS2CCgtiuqMwD+NswQMym2RfYbqlAmh5mM+X6J
ahbRhvA8/5f6pKo0KSQA+wTJWnaG9YIKThzHg6edExoQH3GA1iIXEUJ6+8blDmAO
=+wyA
-----END PGP SIGNATURE-----

------enig2WPXCAJGGAOVXNWIRVOWX--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?519E5584.2050402>