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] |
Other format: | [Raw text] |
Hi folks, I have managed to build and test current glibc CVS using latest HJ's binutils, and gcc-3.1 from CVS. It looks mostly fine, but there are a few issues. The setup: $ ld -V GNU ld version 2.12.90.0.7 20020423 Supported emulations: elf_i386 i386linux $ gcc -v Reading specs from /usr/lib/gcc-lib/athlon-redhat-linux/3.1/specs Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --enable-shared --enable-threads=posix --disable-checking --host=athlon-redhat-linux --with-system-zlib Thread model: posix gcc version 3.1 20020424 (prerelease) First thing is that "make localedata/install-locales" must be run as root, even if the rest is built and installed as a normal user. The reason seems to be that the install process attempts to create files in /usr/lib/locale (some cache things), and ignores the destination directory. Second thing is that even when run as root, "make localedata/install-locales" does not install any locales. According to what I see in the log, the locale is built, but nothing gets installed (neither in the specified install dir, nor in /usr/lib/locale). There are the 3 failures in make check: make[2]: *** [/usr/src/redhat/BUILD/libc/build-athlon-linux/math/test-float.out] Error 1 make[2]: *** [/usr/src/redhat/BUILD/libc/build-athlon-linux/math/test-ifloat.out] Error 1 make[1]: *** [math/tests] Error 2 make[2]: *** [/usr/src/redhat/BUILD/libc/build-athlon-linux/libio/bug-ungetwc2.out] Error 1 make[1]: *** [libio/tests] Error 2 make: *** [check] Error 2 I attach the content of the files below. Finally, there is a separate issue (probably in GCC) that shows up while building gcc-3.1 using an installed version of the new glibc. The libstdc++ attempts to use some new features of the new glibc library. Here is an exerpt from one of the files (messages_members.h): #if __GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ > 2) __c_locale __old = __uselocale(_M_c_locale_messages); char* __msg = gettext(_M_convert_to_char(__dfault)); __uselocale(__old); return _M_convert_from_char(__msg); #else const char* __old = setlocale(LC_ALL, _M_name_messages); char* __msg = gettext(_M_convert_to_char(__dfault)); setlocale(LC_ALL, __old); return _M_convert_from_char(__msg); #endif Are they wrong (and should be notified), or is a change to glibc in the works ? Kind regards, Christian
Attachment:
test-ifloat.out
Description: test-ifloat.out
Attachment:
test-float.out
Description: test-float.out
Attachment:
bug-ungetwc2.out
Description: bug-ungetwc2.out
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |