From owner-freebsd-emulation@FreeBSD.ORG Fri Mar 6 19:16:13 2015 Return-Path: Delivered-To: vbox@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 7B9AB1000; Fri, 6 Mar 2015 19:16:13 +0000 (UTC) Received: from mail-ie0-x22c.google.com (mail-ie0-x22c.google.com [IPv6:2607:f8b0:4001:c03::22c]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 3BEAA5F1; Fri, 6 Mar 2015 19:16:13 +0000 (UTC) Received: by iebtr6 with SMTP id tr6so14926529ieb.2; Fri, 06 Mar 2015 11:16:12 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; bh=9hGO20yFhn/UUHlXNOSB9A1pYmkcoHmBa6GjF+Kf03A=; b=S/4ycQsLq8Vg5Y1yuNG5S9Wxwu3SN45+xChzYDxljlikgIquq25Q0oYP0hyU19ppTf 5YZVXtMXfRTG3N61wQmXi6PFbCYKykQPTvrDgDExf5WVZzqVf3DKUPuqc0qDyFW85PbC 8TSDavC+dniA88HqMpX0iK8QdJ4qXne5nQpRpK2riowJ9enOJQiYoApkoYjo3trgFDl+ KukHU/xCbdC14kusUFnja1SEttZHI3mS3C5nntQUo19zE/n4LTcTN0x+tr8lNJrOE7Qn j8vZ2L29Q158iPZMb9Chn2uRpJINUs8OKvdQ6l+2mbW2MXNrf1FbfxBvm8dv0p8lqWos HCjw== X-Received: by 10.107.17.89 with SMTP id z86mr30633263ioi.52.1425669372773; Fri, 06 Mar 2015 11:16:12 -0800 (PST) Received: from [10.0.1.155] (d205-206-84-235.abhsia.telus.net. [205.206.84.235]) by mx.google.com with ESMTPSA id z9sm15297503igw.21.2015.03.06.11.16.11 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 06 Mar 2015 11:16:12 -0800 (PST) Message-ID: <54F9FCF9.2000104@gmail.com> Date: Fri, 06 Mar 2015 12:16:09 -0700 From: Scott Furry User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:31.0) Gecko/20100101 Thunderbird/31.5.0 MIME-Version: 1.0 To: Tijl Coosemans Subject: Re: GCC 4.8.4 wchar error blocking devel/kBuild (virtualbox-ose dependency) References: <54F86D96.1020505@gmail.com> <54F8BA89.4000302@gmail.com> <20150306113508.05c2bcc9@kalimero.tijl.coosemans.org> In-Reply-To: <20150306113508.05c2bcc9@kalimero.tijl.coosemans.org> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-Mailman-Approved-At: Fri, 06 Mar 2015 19:35:53 +0000 Cc: vbox@FreeBSD.org, gerald@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 19:16:13 -0000 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.