[Clfs-support] glibc-2.7 compile error in SVN-20080606-MIPS

Karin Willers karin at visti.de
Sun Jun 15 21:21:54 PDT 2008


Hello All,

building a glibc-2.7 for mips64 per chapter 5.8 fails. Here's
what I execute:

tar xvzf $SRCDIR/userland/glibc-2.7.tar.gz
cd glibc-2.7
tar -jxvf $SRCDIR/userland/glibc-ports-2.7.tar.bz2
mv -v glibc-ports-2.7 ports

patch -Np1 -i $SRCDIR/userland/glibc-2.7-libgcc_eh-1.patch
patch -Np1 -i $SRCDIR/userland/glibc-2.7-localedef_segfault-1.patch

echo "libc_cv_forced_unwind=yes" > config.cache
echo "libc_cv_c_cleanup=yes" >> config.cache

mkdir -v ../glibc-2.7_build
cd ../glibc-2.7_build

BUILD_CC="gcc" CC="${CLFS_TARGET}-gcc" \
    AR="${CLFS_TARGET}-ar" RANLIB="${CLFS_TARGET}-ranlib" \
    ../glibc-2.7/configure --prefix=/tools \
    --host=${CLFS_TARGET} --build=${CLFS_HOST} \
    --disable-profile --enable-add-ons \
    --with-tls --enable-kernel=2.6.0 --with-__thread \
    --with-binutils=/cross-tools/bin --with-headers=/tools/include \
    --cache-file=config.cache

The tail of the terminal output is:

.....
running configure fragment for ports/sysdeps/mips/elf
checking for MIPS TLS support... yes
running configure fragment for ports/sysdeps/unix/sysv/linux/mips/mips64
running configure fragment for ports/sysdeps/unix/sysv/linux/mips
running configure fragment for nptl/sysdeps/pthread
checking for forced unwind support... no
configure: error: forced unwind support is required
mips64 at green:/mips64/glibc-2.7_build>

So it looks like "forced unwind support is required". Maybe this is a
special issue on the MIPS architecture?

The environment seems to be set up correctly, since the steps before
(extracting headers, building binutils-2.18 and gcc-4.2.2 static) worked
perfectly.

config.log is available, but I did not send it due to its size of 75kB.

BTW, I used the linux-2.6.24.7-20080519 kernel sources from Gentoo which
have patches for my SGI Octane, which is the intended target system and
I'm cross-compiling on an i686 system.

Did anyone see / solve this already?

Thanks,  Karin





More information about the Clfs-support mailing list