This is the mail archive of the crossgcc@sources.redhat.com mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: what's the usage of -flimit-inline


Wu Mingqiao wrote:
On Tue, 12 Oct 2004 16:10:26 +0800, Wu Mingqiao <mingqiao.wu@gmail.com> wrote:

I have built a toolchain with crosstool-0.28-rc34 for arm-iwmmxt. I
used gcc-3.4.0, glibc-2.3.2, binutils-2.14.90 and linux-2.6.8.1 kernel
head files. I find it is needed to add
GLIBC_EXTRA_CONFIG="--without-fp" in arm-iwmmxt.dat, or there is an
error report: selected processor does not support "rfs r2". Then it
progressed well.

The toolchain can be used to compiled linux-2.6.8.1 kernel. But there
is a weird feature about this toolchain. I built a linux-2.6.8.1
kernel image and busybox with it, then I run it in a xscale board, it
always report: illegal instructions when the busybox is loaded. I
overwrite the libc-2.3.2.so with an old one built with an old
toolchain, then it works fine.

Try building busybox static with the new glibc, and seeing if it works on a system with the old libc-2.3.2.so. If it still fails, you can then use gdb or something like that to find the problem.

Alternately, you might try glibc-2.3.3 or glibc-20000827, which
are newer and might have important fixes, who knows.

Do you have the sources and build script for the old libc-2.3.2.so?
Or a URL where it came from?

Finally, you should also bring up this problem on the arm-linux
or arm-linux-toolchain mailing lists if you don't get enough
help here.  Please let us know what happens in the end.
- Dan


-- Know a student in Los Angeles who wants a job doing C++ on Linux? Send him/her to http://kegel.com/academy

------
Want more information?  See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]