Matthew Burgess wrote:
Hi folks,

There's a few bugs that can be closed off relatively easily if someone could confirm the approach detailed in them works and/or answer questions that have been raised in the comments:

http://bugs.linuxfromscratch.org/show_bug.cgi?id=1581 - can someone confim my analysis of the problem is correct, and this bug should be marked as invalid?

I think that the bug is invalid, i.e. adding artificial tests won't help reducing TCL bug reports. Note that DIY-Linux does use more tests in the equivalent of our Chapter 6 (but not Chapter 5). Their Chapter 6 tests, translated to LFS build method:

echo 'main(){}' | cc -x c -Wl,--verbose - &> foo

# 1. dynamic linker
readelf -l a.out | grep ": /lib"

# 2. start files
grep " /usr/lib/crt1.o succ" foo

# 3. libc
grep " /lib/libc.so.6 succ" foo

# 4. deps found from DT_NEEDED
grep "^found.*at /lib/ld-lin" foo

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

Reply via email to