[coldfire-gnu-discuss] Issues with ColdFire toolchain
Nathan Sidwell
nathan at codesourcery.com
Thu May 11 10:19:17 UTC 2006
Wolfgang Denk wrote:
> Hello,
>
> we try to use the GCC-4.1 based toolchain for ColdFire to build the
> U-Boot boot loader, the Linux kernel and some applications.
>
> We ran into some problems:
>
> (1) It seems that this configuration lacks -fPIC support which is
>
> Are there plans to support -fPIC ?
We don't have an immediate plan to support -fPIC. We're discussing future
features with FreeScale.
> (2) We can build applications, but they don't run. For example, when
> building OpenVPN we get:
>
> # ./openvpn
> Allocation of length 1136352 from process 46 failed
> Using the old uCLinux GCC-2.95 toolchain this works fine. For
> this working image, "file" reports
>
> openvpn: BFLT executable - version 4 gotpic
>
> Your GC-4.1 toolchain gives:
>
> openvpn: BFLT executable - version 4 ram
>
> Is this a problem? Any other idea what might be wrong?
There are many possible causes. I doubt the static link is the culprit. It
seems that the memory map of openvpn is suspect.
nathan
--
Nathan Sidwell :: http://www.codesourcery.com :: CodeSourcery
nathan at codesourcery.com :: http://www.planetfall.pwp.blueyonder.co.uk
More information about the coldfire-gnu-discuss
mailing list