Date: Thu, 3 Dec 2015 10:54:46 -0800 From: Sean Bruno <sbruno@freebsd.org> To: Brooks Davis <brooks@freebsd.org> Cc: freebsd-mips@freebsd.org Subject: Re: MIPS64 using clang head Message-ID: <56608FF6.3050706@freebsd.org> In-Reply-To: <20151203173806.GA39703@spindle.one-eyed-alien.net> References: <56605E75.5090004@freebsd.org> <20151203173806.GA39703@spindle.one-eyed-alien.net>
next in thread | previous in thread | raw e-mail | index | archive | help
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512 On 12/03/15 09:38, Brooks Davis wrote: > 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. >> >> https://people.freebsd.org/~sbruno/mips64_buildworld.log >> >> 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 > Cool! I've removed my build version of limits.h ~/clang/build % mv ./lib/clang/3.8.0/include/limits.h /var/tmp Restarted my freebsd build of mips64. sean -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQF8BAEBCgBmBQJWYI/0XxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXRCQUFENDYzMkU3MTIxREU4RDIwOTk3REQx MjAxRUZDQTFFNzI3RTY0AAoJEBIB78oecn5kNvcIAKbRRTQQlRv5RCJZW+XHMeqi l2Sz/YyPT8uTEQWRGcSRWgRz+YDc/sF57lOhlDgUgoEXkA7hHHHCsLg46Mqv6JQY 05RRiZTRLD2KhaM2jIDB7DMFVxBH35j188fk6iBntTBn2dy52NREA44WRD82brCN E1J8PfakgtSMTKjV1UoeVnMMeMS4wSaXz99/xt13gYBeqqHK9YSoRw4ALZxAMn8e pWHszyQfsXdLndhRWwsyegAfRyGKpLkzPXPh45Cn+W3rY6DPmQQa2X/aecFZ/Z8j fp5q1DBZKnLujb9OM4fkhRBS68c4ab5+yqYhW6+m4AL6qfkjx7LpM12GjQX1qGo= =kfRw -----END PGP SIGNATURE-----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?56608FF6.3050706>