Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 10 Jul 2012 20:18:27 -0400
From:      Jung-uk Kim <jkim@FreeBSD.org>
To:        Kevin Oberman <kob6558@gmail.com>
Cc:        Doug Barton <dougb@freebsd.org>, freebsd-office@freebsd.org
Subject:   Re: libreoffice, 10-current, and clang
Message-ID:  <4FFCC653.1090304@FreeBSD.org>
In-Reply-To: <CAN6yY1ueDabdxgmTxbiy=DCQnkFpMshp62%2B=iC0FQrdg%2BnL31A@mail.gmail.com>
References:  <4FF81AAF.4000402@FreeBSD.org> <CAN6yY1ueDabdxgmTxbiy=DCQnkFpMshp62%2B=iC0FQrdg%2BnL31A@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 2012-07-07 19:23:07 -0400, Kevin Oberman wrote:
> On Sat, Jul 7, 2012 at 4:17 AM, Doug Barton <dougb@freebsd.org>
> wrote:
>> Even though I am on 10-current, where the clang --version is
>> nominally the same as the one in ports, the current version of
>> the libreoffice port is telling me I need to install the clang
>> port. Why?
>> 
>> Also, the port has this:
>> 
>> CXXCPP= ${LOCALBASE}/bin/clang++ -E CPP=
>> ${LOCALBASE}/bin/clang -E
>> 
>> whereas for CPP at least the wiki says specifically not to do
>> that, but to use clang-cpp instead. Why the discrepancy here?
> 
> Oddly, the Makefile has commented out code to check for clang in
> base: #.if !exists(/usr/bin/clang) #BUILD_DEPENDS+=
> ${LOCALBASE}/bin/clang:${PORTSDIR}/lang/clang #USE_BINUTILS=  yes 
> #CXXCPP=        clang++ -E #CPP=   clang -E #.endif
> 
> But the version in 9-stable of the past several weeks is 3.1, so, 
> unless the ports version has some important changes, it looks like
> it is a waste of time to build the port of both clang and llvm.

FYI, clang in the head and ports tree have the same regression.  You
can patch contrib/llvm/tools/clang/lib/Sema/SemaDeclCXX.cpp[1] and do
buildworld & installworld Then, update the ports tree[2] and try "make
WITH_SYSTEM_CLANG=yes".

Jung-uk Kim

1.
http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Sema/SemaDeclCXX.cpp?view=patch&r1=159717&r2=159895
2.  http://docs.freebsd.org/cgi/mid.cgi?201207102353.q6ANrDtx051945
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.19 (FreeBSD)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk/8xlMACgkQmlay1b9qnVOL9QCgqD7PT6JViNz2fVwyGVQZIN+C
xIsAoLiSaqfRwNkUV6NPrnbq8AWIex3c
=/OpE
-----END PGP SIGNATURE-----



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4FFCC653.1090304>