On Thu, Oct 22, 2015 at 10:57:34PM +0200, Pol Vangheluwe wrote:
> > Op 6-okt.-2015, om 22:55 heeft Ken Moffat <[email protected]> het 
> > volgende geschreven:
> > 
> > I think that was around the LFS-7.4 time, and I had to revert to
> > yaboot-1.3.13 to get yaboot to build.  Looks as if I used a couple
> > of patches (-fix, and -ofpath_sata), I can forward those to you
> > off-list if you like.  The sata patch probably isn't needed unless
> > you use the libata kernel driver.
> > 
> > I admire you for continuing to build on such slow hardware.
> > 
> 
> (don’t know if this is the right forum to continue the discussion)

Probably not - perhaps cross-lfs.  But I know William sometimes
posts here,
> 
> I could indeed build yaboot-1.3.13 (following the instructions of the CLFS 
> book) but I have several problems while building yaboot-1.3.17.
> (seems to be the latest version, but already 4 years old)
> 
> I found 3 patches for version 17 on trac.  I applied them all and followed 
> further the instructions for version 13.
> - first attempt fails with:
> 
> cc1: alle waarschuwingen worden als fouten behandeld
> Makefile:128: recept voor doel 'second/yaboot.o' is mislukt
> make: *** [second/yaboot.o] Fout 1
> 
> I disable the following lines in the Makefile:
> # YBCFLAGS += -Werror -fdiagnostics-show-option
> # UCFLAGS += -Werror -fdiagnostics-show-option
> 
> - second attempt fails with:
> 
> ld: cannot find -lext2fs
> Makefile:111: recept voor doel 'yaboot' is mislukt
> make: *** [yaboot] Fout 1
> 
> I disable the ’static’ directive:
> # LFLAGS = -Ttext $(TEXTADDR) -Bstatic -melf32ppclinux
> 

I suspect I gave up around that point : building a static libext2fs
sounds vaguely familiar, but it was so long ago.

> - third attempt fails with:
> 
> ld: lib/nonstd.o: undefined reference to symbol 'stdout@@GLIBC_2.0'
> /lib/libc.so.6: error adding symbols: DSO missing from command line
> Makefile:112: recept voor doel 'yaboot' is mislukt
> make: *** [yaboot] Fout 1
> 
> I re-enable the ‘static’ directive and recompile E2fsprogs-1.42.12 with 
> static libraries
> 
> - fourth attempt fails with a lot of errors, ending as
> (…)
> /usr/lib/libext2fs.a(inline.o): In function `ext2fs_group_of_blk’:
> (.text+0x5d4): multiple definition of `ext2fs_group_of_blk'
> second/fs_ext2.o:fs_ext2.c:(.text+0xff4): first defined here
> /usr/lib/libext2fs.a(inline.o): In function `ext2fs_group_of_ino':
> (.text+0x5e0): multiple definition of `ext2fs_group_of_ino'
> second/fs_ext2.o:fs_ext2.c:(.text+0x100c): first defined here
> /usr/lib/libext2fs.a(unix_io.o): In function `raw_write_blk':
> (.text+0x19c): undefined reference to `pwrite64'
> /usr/lib/libext2fs.a(unix_io.o): In function `raw_read_blk':
> (.text+0x614): undefined reference to `pread64'
> Makefile:112: recept voor doel 'yaboot' is mislukt
> make: *** [yaboot] Fout 1
> 

It sounds as if yaboot has bit-rotted.  That's not really
surprising, almost no distros support linux on ppc these days
(fedora support IBM ppc64 servers, but I think their bootloader(s)
are different).  In general, desktop linux-on-ppc is heading the way
of linux-on-alpha.

Well, that last paragraph was my initial thought, but after I looked
at google I see recent support in ubuntu (I thought they had dropped
ppc years ago).  They are using 1.3.16, perhaps with a load of
patches.  Maybe whatever they are doing will get you closer to
building 1.3.17.

> I am stuck…
> 
> BTW: a PowerMac G4 is not _that_ slow… (only a bit noisy)
> 
> pvg
> 
I'll have to take your word for the speed, but my G5 (probably the
last version, with all the possible "make the circuit board cheaper"
options) was, I think, only 133MHz DRAM.  Modern x86 machines have a
much faster memory bandwidth.

ĸen
-- 
Il Porcupino Nil Sodomy Est! (if you will excuse my latatian)
  aka "The hedgehog song"
-- 
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