[Bug d/87818] New: D runtime does not build on FreeBSD.

kargl at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Tue Oct 30 18:35:00 GMT 2018


            Bug ID: 87818
           Summary: D runtime does not build on FreeBSD.
           Product: gcc
           Version: 9.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: d
          Assignee: ibuclaw at gdcproject dot org
          Reporter: kargl at gcc dot gnu.org
  Target Milestone: ---

Created attachment 44933
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=44933&action=edit
Log of bootstrap failure

The bootstrap dies with 

libtool: compile:  /safe/sgk/gcc/objx/./gcc/gdc -B/safe/sgk/gcc/objx/./gcc/
-freebsd13.0/lib/ -isystem /safe/sgk/work/x/x86_64-unknown-freebsd13.0/include
isystem /safe/sgk/work/x/x86_64-unknown-freebsd13.0/sys-include -fchecking=1
IC -O2 -g -nostdinc -I ../../../../gccx/libphobos/libdruntime -I . -c
./gccx/libphobos/libdruntime/core/demangle.d -fversion=Shared -o
/safe/sgk/gcc/gccx/libphobos/libdruntime/core/stdc/stdlib.d:201:9: error:
undefined identifier 'wchar_t'
  201 | int     mbtowc(scope wchar_t* pwc, scope const char* s, size_t n);
      |         ^
/safe/sgk/gcc/gccx/libphobos/libdruntime/core/stdc/stdlib.d:203:9: error:
undefined identifier 'wchar_t'

Build log attached.

More information about the Gcc-bugs mailing list