This is the mail archive of the libc-alpha@sourceware.cygnus.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.91 (first test release for 2.2)


On Sat, Jul 01, 2000 at 07:07:06PM -0700, Ulrich Drepper wrote:
> "H . J . Lu" <hjl@lucon.org> writes:
> 
> > According to strace, tst-locale.sh in localedata uses locale files
> > under /usr. I don't think it will work in many cases. May I ask why
> > those tests don't use the files from the glibc under build?
> 
> Of course they should not use.  If you look through the changes I made
> this week you'll find many changes to disable this kind of things.
> The only strange thing is why don't I see the problem?
> 
> Can you tell me which files are used?
> 

Is this enough? BTW, my LANG is set to en_US. BTW, does the order of
the tests in localedata matter? I am running "make check" with -j8 in
localedata on a 4wap SMP with 4GB RAM.


H.J.
----
# I18NPATH=. GCONV_PATH=/home/work/build/gnu/bin/glibc//iconvdata strace /home/work/build/gnu/bin/glibc/elf/ld.so --library-path /home/work/build/gnu/bin/glibc/ /home/work/build/gnu/bin/glibc/locale/localedef --quiet -c -f tests/test1.cm -i tests/test1.def /home/work/build/gnu/bin/glibc/localedata/test1
execve("/home/work/build/gnu/bin/glibc/elf/ld.so", ["/home/work/build/gnu/bin/glibc/elf/ld.so", "--library-path", "/home/work/build/gnu/bin/glibc/", "/home/work/build/gnu/bin/glibc/locale/localedef", "--quiet", "-c", "-f", "tests/test1.cm", "-i", "tests/test1.def", "/home/work/build/gnu/bin/glibc/localedata/test1"], [/* 29 vars */]) = 0
getuid()                                = 561
getgid()                                = 561
geteuid()                               = 561
getegid()                               = 561
brk(0)                                  = 0x80017f3c
brk(0x80018000)                         = 0x80018000
old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40000000
open("/home/work/build/gnu/bin/glibc/locale/localedef", O_RDONLY) = 3
fstat64(3, 0xbffff2fc)                  = -1 ENOSYS (Function not implemented)
fstat(3, {st_mode=S_IFREG|0755, st_size=604202, ...}) = 0
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\2\0\3\0\1\0\0\0p\225\4"..., 4096) = 4096
old_mmap(0x8048000, 221184, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 0) = 0x8048000
old_mmap(0x807e000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x35000) = 0x807e000
close(3)                                = 0
open("/etc/ld.so.preload", O_RDONLY)    = -1 ENOENT (No such file or directory)
open("/home/work/build/gnu/bin/glibc/i686/mmx/libc.so.6", O_RDONLY) = -1 ENOENT (No such file or directory)
stat("/home/work/build/gnu/bin/glibc/i686/mmx", 0xbffff29c) = -1 ENOENT (No such file or directory)
open("/home/work/build/gnu/bin/glibc/i686/libc.so.6", O_RDONLY) = -1 ENOENT (No such file or directory)
stat("/home/work/build/gnu/bin/glibc/i686", 0xbffff29c) = -1 ENOENT (No such file or directory)
open("/home/work/build/gnu/bin/glibc/mmx/libc.so.6", O_RDONLY) = -1 ENOENT (No such file or directory)
stat("/home/work/build/gnu/bin/glibc/mmx", 0xbffff29c) = -1 ENOENT (No such file or directory)
open("/home/work/build/gnu/bin/glibc/libc.so.6", O_RDONLY) = 3
fstat(3, {st_mode=S_IFREG|0755, st_size=4522717, ...}) = 0
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0`\270\1"..., 4096) = 4096
old_mmap(NULL, 1120104, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x40001000
mprotect(0x4010a000, 34664, PROT_NONE)  = 0
old_mmap(0x4010a000, 20480, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x108000) = 0x4010a000
old_mmap(0x4010f000, 14184, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x4010f000
close(3)                                = 0
getpid()                                = 25679
brk(0)                                  = 0x80018000
brk(0x80018048)                         = 0x80018048
brk(0x80019000)                         = 0x80019000
open("/usr/share/locale/locale.alias", O_RDONLY) = 3
fstat64(3, 0xbfffb450)                  = -1 ENOSYS (Function not implemented)
fstat(3, {st_mode=S_IFREG|0644, st_size=2316, ...}) = 0
old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40113000
read(3, "# Locale name alias data base.\n#"..., 4096) = 2316
read(3, "", 4096)                       = 0
close(3)                                = 0
munmap(0x40113000, 4096)                = 0
open("/usr/share/i18n/locale.alias", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib/locale/en_US/LC_MESSAGES", O_RDONLY) = 3
fstat(3, {st_mode=S_IFDIR|0755, st_size=1024, ...}) = 0
close(3)                                = 0
open("/usr/lib/locale/en_US/LC_MESSAGES/SYS_LC_MESSAGES", O_RDONLY) = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=44, ...}) = 0
old_mmap(NULL, 44, PROT_READ, MAP_PRIVATE, 3, 0) = 0x40113000
munmap(0x40113000, 44)                  = 0
close(3)                                = 0
open("/usr/share/i18n/en_US/LC_MESSAGES", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib/locale/en/LC_MESSAGES", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/share/i18n/en/LC_MESSAGES", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib/locale/en_US/LC_CTYPE", O_RDONLY) = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=59092, ...}) = 0
old_mmap(NULL, 59092, PROT_READ, MAP_PRIVATE, 3, 0) = 0x40113000
munmap(0x40113000, 59092)               = 0
close(3)                                = 0
open("/usr/share/i18n/en_US/LC_CTYPE", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib/locale/en/LC_CTYPE", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/share/i18n/en/LC_CTYPE", O_RDONLY) = -1 ENOENT (No such file or directory)
access("/home/work/build/gnu/bin/glibc/localedata/test1", W_OK) = 0
open("tests/test1.cm", O_RDONLY)        = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=2089, ...}) = 0
old_mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40113000
read(3, "<code_set_name> BIG5\n<comment_ch"..., 8192) = 2089
brk(0x8001a000)                         = 0x8001a000
brk(0x8001c000)                         = 0x8001c000
brk(0x8001e000)                         = 0x8001e000
brk(0x80020000)                         = 0x80020000
read(3, "", 8192)                       = 0
close(3)                                = 0
munmap(0x40113000, 8192)                = 0
open("tests/test1.def", O_RDONLY)       = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=93, ...}) = 0
old_mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40113000
read(3, "LC_CTYPE\n\nupper\t<A>\nlower   <a>\n"..., 8192) = 93
brk(0x80021000)                         = 0x80021000
brk(0x80022000)                         = 0x80022000
brk(0x80023000)                         = 0x80023000
brk(0x80025000)                         = 0x80025000
read(3, "", 8192)                       = 0
close(3)                                = 0
munmap(0x40113000, 8192)                = 0
brk(0x80026000)                         = 0x80026000
open("/home/work/build/gnu/bin/glibc/localedata/test1//LC_CTYPE", O_WRONLY|O_CREAT|O_TRUNC, 0666) = 3
writev(3, [{"\26\6\0 B\0\0\0", 8}, {"\20\1\0\0\20\4\0\0\20\n\0\0\20\20\0\0\20\24\0\0\20\30\0"..., 264}, {"\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 768}, {"\200\0\0\0\201\0\0\0\202\0\0\0\203\0\0\0\204\0\0\0\205"..., 1536}, {"\200\0\0\0\201\0\0\0\202\0\0\0\203\0\0\0\204\0\0\0\205"..., 1536}, {"\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 1024}, {"\0\0\0\0\1\0\0\0\2\0\0\0\3\0\0\0\4\0\0\0\5\0\0\0\6\0\0"..., 1024}, {"\0\1\0\0", 4}, {"\1\0\0\0", 4}, {"upper\0", 6}, {"lower\0", 6}, {"alpha\0", 6}, {"digit\0", 6}, {"xdigit\0", 7}, {"space\0", 6}, {"print\0", 6}, {"graph\0", 6}, {"blank\0", 6}, {"cntrl\0", 6}, {"punct\0", 6}, {"alnum\0", 6}, {"\0\0\0", 3}, {"toupper\0", 8}, {"tolower\0", 8}, {"\0\0\0\0", 4}, {"\377\377\377\377\377\377\377\377\377\377\377\377\377\377"..., 256}, {"\2\0\0\0", 4}, {"BIG5\0\0\0\0", 8}, {"\0\0\0\0\1\0\0\0\2\0\0\0\3\0\0\0\4\0\0\0\5\0\0\0\6\0\0"..., 1024}, {"\0\0\0\0\1\0\0\0\2\0\0\0\3\0\0\0\4\0\0\0\5\0\0\0\6\0\0"..., 1024}, {"\1\0\0\0", 4}, {"0\0", 2}, {"1\0", 2}, {"2\0", 2}, {"3\0", 2}, {"4\0", 2}, {"5\0", 2}, {"6\0", 2}, {"7\0", 2}, {"8\0", 2}, {"9\0", 2}, {"", 0}, {"\0\0\0\0", 4}, {"", 0}, {"", 0}, {"", 0}, {"", 0}, {"", 0}, {"", 0}, {"", 0}, {"", 0}, {"", 0}, {"", 0}, {"0\0", 2}, {"1\0", 2}, {"2\0", 2}, {"3\0", 2}, {"4\0", 2}, {"5\0", 2}, {"6\0", 2}, {"7\0", 2}, {"8\0", 2}, {"9\0", 2}, {"", 0}, {"0\0\0\0", 4}, {"1\0\0\0", 4}, {"2\0\0\0", 4}, {"3\0\0\0", 4}, {"4\0\0\0", 4}, {"5\0\0\0", 4}, {"6\0\0\0", 4}, {"7\0\0\0", 4}, {"8\0\0\0", 4}, {"9\0\0\0", 4}, {"\0\0\0\0", 4}, {"\0\0\0\0", 4}, {"", 0}, {"", 0}, {NULL, 0}, {"", 0}, {"\0\0\0\0", 4}, {"", 0}, {"\0\0\0\0", 4}, {"", 0}, {ptrace: umoven: Input/output error
0x1, 0}, {"\10", 2147610860}], 86) = -1 EINVAL (Invalid argument)
--- SIGSEGV (Segmentation fault) ---
+++ killed by SIGSEGV +++

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