[uClinux-dev] bash

Michael.Needle at alcatel.com.au Michael.Needle at alcatel.com.au
Mon Mar 24 19:06:07 EST 2003


I am trying to get bash working on emnux V2.4 (which is based
on uClinux V2.4.17) on the ARM7TDMI processor.

I have taken the bash port from the uClinux-dist/user/bash.

To cross compile I had to modify

LOCAL_LDFLAGS =-rdynamic
to 

LOCAL_LDFLAGS = -Wl,--export-dynamic

to get a clean link. Apart from that the cross-compile
is clean.

The additional compile flags used are,
-mapcs-32 -mcpu=arm7tdmi -D__linux__

When I try to run bash on the target host I get the
following,

/mnt/nfs> ./bash
pid 39: killed (signal 11)

Appearing on the console,

BINFMT_FLAT: reloc outside program 0x6c309fe5 (0 - 0xbb230), killing!
BINFMT_FLAT: reloc outside program 0x900000a (0 - 0xbb230), killing!
BINFMT_FLAT: reloc outside program 0x30000ea (0 - 0xbb230), killing!
BINFMT_FLAT: reloc outside program 0xdc0a0e1 (0 - 0xbb230), killing!
BINFMT_FLAT: reloc outside program 0xf002de9 (0 - 0xbb230), killing!
BINFMT_FLAT: reloc outside program 0x10d82de9 (0 - 0xbb230), killing!
BINFMT_FLAT: reloc outside program 0x14301be5 (0 - 0xbb230), killing!
BINFMT_FLAT: reloc outside program 0x5c209fe5 (0 - 0xbb230), killing!
BINFMT_FLAT: reloc outside program 0x1092e5 (0 - 0xbb230), killing!
BINFMT_FLAT: reloc outside program 0x101083e5 (0 - 0xbb230), killing!
BINFMT_FLAT: reloc outside program 0x14301be5 (0 - 0xbb230), killing!
BINFMT_FLAT: reloc outside program 0x50209fe5 (0 - 0xbb230), killing!
....

The tool chain uses the following versions,
gcc - gcc version 2.95.3 20010315 (release)
ar - GNU ar 2.11
as - GNU assembler version 2.11 (arm-elf) using BFD version 2.11
ld - GNU ld version 2.11 (with BFD 2.11)
ranlib - GNU ranlib 2.11

The hello world program works fine.

Any assistance would be greatly appreciated.

regards
Michael Needle
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.uclinux.org/pipermail/uclinux-dev/attachments/20030325/fa05b25f/attachment.html>


More information about the uClinux-dev mailing list