[blfs-support] Make 3.82 Dev86src triple bug fixes patch

Matt Burgess matthew at linuxfromscratch.org
Thu Feb 16 14:12:22 PST 2012


On Thu, 2012-02-16 at 21:53 +0000, Matt Burgess wrote:
> On Thu, 2012-02-16 at 14:26 -0500, Michael Shell wrote:
> > 
> > I know this is more of a LFS issue (feel free to forward this to
> > LFS if you wish), but Make 3.82 has a few bugs that affect the
> > compilation of packages outside those required in LFS book.
> > 
> > In particular, the Dev86src package (needed to build lilo) cannot be
> > built using make 3.82. There is a CLFS patch for Dev86src to get
> > it to work under make 3.82:
> > 
> > http://www.mail-archive.com/clfs-dev@lists.cross-lfs.org/msg01541.html
> > 
> > But this is a workaround for an actual bug in make 3.82. Anyway, for
> > those interested, I found a patch that fixes this make bug as well as
> > two other ones.
> 
> Without the patch, I see this:
> 
> make[4]: *** No rule to make target `__ldivmod.o)', needed by
> `/sources/dev86-0.16.17/libc/libc.a'.  Stop.
> 
> With the patch, I get past that error, but get:
> 
> <snip loads of similar errors to the following:
> 00159              mov	spbbp
> ***** comma expected.........................................^
> ***** factor expected........................................^
> ***** illegal indirect to indirect...........................^

OK, once I'd caught the first error in a log file, it led me to
http://bugs.debian.org/cgi-bin/bugreport.cgi?msg=55;filename=linux86-0.16.17-3.1-nmu.diff;att=1;bug=591133 which you'll need.

After that, I hit:

ar86 r /sources/dev86-0.16.17/libc/libc3.a nanosleep.o
make[5]: Leaving directory `/sources/dev86-0.16.17/libc/i386sys'
make[4]: *** No rule to make target
`/sources/dev86-0.16.17/libc/libc3.a()', needed by `all'.  Stop.

That one looks similar to the one that the 'make' patch fixed, so this
looks like it might be a genuine error in the Makefile?

As it is, I think the patch to 'make' is good, but if you could confirm
you can get a clean build of dev86src, I'd appreciate it.

Thanks,

Matt.




More information about the blfs-support mailing list