Created
February 24, 2015 07:52
-
-
Save nuta/5d3c08bcce7702418314 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(seiya@seiya-cybozu-thinkpad): [master]~/libc | |
% make test | |
LD_R libc.o | |
[FAIL] functional/argv.test | |
Output: | |
GDB: | |
Reading symbols from functional/argv.test...done. | |
functional/argv.c:11: argc == 1 failed: argc should be 1 | |
Program received signal SIGSEGV, Segmentation fault. | |
0x000000000040015a in main () | |
#0 0x000000000040015a in main () | |
[FAIL] functional/basename.test (called ``__error'') | |
[FAIL] functional/clock_gettime.test (called ``clock_gettime'') | |
[FAIL] functional/dirname.test (called ``__error'') | |
[FAIL] functional/dlopen.test | |
GDB: | |
Reading symbols from functional/dlopen.test...done. | |
Program received signal SIGSEGV, Segmentation fault. | |
0x000000000040013f in main () | |
#0 0x000000000040013f in main () | |
[FAIL] functional/fnmatch.test | |
Output: | |
GDB: | |
Reading symbols from functional/fnmatch.test...done. | |
functional/fnmatch.c:159: fnmatch("[[?*\]", "\", 0) failed, got 1 want 0 | |
functional/fnmatch.c:159: fnmatch("[]?*\]", "]", 0) failed, got 1 want 0 | |
functional/fnmatch.c:159: fnmatch("*[[:alpha:]]/*[[:alnum:]]", "a/b", FNM_PATHNAME) failed, got 1 want 0 | |
functional/fnmatch.c:159: fnmatch("\", "\", 0) failed, got 1 want 0 | |
functional/fnmatch.c:159: fnmatch("\", "", 0) failed, got 0 want 1 | |
Program received signal SIGSEGV, Segmentation fault. | |
fnmatch1 (pattern=<optimized out>, string=<optimized out>, | |
stringstart=<optimized out>, flags=<optimized out>, patmbs=..., | |
strmbs=...) at gen/fnmatch.c:205 | |
205 (towlower(pc) == towlower(sc))) | |
#0 fnmatch1 (pattern=<optimized out>, string=<optimized out>, | |
stringstart=<optimized out>, flags=<optimized out>, patmbs=..., | |
strmbs=...) at gen/fnmatch.c:205 | |
#1 0x0000000000464c1d in fnmatch ( | |
pattern=0x61 <error: Cannot access memory at address 0x61>, | |
string=0x4b0403 "A", flags=-160) at gen/fnmatch.c:85 | |
#2 0x000000000040026f in main () | |
[FAIL] functional/mbc.test (called ``__error'') | |
[FAIL] functional/memstream.test (called ``__error'') | |
[FAIL] functional/popen.test (called ``__error'') | |
[PASS] functional/qsort.test | |
[PASS] functional/random.test | |
[FAIL] functional/search_hsearch.test (called ``__error'') | |
[FAIL] functional/search_insque.test (called ``__error'') | |
[PASS] functional/search_lsearch.test | |
[FAIL] functional/search_tsearch.test (called ``__error'') | |
[FAIL] functional/setjmp.test (called ``_sigprocmask'') | |
[FAIL] functional/snprintf.test | |
Output: | |
[FAIL] functional/sscanf.test | |
GDB: | |
Reading symbols from functional/sscanf.test...done. | |
Program received signal SIGSEGV, Segmentation fault. | |
0x000000000043d80c in __getCurrentRuneLocale () | |
at include/runetype.h:96 | |
96 if (_ThreadRuneLocale) | |
#0 0x000000000043d80c in __getCurrentRuneLocale () | |
at include/runetype.h:96 | |
#1 __sbmaskrune (_c=37, _f=16384) at include/_ctype.h:107 | |
#2 __sbistype (_c=37, _f=16384) at include/_ctype.h:119 | |
#3 __svfscanf (fp=0x7fffffffdb40, | |
locale=0x6da2b8 <__xlocale_global_locale>, fmt0=<optimized out>, | |
ap=0x7fffffffdd50) at stdio/vfscanf.c:491 | |
#4 0x0000000000444f1c in vsscanf_l (str=0x4b1106 "hello, world | |
", | |
locale=0x6da2b8 <__xlocale_global_locale>, fmt=0x4b1100 "%s %s", | |
ap=0x7fffffffdd50) at stdio/vsscanf.c:71 | |
#5 vsscanf (str=0x4b1106 "hello, world | |
", fmt=0x4b1100 "%s %s", | |
ap=0x7fffffffdd50) at stdio/vsscanf.c:77 | |
#6 0x0000000000438d7f in sscanf (str=0x7fffffffdb40 "K", | |
fmt=0x6da2b8 <__xlocale_global_locale> "") at stdio/sscanf.c:57 | |
#7 0x0000000000400150 in main () | |
[FAIL] functional/sscanf_long.test (called ``__error'') | |
[PASS] functional/string.test | |
[PASS] functional/string_memcpy.test | |
[PASS] functional/string_memmem.test | |
[PASS] functional/string_memset.test | |
[PASS] functional/string_strchr.test | |
[PASS] functional/string_strcspn.test | |
[PASS] functional/string_strstr.test | |
[FAIL] functional/strtod.test (called ``__error'') | |
[FAIL] functional/strtod_long.test (called ``__error'') | |
[PASS] functional/strtod_simple.test | |
[FAIL] functional/strtof.test (called ``__error'') | |
[FAIL] functional/strtol.test (called ``__error'') | |
[FAIL] functional/strtold.test (called ``__error'') | |
^CMakefile:7: recipe for target 'test' failed | |
make[1]: *** [test] Interrupt | |
Makefile:45: recipe for target 'test' failed | |
make: *** [test] Interrupt | |
[setting tty state failed in terminal_inferior: Input/output error] | |
[tcsetpgrp failed in terminal_inferior: Inappropriate ioctl for device] | |
(seiya@seiya-cybozu-thinkpad): <130> [master]~/libc | |
% close failed in file object destructor: | |
sys.excepthook is missing | |
lost sys.stderr | |
^[[A^C^[[A^A^K^C | |
(seiya@seiya-cybozu-thinkpad): <130> [master]~/libc | |
% | |
(seiya@seiya-cybozu-thinkpad): <130> [master]~/libc | |
% make test | |
LD_R libc.o | |
[FAIL] functional/argv.test | |
Output: | |
GDB: | |
Reading symbols from functional/argv.test...done. | |
functional/argv.c:11: argc == 1 failed: argc should be 1 | |
Program received signal SIGSEGV, Segmentation fault. | |
0x000000000040015a in main () | |
#0 0x000000000040015a in main () | |
[FAIL] functional/basename.test (called ``__error'') | |
[FAIL] functional/clock_gettime.test (called ``clock_gettime'') | |
[FAIL] functional/dirname.test (called ``__error'') | |
[FAIL] functional/dlopen.test | |
GDB: | |
Reading symbols from functional/dlopen.test...done. | |
Program received signal SIGSEGV, Segmentation fault. | |
0x000000000040013f in main () | |
#0 0x000000000040013f in main () | |
[FAIL] functional/fnmatch.test | |
Output: | |
GDB: | |
Reading symbols from functional/fnmatch.test...done. | |
functional/fnmatch.c:159: fnmatch("[[?*\]", "\", 0) failed, got 1 want 0 | |
functional/fnmatch.c:159: fnmatch("[]?*\]", "]", 0) failed, got 1 want 0 | |
functional/fnmatch.c:159: fnmatch("*[[:alpha:]]/*[[:alnum:]]", "a/b", FNM_PATHNAME) failed, got 1 want 0 | |
functional/fnmatch.c:159: fnmatch("\", "\", 0) failed, got 1 want 0 | |
functional/fnmatch.c:159: fnmatch("\", "", 0) failed, got 0 want 1 | |
Program received signal SIGSEGV, Segmentation fault. | |
fnmatch1 (pattern=<optimized out>, string=<optimized out>, | |
stringstart=<optimized out>, flags=<optimized out>, patmbs=..., | |
strmbs=...) at gen/fnmatch.c:205 | |
205 (towlower(pc) == towlower(sc))) | |
#0 fnmatch1 (pattern=<optimized out>, string=<optimized out>, | |
stringstart=<optimized out>, flags=<optimized out>, patmbs=..., | |
strmbs=...) at gen/fnmatch.c:205 | |
#1 0x0000000000464c1d in fnmatch ( | |
pattern=0x61 <error: Cannot access memory at address 0x61>, | |
string=0x4b0403 "A", flags=-160) at gen/fnmatch.c:85 | |
#2 0x000000000040026f in main () | |
[FAIL] functional/mbc.test (called ``__error'') | |
[FAIL] functional/memstream.test (called ``__error'') | |
[FAIL] functional/popen.test (called ``__error'') | |
[PASS] functional/qsort.test | |
[PASS] functional/random.test | |
[FAIL] functional/search_hsearch.test (called ``__error'') | |
[FAIL] functional/search_insque.test (called ``__error'') | |
[PASS] functional/search_lsearch.test | |
[FAIL] functional/search_tsearch.test (called ``__error'') | |
[FAIL] functional/setjmp.test (called ``_sigprocmask'') | |
[FAIL] functional/snprintf.test | |
Output: | |
[FAIL] functional/sscanf.test | |
GDB: | |
Reading symbols from functional/sscanf.test...done. | |
Program received signal SIGSEGV, Segmentation fault. | |
0x000000000043d80c in __getCurrentRuneLocale () | |
at include/runetype.h:96 | |
96 if (_ThreadRuneLocale) | |
#0 0x000000000043d80c in __getCurrentRuneLocale () | |
at include/runetype.h:96 | |
#1 __sbmaskrune (_c=37, _f=16384) at include/_ctype.h:107 | |
#2 __sbistype (_c=37, _f=16384) at include/_ctype.h:119 | |
#3 __svfscanf (fp=0x7fffffffdb40, | |
locale=0x6da2b8 <__xlocale_global_locale>, fmt0=<optimized out>, | |
ap=0x7fffffffdd50) at stdio/vfscanf.c:491 | |
#4 0x0000000000444f1c in vsscanf_l (str=0x4b1106 "hello, world | |
", | |
locale=0x6da2b8 <__xlocale_global_locale>, fmt=0x4b1100 "%s %s", | |
ap=0x7fffffffdd50) at stdio/vsscanf.c:71 | |
#5 vsscanf (str=0x4b1106 "hello, world | |
", fmt=0x4b1100 "%s %s", | |
ap=0x7fffffffdd50) at stdio/vsscanf.c:77 | |
#6 0x0000000000438d7f in sscanf (str=0x7fffffffdb40 "K", | |
fmt=0x6da2b8 <__xlocale_global_locale> "") at stdio/sscanf.c:57 | |
#7 0x0000000000400150 in main () | |
[FAIL] functional/sscanf_long.test (called ``__error'') | |
[PASS] functional/string.test | |
[PASS] functional/string_memcpy.test | |
[PASS] functional/string_memmem.test | |
[PASS] functional/string_memset.test | |
[PASS] functional/string_strchr.test | |
[PASS] functional/string_strcspn.test | |
[PASS] functional/string_strstr.test | |
[FAIL] functional/strtod.test (called ``__error'') | |
[FAIL] functional/strtod_long.test (called ``__error'') | |
[PASS] functional/strtod_simple.test | |
[FAIL] functional/strtof.test (called ``__error'') | |
[FAIL] functional/strtol.test (called ``__error'') | |
[FAIL] functional/strtold.test (called ``__error'') | |
[FAIL] functional/swprintf.test (called ``__error'') | |
[PASS] functional/tgmath.test | |
[FAIL] functional/time.test | |
GDB: | |
Reading symbols from functional/time.test...done. | |
Program received signal SIGSEGV, Segmentation fault. | |
__build_env () at stdlib/getenv.c:336 | |
336 if (environ == NULL || environ[0] == NULL) | |
#0 __build_env () at stdlib/getenv.c:336 | |
#1 0x000000000041298f in putenv (string=0x4b090b "TZ=GMT") | |
at stdlib/getenv.c:620 | |
#2 0x0000000000400341 in main () | |
[PASS] functional/udiv.test | |
[FAIL] functional/ungetc.test (called ``__error'') | |
[FAIL] functional/vfork.test | |
GDB: | |
Reading symbols from functional/vfork.test...done. | |
Program received signal SIGSEGV, Segmentation fault. | |
0x0000000000479049 in __waitpid (pid=-22, istat=0x7fffffffde20, | |
options=0) at gen/waitpid.c:49 | |
49 return (((pid_t (*)(pid_t, int *, int, struct rusage *)) | |
#0 0x0000000000479049 in __waitpid (pid=-22, istat=0x7fffffffde20, | |
options=0) at gen/waitpid.c:49 | |
#1 0x00000000004004cc in w () | |
#2 0x00000000004001f3 in test_exit () | |
#3 0x0000000000400139 in main () | |
[PASS] functional/wcsstr.test | |
[FAIL] functional/wcstol.test (called ``__error'') | |
[FAIL] math/acos.test (called ``_fstat'') | |
[FAIL] math/acosf.test (called ``_fstat'') | |
[FAIL] math/acosh.test (called ``_fstat'') | |
[FAIL] math/acoshf.test (called ``_fstat'') | |
[PASS] math/acoshl.test | |
[PASS] math/acosl.test | |
[FAIL] math/asin.test (called ``_fstat'') | |
[FAIL] math/asinf.test (called ``_fstat'') | |
[FAIL] math/asinh.test (called ``_fstat'') | |
[FAIL] math/asinhf.test (called ``_fstat'') | |
[PASS] math/asinhl.test | |
[PASS] math/asinl.test | |
[FAIL] math/atan2.test (called ``_fstat'') | |
[FAIL] math/atan2f.test (called ``_fstat'') | |
[FAIL] math/atan2l.test (called ``_fstat'') | |
[FAIL] math/atan.test (called ``_fstat'') | |
[FAIL] math/atanf.test (called ``_fstat'') | |
[FAIL] math/atanh.test (called ``_fstat'') | |
[FAIL] math/atanhf.test (called ``_fstat'') | |
[FAIL] math/atanhl.test (called ``_fstat'') | |
[PASS] math/atanl.test | |
[FAIL] math/cbrt.test (called ``_fstat'') | |
[FAIL] math/cbrtf.test (called ``_fstat'') | |
[PASS] math/cbrtl.test | |
[PASS] math/ceil.test | |
[PASS] math/ceilf.test | |
[PASS] math/ceill.test | |
[PASS] math/copysign.test | |
[PASS] math/copysignf.test | |
[PASS] math/copysignl.test | |
[FAIL] math/cos.test (called ``_fstat'') | |
[FAIL] math/cosf.test (called ``_fstat'') | |
[FAIL] math/cosh.test (called ``_fstat'') | |
[FAIL] math/coshf.test (called ``_fstat'') | |
[PASS] math/coshl.test | |
[PASS] math/cosl.test | |
[FAIL] math/erf.test (called ``_fstat'') | |
[FAIL] math/erfc.test (called ``_fstat'') | |
[FAIL] math/erfcf.test (called ``_fstat'') | |
[PASS] math/erfcl.test | |
[FAIL] math/erff.test (called ``_fstat'') | |
[PASS] math/erfl.test | |
[FAIL] math/exp2.test (called ``_fstat'') | |
[FAIL] math/exp2f.test (called ``_fstat'') | |
[FAIL] math/exp2l.test (called ``_fstat'') | |
[FAIL] math/exp.test (called ``_fstat'') | |
[FAIL] math/expf.test (called ``_fstat'') | |
[FAIL] math/expl.test (called ``_fstat'') | |
[FAIL] math/expm1.test (called ``_fstat'') | |
[FAIL] math/expm1f.test (called ``_fstat'') | |
[FAIL] math/expm1l.test (called ``_fstat'') | |
[PASS] math/fabs.test | |
[PASS] math/fabsf.test | |
[PASS] math/fabsl.test | |
[FAIL] math/fdim.test (called ``_fstat'') | |
[FAIL] math/fdimf.test (called ``_fstat'') | |
[PASS] math/fdiml.test | |
[FAIL] math/fenv.test (called ``_fstat'') | |
[PASS] math/floor.test | |
[PASS] math/floorf.test | |
[PASS] math/floorl.test | |
[FAIL] math/fma.test (called ``_fstat'') | |
[FAIL] math/fmaf.test (called ``_fstat'') | |
[FAIL] math/fmal.test (called ``_fstat'') | |
[FAIL] math/fmax.test (called ``_fstat'') | |
[FAIL] math/fmaxf.test (called ``_fstat'') | |
[PASS] math/fmaxl.test | |
[FAIL] math/fmin.test (called ``_fstat'') | |
[FAIL] math/fminf.test (called ``_fstat'') | |
[PASS] math/fminl.test | |
[PASS] math/fmod.test | |
[PASS] math/fmodf.test | |
[PASS] math/fmodl.test | |
[FAIL] math/fpclassify.test (called ``_fstat'') | |
[PASS] math/frexp.test | |
[PASS] math/frexpf.test | |
[PASS] math/frexpl.test | |
[FAIL] math/hypot.test (called ``_fstat'') | |
[FAIL] math/hypotf.test (called ``_fstat'') | |
[PASS] math/hypotl.test | |
[FAIL] math/ilogb.test (called ``_fstat'') | |
[FAIL] math/ilogbf.test (called ``_fstat'') | |
[FAIL] math/ilogbl.test (called ``_fstat'') | |
[PASS] math/isless.test | |
[FAIL] math/j0.test (called ``_fstat'') | |
[FAIL] math/j1.test (called ``_fstat'') | |
[FAIL] math/jn.test (called ``_fstat'') | |
[PASS] math/ldexp.test | |
[PASS] math/ldexpf.test | |
[PASS] math/ldexpl.test | |
[FAIL] math/lgamma.test (called ``_fstat'') | |
[FAIL] math/lgammaf.test (called ``_fstat'') | |
[FAIL] math/lgammaf_r.test (called ``_fstat'') | |
[PASS] math/lgammal.test | |
[PASS] math/lgammal_r.test | |
[FAIL] math/lgamma_r.test (called ``_fstat'') | |
[PASS] math/llrint.test | |
[PASS] math/llrintf.test | |
[PASS] math/llrintl.test | |
[PASS] math/llround.test | |
[PASS] math/llroundf.test | |
[PASS] math/llroundl.test | |
[FAIL] math/log10.test (called ``_fstat'') | |
[FAIL] math/log10f.test (called ``_fstat'') | |
[PASS] math/log10l.test | |
[FAIL] math/log1p.test (called ``_fstat'') | |
[FAIL] math/log1pf.test (called ``_fstat'') | |
[FAIL] math/log1pl.test (called ``_fstat'') | |
[FAIL] math/log2.test (called ``_fstat'') | |
[FAIL] math/log2f.test (called ``_fstat'') | |
[FAIL] math/log2l.test (called ``_fstat'') | |
[PASS] math/logb.test | |
[PASS] math/logbf.test | |
[PASS] math/logbl.test | |
[FAIL] math/log.test (called ``_fstat'') | |
[FAIL] math/logf.test (called ``_fstat'') | |
[FAIL] math/logl.test (called ``_fstat'') | |
[PASS] math/lrint.test | |
[PASS] math/lrintf.test | |
[PASS] math/lrintl.test | |
[PASS] math/lround.test | |
[PASS] math/lroundf.test | |
[PASS] math/lroundl.test | |
[PASS] math/modf.test | |
[PASS] math/modff.test | |
[PASS] math/modfl.test | |
[FAIL] math/nearbyint.test (called ``_fstat'') | |
[FAIL] math/nearbyintf.test (called ``_fstat'') | |
[PASS] math/nearbyintl.test | |
[PASS] math/nextafter.test | |
[PASS] math/nextafterf.test | |
[FAIL] math/nextafterl.test (called ``_fstat'') | |
[FAIL] math/nexttoward.test (called ``_fstat'') | |
[PASS] math/nexttowardf.test | |
[FAIL] math/nexttowardl.test (called ``_fstat'') | |
[FAIL] math/pow.test (called ``_fstat'') | |
[FAIL] math/powf.test (called ``_fstat'') | |
[FAIL] math/powl.test (called ``_fstat'') | |
[PASS] math/remainder.test | |
[PASS] math/remainderf.test | |
[PASS] math/remainderl.test | |
[FAIL] math/remquo.test (called ``_fstat'') | |
[FAIL] math/remquof.test (called ``_fstat'') | |
[PASS] math/remquol.test | |
[PASS] math/rint.test | |
[PASS] math/rintf.test | |
[PASS] math/rintl.test | |
[PASS] math/round.test | |
[FAIL] math/roundf.test (called ``_fstat'') | |
[PASS] math/roundl.test | |
[PASS] math/scalbln.test | |
[PASS] math/scalblnf.test | |
[PASS] math/scalblnl.test | |
[PASS] math/scalbn.test | |
[PASS] math/scalbnf.test | |
[PASS] math/scalbnl.test | |
[FAIL] math/sin.test (called ``_fstat'') | |
[FAIL] math/sincos.test (called ``_fstat'') | |
[FAIL] math/sincosf.test (called ``_fstat'') | |
[FAIL] math/sincosl.test (called ``_fstat'') | |
[FAIL] math/sinf.test (called ``_fstat'') | |
[FAIL] math/sinh.test (called ``_fstat'') | |
[FAIL] math/sinhf.test (called ``_fstat'') | |
[PASS] math/sinhl.test | |
[PASS] math/sinl.test | |
[PASS] math/sqrt.test | |
[PASS] math/sqrtf.test | |
[PASS] math/sqrtl.test | |
[FAIL] math/tan.test (called ``_fstat'') | |
[FAIL] math/tanf.test (called ``_fstat'') | |
[FAIL] math/tanh.test (called ``_fstat'') | |
[FAIL] math/tanhf.test (called ``_fstat'') | |
[PASS] math/tanhl.test | |
[PASS] math/tanl.test | |
[FAIL] math/tgammaf.test (called ``_fstat'') | |
[PASS] math/tgammal.test | |
[PASS] math/trunc.test | |
[PASS] math/truncf.test | |
[PASS] math/truncl.test | |
[FAIL] math/y0.test (called ``_fstat'') | |
[FAIL] math/y1.test (called ``_fstat'') | |
[FAIL] math/yn.test (called ``_fstat'') | |
total: 222, pass: 101 (45%), fail: 121 (54%) | |
Makefile:7: recipe for target 'test' failed | |
make[1]: *** [test] Error 222 | |
Makefile:45: recipe for target 'test' failed | |
make: *** [test] Error 2 | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment