Date: Mon, 22 Apr 2013 19:54:53 +0800 From: Alie Tan <alie@affle.com> To: Grzegorz Bernacki <gjb@semihalf.com> Cc: "freebsd-arm@freebsd.org" <freebsd-arm@freebsd.org> Subject: Re: ARM, clang & EABI. Message-ID: <CANuCnH9rq7pjcAH3FZXEi59U1UsrDpp6j3TznnEerHXE135MSQ@mail.gmail.com> In-Reply-To: <51751CDC.4020208@semihalf.com> References: <51751CDC.4020208@semihalf.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Apr 22, 2013 at 7:19 PM, Grzegorz Bernacki <gjb@semihalf.com> wrote: > Hi, > > I've recently built world and kernel for one of MV targets and it doesn't > work properly. One of the problem is that 'bt' command from DDB fails. It > seems that kernel uses wrong procedure to unwind the stack. So I got a few > question: > 1) Should I do something beside adding WITH_ARM_EABI to src.conf to enable > ARM EABI > 2) Should ___ARM_EABI__ be defined by compiler when I build the kernel? > 3) Are there any changes to build world and kernel procedure related to > clang or ARM EABI? > We should add it while buildworld and buildkernel with -DWITH_ARM_EABI For example: make -C /usr/src KERNCONF=RPI-B WITH_FDT=yes -DWITH_ARM_EABI buildkernel make -C /usr/src MALLOC_PRODUCTION=yes -DWITH_ARM_EABI buildworld CMIIW > thanks > grzesiek >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CANuCnH9rq7pjcAH3FZXEi59U1UsrDpp6j3TznnEerHXE135MSQ>