From owner-freebsd-ports@freebsd.org Wed Dec 2 00:42:48 2020 Return-Path: Delivered-To: freebsd-ports@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 6D4FA46B6E6 for ; Wed, 2 Dec 2020 00:42:48 +0000 (UTC) (envelope-from brooks@spindle.one-eyed-alien.net) Received: from spindle.one-eyed-alien.net (spindle.one-eyed-alien.net [199.48.129.229]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4Cm0Yg5dCZz3h93 for ; Wed, 2 Dec 2020 00:42:47 +0000 (UTC) (envelope-from brooks@spindle.one-eyed-alien.net) Received: by spindle.one-eyed-alien.net (Postfix, from userid 3001) id F02A73C0199; Wed, 2 Dec 2020 00:42:40 +0000 (UTC) Date: Wed, 2 Dec 2020 00:42:40 +0000 From: Brooks Davis To: KIRIYAMA Kazuhiko Cc: FreeBSD Ports Subject: Re: devel/llvm11 failed to build Message-ID: <20201202004240.GD18452@spindle.one-eyed-alien.net> References: <202012020020.0B20K0gv012754@kx.truefc.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="dkEUBIird37B8yKS" Content-Disposition: inline In-Reply-To: <202012020020.0B20K0gv012754@kx.truefc.org> User-Agent: Mutt/1.9.4 (2018-02-28) X-Rspamd-Queue-Id: 4Cm0Yg5dCZz3h93 X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=none (mx1.freebsd.org: domain of brooks@spindle.one-eyed-alien.net has no SPF policy when checking 199.48.129.229) smtp.mailfrom=brooks@spindle.one-eyed-alien.net X-Spamd-Result: default: False [-3.90 / 15.00]; ARC_NA(0.00)[]; RBL_DBL_DONT_QUERY_IPS(0.00)[199.48.129.229:from]; FREEFALL_USER(0.00)[brooks]; FROM_HAS_DN(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.20)[multipart/signed,text/plain]; DMARC_NA(0.00)[freebsd.org]; AUTH_NA(1.00)[]; SPAMHAUS_ZRD(0.00)[199.48.129.229:from:127.0.2.255]; TO_MATCH_ENVRCPT_SOME(0.00)[]; TO_DN_ALL(0.00)[]; NEURAL_HAM_SHORT(-1.00)[-1.000]; RCPT_COUNT_TWO(0.00)[2]; SIGNED_PGP(-2.00)[]; FORGED_SENDER(0.30)[brooks@freebsd.org,brooks@spindle.one-eyed-alien.net]; RCVD_COUNT_ZERO(0.00)[0]; R_SPF_NA(0.00)[no SPF record]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; ASN(0.00)[asn:36236, ipnet:199.48.128.0/22, country:US]; FROM_NEQ_ENVFROM(0.00)[brooks@freebsd.org,brooks@spindle.one-eyed-alien.net]; MAILMAN_DEST(0.00)[freebsd-ports] X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Dec 2020 00:42:48 -0000 --dkEUBIird37B8yKS Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Dec 02, 2020 at 09:20:00AM +0900, KIRIYAMA Kazuhiko wrote: > Hi, all >=20 > I've changed Makefile so as to include *mmintrin.h as > follows: >=20 > --- /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 @@ > =20 > # Disable assertions. They should be disabled by cmake, but USES=3Dcmake > # overrides -DCMAKE_*_FLAGS_RELEASE. > -CFLAGS+=3D -DNDEBUG > -CXXFLAGS+=3D -DNDEBUG > +CFLAGS+=3D -DNDEBUG -DNO_WARN_X86_INTRINSICS -I${WRKSRC}/tools/clang/lib= /Headers/ppc_wrappers > +CXXFLAGS+=3D -DNDEBUG -DNO_WARN_X86_INTRINSICS -I${WRKSRC}/tools/clang/l= ib/Headers/ppc_wrappers > =20 > OPTIONS_DEFINE=3D BE_AMDGPU CLANG DOCS EXTRAS LIT LLD LLD_LINK LLDB PYCL= ANG > OPTIONS_DEFINE_aarch64=3D OPENMP >=20 > and `make install' devel/llvm11, but failed to build: =2E.. > May circumstances are as follows: >=20 > 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 a= md64 > 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) >=20 > root@jdtpkxb:~ #=20 >=20 > 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. -- Brooks --dkEUBIird37B8yKS Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEcBAEBAgAGBQJfxuMAAAoJEKzQXbSebgfAdvAH/jWkviiZ/iigP0KSIVkshKr4 x8EgFr6OOBlT86uarx/wzPJi4hMXi2LDmIi1EI+ZTWcCihX5S9BGlwfDQETa1dA/ RdCzBSXkd7sr0eyDY75Ns03dnkWCszFIzuNkQZU0I7j4mY/oy8nWwh6xgJJP3KtI h3I80YdVWr8X4BvuT4RHAbP1kdXw+0cK/frTBdpwVihS3yJ1CNE6ZczIZTuAtsKz 4HLIrFmuU8C0f4uSp5XJSaMTyYRuY18tqLJJ+UFzXeqg1p4SY3q1MIsI8jTacLec CUxYgAaI3jAJJIxEGLwij5lhYM2RHEPjsds/lXBYHfXbrdurn18mpnNcwrzyozk= =U9wU -----END PGP SIGNATURE----- --dkEUBIird37B8yKS--