> Date: Thu, 12 Dec 2013 11:49:59 +0000 > From: lf...@cruziero.com (akhiezer) > To: LFS Support List <lfs-support@linuxfromscratch.org> > Subject: Re: [lfs-support] GCC build first pass: mpc build looks for > libgmp.la in the wrong place > . . > > > > Could you put the following stuff that's shown between the two '----' > > delimiter lines, at the top of each of the four files > > './gcc-4.8.1/{,{gmp,mpfr,mpc}/}ltmain.sh' - after their respective opening > > chunks of comments and just before the 'PROGRAM=libtool' and > > 'PACKAGE=libtool' > > lines (that exact positioning is of course not strictly essential): > > ---- > > > > export PS4=" _zoiks_(${0})__ ${PS4}"; > > > > set -v; > > set -x; > > set -o functrace; > > shopt -s extdebug; > > > > echo "PS4:${PS4}"; > > > > ---- > > (Sorry that's not sent as a patch - could've checked out the attachments > > thing in practice; any larger changeset &/or files-to-be-modified, then > > would've.) > > > > > > And then run the configure and make sections again, but capturing > > everything > > to file and not outputting anything to screen, with e.g.: > > > > { configure-command-line ; } 1>cfg.stoe 2>&1 > > > > { make-command-line ; } 1>mkbld.stoe 2>&1 > > > > That part about not outputting anything to screen is not essential: but it > > helps ensure/verify that we're not missing anything being captured into the > > logfiles. > > > > > > I should note that I've not yet done a test-run of the cfg/build with the > > above in place; so there may be a glitch or so. This is mentioned in case > > you > > want to avoid possibly wasting your time. However, have tested the stuff > > with some basic scripts, and it should produce output that can be of use in > > tracing through what's happening in those ltmain.sh parts of the code. The > > PS4 stuff should show the chain of calling scripts; so some lines might get > > long, and so 'less -S' might help - usual stuff. The 'zoiks' is just a tag > > for checking/grepping. Am hoping to get onto a test cfg/build by end of > > weekend at the latest. > > > > > > Also, as a control-check: can you force failure of the cfg/build, by > > (temporarily) moving aside the host-os /usr/lib64/libgmp.la file: does the > > cfg/build still fail at the same place, with the sed message complaining > > 'no such file' re /usr/lib64/libgmp.la ? > > > > > - meant to add, that I wouldn't bother too much about running strace for > this stage, unless you want to. But do keep those strace logs that you've > obtained thus far. >
Hazel, I gather that you've sent a reply - in which you substantially or completely solve the issue - that hasn't reached the list yet since the weekend: it might be the attachment that's causing the trouble; could you re-send to list but omitting the attachment for now; or if you like I can try and hook it in from here. rgds, akh -- -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page