Current TODO list and Changelog for 2.3.5

Tomislav Greguric greguric at stud.uni-frankfurt.de
Sun Jun 18 01:44:03 PDT 2000


On Sat, 17 Jun 2000, Gerard Beekmans wrote:

> > I'm having problems here, trying to install LFS 2.3.4 from a working LFS 2.2
> > system. The 2.2 system now has bash-2.04, and glibc gives me the invalid
> > character problem if you try and install it normally. If you edit the
> > Makefiles and take the hyphens out, then it appears to install normally, but
> > upon entering the chrooted environment, then you get segmentation faults as
> > soon as you try to install anything (apart from ed-0.02). You (I) get the
> > segmentation faults when you install normally too.
> > Reding the documentation of glibc, I noticed it says not to compile as root.
> > Could this be where I was going wrong? Haven't had time to recompile yet, as
> > it takes ages (well over four hours).
> 
> The seg faulting can very well be due to you renaming the variable names
> in the Makefile files. Perhaps they worked together with the source
> code. I guess you didn't change the variables everywhere (including in
> the .c files)?
> 
> Also, I always compile all LFS software as root (the stuff in the book
> at least) and it never gave me problems. Here's the current part how to
> install Glibc when you have bash2.04 installed:
[snipped, sorry!!]

Hi,

one of the glibc maintainers (I forgot who, sorry!!) has suggested on
gnu.glibc.bug to change the hyphens in the offending variables into
underscores, which will solve the problem compiling glibc-2.1.3 using
bash-2.04 (and that's the way how it is fixed for new glibc versions).
I've attached my patch I've used without problems so far.

Regards,
Tomislav

-------------- next part --------------
--- glibc-2.1.3/MakeTAGS.orig	Wed Jun 16 19:29:24 1999
+++ glibc-2.1.3/MakeTAGS	Mon May 29 10:05:37 2000
@@ -39,7 +39,7 @@
 endif	# ctype
 endif	# No tags_sources
 
-sysdep-dirs := $(full-config-sysdirs)
+sysdep-dirs := $(full_config_sysdirs)
 
 ifndef sysdep_dirs
 # Find all sysdep directories.
--- glibc-2.1.3/Makeconfig.orig	Mon Nov 29 20:19:20 1999
+++ glibc-2.1.3/Makeconfig	Mon May 29 10:06:09 2000
@@ -93,7 +93,7 @@
 endif
 
 # Complete path to sysdep dirs.
-export full-config-sysdirs := $(addprefix $(..),$(config-sysdirs))
+export full_config_sysdirs := $(addprefix $(..),$(config-sysdirs))
 
 # Run config.status to update config.make and config.h.  We don't show the
 # dependence of config.h to Make, because it is only touched when it
@@ -107,7 +107,7 @@
 # Find all the sysdeps configure fragments, to make sure we re-run
 # configure when any of them changes.
 $(common-objpfx)config.status: $(..)version.h $(..)configure \
-			       $(foreach dir,$(full-config-sysdirs),\
+			       $(foreach dir,$(full_config_sysdirs),\
 					 $(wildcard \
 					   $(dir)/Implies) \
 					 $(patsubst %.in,%,\
--- glibc-2.1.3/Makerules.orig	Mon Aug  2 00:12:23 1999
+++ glibc-2.1.3/Makerules	Mon May 29 10:06:28 2000
@@ -57,13 +57,13 @@
 endif
 
 # `configure' writes a definition of `config-sysdirs' in `config.make'.
-sysdirs = $(strip $(full-config-sysdirs))
+sysdirs = $(strip $(full_config_sysdirs))
 
 +sysdir_pfx = $(common-objpfx)
 
 export sysdirs := $(sysdirs)
 
-+sysdep_dirs := $(full-config-sysdirs)
++sysdep_dirs := $(full_config_sysdirs)
 ifdef objdir
 +sysdep_dirs := $(objdir) $(+sysdep_dirs)
 endif


More information about the lfs-dev mailing list