On Tue, Jan 09, 2018 at 03:02:27PM -0800, Paul Rogers wrote:
> > On Mon, Jan 08, 2018 at 04:14:50PM -0800, Paul Rogers wrote:
>
> Please, if anyone runs across the 32-bit patch, let me know. There certainly
> are many 32-bit system still in service!
>
I would not abandon hope just yet, although the chances are probably
slim. The *big* target is rented (by the hour or whatever) machines
and VMs - those are almost wholly x86_64 and that is where people's
data is most at risk of the Meltdown vulnerability.
> Yes, I can run x86-64 on my Conroes, but it's noticably slower, especially
> for such things as starting X.
For a machine which can run a 64-bit kernel, it used to be possible
to run 32-bit userspace and build a 64-bit kernel by copying pass 1
binutils and gcc, but to create the conventional target (not -lfs-)
and putting them somewhere convenient.
Then, after spending time getting a 64-bit kernel which works (apart
from the issues in configuring the kernel, the -cross- binutils and
gcc need to be on the PATH for the user who builds the kernel, and
also for root or whoever is running module_install) you need to
change the initscripts so that linux32 is invoked - that should let
your existing C and C++ compilers think you are running on i686.
I've done that in the past when I used a sluggish powerpc64 mac "G5"
which required a 64-bit kernel. All the userspace was plain 32-bit
ppc.
I also did something similar recently when trying to bring up an old
machine as i686 (copy a working 64-bit kernel and modules, and use
linux32 while trying to get a working i686 kernel built - in the end
I couldn't use that (or i686 devuan) to build a fresh 32-bit LFS, but
I did manage to get an adequate i686 kernel built. And no, I have
no interest in trying to get a successful build there, too busy on
other things.
One thing which might now break building a 64-bit kernel on 32-bit, I
suppose, is extra dependencies - in particular perl, flex, and
(depending on your kernel config) elfutils and I think openssl was
also mentioned (I don't need the latter for my kernel).
ĸen
--
Truth, in front of her huge walk-in wardrobe, selected black leather
boots with stiletto heels for such a barefaced truth.
- Unseen Academicals
--
http://lists.linuxfromscratch.org/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page
Do not top post on this list.
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?
http://en.wikipedia.org/wiki/Posting_style