This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
[Bug translator/4186] Cross compiling for sub architectures (e.g. i586 target i686 host) fails
- From: "wcohen at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: systemtap at sources dot redhat dot com
- Date: 20 Mar 2007 16:56:09 -0000
- Subject: [Bug translator/4186] Cross compiling for sub architectures (e.g. i586 target i686 host) fails
- References: <20070314215028.4186.wcohen@redhat.com>
- Reply-to: sourceware-bugzilla at sourceware dot org
------- Additional Comments From wcohen at redhat dot com 2007-03-20 16:56 -------
Yes, I agree entirely. The translate.diff is not a fix for the problem, as
mentioned in the previous comment incorrect code for the target kernel could be
generated.
There are two levels of cross compiling:
1) generating for a subarchecture, e.g. i586 target i686 host
2) cross compiling, e.g. arm target with i686 host
The first is a bit simpler as it uses the host compiler with options to select
the appropriate subarchitecture. The cross compile is more complicated but would
be of interest to developers working on embedded Linux systems, e.g. Nokia N800.
Looking through the spec file for the kernel there is some code in BuildKernel()
that adjusts the build based on the target.
--
http://sourceware.org/bugzilla/show_bug.cgi?id=4186
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.