glibc-2.3.2 make check error in ch6

Maurizio Felici maurizio_felici at yahoo.it
Mon Mar 31 22:29:52 PST 2003


Hi all,

I'm building my new LFS system following the pure_lfs.txt hint. It
fails with the following error during "make check" of glibc-2.3.2 in
ch6:

...
/bin/sh -e test-freopen.sh /tmp/glibc-build/ '
/tmp/glibc-build/elf/ld-linux.so.2 --library-path
/tmp/glibc-build:/tmp/glibc-build/math:/tmp/glibc-build/elf:/tmp/glibc-build/dlfcn:/tmp/glibc-build/nss:/tmp/glibc-build/nis:/tmp/glibc-build/rt:/tmp/glibc-build/resolv:/tmp/glibc-build/crypt:/tmp/glibc-build/linuxthreads'
\                                                                      
        /tmp/glibc-build/libio/                                        
                cmp ../iconvdata/testdata/ISO-8859-1..UTF8
/tmp/glibc-build/libio/tst-fopenloc.out \
  > /tmp/glibc-build/libio/tst-fopenloc.check                          
        /tmp/glibc-build/malloc/mtrace
/tmp/glibc-build/libio/tst-fopenloc.mtrace >>
/tmp/glibc-build/libio/tst-fopenloc.check                              
           /bin/sh: /tmp/glibc-build/malloc/mtrace: No such file or
directory              make[2]: ***
[/tmp/glibc-build/libio/tst-fopenloc.check] Error 127
make[2]: Leaving directory `/tmp/glibc-2.3.2/libio'
make[1]: *** [libio/tests] Error 2
make[1]: Leaving directory `/tmp/glibc-2.3.2'
make: *** [check] Error 2

The problem seems to be the missing mtrace. Please note:

1. I had no problems during ch5 build. The mtrace has been built and I
   can find it under stage1:
   bash-2.05a# ls -l /lfs/stage1/bin/mtrace 
   -rwxr-xr-x 1 root root 6420 Mar 30 19:33 /lfs/stage1/bin/mtrace

2. no problems during configure/make of glibc-2.3.2 in ch6;

3. I could also "make install" the glibc-2.3.2 in ch6 after
   the failing "make check" with no errors;

4. I'm using gcc-3.2.2 and binutils-2.13.90.0.20;

5. the only related thread (with no solution) I've found 
   is the following:
http://groups.google.com/groups?hl=en&lr=&ie=UTF-8&oe=UTF-8&threadm=93k36m%2461%241%40rzcomm2.rz.tu-bs.de&rnum=1&prev=/groups%3Fq%3Dmalloc%252Fmtrace%2B%2522make%2Bcheck%2522%26ie%3DUTF-8%26oe%3DUTF-8%26hl%3Den%26btnG%3DGoogle%2BSearch

And, finally, this is the bash script I'm using to install glibc-2.3.2
in ch6:

[snip]
PKG=glibc-2.3.2
LOG=${LOGDIR}/${PKG}.log
{
    cd ${TMP} &&
    tar xjvf ${SRC}/${PKG}.tar.bz2 &&
    cd ${PKG} &&
    tar xjvf ${SRC}/glibc-linuxthreads-2.3.2.tar.bz2 &&
    touch /etc/ld.so.conf &&
    mkdir ../glibc-build &&
    cd ../glibc-build &&
    CFLAGS="-O2 -pipe" ../${PKG}/configure --prefix=/usr \
        --disable-profile --enable-add-ons \
        --mandir=/usr/share/man --infodir=/usr/share/info \
        --with-headers=/usr/include &&
    make &&
    make check &&
    make install &&
    make localedata/install-locales &&
    cp ${CFGS}/nsswitch.conf /etc &&
    cd ${TMP} &&
    rm -rf ${PKG}
} >> ${LOG} 2>&1 &&
[snip]

Any ideas?
Bye, mf

=====
-- 
Linx From Scratch registered user # 279

______________________________________________________________________
Yahoo! Cellulari: loghi, suonerie, picture message per il tuo telefonino
http://it.yahoo.com/mail_it/foot/?http://it.mobile.yahoo.com/index2002.html
-- 
Unsubscribe: send email to listar at linuxfromscratch.org
and put 'unsubscribe lfs-dev' in the subject header of the message



More information about the lfs-dev mailing list