http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47088
Summary: arm-freebsd6 fails to build Product: gcc Version: 4.6.0 Status: UNCONFIRMED Keywords: build Severity: normal Priority: P3 Component: target AssignedTo: unassig...@gcc.gnu.org ReportedBy: amyl...@gcc.gnu.org CC: obr...@freebsd.org, pbr...@gcc.gnu.org Blocks: 44756 Host: x86_64-pc-linux-gnu Target: arm-freebsd6 In file included from ./tm.h:27:0, from ../../../gcc/gcc/gensupport.c:24: ../../../gcc/gcc/config/arm/arm.h:650:0: error: "WCHAR_TYPE_SIZE" redefined [-Werror] ../../../gcc/gcc/config/arm/freebsd.h:61:0: note: this is the location of the previous definition cc1: all warnings being treated as errors make[2]: *** [build/gensupport.o] Error 1 While the change to config/arm/arm.h in r81665 broke the arm*-*-freebsd* configuration, I think config/arm/freebsd.h was bogus from the start, in defining WCHAR_TYPE_SIZE, but not WCHAR_TYPE.