Date: Wed, 02 Dec 2020 11:20:15 +0900 From: KIRIYAMA Kazuhiko <kiri@truefc.org> To: Brooks Davis <brooks@freebsd.org> Cc: KIRIYAMA Kazuhiko <kiri@truefc.org>, FreeBSD Ports <freebsd-ports@freebsd.org> Subject: Re: devel/llvm11 failed to build Message-ID: <202012020220.0B22KFpG026842@kx.truefc.org> In-Reply-To: <20201202004240.GD18452@spindle.one-eyed-alien.net> References: <202012020020.0B20K0gv012754@kx.truefc.org> <20201202004240.GD18452@spindle.one-eyed-alien.net>
next in thread | previous in thread | raw e-mail | index | archive | help
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@jdtpkxb:~ # uname -a > > FreeBSD jdtpkxb 13.0-CURRENT FreeBSD 13.0-CURRENT #0 r367712M: Tue Nov 17 01:35:26 JST 2020 root@msrvkxb:/usr/obj/usr/src/amd64.amd64/sys/XIJ amd64 > > root@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@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)>] >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202012020220.0B22KFpG026842>