Date: Thu, 10 Apr 2014 01:14:08 +0900 From: biwa <sjbiwa@dream.com> To: freebsd-arm@freebsd.org Subject: How build my application? Message-ID: <534571D0.4090506@dream.com>
next in thread | raw e-mail | index | archive | help
Hi, all. 'FreeBSD CURRENT' is work fine on WANDBOARD-DUAL. But, not work my application (ex. Hello World Application.) my step: 1. build for cross-compiler make xdev XDEV=arm XDEV_ARCH=armv6 2. make HelloWorld application (hello.c) #include <stdio.h> #include <stdlib.h> int main(void) { printf("Hello world\n"); return 0; } 3. compile my application armv6-freebsd-cc -mcpu=cortex-a9 -Wa,-meabi=5 hello.c (built a.out) 4. execute my application FreeBSD on WANDBOARD, type a.out , follow 'ERROR' result. ----- Spurious interrupt detected [0x000003ff] pid 24 (a.out), uid 0: exited on signal 6 ld-elf.so.1: assert failed: /src/libexec/rtld-elf/rtld_lock.c:233 Abort trap ----- What mistake?
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?534571D0.4090506>