Opened 19 years ago

Closed 19 years ago

#1732 closed defect (duplicate)

LFS/CLFS

Reported by: anonymous Owned by: lfs-book@…
Priority: normal Milestone:
Component: Book Version: SVN
Severity: normal Keywords:
Cc:

Description

I think it should be important to note for beginners, as well as experienced users who may not have been around for a while:

If building using the standard LFS documents, it's best to build from a 32-bit x86 host to a 32-bit x86 target. If you are attempting to build from an x86-64 host (say Suse or Fedora Core), to an x86_64 target, even though it seems like a straight transition to build to another x86-64 target, these systems are not nearly as easy as one would think. This has to do with the fact that today's systems are mixed environments to support backwards (read: binary) compatibility. As such, even if you are building for another mixed 64-bit target/straight 64-bit target (as the case may be) you should follow the instructions set forth in the CLFS book. This ensured a proper build without respect to bitness (since to my knowledge, all generally available distros are mixed hosts). Either way, as an experienced LFS'er who's been away for a while, this bit me in the bum, so to speak.

I just wanted to alert you that there is not appropriate information to lead one to search the CLFS book (at least in what I rendered, so I may have much egg on my face!), so I thought it'd be an important tidbit since many, many people will begin using mixed 32- and 64- bit environments!

Thanks!

Change History (4)

comment:1 by Chris Staub, 19 years ago

You do have valid points about the fact that cross-building can be difficult and not as simple as it might seem at first, but I have no idea what your point is. If you opened a ticket, that must mean want to "fix" something. What is it that is the problem exactly? Can you be more specific?

comment:2 by dbn.lists@…, 19 years ago

I can't say I know exactly what the OP is driving at. However, I think there should be an explicit not right up from in Host System Requirements that the LFS book is for x86 only. Anything else would be a lie because it hasn't been tested extensively. That would lead nicely to a link to the CLFS book where other arches are handled.

comment:3 by ryan@…, 19 years ago

x86 only is not entirely correct, you can perform an lfs build on non-x86 hardware (if it is running linux), though their may be some needed arch specific patches.

Issue for OP concerns LFS builds targeting, or being built from, multilib systems. Note should probably reflect this more so than LFS being x86 centric.

It is not too difficult to do an LFS style multilib build, as long as you are building from an existing (sane) multilib host. Of course though this is way out of scope for LFS book.

comment:4 by Matthew Burgess, 19 years ago

Resolution: duplicate
Status: newclosed

I'm closing this as a duplicate of #1598 as it's a deficiency in the information we provide in the Host Requirements section.

Note: See TracTickets for help on using tickets.