RE: [uClinux-dev] Any tested g++ compiler for ARM?

From: I. B. Darmasakti (darmasakti@netscape.net)
Date: Tue Aug 27 2002 - 14:40:11 EDT


"Yuan, Cain" <cain.yuan@intel.com> wrote:

>Hi all,
>    I am a newbie to this mailliat. I DL the toolchain
>arm-elf-tools-20011219.tar.gz from
>http://www.uclinux.org/pub/uClinux/m68k-elf-tools/ and find 
>it has some mproblems when compiler C++ programs. When boot up linux:
>
>ttyS0 is a builtin S3C4510B  UART
>Blkmem copyright 1998,1999 D. Jeff Dionne
>Blkmem copyright 1998 Kenneth Albanowski
>Blkmem 1 disk images:
>0: 84D260-867A5F (RO)
>VFS: Mounted root (romfs filesystem) readonly.
>. . . . 
>BINFMT_FLAT: reloc outside program 0x80000080 (0 - 0xa1718), killing!
>BINFMT_FLAT: reloc outside program 0x80000080 (0 - 0xa1718), killing
>. . . . 
>
>I searched  in google and find that someone has encount this problem before
>but I can't locat ethe soultions.
>Any advices?  TIA!!
>
>
>This message resent by the uclinux-dev@uclinux.org list server http://www.uClinux.org/
>

Hi, Can you try this command
>flthdr your_app

if your_app header tells that it contains PIC GOT reloc, you should remove  -fPIC flag which occurs in user space (application and library). Because your kernel need to load the application code into RAM.

-- 
Regards,

I.B. Darmasakti
DSP Engineer


__________________________________________________________________
Your favorite stores, helpful shopping tools and great gift ideas. Experience the convenience of buying online with Shop@Netscape! http://shopnow.netscape.com/

Get your own FREE, personal Netscape Mail account today at http://webmail.netscape.com/

This message resent by the uclinux-dev@uclinux.org list server http://www.uClinux.org/


This archive was generated by hypermail 2.1.4 : Thu Sep 19 2002 - 13:21:46 EDT