I wrote:
So the proposal is to review two different suggestions:
1) Change --enable-shared to --disable-shared in GCC Pass1
instructions (read the DIY book to understand implications on Chapter
5 glibc). I don't really welcome that, because it looks like a
workaround, not a real solution.
I changed my opinion. This is one of the two real solutions. The other
one is to add BOOT_LDFLAGS="-R/tools/lib" to the make command while
compiling gcc.
2) Wait for Greg to explain why GCC ends up linked against
libgcc_s.so.1 in Chapter 5 Pass 1 of modified DIY instructions and
doesn't link to libgcc_s.so.1 in Chapter 6. This smells like a common
defect in LFS and DIY builds.
This is not a defect. Linking is done by programs in /usr with the flags
supplied by the host gcc. Changing this would mean reintroducing the
LFS-5.1-from-Fedora bug.
--
Alexander E. Patrakov
--
http://linuxfromscratch.org/mailman/listinfo/lfs-dev
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page