﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	severity	resolution	keywords	cc
1061	Binutils build failure from libc stripped with buggy strip	steve.crosby@…	lfs-book@…	"LFS-SVN failes to build if the host system has stripped it's libc/a with the
buggy strip command from binutils-2.15.94.0.1 or earlier.

Suggested fix:

place a note in the Chapter 5 binutils static build regarding the issue (see
below) and recommend dropping the -enable-static and -all-static options from
static binutils and gcc respectively

====

Recently a version of the binutils ""strip"" command had a bug that caused TLS
(Thread Local Storage) symbols to be incorrectly dropped from static libraries.
In addition, the binutils ""ld"" command did not warn of this condition when
comparing TLS symbols. Newer versions of ""ld"" now warn of this condition and
abort the compilation.

In order to test if your host system has this issue, execute the following commands:

<insert testcase here - there was one in the archives somewhere, but it eldues
me ATM>

If your host system is affected, you can workaround the problem by ommiting the
LDFLAGS=""-all-static"" from the make command below, and also the
BOOT_LDFLAGS=""-static"" from the GCC make command in the next section.

=====

We'll need to revist this prior to release, as I understand that Ryan's
cross-building toolchain no longer requires static building of binutils and gcc,
and may be implemented soon - a more knowledgable toolchain than I will need to
make that call however."	defect	closed	highest		Book	SVN	blocker	fixed		
