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

Karin Willers karin at visti.de
Mon Jun 16 21:36:43 PDT 2008


On Mon, 2008-06-16 at 00:36 -0700, go moko wrote:
> ----- Original Message ----
> From: Karin Willers <karin at visti.de>
> To: clfs-support at lists.cross-lfs.org
> Sent: Monday, June 16, 2008 6:21:54 AM
> Subject: [Clfs-support] glibc-2.7 compile error in SVN-20080606-MIPS
> 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
> ---------------------------------------------------------
> Seems you've a problem with:
> echo "libc_cv_forced_unwind=yes" > config.cache
> because the output says:
> checking for forced unwind support... no
> configure: error: forced unwind support is required
> Your commands are not in the right order. You must do:
> mkdir -v ../glibc-2.7_build
> cd ../glibc-2.7_build
> before:
> echo "libc_cv_forced_unwind=yes" > config.cache
> echo "libc_cv_c_cleanup=yes" >> config.cache
> for the configure command to find your config.cache.
> 
> Hope this helps. Excuse my poor english
> Regards
> 
Thanks - this solved the problem!

Sometimes one needs a fresh look from the outside ...

BUT, another problem downstream in building glibc-2.7 occurs, which I
have to investigate more deeply.

Thanks,  Karin





More information about the Clfs-support mailing list