Bug 590416
| Summary: | Cross compile from x86_64 to x86 builds 64 bit utilities instead of 32 bit | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Matthew Whitehead <mwhitehe> |
| Component: | kernel | Assignee: | Kernel Maintainer List <kernel-maint> |
| Status: | CLOSED WONTFIX | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | medium | Docs Contact: | |
| Priority: | low | ||
| Version: | 11 | CC: | anton, dougsland, esandeen, gansalmon, itamar, jonathan, kernel-maint, wcohen |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2010-06-28 15:44:20 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
Matthew Whitehead
2010-05-09 13:05:49 UTC
scripts/mod/Makefile: hostprogs-y := modpost mk_elfconfig scripts/basic/Makefile: hostprogs-y := fixdep docproc hash "=== 4 Host Program support Kbuild supports building executables on the host for use during the compilation stage. Two steps are required in order to use a host executable. The first step is to tell kbuild that a host program exists. This is done utilising the variable hostprogs-y." IOW these are explicitly built for the host, not the target, in the upstream makefiles. Why does systemtap care about things like fixdep and modpost? systemtap builds a kernel module for the instrumentation. One can see the "make -C ..." when using the "stap -vv ..." The fixdep and modpost are called during the build of the systemtap instrumentation kernel module. It might be wiser to use mock to build the kernel in a chroot environment to ensure that everything is really 32-bit. http://fedoraproject.org/wiki/Projects/Mock Ok, so I guess there are different requirements for these tools; when building for a package, we want the build host to do the processing of the things that will be packaged. However, if we are actually packaging those tools themselves, we want them to be built for the target. Hrm. Probably not an easy one to fix... using Mock sounds good :) Fedora 11 changed to end-of-life (EOL) status on 2010-06-25. Fedora 11 is no longer maintained, which means that it will not receive any further security or bug fix updates. As a result we are closing this bug. If you can reproduce this bug against a currently maintained version of Fedora please feel free to reopen this bug against that version. Thank you for reporting this bug and we are sorry it could not be fixed. |