Re: ICA/Farce

2009-02-07 Thread Gilles Espinasse
- Original Message - From: Gilles Espinasse g@free.fr To: LFS Developers Mailinglist lfs-dev@linuxfromscratch.org Sent: Monday, October 27, 2008 11:55 PM Subject: Re: ICA/Farce - Original Message - From: Ken Moffat k...@linuxfromscratch.org To: LFS Developers

Re: ICA/Farce

2008-10-27 Thread Dan Nicholson
On Sun, Oct 26, 2008 at 2:00 PM, Greg Schafer [EMAIL PROTECTED] wrote: I've never looked at jhalfs but I understand it implements my ICA algorithms. My own scripts have been getting exceptionally clean results lately now that the randomness in GCC builds has apparently gone as of GCC 4.3.

Re: ICA/Farce

2008-10-27 Thread Dan Nicholson
On Mon, Oct 27, 2008 at 2:59 AM, TheOldFellow [EMAIL PROTECTED] wrote: What I meant to say was that I, for one, would be grateful for any additional documentation of the subject. It's pretty straightforward, although I might butcher some of the terminology. The main goal is to see if the

Re: ICA/Farce

2008-10-27 Thread Gilles Espinasse
Selon Dan Nicholson [EMAIL PROTECTED]: ... The actual implementation mostly involves preparing to diff/cmp, and is probably better explained by the comments in gsbuild. Look at the bottom of the functions file for do_ica_prep() and do_ica_work().

Re: ICA/Farce

2008-10-27 Thread Ken Moffat
On Mon, Oct 27, 2008 at 06:51:38AM -0700, Dan Nicholson wrote: On Sun, Oct 26, 2008 at 2:00 PM, Greg Schafer [EMAIL PROTECTED] wrote: I've never looked at jhalfs but I understand it implements my ICA algorithms. My own scripts have been getting exceptionally clean results lately now that

Re: ICA/Farce

2008-10-27 Thread Dan Nicholson
On Mon, Oct 27, 2008 at 7:57 AM, Gilles Espinasse [EMAIL PROTECTED] wrote: Instead to gunzip all .gz files, would it not better to submit patches that add -n when gzip run so the files in use will really be the same? I should say I have made some patches like that but have not reported

Re: ICA/Farce

2008-10-27 Thread Gilles Espinasse
Selon Ken Moffat [EMAIL PROTECTED]: ... Archaic saw unresolved differences for x86 with gcc-4.1.2. Actually, looking at his results (they're at ~/archaic) they look pretty good - blkid.tab.old and locale-archive should probably now be expected to differ, and they were the only differences

Re: ICA/Farce

2008-10-27 Thread Ken Moffat
On Mon, Oct 27, 2008 at 06:36:07PM +0100, Gilles Espinasse wrote: Selon Ken Moffat [EMAIL PROTECTED]: ... Archaic saw unresolved differences for x86 with gcc-4.1.2. Actually, looking at his results (they're at ~/archaic) they look pretty good - blkid.tab.old and locale-archive should

Re: ICA/Farce

2008-10-27 Thread Ken Moffat
On Mon, Oct 27, 2008 at 10:15:31AM -0700, Dan Nicholson wrote: In farce, Ken had some functions that would skip these stamps, but I don't recall how he implemented that. For gzipped files, just cmp -s -i 8 (the comment says bytes 4,5,6,7 are the timestamp, hopefully everything ahead of it

Re: ICA/Farce

2008-10-26 Thread Greg Schafer
DJ Lucas wrote: Hey guys. Is there any recent documentation on the expectations of farce or ICA? Docs? What docs :-) Doing only 2 passes of chapter6 with both comparison methods checked. What are the advantages of 3 or more passes? Huh? ICA by definition is 3 passes. No ifs, buts or

Re: ICA/Farce

2008-10-26 Thread Randy McMurchy
Bruce Dubbs wrote these words on 10/26/08 16:32 CST: Greg Schafer wrote: I've never looked at jhalfs but I understand it implements my ICA algorithms. My own scripts have been getting exceptionally clean results lately now that the randomness in GCC builds has apparently gone as of GCC 4.3.

Re: ICA/Farce

2008-10-26 Thread Jeremy Huntwork
Bruce Dubbs wrote: Umm, no. jhalfs parses the xml of the book and creates a Makefile that builds by the LFS book. Actually, it is quite convenient. ICA is in fact implemented as an optional feature of jhalfs. Which means that when it's done building LFS by the book, it will try to build

Re: ICA/Farce

2008-10-26 Thread Bruce Dubbs
Jeremy Huntwork wrote: Bruce Dubbs wrote: Umm, no. jhalfs parses the xml of the book and creates a Makefile that builds by the LFS book. Actually, it is quite convenient. ICA is in fact implemented as an optional feature of jhalfs. Which means that when it's done building LFS by the

Re: ICA/Farce

2008-10-26 Thread Greg Schafer
Bruce Dubbs wrote: Umm, no. jhalfs parses the xml of the book and creates a Makefile that builds by the LFS book. Actually, it is quite convenient. Umm, yes. It's *VERY* convenient. I should know.. (Me wonders if Bruce realizes the whole build straight from the doc concept in jhalfs is

Re: ICA/Farce

2008-10-26 Thread DJ Lucas
Greg Schafer wrote: DJ Lucas wrote: Hey guys. Is there any recent documentation on the expectations of farce or ICA? Docs? What docs :-) Doing only 2 passes of chapter6 with both comparison methods checked. What are the advantages of 3 or more passes? Huh? ICA

