buildroot-2015.11-rc2 - ARM Cross Compile Segfaulting On Target
When I cross compile a simple 'printf "hello world"' using buildroot and try to run the executable on the target I get a segfault.
I'm do not know how to troubleshoot this. Here is some of what comprises my system. Please let me know if you can point me in the right direction and what other info I could provide. I've attached the .config I used when I made Buildroot. Probably a simple thing. I'm not too checked out on buildroot or cross compilation. ------------------- uname -a host: Linux engserver 3.19.0-25-generic #26~14.04.1-Ubuntu SMP Fri Jul 24 21:16:20 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux uname -a target Linux cme9210js 2.6.28.10 #3 Wed Jun 25 15:09:40 UTC 2014 armv5tejl GNU/Linux /proc/cpuinfo on the target shows: ARM926EJ-S rev 5 (v5l) my compile command: output/host/usr/bin/arm-buildroot-linux-uclibcgnueabi-gcc -mcpu=arm926ej-s -Wall -O3 -static -o testA test.c readelf -h testA output: ELF Header: Magic: 7f 45 4c 46 01 01 01 00 00 00 00 00 00 00 00 00 Class: ELF32 Data: 2's complement, little endian Version: 1 (current) OS/ABI: UNIX - System V ABI Version: 0 Type: EXEC (Executable file) Machine: ARM Version: 0x1 Entry point address: 0x8108 Start of program headers: 52 (bytes into file) Start of section headers: 61328 (bytes into file) Flags: 0x5000202, has entry point, Version5 EABI, soft-float ABI Size of this header: 52 (bytes) Size of program headers: 32 (bytes) Number of program headers: 5 Size of section headers: 40 (bytes) Number of section headers: 28 Section header string table index: 25 |
All times are GMT -5. The time now is 10:04 AM. |