FS#15976 - [kernel26] Set correct ARCH during make (prepare|config|bzImage|modules) steps
Attached to Project:
Arch Linux
Opened by Evangelos Foutras (foutrelis) - Tuesday, 18 August 2009, 13:13 GMT
Last edited by Aaron Griffin (phrakture) - Tuesday, 18 August 2009, 17:26 GMT
Opened by Evangelos Foutras (foutrelis) - Tuesday, 18 August 2009, 13:13 GMT
Last edited by Aaron Griffin (phrakture) - Tuesday, 18 August 2009, 17:26 GMT
|
Details
Description:
Yesterday I wanted to build a i686 kernel inside a clean i686 chroot on a x86_64 host. However, it kept changing my slightly modified .config to 64 bit (i.e.: x86_64). I had to edit the PKGBUILD and introduce ARCH=i386 to all make commands, in order to build it successfully. The resulting kernel package worked flawlessly on the netbook it was installed later. See the attached patch for a proposed fix. Of course, if there is a better way to address this issue, I'd like to hear it. :) Additional info: * package version(s): kernel26 2.6.30.5-1 Steps to reproduce: Try building a i686 kernel inside a clean i686 chroot on a x86_64 host. |
This task depends upon
Closed by Aaron Griffin (phrakture)
Tuesday, 18 August 2009, 17:26 GMT
Reason for closing: Not a bug
Additional comments about closing: Use linux32
Tuesday, 18 August 2009, 17:26 GMT
Reason for closing: Not a bug
Additional comments about closing: Use linux32
I've built several i686 packages using the above technique, but it appears that the kernel looks at the current running kernel and decides the ARCH based on that, if it's not explicitly defined.
Many thanks. :)