On Tue, Sep 11, 2018 at 06:26:53PM -0700, Paul Rogers wrote:
> I'm trying to cross-rebuild one of my older versions of LFS (6.6) for an old 
> i586 box.  I'm in trouble.  I'm 74+ and this may be my "swan song"--not so 
> long ago I could do this, but now I seem to be stuck in a "Hall of Mirrors" I 
> used to know my way through, unable to "keep all the balls in the air", to 
> mix metaphors.
> 
> Anyway, when I finish Ch 5, as becomes apparent when I adjust the toolchain 
> in Ch 6, the /tools/ld SEARCH_DIR has /tools/[host-triplet].  I think it 
> should be the target-triplet.  I don't think it would be a problem in the 
> final install, because I don't expect anything that host-triplet to be 
> findable.  I've tried starting over, checking everything is as in the book, 
> but it's still the same, and I don't want to waste my time and effort 
> building a broken Ch6!  I just did start over and stopped at the end of Ch5 
> this time.
> 
> Any idea what I could've done wrong, or whether it IS safe to proceed?
> 
Paul,

 I think the key point of what you are doing is cross-compiling from
i686 to i586, and most of us have no recent experience of that.
Specifically, for us host and target are the same.

I remember you mentioning about compiling i686 on a newer i686 for
an older one, perhaps something will jog your memory about what you
have done in the past.

My first suggestion is "Try carrying on, see whether the resulting
system builds for i586, and if necessary try installing it to see if
it boots".  I was almost going to suggest copying it over to the
i586 and chrooting, but I can just about recall how slow those were.

Failing that, I vaguely remember there was a uname hack for this
sort of thing.  Google found:

http://lists.linuxfromscratch.org/pipermail/lfs-dev/2001-July/016850.html

(possible issue apparently mentioned in followup, but I failed to
grok that and I'm not sure what the context for the original post
was)

and

http://lists.linuxfromscratch.org/pipermail/hints/2003-January/001485.html

but those are both "antique" and who knows if any of it is still
relevant (apart, obviously, from setting -march).

CLFS used to have uname_hack-20080713.tar.bz2, their own links seem
to just go to an old front page but google found the tarball at
http://ftp.osuosl.org/pub/clfs/conglomeration/uname_hack/

From memory it is a kernel module.  2008 is old, but 6.6 was from
2010 so perhaps it might build on that.  A file of the same name is
also listed for tinycorelinux with timestamps on other files in
google's result dated 2013 and 2014.  I suppose that you have to
modprobe it, and uname will then report whatever the module returns.

ĸen
-- 
                     Also Spuke Zerothruster
                                     (Finnegans Wake)
-- 
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

Reply via email to