Skip to content

Instantly share code, notes, and snippets.

@master-q
Last active December 14, 2015 13:08
Show Gist options
  • Save master-q/5090794 to your computer and use it in GitHub Desktop.
Save master-q/5090794 to your computer and use it in GitHub Desktop.
regress test failed on Ajhc.
$ git log|head -5
commit a6f971f39d89b2d6ebf44bfb6f9b0d1591dd6161
Author: Kiwamu Okabe <[email protected]>
Date: Wed Apr 3 05:12:41 2013 +0900
Bump up version 0.8.0.4.
$ travis logs | grep "^ Category" -A 10000 | grep -v " pass "
Category Name Compile Run Out CTime RTime
-------------------------------------------------------------------------
typecheck pass.ghc.T3409 256 - - 0s -
typecheck pass.ghc.tc120 256 - - 0s -
typecheck pass.ghc.tc142 256 - - 0s -
typecheck pass.ghc.tc176 256 - - 0s -
typecheck fail.ghc.tcfail012 BAD - - 0s -
typecheck fail.ghc.tcfail027 BAD - - 0s -
typecheck fail.ghc.tcfail032 BAD - - 0s -
typecheck fail.ghc.tcfail038 BAD - - 0s -
typecheck fail.ghc.tcfail044 BAD - - 0s -
typecheck fail.ghc.tcfail071 BAD - - 0s -
typecheck fail.ghc.tcfail085 BAD - - 0s -
typecheck fail.ghc.tcfail099 BAD - - 0s -
typecheck fail.ghc.tcfail107 BAD - - 0s -
typecheck fail.ghc.tcfail116 BAD - - 0s -
typecheck fail.ghc.tcfail117 BAD - - 0s -
typecheck fail.ghc.tcfail120 BAD - - 0s -
typecheck fail.ghc.tcfail129 BAD - - 0s -
typecheck fail.ghc.tcfail131 BAD - - 0s -
typecheck fail.ghc.tcfail139 BAD - - 0s -
typecheck fail.ghc.tcfail144 BAD - - 0s -
typecheck fail.ghc.tcfail149 BAD - - 0s -
typecheck fail.ghc.tcfail150 BAD - - 1s -
typecheck fail.ghc.tcfail152 BAD - - 0s -
typecheck fail.ghc.tcfail156 BAD - - 0s -
typecheck fail.ghc.tcfail159 BAD - - 0s -
typecheck fail.ghc.tcfail166 BAD - - 0s -
typecheck fail.ghc.tcfail181 BAD - - 0s -
typecheck fail.ghc.tcfail183 BAD - - 0s -
typecheck fail.ghc.tcfail184 BAD - - 1s -
typecheck fail.ghc.tcfail197 BAD - - 0s -
typecheck fail.ghc.tcfail198 BAD - - 0s -
typecheck fail.ghc.tcfail204 BAD - - 0s -
rts HelloWorld_32 256 - - 1s -
rts HelloWorld_boehm 256 - - 2s -
rts HelloWorld_fullint 256 - - 1s -
rts HelloWorld_nofullint 256 - - 1s -
large RayT 256 - - 55s -
mv: cannot stat `regress/results/latest': No such file or directory
The command "make regress" exited with 0.
travis_fold:start:after_script$ date
Tue Apr 2 20:40:57 UTC 2013
travis_fold:end:after_script
Done. Your build exited with 0.
@master-q
Copy link
Author

master-q commented Apr 3, 2013

"large RayT" test failed in compiling.

$ LC_ALL=C ./ajhc regress/tests/7_large/RayT.hs -L- -L. -pjhc -fdebug -flint -o regress/results/20130403202301/large.RayT
--snip--
Writing "/tmp/jhc_20345/main_code.c"
Running: gcc /tmp/jhc_20345/rts/profile.c /tmp/jhc_20345/rts/rts_support.c /tmp/jhc_20345/rts/gc_none.c /tmp/jhc_20345/rts/jhc_rts.c /tmp/jhc_20345/lib/lib_cbits.c /tmp/jhc_20345/rts/gc_jgc.c /tmp/jhc_20345/rts/stableptr.c -I/tmp/jhc_20345/cbits -I/tmp/jhc_20345 /tmp/jhc_20345/main_code.c -o regress/results/20130403202301/large.RayT '-std=gnu99' -D_GNU_SOURCE '-falign-functions=4' -ffast-math -Wextra -Wall -Wno-unused-parameter -fno-strict-aliasing -g '-D_JHC_GC=_JHC_GC_JGC'
/tmp/jhc_20345/main_code.c: In function 'fW$__fForeign_C_String_peekCAString':
/tmp/jhc_20345/main_code.c:6536:28: warning: unused variable 'v1895' [-Wunused-variable]
/tmp/jhc_20345/main_code.c: In function 'ftheMain':
/tmp/jhc_20345/main_code.c:7843:49: warning: statement with no effect [-Wunused-value]
/tmp/cc0dPR86.o: In function `bRftheMain$d21':
/tmp/jhc_20345/main_code.c:2945: undefined reference to `__sqrt_finite'
/tmp/jhc_20345/main_code.c:2996: undefined reference to `__sqrt_finite'
/tmp/cc0dPR86.o: In function `fMain_delta':
/tmp/jhc_20345/main_code.c:6243: undefined reference to `__sqrt_finite'
/tmp/cc0dPR86.o: In function `fW$__fMain_intersect':
/tmp/jhc_20345/main_code.c:7075: undefined reference to `__sqrt_finite'
/tmp/jhc_20345/main_code.c:7201: undefined reference to `__sqrt_finite'
/tmp/cc0dPR86.o:/tmp/jhc_20345/main_code.c:7920: more undefined references to `__sqrt_finite' follow
collect2: error: ld returned 1 exit status
Exiting abnormally. Work directory is '/tmp/jhc_20345'
ajhc: user error (C code did not compile.)

But it pass without -fdebug option.

$ LC_ALL=C ./ajhc regress/tests/7_large/RayT.hs -L- -L. -pjhc -flint -o regress/results/20130403202301/large.RayT
---snip---
Writing "/tmp/jhc_20509/main_code.c"
Running: gcc /tmp/jhc_20509/rts/profile.c /tmp/jhc_20509/rts/rts_support.c /tmp/jhc_20509/rts/gc_none.c /tmp/jhc_20509/rts/jhc_rts.c /tmp/jhc_20509/lib/lib_cbits.c /tmp/jhc_20509/rts/gc_jgc.c /tmp/jhc_20509/rts/stableptr.c -I/tmp/jhc_20509/cbits -I/tmp/jhc_20509 /tmp/jhc_20509/main_code.c -o regress/results/20130403202301/large.RayT '-std=gnu99' -D_GNU_SOURCE '-falign-functions=4' -ffast-math -Wextra -Wall -Wno-unused-parameter -fno-strict-aliasing -DNDEBUG -O3 '-D_JHC_GC=_JHC_GC_JGC'
/tmp/jhc_20509/main_code.c: In function 'fW$__fForeign_C_String_peekCAString':
/tmp/jhc_20509/main_code.c:6536:28: warning: unused variable 'v2028' [-Wunused-variable]
/tmp/jhc_20509/main_code.c: In function 'ftheMain':
/tmp/jhc_20509/main_code.c:7843:49: warning: statement with no effect [-Wunused-value]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment