glibc-2.3.2 make check error in ch6

Maurizio Felici maurizio_felici at
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

/bin/sh -e /tmp/glibc-build/ '
/tmp/glibc-build/elf/ --library-path
                cmp ../iconvdata/testdata/ISO-8859-1..UTF8
/tmp/glibc-build/libio/tst-fopenloc.out \
  > /tmp/glibc-build/libio/tst-fopenloc.check                          
/tmp/glibc-build/libio/tst-fopenloc.mtrace >>
           /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-;

5. the only related thread (with no solution) I've found 
   is the following:

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

    cd ${TMP} &&
    tar xjvf ${SRC}/${PKG}.tar.bz2 &&
    cd ${PKG} &&
    tar xjvf ${SRC}/glibc-linuxthreads-2.3.2.tar.bz2 &&
    touch /etc/ &&
    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 &&

Any ideas?
Bye, mf

Linx From Scratch registered user # 279

Yahoo! Cellulari: loghi, suonerie, picture message per il tuo telefonino
Unsubscribe: send email to listar at
and put 'unsubscribe lfs-dev' in the subject header of the message

More information about the lfs-dev mailing list