GCC 4.8.4 wchar error blocking devel/kBuild (virtualbox-ose dependency)

Tijl Coosemans tijl at coosemans.org
Fri Mar 6 20:03:55 UTC 2015


On Fri, 06 Mar 2015 12:52:55 -0700 Scott Furry <scott.wl.furry at gmail.com> wrote:
> On 06/03/2015 12:51, Tijl Coosemans wrote:
> > On Fri, 06 Mar 2015 12:16:09 -0700 Scott Furry <scott.wl.furry at gmail.com> wrote:
> >> On 06/03/2015 03:35, Tijl Coosemans wrote:
> >>> On Thu, 05 Mar 2015 13:20:25 -0700 Scott Furry <scott.wl.furry at gmail.com> wrote:
> >>>> Originally sent to vbox at 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/


More information about the freebsd-emulation mailing list