1. C calling bug in tip
- Posted by SDPringle Nov 03, 2015
- 1241 views
The current tip has a serious bug, or so I thought. I built the binaries of the tip myself and I downloaded the eubins:
I put the binaries I built in build-16462e686646 and the one from eubins in server-build-16462e686646. Observe the output:
$ (cd ../tests; eutest -eui ../source/build-16462e686646/eui -log t_callc.e && eutest -process-log -html > ../source/build-16462e686646/t_callc.html) interpreting t_callc.e: failed: return type C_ULONGLONG makes unsigned value, expected: 1.84467440737096e+19 but got: 7.35055275861475e+17 111 tests run, 110 passed, 1 failed, 99% success FAILURE: t_callc.e program died with status 1 Test results summary: FAIL: t_callc.e Files (run: 1) (failed: 1) (0% success) $ sh configure --build ./server-build-16462e686646/ Writing configuration to ./config.gnu... Getting version string... VERSION=4.1.0 Writing Makefile... Writing eu.cfg to /home/shawn/development/modified/euphoria-4.1/source/server-build-16462e686646/eu.cfg... shawn@Exomate-X352-de-Mirtha ~/development/modified/euphoria-4.1/source $ (cd ../tests; eutest -eui ../source/server-build-16462e686646/eui -log t_callc.e && eutest -process-log -html > ../source/server-build-16462e686646/t_callc.html) interpreting t_callc.e: /home/shawn/development/modified/euphoria-4.1/include/std/dll.e:554 in function call_back() Internal error: CallBack routine id patch failed: missing magic (1). ... called from /home/shawn/development/modified/euphoria-4.1/tests/t_callc.e:82 --> See ex.err failed: unittesting crashed, expected: TRUE but got: FALSE 1 tests run, 0 passed, 1 failed, 0% success FAILURE: t_callc.e EUPHORIA error with status 1 Test results summary: FAIL: t_callc.e Files (run: 1) (failed: 1) (0% success) $