#1768: Sanity checks don't work after final GCC
--------------------------------------------+-------------------------------
Reporter: [EMAIL PROTECTED] | Owner: [EMAIL PROTECTED]
Type: defect | Status: assigned
Priority: normal | Milestone: 6.2
Component: Book | Version: SVN
Severity: normal | Resolution:
Keywords: |
--------------------------------------------+-------------------------------
Comment (by [EMAIL PROTECTED]):
Just as a pointer to keep the mailing list posts in tracked, here is a
more recent post about a necessary fix:
http://linuxfromscratch.org/pipermail/lfs-dev/2006-April/056800.html
I'd like to ammend that proposal a bit. Put a / in front of crt so you
know you're getting startfiles (not that I know of anything else that
would be caught). Then, I propose changing the Re-Adjusting check to:
`$ grep '/usr/lib.*/crt[1in].o ' dummy.log`
or
`$ grep '/usr/lib.*/crt1.o ' dummy.log`
One other thing that I didn't mention in either post is that we never
check to see if the ld adjustment has actually been correct. Since ld is
almost always invoked by gcc, this sanity check would work:
`$ grep 'SEARCH.*/usr/lib' dummy.log`
This assumes -Wl,--verbose is issued. /tools could be substituted in
Adjusting. Alternatively, to check ld without actually compiling
anything, you can use this command:
`$ $(cc -print-prog-name=ld) --verbose | grep 'SEARCH.*/usr/lib'`
--
Ticket URL: <http://wiki.linuxfromscratch.org/lfs/ticket/1768>
LFS Trac <http://wiki.linuxfromscratch.org/lfs/>
Linux From Scratch: Your Distro, Your Rules.
--
http://linuxfromscratch.org/mailman/listinfo/lfs-book
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page