Re: ICA/Farce

2008-10-26 Thread Ken Moffat
On Sun, Oct 26, 2008 at 08:45:40PM -0500, DJ Lucas wrote: Anyway, I killed the build I was working on. Given the Ken's description of current Farce, I'm not sure that both can run on the same system and have meaningful results. I'd really like to do a sanity check on the development

Re: ICA diff in cc1 and cc1plus

2007-11-27 Thread Dan Nicholson
On Nov 26, 2007 10:53 PM, Greg Schafer [EMAIL PROTECTED] wrote: (dredging up an old thread) Dan Nicholson wrote: On 3/19/07, Dan Nicholson [EMAIL PROTECTED] wrote: So, it seems this difference is embedded in cc1 and can't be stripped out after the build. I'm assuming that the original

Re: ICA diff in cc1 and cc1plus

2007-11-26 Thread Greg Schafer
(dredging up an old thread) Dan Nicholson wrote: On 3/19/07, Dan Nicholson [EMAIL PROTECTED] wrote: So, it seems this difference is embedded in cc1 and can't be stripped out after the build. I'm assuming that the original difference is just debugging symbols like would normally be the case.

Re: ICA diff in cc1 and cc1plus

2007-03-23 Thread Dan Nicholson
On 3/20/07, Dan Nicholson [EMAIL PROTECTED] wrote: Attached are two patches to add the glibc branch update patch in Ch. 5 and force /usr/include to be used as the preferred system include directory after the toolchain re-adjustment. No comments, so I'm applying these. -- Dan --

Re: ICA diff in cc1 and cc1plus

2007-03-20 Thread Dan Nicholson
On 3/19/07, Dan Nicholson [EMAIL PROTECTED] wrote: So, it seems this difference is embedded in cc1 and can't be stripped out after the build. I'm assuming that the original difference is just debugging symbols like would normally be the case. I'll try to narrow that down further, but this may

Re: ICA diff in cc1 and cc1plus

2007-03-20 Thread Dan Nicholson
On 3/20/07, Dan Nicholson [EMAIL PROTECTED] wrote: Attached are two patches to add the glibc branch update patch in Ch. 5 and force /usr/include to be used as the preferred system include directory after the toolchain re-adjustment. I should mention that I changed the specs adjustment to use

Re: ICA diff in cc1 and cc1plus

2007-03-19 Thread Dan Nicholson
On 3/14/07, Greg Schafer [EMAIL PROTECTED] wrote: Dan Nicholson wrote: One of the things that currently doesn't happen in the chroot toolchain adjustment for LFS is making gcc prefer the new headers in /usr/include. If you add '-v' to the sanity check output, you'll see that it's still

Re: ICA diff in cc1 and cc1plus

2007-03-15 Thread Matthew Burgess
On Wednesday 14 March 2007 16:43, Dan Nicholson wrote: Manuel brought up a recent regression shown by ICA in cc1 and cc1plus. snip impressive detective work Dan, thanks for looking into this. It seems pretty clear that we need both fixes here, i.e. i) Apply the Glibc patch in chapter 5 and

Re: ICA diff in cc1 and cc1plus

