Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 2 Dec 2020 00:42:40 +0000
From:      Brooks Davis <brooks@freebsd.org>
To:        KIRIYAMA Kazuhiko <kiri@truefc.org>
Cc:        FreeBSD Ports <freebsd-ports@freebsd.org>
Subject:   Re: devel/llvm11 failed to build
Message-ID:  <20201202004240.GD18452@spindle.one-eyed-alien.net>
In-Reply-To: <202012020020.0B20K0gv012754@kx.truefc.org>
References:  <202012020020.0B20K0gv012754@kx.truefc.org>

next in thread | previous in thread | raw e-mail | index | archive | help

--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--



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