> Op 6-okt.-2015, om 22:55 heeft Ken Moffat <[email protected]> het > volgende geschreven: > > My last ppc builds were actually on a G5, and everything except the > kernel (and separate binutils, gcc to build the kernel) was 32-bit. > 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. > > ĸ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
(don’t know if this is the right forum to continue the discussion) 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 - 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 I am stuck… BTW: a PowerMac G4 is not _that_ slow… (only a bit noisy) pvg -- 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
