From owner-freebsd-emulation@FreeBSD.ORG Fri Mar 6 20:03:55 2015 Return-Path: Delivered-To: vbox@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 7332DE3C; Fri, 6 Mar 2015 20:03:55 +0000 (UTC) Received: from mailrelay103.isp.belgacom.be (mailrelay103.isp.belgacom.be [195.238.20.130]) by mx1.freebsd.org (Postfix) with ESMTP id D9ED9B56; Fri, 6 Mar 2015 20:03:54 +0000 (UTC) X-Belgacom-Dynamic: yes X-Cloudmark-SP-Filtered: true X-Cloudmark-SP-Result: v=1.1 cv=ZT6Ny9SzQUL0U4sOn6xM6rLbT25dGdPOAe/imaXRw80= c=1 sm=2 a=kj9zAlcOel0A:10 a=pGLkceISAAAA:8 a=6I5d2MoRAAAA:8 a=NEAV23lmAAAA:8 a=dJXHMkJdPibKcf_12JsA:9 a=CjuIK1q_8ugA:10 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: A2BhBgCNB/pU/y+M8VFcgwZSWsFyhXACgTpOAQEBAQEBfIQQAQU6HCMQCxgJJQ8SGB4GE4gbAxUBCMghDYU0AQEBAQEBAQMBAQEBAQEYBIsXgkSCKgeEKwWTaoQigUeBG4t3TIJQg0IjggIcgVE9MQGCQgEBAQ Received: from 47.140-241-81.adsl-dyn.isp.belgacom.be (HELO kalimero.tijl.coosemans.org) ([81.241.140.47]) by relay.skynet.be with ESMTP; 06 Mar 2015 21:03:53 +0100 Received: from kalimero.tijl.coosemans.org (kalimero.tijl.coosemans.org [127.0.0.1]) by kalimero.tijl.coosemans.org (8.14.9/8.14.9) with ESMTP id t26K3qLS012528; Fri, 6 Mar 2015 21:03:52 +0100 (CET) (envelope-from tijl@coosemans.org) Date: Fri, 6 Mar 2015 21:03:51 +0100 From: Tijl Coosemans To: Scott Furry Subject: Re: GCC 4.8.4 wchar error blocking devel/kBuild (virtualbox-ose dependency) Message-ID: <20150306210351.2d2daf7b@kalimero.tijl.coosemans.org> In-Reply-To: <54FA0597.3000300@gmail.com> References: <54F86D96.1020505@gmail.com> <54F8BA89.4000302@gmail.com> <20150306113508.05c2bcc9@kalimero.tijl.coosemans.org> <54F9FCF9.2000104@gmail.com> <20150306205149.1dc0181a@kalimero.tijl.coosemans.org> <54FA0597.3000300@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Mailman-Approved-At: Fri, 06 Mar 2015 20:44:11 +0000 Cc: gerald@FreeBSD.org, vbox@FreeBSD.org X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 06 Mar 2015 20:03:55 -0000 On Fri, 06 Mar 2015 12:52:55 -0700 Scott Furry wrote: > On 06/03/2015 12:51, Tijl Coosemans wrote: > > On Fri, 06 Mar 2015 12:16:09 -0700 Scott Furry wrote: > >> On 06/03/2015 03:35, Tijl Coosemans wrote: > >>> On Thu, 05 Mar 2015 13:20:25 -0700 Scott Furry wrote: > >>>> Originally sent to vbox@FreeBSD.org this morning: > >>>> On 05/03/2015 07:52, Scott Furry wrote: > >>>>> While attempting to build emulators/virtualbox-ose(4.3.24) from > >>>>> FreeBSD ports, I keep running into a error during the build of > >>>>> devel/kBuild(0.1.9998). > >>>>> Error stops the build, but it seems a strange error being unable to > >>>>> determine a '__wchar_t' type. > >>>> emulators/virtualbox-ose-kmod (4.3.24) and emulators/virtualbox-ose > >>>> (4.3.24) are still blocked by error given above. > >>>> > >>>> I may not be the only one affected here. A quick google search dug up > >>>> this thread: > >>>> https://gist.github.com/tangentstorm/af2c97d89e194b3356c3 > >>>> > >>>> User indicated exact same error using gcc4.8.4 build. > >>> Try rebuilding gcc. During installation gcc thinks it's a good idea to > >>> fix "bugs" in some system headers by copying them to an obscure directory > >>> and then using those "fixed" copies instead of the real headers. > >>> When these system headers are updated gcc has an outdated copy that > >>> can cause errors in other headers. So, to be safe, whenever you update > >>> the base system you also have to rebuild the gcc ports. > >> Tried your suggestion. I went to update ports. I explicitly did an > >> update to lang/gcc48 before ports updating. This brought gcc48 up to > >> version 4.8.5-20150212. However, the original error message is > >> persistent. It appears that kBuild is using the gcc-4.8.4 files (or is > >> hardcoded to use these files) from somewhere else but not the installed > >> version. > >> > >> Error not resolved. > >> > >> Thanks for trying. > > What is the output of: > > grep __wchar_t /usr/local/lib/gcc48/gcc/x86_64-portbld-freebsd10.0/4.8.5/include-fixed/wchar.h > Output: > grep: > /usr/local/lib/gcc48/gcc/x86_64-portbld-freebsd10.0/4.8.5/include-fixed/wchar.h: > No such file or directory Hmm, how about: grep -R __wchar_t /usr/local/lib/gcc48/gcc/