LFS 6.2 Section 5.6 - Error making glibc-2.3.6
Hello, I am attempting to install LFS 6.2. The reason for that is to have it compatible as easily as possible with BLFS 6.2, as there is no BLFS 6.3 out yet. I have gone exactly by the book, as far as I know, trying to eliminate as many variables as I can for a first time install. Host system is LFS LiveCD 6.2.5.
Problem arises in Section 5.6, installing glibc-2.3.6. I'm working on installing glibc-2.3.6. Configured fine, but then when I run make after a while I get:
In file included from ../nptl/sysdeps/i386/i686/tls.h:34,
../nptl/sysdeps/i386/i686/ ../tls.h:58:3: error: #error "TLS support is required."
make: *** [/mnt/lfs/sources/gcc-build/intl/bindtextdom.o] Error 1
make: Leaving directory '/mnt/lfs/sources/glibc-2.3.6/intl'
make: *** [intl/subdir_lib] Error 2'
make: Leaving directory '/mnt/lfs/sources/glibc-2.3.6'
make: *** [all] Error 2
Somebody sent me this link: http://www.cygwin.com/ml/libc-alpha/.../msg00000.html
Do you think I should attempt to compile with the --with-tls flag? Any other ideas as to what may have gone wrong?
Thanks in advance for your time,
You are building in the gcc-build directory. Is the same gcc-build directory you used in section 5.4 or are you just naming all of your build directories gcc-build? I suggest as the first step, you delete gcc-build and start with a clean build directory (e.g., glibc-build).
Watch the output (or look at config.log) from the configure script because HAVE_TLS_SUPPORT wasn't set as it should've been. That's why the make fails. There should be some indication in the configure script output (or config.log) as to what was missing.
BTW, if the specs in your sig are correct you may want to consider using CLFS and follow up with CBLFS.
As to the question of my rig, I'm building on an Athlon XP 3000+, 768MB RAM, soon to be upgraded to a Pentium Dual-Core.
Do I just add "--with-tls" to the configure line?
Thanks for pointing out the wrong build directory, I'll try it again properly, to see if what I did was the problem.
Alright, I think the problem was the directory. Stupid mistake... O well, glad to be over that hump now. Thank you very much for your help weibullguy.
|All times are GMT -5. The time now is 02:22 PM.|