From owner-freebsd-mips@freebsd.org Thu Dec 3 17:38:13 2015 Return-Path: Delivered-To: freebsd-mips@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 79407A4020B for ; Thu, 3 Dec 2015 17:38:13 +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 5792B1927; Thu, 3 Dec 2015 17:38:13 +0000 (UTC) (envelope-from brooks@spindle.one-eyed-alien.net) Received: by spindle.one-eyed-alien.net (Postfix, from userid 3001) id 98D765A9F12; Thu, 3 Dec 2015 17:38:06 +0000 (UTC) Date: Thu, 3 Dec 2015 17:38:06 +0000 From: Brooks Davis To: Sean Bruno Cc: freebsd-mips@freebsd.org Subject: Re: MIPS64 using clang head Message-ID: <20151203173806.GA39703@spindle.one-eyed-alien.net> References: <56605E75.5090004@freebsd.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="jRHKVT23PllUwdXP" Content-Disposition: inline In-Reply-To: <56605E75.5090004@freebsd.org> User-Agent: Mutt/1.5.24 (2015-08-30) X-BeenThere: freebsd-mips@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Porting FreeBSD to MIPS List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Dec 2015 17:38:13 -0000 --jRHKVT23PllUwdXP Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Dec 03, 2015 at 07:23:33AM -0800, Sean Bruno wrote: > We're still making progress, with a couple more updates to clang we've > made it past libc ... now seeing a failure to figure out what > "LONG_BITS" is. >=20 > https://people.freebsd.org/~sbruno/mips64_buildworld.log >=20 > I'm not quite sure what's missing and I've tried a few hacks to get it > past here. This is due to an incompatibility with our limits.h and clang's limits.h in freestanding mode. IMO it's a bug that clang's limits.h doesn't include the system one in freestanding mode, but currently it doesn't which means LONG_BITS doesn't get set. Deleting/not installing the clang limits.h should do the job. -- Brooks --jRHKVT23PllUwdXP Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQEcBAEBAgAGBQJWYH39AAoJEKzQXbSebgfAuWgH/jvVXhb3d6w+PoqNxbS1xFot Oho22TLHk0Tm/TXOsNJbMUEtMyuph5M3HZMA7VHPlEnjzxB1WsX9RUCR+5lpzirA 3fnons70ZkFB/V7TIBGbZIwuvDmYUgJMx4kEOVJMTo0aYafj5siP8i7t0ZBzjurH hBTs+T0gXltIMHkdQbd3YCZ4jb14i142zv5JRxd9RemenSfPhUg+PifJyTKoXdEp oT4LJZ6yR7Zi0VewX98gSe6KZ3ymr8HHvuI6SZfmC3V2gTtEH6iKNVUU7GpYSIA/ i+iy+gtqqV5HD1H/WURxKrZbC6CDz35lLvx06XvCGj/DqfnFMNXrlkwYHw8KmGc= =dOXL -----END PGP SIGNATURE----- --jRHKVT23PllUwdXP--