2007-03-14 Thread Greg Schafer
Dan Nicholson wrote: Manuel brought up a recent regression shown by ICA in cc1 and cc1plus. snip Then I remembered one other thing Greg recently tweaked for more purity. http://www.diy-linux.org/pipermail/diy-linux-dev/2006-December/000967.html One of the things that currently doesn't

Re: ICA diff in cc1 and cc1plus

2007-03-14 Thread Dan Nicholson
On 3/14/07, Greg Schafer [EMAIL PROTECTED] wrote: Dan Nicholson wrote: One of the things that currently doesn't happen in the chroot toolchain adjustment for LFS is making gcc prefer the new headers in /usr/include. If you add '-v' to the sanity check output, you'll see that it's still

Re: ICA on LFS-svn

2006-01-17 Thread Dan Nicholson
On 1/16/06, Ken Moffat [EMAIL PROTECTED] wrote: On Mon, 16 Jan 2006, Ken Moffat wrote: On Mon, 16 Jan 2006, Tushar Teredesai wrote: On 1/16/06, Ken Moffat [EMAIL PROTECTED] wrote: libhistory.so.5 (symlink, points to .old after in-place rebuild) libreadline.so.5 (ditto)

Re: ICA on LFS-svn

2006-01-17 Thread Ken Moffat
On Tue, 17 Jan 2006, Dan Nicholson wrote: Seems to me like this whole issue with the .old libraries for readline should just be eliminated. It's the only package that does this. DIY has sed -i.bak '/MV.*old/d' Makefile Well, when it works, it looks good (update in place, decide you don't

Re: ICA on LFS-svn

2006-01-17 Thread Tushar Teredesai
On 1/16/06, Ken Moffat [EMAIL PROTECTED] wrote: I was wrong in retracting, my LFS-svn results definitely show this for all builds after the first. I can't yet see why the symlink is moving (and I've spent twenty minutes looking at readline's shlib/Makefile and support/shlib-install).

Re: ICA on LFS-svn

