ARM EABI patch

Daisuke Aoyama aoyama at peach.ne.jp
Tue Dec 11 23:08:46 UTC 2012


>> I found cross-build problem of the EABI patch. I'm trying to use it
>> for Raspberry Pi.
>> According to machine/_types.h, wchar_t is unsigned int when EABI.
>> This patch solve "error: array of inappropriate type initialized from
>> string constant" when use L"foo".
> 
> Can you send me a full log of the cross-build (off list is fine) that
> shows the failure. I haven't seen the issue so would like to find out
> how to trigger it.

Sorry, I used modified source tree for RPI.
If check out new one, it should be OK.
I'm using following commands in amd64 2vCPU VM on ESXi5.1.

export SRCROOT=/usr/src
export TARGET_ARCH=armv6
export KERNCONF=RPI-B-testXXX
make -C $SRCROOT kernel-toolchain
make -C $SRCROOT KERNCONF=$KERNCONF WITH_FDT=yes buildkernel
make -j4 -C $SRCROOT MALLOC_PRODUCTION=yes buildworld

-- 
Daisuke Aoyama
 


More information about the freebsd-arm mailing list