Frans Verstegen wrote:

When following the "Version 7.0-cross-lfs-20050926-Sparc64" I get the
following error in configuring glibc in "5.8.1. Installation of Glibc"
 (...)
 checking for long double... no
 checking size of long double... 0
 running configure fragment for sysdeps/sparc/sparc64/elf
 checking for sparc64 TLS support... no
 checking for sparc64 ld WDISP22 handling... ok
 running configure fragment for libidn/sysdeps/unix
 running configure fragment for nptl/sysdeps/unix/sysv/linux
 running configure fragment for nptl/sysdeps/pthread
 checking for forced unwind support... no
 configure: error: forced unwind support is required

The MultiLib version of the cross-lfs-20050926-Sparc64-MultiLib states
that for the 64bit libs :
 <quote>
   For NPTL enabled systems we will need to add the following lines to
   config.cache:
     echo "libc_cv_forced_unwind=yes" > config.cache
     echo "libc_cv_c_cleanup=yes" >> config.cache
 <quote>

When I apply this config.cache fix to the "cross-lfs-20050926-Sparc64"
branch, the configure process ends without error.
However, I do need to add the -C flag to configure in order to get the
config.cache file picked up.

Not being a cross-compile specialist (yet :-), I'm not sure whether I'm
heading in the right direction.

Frans


        

        
                
yes you'll need the -C flag to pick up the cache file, or --with-cache option for configure.

I'll check this in the book now.

Matt

--
http://linuxfromscratch.org/mailman/listinfo/lfs-dev
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page

Reply via email to