LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux From Scratch (https://www.linuxquestions.org/questions/linux-from-scratch-13/)
-   -   glibc 2.3.4 error (https://www.linuxquestions.org/questions/linux-from-scratch-13/glibc-2-3-4-error-409583/)

shankara 01-30-2006 07:14 AM

glibc 2.3.4 error
 
hello,
i got this error while installing

basic system software-Glibc-2.3.4-20040701

when i typed this


../glibc-2.3.4-20040701/configure --prefix=/usr \
--disable-profile --enable-add-ons=nptl --with-tls \
--with-__thread --enable-kernel=2.6.0 --without-cvs \
--libexecdir=/usr/lib/glibc \
--with-headers=/tools/glibc-kernheaders

i got this error message


checking for tls_model attribute... yes
checking for libgd... no
checking for egrep... grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for long double... yes
checking size of long double... configure: error: cannot compute sizeof (long double), 77
See `config.log' for more details.
root @ wrkstn8% vi config.log root @ wrkstn8% make make: *** No targets specified and no makefile found. Stop.
root @ wrkstn8%

newcomer4 02-01-2006 01:14 AM

I am also getting the same error.
Plz help me out

mr_demilord 02-02-2006 07:11 AM

What version of LFS are you building?
What is the platform?
Try build the latest stable 6.1.1 if you are building a devel version of LFS

lalitp 03-06-2006 10:00 AM

I got rid of the problem by executing:

LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/tools/lib
export LD_LIBRARY_PATH

chuckler 04-01-2006 10:37 AM

glibc error LFS 6.1.1 ch. 6.11
 
I have this exact same problem..... anyone have any solution for this?
my config.log has the exact same output as the one posted above...
any idea what could be the problem?

somone solved this problem by linking.. is it a safe method? or will it break anything later even if it works now?
.. i tried the LD_LIBRARY thing mentioned here.. but no use. any ideas?

chuckler 04-01-2006 02:54 PM

glibc error LFS 6.1.1 Chapter 6.11
 
... I went back and redid the second pass of gcc.. after which the configure worked fine.. but the make gave zillions of errors...

using LFS 6.1.1

/libc-symbols.h -DNOT_IN_libc=1 -o /sources/glibc-build/elf/tst-dlmopen3.o -MD -MP -MF /sources/glibc-build/elf/tst/tst-dlmopen3.o
make[2]: Target `tests' not remade because of errors.
make[2]: Leaving directory `/sources/glibc-2.3.4/elf'
make[1]: *** [elf/tests] Error 2
make[1]: Target `check' not remade because of errors.
make[1]: Leaving directory `/sources/glibc-2.3.4'
make: *** [check] Error 2

root:/sources/glibc-build# grep Error glibc-check-log

make[1]: *** [csu/tests] Error 2
make[1]: *** [iconv/tests] Error 2
make[1]: *** [iconvdata/tests] Error 2
make[1]: *** [locale/tests] Error 2
make[1]: *** [localedata/tests] Error 2
make[1]: *** [assert/tests] Error 2
make[1]: *** [ctype/tests] Error 2
make[1]: *** [intl/tests] Error 2
make[2]: *** [/sources/glibc-build/catgets/de.msg] Error 1
make[1]: *** [catgets/tests] Error 2
make[1]: *** [math/tests] Error 2
make[1]: *** [setjmp/tests] Error 2
make[1]: *** [signal/tests] Error 2
make[1]: *** [stdlib/tests] Error 2
make[1]: *** [stdio-common/tests] Error 2
make[1]: *** [libio/tests] Error 2
make[2]: *** [/sources/glibc-build/dlfcn/glreflib1.so] Error 1
make[2]: *** [/sources/glibc-build/dlfcn/glreflib2.so] Error 1
make[2]: *** [/sources/glibc-build/dlfcn/failtestmod.so] Error 1
make[2]: *** [/sources/glibc-build/dlfcn/errmsg1mod.so] Error 1
make[2]: *** [/sources/glibc-build/dlfcn/modcxaatexit.so] Error 1
make[2]: *** [/sources/glibc-build/dlfcn/modstatic.so] Error 1
make[1]: *** [dlfcn/tests] Error 2
make[1]: *** [malloc/tests] Error 2
make[1]: *** [string/tests] Error 2
make[1]: *** [wcsmbs/tests] Error 2
make[1]: *** [timezone/tests] Error 2
make[1]: *** [time/tests] Error 2
make[1]: *** [dirent/tests] Error 2
make[1]: *** [grp/tests] Error 2
make[1]: *** [pwd/tests] Error 2
make[2]: [/sources/glibc-build/posix/annexc.out] Error 1 (ignored)
make[1]: *** [posix/tests] Error 2
make[1]: *** [io/tests] Error 2
make[1]: *** [misc/tests] Error 2
make[1]: *** [gmon/tests] Error 2
make[1]: *** [gnulib/tests] Error 2
make[1]: *** [wctype/tests] Error 2
make[1]: *** [argp/tests] Error 2
make[1]: *** [crypt/tests] Error 2
make[2]: *** [/sources/glibc-build/nptl/tst-tls4moda.so] Error 1
make[2]: *** [/sources/glibc-build/nptl/tst-tls4modb.so] Error 1
make[2]: *** [/sources/glibc-build/nptl/tst-tls5mod.so] Error 1
make[2]: *** [/sources/glibc-build/nptl/tst-tls5moda.so] Error 1
make[2]: *** [/sources/glibc-build/nptl/tst-tls5modb.so] Error 1
make[2]: *** [/sources/glibc-build/nptl/tst-tls5modc.so] Error 1
make[2]: *** [/sources/glibc-build/nptl/tst-tls5modd.so] Error 1
make[2]: *** [/sources/glibc-build/nptl/tst-tls5mode.so] Error 1
make[2]: *** [/sources/glibc-build/nptl/tst-tls5modf.so] Error 1
make[2]: *** [/sources/glibc-build/nptl/tst-_res1mod1.so] Error 1
make[2]: *** [/sources/glibc-build/nptl/tst-execstack-mod.so] Error 1
make[1]: *** [nptl/tests] Error 2
make[1]: *** [resolv/tests] Error 2
make[1]: *** [nss/tests] Error 2
make[1]: *** [rt/tests] Error 2
make[1]: *** [debug/tests] Error 2
make[1]: *** [inet/tests] Error 2
make[1]: *** [login/tests] Error 2
make[2]: *** [/sources/glibc-build/elf/tst-piemod1.so] Error 1
make[2]: *** [/sources/glibc-build/elf/dl-load.os] Error 1
make[2]: *** [/sources/glibc-build/elf/tst-array2dep.so] Error 1
make[2]: *** [/sources/glibc-build/elf/constload2.so] Error 1
make[2]: *** [/sources/glibc-build/elf/constload3.so] Error 1
make[2]: *** [/sources/glibc-build/elf/unloadmod.so] Error 1
make[2]: *** [/sources/glibc-build/elf/dep3.so] Error 1
make[2]: *** [/sources/glibc-build/elf/vismod1.so] Error 1
make[2]: *** [/sources/glibc-build/elf/vismod2.so] Error 1
make[2]: *** [/sources/glibc-build/elf/vismod3.so] Error 1
make[2]: *** [/sources/glibc-build/elf/nodelmod1.so] Error 1
make[2]: *** [/sources/glibc-build/elf/nodelmod2.so] Error 1
make[2]: *** [/sources/glibc-build/elf/nodelmod4.so] Error 1
make[2]: *** [/sources/glibc-build/elf/nodel2mod1.so] Error 1
make[2]: *** [/sources/glibc-build/elf/nodel2mod2.so] Error 1
make[2]: *** [/sources/glibc-build/elf/nodlopenmod.so] Error 1
make[2]: *** [/sources/glibc-build/elf/filtmod2.so] Error 1
make[2]: *** [/sources/glibc-build/elf/reldepmod1.so] Error 1
make[2]: *** [/sources/glibc-build/elf/reldepmod2.so] Error 1
make[2]: *** [/sources/glibc-build/elf/reldepmod3.so] Error 1
make[2]: *** [/sources/glibc-build/elf/reldepmod4.so] Error 1
make[2]: *** [/sources/glibc-build/elf/nextmod2.so] Error 1
make[2]: *** [/sources/glibc-build/elf/reldep4mod3.so] Error 1
make[2]: *** [/sources/glibc-build/elf/reldep4mod4.so] Error 1
make[2]: *** [/sources/glibc-build/elf/neededobj5.so] Error 1
make[2]: *** [/sources/glibc-build/elf/unload2dep.so] Error 1
make[2]: *** [/sources/glibc-build/elf/ltglobmod1.so] Error 1
make[2]: *** [/sources/glibc-build/elf/pathoptobj.so] Error 1
make[2]: *** [/sources/glibc-build/elf/dblloadmod3.so] Error 1
make[2]: *** [/sources/glibc-build/elf/reldep6mod0.so] Error 1
make[2]: *** [/sources/glibc-build/elf/reldep7mod1.so] Error 1
make[2]: *** [/sources/glibc-build/elf/reldep7mod2.so] Error 1
make[2]: *** [/sources/glibc-build/elf/tst-tlsmod1.so] Error 1
make[2]: *** [/sources/glibc-build/elf/tst-tlsmod2.so] Error 1
make[2]: *** [/sources/glibc-build/elf/tst-tlsmod4.so] Error 1
make[2]: *** [/sources/glibc-build/elf/tst-tlsmod7.so] Error 1
make[2]: *** [/sources/glibc-build/elf/tst-tlsmod9.so] Error 1
make[2]: *** [/sources/glibc-build/elf/tst-tlsmod11.so] Error 1
make[2]: *** [/sources/glibc-build/elf/tst-tlsmod13.so] Error 1
make[2]: *** [/sources/glibc-build/elf/tst-tlsmod14a.so] Error 1
make[2]: *** [/sources/glibc-build/elf/tst-tlsmod14b.so] Error 1
make[2]: *** [/sources/glibc-build/elf/tst-tlsmod15a.so] Error 1
make[2]: *** [/sources/glibc-build/elf/tst-tlsmod15b.so] Error 1
make[2]: *** [/sources/glibc-build/elf/circlemod3.so] Error 1
make[2]: *** [/sources/glibc-build/elf/circlemod3a.so] Error 1
make[2]: *** [/sources/glibc-build/elf/reldep8mod1.so] Error 1
make[2]: *** [/sources/glibc-build/elf/reldep8mod2.so] Error 1
make[2]: *** [/sources/glibc-build/elf/reldep9mod1.so] Error 1
make[2]: *** [/sources/glibc-build/elf/tst-alignmod.so] Error 1
make[2]: *** [/sources/glibc-build/elf/tst-execstack-mod.so] Error 1
make[2]: *** [/sources/glibc-build/elf/tst-deep1mod1.so] Error 1
make[2]: *** [/sources/glibc-build/elf/tst-deep1mod3.so] Error 1
make[2]: *** [/sources/glibc-build/elf/check-textrel.out] Error 1
make[1]: *** [elf/tests] Error 2
make: *** [check] Error 2
root:/sources/glibc-build# readelf -l /tools/bin/gcc | grep 'ld-linux'
[Requesting program interpreter: /tools/lib/ld-linux.so.2]
any ideas as to what i might have done wrong?
should i reinstall everything i did since the gcc pass two in chapter 5?
at my wit's end..

chuckler 04-01-2006 10:59 PM

i am using the LFS 6.1.1 book and am stuck at chapter 6.11..
the tests for glibc fail...
however once I started the install process of glibc in chapter 6.11 from scratch again, most of the errors were reduced... now make check -k gives the following errors

grep Error glibc-check-log
make[2]: [/sources/glibc-build/posix/annexc.out] Error 1 (ignored)
make[2]: *** [/sources/glibc-build/nptl/tst-clock2.out] Error 1
make[1]: *** [nptl/tests] Error 2
make: *** [check] Error 2

any idea what the problem could be?
thanks in advance.


All times are GMT -5. The time now is 04:52 PM.