Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 12 Dec 2012 23:16:14 +1300
From:      Andrew Turner <andrew@fubar.geek.nz>
To:        Daisuke Aoyama <aoyama@peach.ne.jp>
Cc:        freebsd-arm@freebsd.org
Subject:   Re: ARM EABI patch
Message-ID:  <20121212231614.20c9a8f0@fubar.geek.nz>
In-Reply-To: <6D652C6AB162489E8C06D17141AF0178@ad.peach.ne.jp>
References:  <20121209160721.571186d8@fubar.geek.nz> <3DE6764415F645FCA29CD18BA51762F8@ad.peach.ne.jp> <20121212081833.47127fd0@fubar.geek.nz> <6D652C6AB162489E8C06D17141AF0178@ad.peach.ne.jp>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 12 Dec 2012 08:08:30 +0900
"Daisuke Aoyama" <aoyama@peach.ne.jp> wrote:

> >> 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
> 

I tried this on a clean tree with just the patch applied. I didn't get
the problem you're describing above. Can you check the patch applied
cleanly.

Can you run the failing command under script to get the build log?
For example:
$ script build.log make -j4 -C $SRCROOT MALLOC_PRODUCTION=yes buildworld
will do a buildworld and save the output to the file build.log

Andrew



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20121212231614.20c9a8f0>