This is the mail archive of the libc-alpha@sources.redhat.com mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: glibc 2.1.93


>>>>> Christian Iseli writes:

 > Hi folks,
 > I just compiled and ran 'make check' on the CVS version of glibc-2.1.93.  It 
 > seems mostly ok, but there are some error reports in the two following files.

 > Here are the errors I observed in the log:
 > $ grep '\*\*' check.log 
 > make[2]: *** [/usr/src/redhat/BUILD/glibc-build-i386/localedata/tst_swscanf.out] Error 1
 > make[2]: *** [/usr/src/redhat/BUILD/glibc-build-i386/localedata/tst-trans.out] Error 1
 > make[1]: *** [localedata/tests] Error 2
 > make[2]: *** [/usr/src/redhat/BUILD/glibc-build-i386/intl/tst-translit.out] Error 1
 > make[1]: *** [intl/tests] Error 2
 > make[2]: *** [/usr/src/redhat/BUILD/glibc-build-i386/stdio-common/tst-swprintf.out] Error 1
 > make[1]: *** [stdio-common/tests] Error 2
 > make[2]: *** [/usr/src/redhat/BUILD/glibc-build-i386/libio/tst_swprintf.out] Error 1
 > make[2]: *** [/usr/src/redhat/BUILD/glibc-build-i386/libio/tst_swscanf.out] Error 1
 > make[2]: *** [/usr/src/redhat/BUILD/glibc-build-i386/libio/tst_wscanf.out] Error 1
 > make[2]: *** [/usr/src/redhat/BUILD/glibc-build-i386/libio/tst_getwc.out] Error 1
 > make[2]: *** [/usr/src/redhat/BUILD/glibc-build-i386/libio/tst_wprintf2.out] Error 1
 > make[1]: *** [libio/tests] Error 2
 > make[2]: *** [/usr/src/redhat/BUILD/glibc-build-i386/wcsmbs/wcsmbs-tst1.out] Error 1
 > make[2]: *** [/usr/src/redhat/BUILD/glibc-build-i386/wcsmbs/tst-wcsnlen.out] Error 1
 > make[1]: *** [wcsmbs/tests] Error 2
 > make[2]: *** [/usr/src/redhat/BUILD/glibc-build-i386/time/tst_wcsftime.out] Error 1
 > make[1]: *** [time/tests] Error 2
 > make: *** [check] Error 2

 > The file posix/runptests.out is not reported as error, but still contains 
 > apparent failures.
That's known (see posix/runptests.c), just ignore it.


The other problems are serious but you're using a broken gcc. gcc
version 2.96 20000911 miscompiles wchar_t strings.  The current gcc
(CVS from today) should be fine, since it contains the following patch
to fix GCC's handling of wide strings:

2000-09-12  Jakub Jelinek  <jakub@redhat.com>

        * c-lex.c (lex_string): Use charwidth to compute bytemask.
        * expr.c (expand_expr): Don't optimize constant array references
        initialized with wide string constants.

I advise to get a new GCC version and try again - if you still see
those failures, please try to debug them.  I don't see those failures
on my system which is similar to yours (except a newer gcc ;-).

Andreas
-- 
 Andreas Jaeger
  SuSE Labs aj@suse.de
   private aj@arthur.inka.de
    http://www.suse.de/~aj

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]