Re: [lfs-support] compile 32-bit kernel on a 64-bit LFS?

2019-12-16 Thread Ken Moffat
On Mon, Dec 16, 2019 at 02:00:58PM -0500, Michael Shell wrote: > > Also, there is a patch for the kernel source that enables additional > processor types and CPU specific optimizations: > > https://github.com/graysky2/kernel_gcc_patch > > IMHO, this patch should be accepted into the mainstream

Re: [lfs-support] compile 32-bit kernel on a 64-bit LFS?

2019-12-16 Thread Michael Shell
On Thu, 12 Dec 2019 16:29:27 +0100 Thomas Seeling wrote: > take the .config from the 32-bit system and copy into the usual place on > the compile machine. A multilib gcc is not required. I did not build the > LFS for my 64-bit machine with multilib afair and it works. > > Since you cannot

Re: [lfs-support] compile 32-bit kernel on a 64-bit LFS?

2019-12-12 Thread Thomas Seeling
Hallo, >> Would a 32-bit kernel work if I compile it on a 64-bit machine with the >> 32-bit config taken from the current compile system? > I think you need at least a multilib gcc. I had success! After a bit of experimenting I found the following to work: take the .config from the 32-bit

Re: [lfs-support] compile 32-bit kernel on a 64-bit LFS?

2019-12-11 Thread Douglas R. Reno
On Wed, Dec 11, 2019, 9:57 AM Thomas Seeling wrote: > Hallo, > > > make i386_defconfig > > make menu config (to customize the kernel) > > would it be sufficient to use the exact .config file from the previous > compile on a 32-bit system? > It should be, you already have the "64-bit System"

Re: [lfs-support] compile 32-bit kernel on a 64-bit LFS?

2019-12-11 Thread Thomas Seeling
Hallo, > make i386_defconfig > make menu config (to customize the kernel) would it be sufficient to use the exact .config file from the previous compile on a 32-bit system? Tschau...Thomas -- Do you wanna be a legend or a passing footprint on the sands of time? --

Re: [lfs-support] compile 32-bit kernel on a 64-bit LFS?

2019-12-11 Thread Michele Bucca
Il mer 11 dic 2019, 15:33 Thomas Seeling ha scritto: > Hallo, > > > I have some servers running with 32-bit LFS (intentionally). Longterm I > plan to switch to 64 bit, but not right now. I'm contemplating switching > the kernel compile from a 32-bit machine to one of my 64-bit systems to > win

Re: [lfs-support] compile 32-bit kernel on a 64-bit LFS?

2019-12-11 Thread Pierre Labastie
On 11/12/2019 15:33, Thomas Seeling wrote: Hallo, I have some servers running with 32-bit LFS (intentionally). Longterm I plan to switch to 64 bit, but not right now. I'm contemplating switching the kernel compile from a 32-bit machine to one of my 64-bit systems to win some time. The 32-bit

[lfs-support] compile 32-bit kernel on a 64-bit LFS?

2019-12-11 Thread Thomas Seeling
Hallo, I have some servers running with 32-bit LFS (intentionally). Longterm I plan to switch to 64 bit, but not right now. I'm contemplating switching the kernel compile from a 32-bit machine to one of my 64-bit systems to win some time. The 32-bit P4 compile machine takes ~100 minutes for a