devel/llvm11 failed to build
KIRIYAMA Kazuhiko
kiri at truefc.org
Wed Dec 2 02:20:22 UTC 2020
On Wed, 02 Dec 2020 09:42:40 +0900,
Brooks Davis wrote:
>
> [1 <text/plain; us-ascii (quoted-printable)>]
> On Wed, Dec 02, 2020 at 09:20:00AM +0900, KIRIYAMA Kazuhiko wrote:
> > Hi, all
> >
> > I've changed Makefile so as to include *mmintrin.h as
> > follows:
> >
> > --- /home/kiri/work/ports/head/devel/llvm11/Makefile 2020-11-09 12:30:07.000000000 +0900
> > +++ llvm11/Makefile 2020-11-29 17:12:58.544495000 +0900
> > @@ -59,8 +59,8 @@
> >
> > # Disable assertions. They should be disabled by cmake, but USES=cmake
> > # overrides -DCMAKE_*_FLAGS_RELEASE.
> > -CFLAGS+= -DNDEBUG
> > -CXXFLAGS+= -DNDEBUG
> > +CFLAGS+= -DNDEBUG -DNO_WARN_X86_INTRINSICS -I${WRKSRC}/tools/clang/lib/Headers/ppc_wrappers
> > +CXXFLAGS+= -DNDEBUG -DNO_WARN_X86_INTRINSICS -I${WRKSRC}/tools/clang/lib/Headers/ppc_wrappers
> >
> > OPTIONS_DEFINE= BE_AMDGPU CLANG DOCS EXTRAS LIT LLD LLD_LINK LLDB PYCLANG
> > OPTIONS_DEFINE_aarch64= OPENMP
> >
> > and `make install' devel/llvm11, but failed to build:
> ...
> > May circumstances are as follows:
> >
> > root at jdtpkxb:~ # uname -a
> > FreeBSD jdtpkxb 13.0-CURRENT FreeBSD 13.0-CURRENT #0 r367712M: Tue Nov 17 01:35:26 JST 2020 root at msrvkxb:/usr/obj/usr/src/amd64.amd64/sys/XIJ amd64
> > root at jdtpkxb:~ # svnlite info /usr/ports
> > Path: /usr/ports
> > Working Copy Root Path: /usr/ports
> > URL: http://svn.freebsd.org/ports/head
> > Relative URL: ^/head
> > Repository Root: http://svn.freebsd.org/ports
> > Repository UUID: 35697150-7ecd-e111-bb59-0022644237b5
> > Revision: 555444
> > Node Kind: directory
> > Schedule: normal
> > Last Changed Author: lwhsu
> > Last Changed Rev: 555444
> > Last Changed Date: 2020-11-16 11:44:38 +0900 (Mon, 16 Nov 2020)
> >
> > root at jdtpkxb:~ #
> >
> > What should I do ?
>
> I can't understand what you think this patch will do. You're causing
> PowerPC intrinsic headers to be included while building for amd64. I
> don't see how that could work.
But why it's going to include xmmintrin.h in default ?
>
> -- Brooks
> [2 signature.asc <application/pgp-signature (7bit)>]
>
More information about the freebsd-ports
mailing list