On 1/5/06, Ken Moffat <[EMAIL PROTECTED]> wrote:

I did the same thing on svn-20051223 a couple weeks ago.  The farce I
used was older, so it doesn't output the same info.  (BTW, I like the
additions, Ken.)  My results can be seen here:

http://students.washington.edu/dbnichol/lfs/lfs-20051223-reports/

> Files only in one build:
> (these are all only in the second build, they look harmless)
>
> /etc/man.conf.orig
> /lib/libhistory.so.5.1.old
> /lib/libreadline.so.5.1.old
> /root/.lesshst

man.conf is always different for me.  More below.  I don't get the
lib*.old files because I do a DESTDIR style install and there's
nothing in the empty directory.  I don't copy /root, but that looks
harmless.

> Files that differ, but with same code:
>
> e2fsck, fsck.ext2, fsck.ext3 (the same file, by three names)

I can't figure out this bugger.  Maybe the objdump -S can help.

> insmod.static
> ldconfig
> sln
> vim
> libBrokenLocale.a
> libanl.a
> libc.a
> libc_nonshared.a
> libcrypt.a
> libdl.a
> libm.a
> libnsl.a
> libopcodes.a
> libpthread.a
> libresolv.a
> librpcsvc.a
> librt.a
> libutil.a

I think I got the same results in my build for all of these.

> man.conf this is a funny one, on the first build it contains
>         # COL
>         and on the second
>         # COL    /usr/bin/col
>         - these are both commented, so I'm not too bothered
>         and anyway, we've moved to man-db now.

/usr/bin/col is from util-linux.  Like you say, though, let's see what
happens with man-db.

> bison   as Dan noted

I think I've got this one figured out in the alphabetical builds. 
Circular dependencies between bison and flex.  Requires adding bison
to /tools, but the differences are gone now.

> gccbug  this will use mktemp if it was present when gcc was compiled,
>         so I guess we need to build mktemp earlier.

Interesting, I hadn't figured out the reason yet.

> libtool EGREP is coded in, was initially /tools/bin/grep -E !!!

For me with version 1.5.20 they're the same.  I haven't had any
differences with libtool in either script set.  I'll update to 1.5.22
on my next run and see what happens.

> O0g.gch precompiled header
> o2g.gch ditto
> libbfd.a
> libiberty.a
> libstdc++.a anonymous namespaces, I guess
> libstdc++.la acquires
>         -L/usr/lib/gcc/i686-pc-linux-gnu/4.0.2
>         -L/usr/lib/gcc/i686-pc-linux-gnu/4.0.2/../../..
>         for second build
> libstdc++.so.6.0.6 anonymous namespaces, I guess
> libsupc++.a anonymous namespaces, I guess
> libsupc++.la as libstdc++.la

Same here.

> Config_heavy.pl hostcat changes, from
>         hostcat=''
>         to
>         hostcat='cat /etc/hosts'
>         (I suspect this is harmless)

Ahh, I cheated here a bit.  DIY creates hosts at the beginning with

echo "127.0.0.1 localhost $(hostname)" > /etc/hosts

I forgot to take it out, but it seems like it's useful for perl. 
Config_heavy.pl only has date differences for me.


> Issues:
> ______
>
> (i) toolchain - I'm hoping that linking correctly will remove some of
> the other differences.  But, any indications how we're likely to fix
> the toolchain ?

Not to turn this into "LFS should do what Greg does", but DIY has some
improvements for the toolchain adjustment/readjustment.  And some of
them are no more complicated command-wise than what's already in the
book.  Please read these links to see what I mean.

http://www.diy-linux.org/x86-reference-build/temptools.html#tt-adjust-toolchain
http://www.diy-linux.org/x86-reference-build/chroot.html#c-readjust-toolchain
http://www.diy-linux.org/pipermail/diy-linux-dev/2004-September/000122.html

> (ii) bison - as Dan has already noted.  For my next build I'll ignore
> this and try to get sme of the other issues out of the way ( I can
> already see multiple tests for this, to se if both flex and bison are
> indeed needed in /tools).

The only real issue is convincing people to add another package to /tools.

> (v) perl - I'll try creating /etc/hosts before the configure, but I
> think this is probably cosmetic.

Maybe.  Do you know how the hostcat command is used in perl?


> Changes with farce-001-5:
<snip stuff that looks reasonable>

Looks good.  I'm gonna add it into my scripts.

Let me know if you come up with anything for the build like with libtool.

--
Dan
--
http://linuxfromscratch.org/mailman/listinfo/lfs-dev
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page

Reply via email to