https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87818

            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/
-B/s
afe/sgk/work/x/x86_64-unknown-freebsd13.0/bin/
-B/safe/sgk/work/x/x86_64-unknown
-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
-fP
IC -O2 -g -nostdinc -I ../../../../gccx/libphobos/libdruntime -I . -c
../../../.
./gccx/libphobos/libdruntime/core/demangle.d -fversion=Shared -o
core/.libs/dema
ngle.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.

Reply via email to