Description of problem: building out of tree object files fails for ppc64 kernels Version-Release number of selected component (if applicable): How reproducible: Steps to Reproduce: 1. cp ./configs/xen-config .config 2. make O=/tmp/objdir oldconfig 3. make O=/tmp/objdir bzImage Actual results: cp vmlinux arch/ppc64/boot/bzImage cp: cannot create regular file `arch/ppc64/boot/bzImage': No such file or directory make[2]: *** [bzImage] Error 1 make[1]: *** [bzImage] Error 2 make[1]: Leaving directory `/usr/src/redhat/BUILD/kernel-2.6.9/linux-2.6.9' Expected results: kernel should build Additional info:
step one in how to reproduce should really be cp ./configs/ppc64-config .config
Created attachment 143879 [details] rhel_fix_seperate_objdir_build.patch
----- Additional Comments From tbreeds.com 2006-12-17 23:53 EDT ------- Fix destination of bzImage The bzImage build target is introduced in patch linux-2.6.2-ppc64-build.patch. This patch assumes that the object directory and source tree are the same. This attachment updates the appropriate Makefile to place the bzImage in the object directory.
Janice please submit the patch for PPC to RHKL.
Created attachment 149531 [details] 28606.patch
changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #23161|0 |1 is obsolete| | ------- Additional Comments From girouard.com 2007-03-07 18:12 EDT ------- updated patch, the existing patch appears out of date
Created attachment 149532 [details] rhel_fix_seperate_objdir_build.patch
changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #25864|0 |1 is obsolete| | ------- Additional Comments From girouard.com 2007-03-07 18:20 EDT ------- Fix destination of bzImage (reverting to original patch) The original patch was fine. My mistake. There is no way to undo an obsolete mark, so I'm reposting it with the same name.
Changing the status to POST. See: http://post-office.corp.redhat.com/archives/rhkernel-list/2007-March/msg00186.html
ACK as shown at: http://post-office.corp.redhat.com/archives/rhkernel-list/2007-March/msg00191.html
committed in stream U5 build 52. A test kernel with this patch is available from http://people.redhat.com/~jbaron/rhel4/
changed: What |Removed |Added ---------------------------------------------------------------------------- Status|SUBMITTED |ACCEPTED ------- Additional Comments From mjwolf.com 2007-03-28 16:23 EDT ------- marking as accepted based on above comments
changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ACCEPTED |CLOSED Impact|------ |Functionality ------- Additional Comments From mranweil.com (prefers email at mjr.com) 2007-04-17 00:02 EDT ------- In the -54 kernel, so ok to close this side.
An advisory has been issued which should help the problem described in this bug report. This report is therefore being closed with a resolution of ERRATA. For more information on the solution and/or where to find the updated files, please follow the link below. You may reopen this bug report if the solution does not work for you. http://rhn.redhat.com/errata/RHBA-2007-0304.html