-----BEGIN PGP SIGNED MESSAGE-----
Hash: RIPEMD160

HLFS SVN-20070617
http://www.linuxfromscratch.org/hlfs/view/unstable/glibc-2.6/chapter06/butterfly-toolchain.html
Chapter 6.12 , the butterfly toolchain won't compile.
Building on Debian Etch i686

I tried rebuilding from scratch three times now in case I skipped, forgot, 
whatever, something.
Everytime by starting completely anew, fresh, i.e. wiping out all the old 
builds.
I've read the books, faqs, mailinglist digests, googled, etc.
(actually I found one post with the same error, don't know if it _is_ the same 
problem
 and there was no solution either :-(

Anyway, here goes:
The "make tooldir=/usr" line in chapter 6.12 fails.

  /sources/butterfly-toolchain/libstdc++-v3/configure
   --cache-file=./config.cache --build=i686-pc-linux-gnu
   --host=i686-pc-linux-gnu --target=i686-pc-linux-gnu --enable-multilib
   --prefix=/usr --libexecdir=/usr/lib --enable-shared --enable-threads=posix
   --enable-__cxa_atexit --enable-clocale=gnu --enable-checking
   --disable-werror --enable-languages=c,c++ --program-transform-name=s,y,y,
   --with-target-subdir=i686-pc-linux-gnu
   --srcdir=../../../butterfly-toolchain/libstdc++-v3
quits with:

  checking for library containing gettext... configure: error: Link tests are 
not allowed after GCC_NO_EXECUTABLES.
  make[1]: *** [configure-target-libstdc++-v3] Error 1

There's a couple of failing tests in config.log.
I don't know which ones should/could fail without causing troubles and which 
ones
could indicate a cause of the 'link tests are not allowed' problem.
"lt-ld-new: cannot find -lssp_nonshared" appears a couple of times, like:

  configure:2384: /sources/butterfly-build/./gcc/xgcc .....
  xgcc: '-V' must come at the start of the command line
  configure:2387: $? = 1
  configure:2406: /sources/butterfly-build/./gcc/xgcc ....
  lt-ld-new: cannot find -lssp_nonshared
  collect2: ld returned 1 exit status

or:

  ltconfig:1487: /sources/butterfly-build/./gcc/xgcc
  -B/sources/butterfly-build/./gcc/ -B/usr/i686-pc-linux-gnu/bin/
  -B/usr/i686-pc-linux-gnu/lib/ -isystem /usr/i686-pc-linux-gnu/include
  -isystem /usr/i686-pc-linux-gnu/sys-include -L/sources/butterfly-build/./ld
  -o conftest -O2 -g -O2 -fno-builtin conftest.c conftstm.o 1>&5

  lt-ld-new: cannot find -lssp_nonshared
  collect2: ld returned 1 exit status
  ltconfig: failed program was:
  #ifdef __cplusplus
  extern "C" {
  #endif

  extern char nm_test_var;
  extern char main;
  extern char nm_test_func;
  #if defined (__STDC__) && __STDC__
  # define lt_ptr_t void *
  #else
  # define lt_ptr_t char *
  # define const
  #endif

  /* The mapping between symbol names and symbols. */
  const struct {
    const char *name;
    lt_ptr_t address;
  }
  lt_preloaded_symbols[] =
  {
    {"nm_test_var", (lt_ptr_t) &nm_test_var},
    {"main", (lt_ptr_t) &main},
    {"nm_test_func", (lt_ptr_t) &nm_test_func},
    {0, (lt_ptr_t) 0}
  };

  #ifdef __cplusplus
  }
  #endif


Prior to building the toolchain the glibc test from 6.10 didn't pass either:
  make[1]: Target `check' not remade because of errors.
  make: *** [check] Error 2

  # grep -n Error ./glibc-build/glibc-check-log
  1983:make[2]: [/sources/glibc-build/posix/annexc.out] Error 1 (ignored)
  2269:make[2]: *** [/sources/glibc-build/nptl/tst-mutex8.out] Error 1
  2309:make[2]: *** [/sources/glibc-build/nptl/tst-mutexpi8.out] Error 1
  2346:make[2]: *** [/sources/glibc-build/nptl/tst-cond8.out] Error 1
  2742:make[2]: *** [/sources/glibc-build/nptl/tst-cancel24.out] Error 1
  2914:make[2]: *** [/sources/glibc-build/nptl/tst-cancelx4.out] Error 1
  2920:make[2]: *** [/sources/glibc-build/nptl/tst-cancelx5.out] Error 1
  2955:make[2]: *** [/sources/glibc-build/nptl/tst-cancelx16.out] Error 1
  2965:make[2]: *** [/sources/glibc-build/nptl/tst-cancelx20.out] Error 1
  2969:make[2]: *** [/sources/glibc-build/nptl/tst-cancelx21.out] Error 1
  2985:make[2]: *** [/sources/glibc-build/nptl/tst-cleanupx4.out] Error 1
  3078:make[1]: *** [nptl/tests] Error 2
  4058:make[2]: *** [/sources/glibc-build/elf/check-localplt.out] Error 1
  4061:make[1]: *** [elf/tests] Error 2
  4067:make: *** [check] Error 2


Any ideas ?
If more info is needed, lemme know.

Cheers,
Albert
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGi8HOKltZixSsH2QRA7JBAJ9O+5DMgq1TodWZgZHKIGA5W5OPSgCdG3+9
/tLTOQBVMbeGEYRI/7c6zrc=
=4Yp5
-----END PGP SIGNATURE-----
-- 
http://linuxfromscratch.org/mailman/listinfo/hlfs-dev
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page

Reply via email to