[1] Building base/glibc=glibc23

Tobias Hintze <[email protected]> Tue, 14 Mar 2006 11:39:17 +0100
Newsgroups gmane.linux.distributions.rock.devel
Message-ID <[email protected]>
hi,

in a crystal build i get strange lockups in stage1 while Building
base/glibc=glibc23.

the log:
============
make[2]: Entering directory `/ROCK/trunk/src.glibc23.1142328859.17068.3512953766/glibc-2.3.6/localedata'
.././scripts/mkinstalldirs /ROCK/trunk/build/crystal-TRUNK-x86-pentium2-32-crystal/usr/lib/locale
aa_DJ.UTF-8...
============

the processes (long lines):
=================
make -C localedata install-locales

/bin/sh -c locale=`echo install-aa_DJ.UTF-8/UTF-8 | sed -e 's/^install-//'`;  charset=`echo $locale | sed -e 's,.*/,,'`;  locale=`echo $locale | sed -e 's,/[^/]*,,'`;  echo -n `echo $locale | sed 's/\([^.\@]*\).*/\1/'`;  echo -n ".$charset";  echo -n `echo $locale | sed 's/\([^\@]*\)\(\@.*\)*/\2/'`;  echo -n '...';  input=`echo $locale | sed 's/\([^.]*\)[^@]*\(.*\)/\1\2/'`;  I18NPATH=. GCONV_PATH=/ROCK/trunk/src.glibc23.1142328859.17068.3512953766/glibc-2.3.6/objdir/iconvdata LC_ALL=C /ROCK/trunk/src.glibc23.1142328859.17068.3512953766/glibc-2.3.6/objdir/elf/ld.so --library-path /ROCK/trunk/src.glibc23.1142328859.17068.3512953766/glibc-2.3.6/objdir:/ROCK/trunk/src.glibc23.1142328859.17068.3512953766/glibc-2.3.6/objdir/math:/ROCK/trunk/src.glibc23.1142328859.17068.3512953766/glibc-2.3.6/objdir/elf:/ROCK/trunk/src.glibc23.1142328859.17068.3512953766/glibc-2.3.6/objdir/dlfcn:/ROCK/trunk/src
 .glibc23.1142328859.17068.3512953766/glibc-2.3.6/objdir/nss:/ROCK/trunk/src.glibc23.11423!
 28859.17068.3512953766/glibc-2.3.6/objdir/nis:/ROCK/trunk/src.glibc23.1142328859.17068.3512953766/glibc-2.3.6/objdir/rt:/ROCK/trunk/src.glibc23.1142328859.17068.3512953766/glibc-2.3.6/objdir/resolv:/ROCK/trunk/src.glibc23.1142328859.17068.3512953766/glibc-2.3.6/objdir/crypt:/ROCK/trunk/src.glibc23.1142328859.17068.3512953766/glibc-2.3.6/objdir/nptl /ROCK/trunk/src.glibc23.1142328859.17068.3512953766/glibc-2.3.6/objdir/locale/localedef --alias-file=../intl/locale.alias  -i locales/$input -c -f charmaps/$charset  $locale;  echo ' done';

/ROCK/trunk/src.glibc23.1142328859.17068.3512953766/glibc-2.3.6/objdir/elf/ld.so --library-path /ROCK/trunk/src.glibc23.1142328859.17068.3512953766/glibc-2.3.6/objdir:/ROCK/trunk/src.glibc23.1142328859.17068.3512953766/glibc-2.3.6/objdir/math:/ROCK/trunk/src.glibc23.1142328859.17068.3512953766/glibc-2.3.6/objdir/elf:/ROCK/trunk/src.glibc23.1142328859.17068.3512953766/glibc-2.3.6/objdir/dlfcn:/ROCK/trunk/src.glibc23.1142328859.17068.3512953766/glibc-2.3.6/objdir/nss:/ROCK/trunk/src.glibc23.1142328859.17068.3512953766/glibc-2.3.6/objdir/nis:/ROCK/trunk/src.glibc23.1142328859.17068.3512953766/glibc-2.3.6/objdir/rt:/ROCK/trunk/src.glibc23.1142328859.17068.3512953766/glibc-2.3.6/objdir/resolv:/ROCK/trunk/src.glibc23.1142328859.17068.3512953766/glibc-2.3.6/objdir/crypt:/ROCK/trunk/src.glibc23.1142328859.17068.3512953766/glibc-2.3.6/objdir/nptl /ROCK/trunk/src.glibc23.1142328859.17068.351295376
 6/glibc-2.3.6/objdir/locale/localedef --alias-file=../intl/locale.alias -i locales/aa_DJ !
 -c -f charmaps/UTF-8 aa_DJ.UTF-8
=================

(they are nested in this order)

if i kill the latter (the ld.so/localedef process) - then the next locate will be
processed.

==================
aa_DJ.UTF-8... [XXX] done
aa_DJ.ISO-8859-1... done
aa_ER.UTF-8... [YYY]
==================
the first locking was at XXX. after killing it went on up to YYY.
sometimes killing ld.so moves forward one locale only. sometimes a
locale does not lock at all.

the process does no library or system calls (ltrace, strace).

last touched files:
=================================
bash(Build-Pkg)*.make**.sh.execve:      /bin/sed
bash(Build-Pkg)*.make**.sh.execve:      /ROCK/trunk/src.glibc23.1142328859.17068.3512953766/glibc-2.3.6/objdir/elf/ld.so
bash(Build-Pkg)*.make**.sh.ld.so.fopen: /ROCK/trunk/src.glibc23.1142328859.17068.3512953766/glibc-2.3.6/localedata/charmaps/UTF-8
bash(Build-Pkg)*.make**.sh.ld.so.fopen: /ROCK/trunk/src.glibc23.1142328859.17068.3512953766/glibc-2.3.6/localedata/locales/aa_DJ
bash(Build-Pkg)*.make**.sh.ld.so.fopen: /ROCK/trunk/src.glibc23.1142328859.17068.3512953766/glibc-2.3.6/localedata/./locales/iso14651_t1
bash(Build-Pkg)*.make**.sh.ld.so.fopen: /ROCK/trunk/src.glibc23.1142328859.17068.3512953766/glibc-2.3.6/localedata/./locales/i18n
bash(Build-Pkg)*.make**.sh.ld.so.fopen: /ROCK/trunk/src.glibc23.1142328859.17068.3512953766/glibc-2.3.6/localedata/./locales/translit_neutral
bash(Build-Pkg)*.make**.sh.ld.so.fopen: /ROCK/trunk/src.glibc23.1142328859.17068.3512953766/glibc-2.3.6/localedata/./locales/translit_circle
bash(Build-Pkg)*.make**.sh.ld.so.fopen: /ROCK/trunk/src.glibc23.1142328859.17068.3512953766/glibc-2.3.6/localedata/./locales/translit_cjk_compat
bash(Build-Pkg)*.make**.sh.ld.so.fopen: /ROCK/trunk/src.glibc23.1142328859.17068.3512953766/glibc-2.3.6/localedata/./locales/translit_compat
bash(Build-Pkg)*.make**.sh.ld.so.fopen: /ROCK/trunk/src.glibc23.1142328859.17068.3512953766/glibc-2.3.6/localedata/./locales/translit_font
bash(Build-Pkg)*.make**.sh.ld.so.fopen: /ROCK/trunk/src.glibc23.1142328859.17068.3512953766/glibc-2.3.6/localedata/./locales/translit_fraction
bash(Build-Pkg)*.make**.sh.ld.so.fopen: /ROCK/trunk/src.glibc23.1142328859.17068.3512953766/glibc-2.3.6/localedata/./locales/translit_narrow
bash(Build-Pkg)*.make**.sh.ld.so.fopen: /ROCK/trunk/src.glibc23.1142328859.17068.3512953766/glibc-2.3.6/localedata/./locales/translit_small
bash(Build-Pkg)*.make**.sh.ld.so.fopen: /ROCK/trunk/src.glibc23.1142328859.17068.3512953766/glibc-2.3.6/localedata/./locales/translit_wide
bash(Build-Pkg)*.make**.sh.ld.so.open64:        /usr/lib/locale/locale-archive
=================================

kernel is 2.6.15.4-rock #1 PREEMPT (built with boot target).

i dont like having to kill ld.so - we need some resolution here.
can it be some problem in my build system?
(i built boot+bbs targets fine.)

th
-- 
Tobias Hintze http://hbs-solutions.de
HBS solutions GbR - Network & Information Systems