ARM, clang & EABI.
Alie Tan
alie at affle.com
Mon Apr 22 11:54:53 UTC 2013
On Mon, Apr 22, 2013 at 7:19 PM, Grzegorz Bernacki <gjb at 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
>
More information about the freebsd-arm
mailing list