2006-01-16 Thread Tushar Teredesai
On 1/16/06, Ken Moffat [EMAIL PROTECTED] wrote: libhistory.so.5 (symlink, points to .old after in-place rebuild) libreadline.so.5 (ditto) Shouldn't the link point to the .so.5 library? I don't remember seeing that problem even when I used to upgrade in-place (I have been using the fakeroot

Re: ICA on LFS-svn

2006-01-16 Thread Ken Moffat
On Mon, 16 Jan 2006, Tushar Teredesai wrote: On 1/16/06, Ken Moffat [EMAIL PROTECTED] wrote: libhistory.so.5 (symlink, points to .old after in-place rebuild) libreadline.so.5 (ditto) Shouldn't the link point to the .so.5 library? I don't remember seeing that problem even when I used to

Re: ICA on LFS-svn

2006-01-16 Thread Ken Moffat
On Mon, 16 Jan 2006, Ken Moffat wrote: On Mon, 16 Jan 2006, Tushar Teredesai wrote: On 1/16/06, Ken Moffat [EMAIL PROTECTED] wrote: libhistory.so.5 (symlink, points to .old after in-place rebuild) libreadline.so.5 (ditto) Shouldn't the link point to the .so.5 library? I don't remember

Re: ICA/LFS-Alpha Status Update [Was: Re: LFS-Alphabetical ICA/Farce Results]

2006-01-05 Thread Jeremy Huntwork
Dan Nicholson wrote: Until they finally kick me off their server, I've got a little repo of stuff trying to track my work on this: http://students.washington.edu/dbnichol/lfs/ Thanks again, Dan. I've merged all recent changes from trunk into the alphabetical branch, and I took some small

Re: ICA/LFS-Alpha Status Update [Was: Re: LFS-Alphabetical ICA/Farce Results]

2006-01-04 Thread Dan Nicholson
On 1/4/06, Jeremy Huntwork [EMAIL PROTECTED] wrote: Would you guys mind giving me a little summary of the progress of the last week? Also, Chris, I believe you have a patch for the book, right? Which is the current one? Until they finally kick me off their server, I've got a little repo of

Re: ICA/LFS-Alpha Status Update

2006-01-04 Thread Jeremy Huntwork
Dan Nicholson wrote: Until they finally kick me off their server, I've got a little repo of stuff trying to track my work on this: http://students.washington.edu/dbnichol/lfs/ [snip] For sure take a look at the ChangeLog to see a quick summary. OK, thanks, Dan. This helps a lot. I'll try

Re: ICA/LFS-Alpha Status Update [Was: Re: LFS-Alphabetical ICA/Farce Results]

2006-01-04 Thread Chris Staub
Jeremy Huntwork wrote: Dan, Chris: I see you guys have done a lot of work over the past week. Thank you very much for that. I'm having a little trouble sorting through the hundreds of emails in my Inbox today and pinpointing exactly what changes are ready to go into the alpha branch.

Re: ICA

2005-12-18 Thread Jeremy Huntwork
Jeremy Huntwork wrote: This is nearly done, so I will go ahead and post results on this when I have them. As Greg has explained, this will at least show that the system can bootstrap itself and produce the same thing. That should have at least some merit. Here is the results via Farce:

Re: ICA

2005-12-18 Thread Jeremy Huntwork
Jeremy Huntwork wrote: Well, now to try Greg's method and see what we get. BTW, Dan, are you going to be running similar tests on the current LFS build method? -- JH -- http://linuxfromscratch.org/mailman/listinfo/lfs-dev FAQ: http://www.linuxfromscratch.org/faq/ Unsubscribe: See the above

Re: ICA

2005-12-18 Thread Ken Moffat
On Sun, 18 Dec 2005, Jeremy Huntwork wrote: There are 4 lines that, to me, stand out: unexpected FAIL: /usr/bin/libtool is different unexpected FAIL: /usr/bin/vim differs after stripping and processing unexpected FAIL: /usr/include/c++/4.0.2/i686-pc-linux-gnu/bits/stdc++.h.gch/O0g.gch is

Re: ICA

2005-12-18 Thread Dan Nicholson
On 12/18/05, Jeremy Huntwork [EMAIL PROTECTED] wrote: Jeremy Huntwork wrote: Well, now to try Greg's method and see what we get. BTW, Dan, are you going to be running similar tests on the current LFS build method? I think I will, just to see where it stacks up. I maintain scripts for

Re: ICA

2005-12-18 Thread DJ Lucas
Ken Moffat wrote: The vim one puzzles me a bit. :/ Also, I'm hoping that the stdc++.h.gch differences are due to the randomness that Ken and Greg talked about. I think vim might be more of this c++ randomness I keep hearing randomness? Is this just a result of the kernel option (defalt

Re: ICA

2005-12-18 Thread Alexander E. Patrakov
Jeremy Huntwork wrote: unexpected FAIL: /usr/bin/vim differs after stripping and processing Looks like optional dependencies (perl library?) differ after chapters 5 and 6. It would be interesting to see differences in ./configure output and in config.log. -- Alexander E. Patrakov --

Re: ICA

2005-12-17 Thread Jeremy Huntwork
Matthew Burgess wrote: What I have trouble understanding is the fact that, apparently, one shouldn't reboot during the ICA cycle. What I thought was trying to be proved here was that a) any suitable host can build LFS and b) regardless of the host, the final LFS system should be more-or-less

Re: ICA

2005-12-17 Thread Greg Schafer
Matthew Burgess wrote: What I have trouble understanding is the fact that, apparently, one shouldn't reboot during the ICA cycle. What I thought was trying to be proved here was that a) any suitable host can build LFS No. IMHO what you refer to there is bootstrapability ie: the ability to

Re: ICA

2005-12-17 Thread Jeremy Huntwork
Greg Schafer wrote: [snip] this is an assumption). The whole 2 phase build method approach is designed to try and provide as sane an environment as possible. The goal is to produce an end result identical to that which would have been produced as if you had produced it in a sane environment.

Re: ICA

2005-12-17 Thread Jeremy Huntwork
Jeremy Huntwork wrote: Anyway, just finished a build of the new branch this morning, with *all* tests being run. Going to first look for any failed dependencies, then index the build via Farce. Lastly, I'll build again from the new host and compare results. This is nearly done, so I will

Re: ICA

2005-12-16 Thread Matthew Burgess
Greg Schafer wrote: It's amazing how such a simple concept can apparently be troublesome for some folks to grasp. What I have trouble understanding is the fact that, apparently, one shouldn't reboot during the ICA cycle. What I thought was trying to be proved here was that a) any suitable