Re: [coldfire-gnu-discuss] Issues with ColdFire toolchain
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [coldfire-gnu-discuss] Issues with ColdFire toolchain



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@xxxxxxxxxxxxxxxx    ::     http://www.planetfall.pwp.blueyonder.co.uk