From owner-svn-src-all@freebsd.org Mon Nov 5 23:03:04 2018 Return-Path: Delivered-To: svn-src-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 14D60110EA8E; Mon, 5 Nov 2018 23:03:04 +0000 (UTC) (envelope-from bdrewery@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [96.47.72.132]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (Client CN "freefall.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 953D17964E; Mon, 5 Nov 2018 23:03:03 +0000 (UTC) (envelope-from bdrewery@FreeBSD.org) Received: from mail.xzibition.com (unknown [127.0.1.132]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by freefall.freebsd.org (Postfix) with ESMTPS id 4D1F78E74; Mon, 5 Nov 2018 23:03:03 +0000 (UTC) (envelope-from bdrewery@FreeBSD.org) Received: from mail.xzibition.com (localhost [172.31.3.2]) by mail.xzibition.com (Postfix) with ESMTP id 83A5171CA; Mon, 5 Nov 2018 23:03:02 +0000 (UTC) X-Virus-Scanned: amavisd-new at mail.xzibition.com Received: from mail.xzibition.com ([172.31.3.2]) by mail.xzibition.com (mail.xzibition.com [172.31.3.2]) (amavisd-new, port 10026) with LMTP id SgMGMie8465z; Mon, 5 Nov 2018 23:02:59 +0000 (UTC) Subject: Re: svn commit: r338268 - head DKIM-Filter: OpenDKIM Filter v2.10.3 mail.xzibition.com 75E1A71C0 To: Alex Richardson , src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org References: <201808231819.w7NIJAq5071940@repo.freebsd.org> From: Bryan Drewery Openpgp: id=F9173CB2C3AAEA7A5C8A1F0935D771BB6E4697CF; url=http://www.shatow.net/bryan/bryan2.asc Autocrypt: addr=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NgnkXu8xDH4ZxY0lIc3QgvYWp9vimlQe6 iKjUd2/DX28ETZcD5h6pYV331KMPTrEI0p0yvFijUZce8c1XHFyL1j9sBAha5qpszJl6Uq5i LolhKRcGfcdmtD72vHQjUYglUyudSJUVyo2gMYjdbiFKzJulABEBAAHCwGUEGAEKAA8CGwwF AlrozigFCQpgez0ACgkQNddxu25Gl8+m5Af/R3VEdxNMAcDIes9ADhQyofj20SPV3eCJ3HYR OebTSuNdOudGt4AAyA8Ks94u9hiIp5IGsc6RDsT9W7O2vgXhd6eV3eiY5Oif5xLIYrIDVu1Y 1GyRxRrPEn/QOqDN6uFZCPwK1aOapGcYCrO9lB0gMuTVfgHanU61rgC9tMX0OoAOyRd+V3/M 8lDNhjJdF/IpO3SdYzKfkwduy4qamw4Gphcx/RfYQvYLq/eDkP8d50PphWdboqWBwNRHayro W/07OGzfxM5fJ5mBsXPQcO2QcRjkyHf6xCM6Hi1qQL4OnXMNE/ZTX0lnOj1/pH93TlzSHZMP TaiiA/MBD3vGsXBmBg== Organization: FreeBSD Message-ID: Date: Mon, 5 Nov 2018 15:02:58 -0800 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 MIME-Version: 1.0 In-Reply-To: <201808231819.w7NIJAq5071940@repo.freebsd.org> Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="caoOR4wLovCOd87Yn5mrKAyTOgkKrVOgn" X-Rspamd-Queue-Id: 953D17964E X-Spamd-Result: default: False [-108.50 / 200.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; ALLOW_DOMAIN_WHITELIST(-100.00)[FreeBSD.org]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[4]; TO_DN_SOME(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; HAS_ATTACHMENT(0.00)[]; MIME_GOOD(-0.20)[multipart/signed,multipart/mixed,text/plain]; DMARC_NA(0.00)[FreeBSD.org]; R_SPF_SOFTFAIL(0.00)[~all]; HAS_ORG_HEADER(0.00)[]; RCVD_COUNT_THREE(0.00)[4]; IP_SCORE(-3.29)[ip: (-8.64), ipnet: 96.47.64.0/20(-4.31), asn: 11403(-3.45), country: US(-0.06)]; MX_GOOD(-0.01)[cached: mx1.FreeBSD.org]; NEURAL_HAM_SHORT(-1.00)[-1.000,0]; SIGNED_PGP(-2.00)[]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:11403, ipnet:96.47.64.0/20, country:US]; MID_RHS_MATCH_FROM(0.00)[] X-Rspamd-Server: mx1.freebsd.org X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Nov 2018 23:03:04 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --caoOR4wLovCOd87Yn5mrKAyTOgkKrVOgn Content-Type: multipart/mixed; boundary="t4jvYhXgQulKPLPgIe0Bij5G1TH8XAaW2"; protected-headers="v1" From: Bryan Drewery To: Alex Richardson , src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Message-ID: Subject: Re: svn commit: r338268 - head References: <201808231819.w7NIJAq5071940@repo.freebsd.org> In-Reply-To: <201808231819.w7NIJAq5071940@repo.freebsd.org> --t4jvYhXgQulKPLPgIe0Bij5G1TH8XAaW2 Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: quoted-printable On 8/23/2018 11:19 AM, Alex Richardson wrote: > Author: arichardson > Date: Thu Aug 23 18:19:10 2018 > New Revision: 338268 > URL: https://svnweb.freebsd.org/changeset/base/338268 >=20 > Log: > Fix non-FreeBSD host lib32 build for TARGET=3Damd64 > =20 > When building on non-FreeBSD systems we need to pass an explicit targ= et > triple to clang otherwise it will attempt to build with the host trip= le. > This also has advantages when building on a FreeBSD host: we now tell= > clang that we are targeting at least FreeBSD 12.0 instead of an older= > version so it can enable newer features. > =20 > Reviewed By: brooks (mentor) > Approved By: jhb (mentor) > Differential Revision: https://reviews.freebsd.org/D16842 >=20 > Modified: > head/Makefile.libcompat >=20 > Modified: head/Makefile.libcompat > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D > --- head/Makefile.libcompat Thu Aug 23 18:19:01 2018 (r338267) > +++ head/Makefile.libcompat Thu Aug 23 18:19:10 2018 (r338268) > @@ -14,6 +14,11 @@ LIB32CPUFLAGS=3D -march=3Di686 -mmmx -msse -msse2 > .else > LIB32CPUFLAGS=3D -march=3D${TARGET_CPUTYPE} > .endif > +.if ${WANT_COMPILER_TYPE} =3D=3D gcc || \ > + (defined(X_COMPILER_TYPE) && ${X_COMPILER_TYPE} =3D=3D gcc) > +.else > +LIB32CPUFLAGS+=3D -target x86_64-unknown-freebsd12.0 This can be ${TARGET_TRIPLE}, no? It also seems like it should be in the LIBSOFT flags too; via LIBCOMPATCFLAGS. > +.endif > LIB32CPUFLAGS+=3D -m32 > LIB32WMAKEENV=3D MACHINE=3Di386 MACHINE_ARCH=3Di386 \ > MACHINE_CPU=3D"i686 mmx sse sse2" >=20 --=20 Regards, Bryan Drewery --t4jvYhXgQulKPLPgIe0Bij5G1TH8XAaW2-- --caoOR4wLovCOd87Yn5mrKAyTOgkKrVOgn Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- iQGTBAEBCgB9FiEE+Rc8ssOq6npcih8JNddxu25Gl88FAlvgzCNfFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldEY5 MTczQ0IyQzNBQUVBN0E1QzhBMUYwOTM1RDc3MUJCNkU0Njk3Q0YACgkQNddxu25G l8/VyggAy7z51q/IhG2qV628pNnNQGvcvi08JXgL2tUL99q2QpH47Xt6dg85kR6B eVY2RvsBlXs8XVf6WPvAzYTZgEoECvU4GWVgy15vcpzBPfY2hERKQb6Go1L7Rmvn idgkFPDXpnc7hvrJShE2SsFKtKG+wk3SUV6yxbWfFn4rW4nD7xudm1VKqy+2Hqe2 vuXs7DrwiYzgEgi7Cy26kj/RGIAiCF51AGfAc0xqFtv5//o0rEbWdCnYRph+urkR 7fDZ2X1siutiYyzjmv1AU6wej+DcY2FteRHoUpznFjE9Geq4miKn6WyVtVdUzQrt So/adKc5VegmO3JskzKQZ2pwRooMzw== =sMbA -----END PGP SIGNATURE----- --caoOR4wLovCOd87Yn5mrKAyTOgkKrVOgn--