egroj97 Posted March 18, 2019 Report Posted March 18, 2019 Hi, I'm tryin to install SystemC 2.3.3. I'm executing: make check after: make In Cywin. But I get the following: egroj97@DESKTOP-N99G0TH ~/systemc-2.3.3/objdir $ make check Making check in docs make[1]: Entering directory '/home/egroj97/systemc-2.3.3/objdir/docs' make[1]: Nothing to be done for 'check'. make[1]: Leaving directory '/home/egroj97/systemc-2.3.3/objdir/docs' Making check in src make[1]: Entering directory '/home/egroj97/systemc-2.3.3/objdir/src' Making check in sysc make[2]: Entering directory '/home/egroj97/systemc-2.3.3/objdir/src/sysc' Making check in packages/boost make[3]: Entering directory '/home/egroj97/systemc-2.3.3/objdir/src/sysc/packages/boost' make[3]: Nothing to be done for 'check'. make[3]: Leaving directory '/home/egroj97/systemc-2.3.3/objdir/src/sysc/packages/boost' Making check in packages/qt make[3]: Entering directory '/home/egroj97/systemc-2.3.3/objdir/src/sysc/packages/qt' make check-am make[4]: Entering directory '/home/egroj97/systemc-2.3.3/objdir/src/sysc/packages/qt' make[4]: Nothing to be done for 'check-am'. make[4]: Leaving directory '/home/egroj97/systemc-2.3.3/objdir/src/sysc/packages/qt' make[3]: Leaving directory '/home/egroj97/systemc-2.3.3/objdir/src/sysc/packages/qt' make[3]: Entering directory '/home/egroj97/systemc-2.3.3/objdir/src/sysc' make[3]: Nothing to be done for 'check-am'. make[3]: Leaving directory '/home/egroj97/systemc-2.3.3/objdir/src/sysc' make[2]: Leaving directory '/home/egroj97/systemc-2.3.3/objdir/src/sysc' Making check in tlm_core make[2]: Entering directory '/home/egroj97/systemc-2.3.3/objdir/src/tlm_core' make[2]: Nothing to be done for 'check'. make[2]: Leaving directory '/home/egroj97/systemc-2.3.3/objdir/src/tlm_core' Making check in tlm_utils make[2]: Entering directory '/home/egroj97/systemc-2.3.3/objdir/src/tlm_utils' make[2]: Nothing to be done for 'check'. make[2]: Leaving directory '/home/egroj97/systemc-2.3.3/objdir/src/tlm_utils' Making check in . make[2]: Entering directory '/home/egroj97/systemc-2.3.3/objdir/src' make[2]: Nothing to be done for 'check-am'. make[2]: Leaving directory '/home/egroj97/systemc-2.3.3/objdir/src' make[1]: Leaving directory '/home/egroj97/systemc-2.3.3/objdir/src' Making check in examples make[1]: Entering directory '/home/egroj97/systemc-2.3.3/objdir/examples' Making check in sysc make[2]: Entering directory '/home/egroj97/systemc-2.3.3/objdir/examples/sysc' GEN copy-check-data make fft/fft_flpt/test.exe fft/fft_fxpt/test.exe fir/test.exe fir/test_rtl.exe pipe/test.exe pkt_switch/test.exe risc_cpu/test.exe rsa/test.exe simple_bus/test.exe simple_fifo/test.exe simple_perf/test.exe 2.1/dpipe/test.exe 2.1/forkjoin/test.exe 2.1/reset_signal_is/test.exe 2.1/sc_export/test.exe 2.1/sc_report/test.exe 2.1/scx_barrier/test.exe 2.1/scx_mutex_w_policy/test.exe 2.1/specialized_signals/test.exe 2.3/sc_rvd/test.exe 2.3/sc_ttd/test.exe 2.3/simple_async/test.exe fft/fft_flpt/test.sh fft/fft_fxpt/test.sh fir/test.sh fir/test_rtl.sh pipe/test.sh pkt_switch/test.sh risc_cpu/test.sh rsa/test.sh simple_bus/test.sh simple_fifo/test.sh simple_perf/test.sh 2.1/dpipe/test.sh 2.1/forkjoin/test.sh 2.1/reset_signal_is/test.sh 2.1/sc_export/test.sh 2.1/sc_report/test.sh 2.1/scx_barrier/test.sh 2.1/scx_mutex_w_policy/test.sh 2.1/specialized_signals/test.sh 2.3/sc_rvd/test.sh 2.3/sc_ttd/test.sh 2.3/simple_async/test.sh make[3]: Entering directory '/home/egroj97/systemc-2.3.3/objdir/examples/sysc' CXX fft/fft_flpt/fft_fft_flpt_test-fft.o CXX fft/fft_flpt/fft_fft_flpt_test-main.o CXX fft/fft_flpt/fft_fft_flpt_test-sink.o CXX fft/fft_flpt/fft_fft_flpt_test-source.o CXXLD fft/fft_flpt/test.exe CXX fft/fft_fxpt/fft_fft_fxpt_test-fft.o CXX fft/fft_fxpt/fft_fft_fxpt_test-main.o CXX fft/fft_fxpt/fft_fft_fxpt_test-sink.o CXX fft/fft_fxpt/fft_fft_fxpt_test-source.o CXXLD fft/fft_fxpt/test.exe CXX fir/fir_test-stimulus.o CXX fir/fir_test-display.o CXX fir/fir_test-fir.o CXX fir/fir_test-main.o CXXLD fir/test.exe CXX fir/stimulus.o CXX fir/display.o CXX fir/fir_fsm.o CXX fir/fir_data.o CXX fir/main_rtl.o CXXLD fir/test_rtl.exe CXX pipe/pipe_test-display.o CXX pipe/pipe_test-main.o CXX pipe/pipe_test-numgen.o CXX pipe/pipe_test-stage1.o CXX pipe/pipe_test-stage2.o CXX pipe/pipe_test-stage3.o CXXLD pipe/test.exe CXX pkt_switch/pkt_switch_test-fifo.o CXX pkt_switch/pkt_switch_test-main.o CXX pkt_switch/pkt_switch_test-receiver.o CXX pkt_switch/pkt_switch_test-sender.o CXX pkt_switch/pkt_switch_test-switch.o CXX pkt_switch/pkt_switch_test-switch_clk.o CXXLD pkt_switch/test.exe CXX risc_cpu/risc_cpu_test-bios.o CXX risc_cpu/risc_cpu_test-dcache.o CXX risc_cpu/risc_cpu_test-decode.o CXX risc_cpu/risc_cpu_test-exec.o CXX risc_cpu/risc_cpu_test-fetch.o CXX risc_cpu/risc_cpu_test-floating.o CXX risc_cpu/risc_cpu_test-icache.o CXX risc_cpu/risc_cpu_test-main.o CXX risc_cpu/risc_cpu_test-mmxu.o CXX risc_cpu/risc_cpu_test-paging.o CXX risc_cpu/risc_cpu_test-pic.o CXXLD risc_cpu/test.exe CXX rsa/rsa_test-rsa.o CXXLD rsa/test.exe CXX simple_bus/simple_bus_test-simple_bus.o CXX simple_bus/simple_bus_test-simple_bus_arbiter.o CXX simple_bus/simple_bus_test-simple_bus_main.o CXX simple_bus/simple_bus_test-simple_bus_master_blocking.o CXX simple_bus/simple_bus_test-simple_bus_master_direct.o CXX simple_bus/simple_bus_test-simple_bus_master_non_blocking.o CXX simple_bus/simple_bus_test-simple_bus_types.o CXX simple_bus/simple_bus_test-simple_bus_tools.o CXXLD simple_bus/test.exe CXX simple_fifo/simple_fifo_test-simple_fifo.o CXXLD simple_fifo/test.exe CXX simple_perf/simple_perf_test-simple_perf.o CXXLD simple_perf/test.exe CXX 2.1/dpipe/2_1_dpipe_test-main.o CXXLD 2.1/dpipe/test.exe CXX 2.1/forkjoin/2_1_forkjoin_test-forkjoin.o CXXLD 2.1/forkjoin/test.exe CXX 2.1/reset_signal_is/2_1_reset_signal_is_test-reset_signal_is.o CXXLD 2.1/reset_signal_is/test.exe CXX 2.1/sc_export/2_1_sc_export_test-main.o CXXLD 2.1/sc_export/test.exe CXX 2.1/sc_report/2_1_sc_report_test-main.o CXXLD 2.1/sc_report/test.exe CXX 2.1/scx_barrier/2_1_scx_barrier_test-main.o CXXLD 2.1/scx_barrier/test.exe CXX 2.1/scx_mutex_w_policy/2_1_scx_mutex_w_policy_test-scx_mutex_w_policy.o CXXLD 2.1/scx_mutex_w_policy/test.exe CXX 2.1/specialized_signals/2_1_specialized_signals_test-main.o CXX 2.1/specialized_signals/2_1_specialized_signals_test-scx_signal_int.o CXX 2.1/specialized_signals/2_1_specialized_signals_test-scx_signal_uint.o CXX 2.1/specialized_signals/2_1_specialized_signals_test-scx_signal_signed.o CXX 2.1/specialized_signals/2_1_specialized_signals_test-scx_signal_unsigned.o CXXLD 2.1/specialized_signals/test.exe CXX 2.3/sc_rvd/2_3_sc_rvd_test-main.o CXXLD 2.3/sc_rvd/test.exe CXX 2.3/sc_ttd/2_3_sc_ttd_test-main.o CXXLD 2.3/sc_ttd/test.exe CXX 2.3/simple_async/2_3_simple_async_test-main.o CXXLD 2.3/simple_async/test.exe GEN fft/fft_flpt/test.sh GEN fft/fft_fxpt/test.sh GEN fir/test.sh GEN fir/test_rtl.sh GEN pipe/test.sh GEN pkt_switch/test.sh GEN risc_cpu/test.sh GEN rsa/test.sh GEN simple_bus/test.sh GEN simple_fifo/test.sh GEN simple_perf/test.sh GEN 2.1/dpipe/test.sh GEN 2.1/forkjoin/test.sh GEN 2.1/reset_signal_is/test.sh GEN 2.1/sc_export/test.sh GEN 2.1/sc_report/test.sh GEN 2.1/scx_barrier/test.sh GEN 2.1/scx_mutex_w_policy/test.sh GEN 2.1/specialized_signals/test.sh GEN 2.3/sc_rvd/test.sh GEN 2.3/sc_ttd/test.sh GEN 2.3/simple_async/test.sh make[3]: Leaving directory '/home/egroj97/systemc-2.3.3/objdir/examples/sysc' make check-TESTS make[3]: Entering directory '/home/egroj97/systemc-2.3.3/objdir/examples/sysc' make[4]: Entering directory '/home/egroj97/systemc-2.3.3/objdir/examples/sysc' FAIL: fft/fft_flpt/test.sh FAIL: fft/fft_fxpt/test.sh PASS: fir/test.sh PASS: fir/test_rtl.sh PASS: pipe/test.sh PASS: pkt_switch/test.sh PASS: risc_cpu/test.sh PASS: rsa/test.sh FAIL: simple_bus/test.sh FAIL: simple_fifo/test.sh PASS: simple_perf/test.sh PASS: 2.1/dpipe/test.sh FAIL: 2.1/forkjoin/test.sh FAIL: 2.1/reset_signal_is/test.sh FAIL: 2.1/sc_export/test.sh PASS: 2.1/sc_report/test.sh FAIL: 2.1/scx_barrier/test.sh FAIL: 2.1/scx_mutex_w_policy/test.sh FAIL: 2.1/specialized_signals/test.sh FAIL: 2.3/sc_rvd/test.sh FAIL: 2.3/sc_ttd/test.sh FAIL: 2.3/simple_async/test.sh make[5]: Entering directory '/home/egroj97/systemc-2.3.3/objdir/examples/sysc' GEN copy-check-data To compile and run the examples type make check make[5]: Leaving directory '/home/egroj97/systemc-2.3.3/objdir/examples/sysc' ============================================================================ Testsuite summary for SystemC 2.3.3 ============================================================================ # TOTAL: 22 # PASS: 9 # SKIP: 0 # XFAIL: 0 # FAIL: 13 # XPASS: 0 # ERROR: 0 ============================================================================ See examples/sysc/test-suite.log Please report to http://forums.accellera.org/forum/9-systemc/ ============================================================================ make[4]: *** [Makefile:3066: test-suite.log] Error 1 make[4]: Leaving directory '/home/egroj97/systemc-2.3.3/objdir/examples/sysc' make[3]: *** [Makefile:3174: check-TESTS] Error 2 make[3]: Leaving directory '/home/egroj97/systemc-2.3.3/objdir/examples/sysc' make[2]: *** [Makefile:3392: check-am] Error 2 make[2]: Leaving directory '/home/egroj97/systemc-2.3.3/objdir/examples/sysc' make[1]: *** [Makefile:494: check-recursive] Error 1 make[1]: Leaving directory '/home/egroj97/systemc-2.3.3/objdir/examples' make: *** [Makefile:507: check-recursive] Error 1 My configuration summary: --------------------------------------------------------------------- Configuration summary of SystemC 2.3.3 for x86_64-unknown-cygwin --------------------------------------------------------------------- Directory setup (based on classic layout): Installation prefix (aka SYSTEMC_HOME): /home/egroj97/systemc-2.3.3 Header files : <SYSTEMC_HOME>/include Libraries : <SYSTEMC_HOME>/lib-cygwin64 Documentation : <SYSTEMC_HOME>/docs Examples : <SYSTEMC_HOME>/examples Architecture : cygwin64 Compiler : g++ (C/C++) Build settings: Enable compiler optimizations : yes Include debugging symbols : no Coroutine package for processes: QuickThreads Enable VCD scopes by default : yes Disable async_request_update : no Phase callbacks (experimental) : no --------------------------------------------------------------------- Quote
AmeyaVS Posted March 19, 2019 Report Posted March 19, 2019 Hello @egroj97, This is a known issue on Cygwin(64-bit) with QuickThreads. You need to pass the command-line option: "--enable-pthreads" to the configure script. Kindly refer the discussion about this here: On another note running applications built from source on Cygwin(64-bit) it much slower than running then on native Linux even within a VM. If you have Windows 10 with WSL(Windows Subsystem for Linux) then you could probably try that route to build and install the SystemC library. But I have not tried that out myself, and currently I do not see it being supported/validated by the working group. Anyway it will be nice to know if the library is functional on top of WSL. Hope this helps. Regards, Ameya Vikram Singh Quote
egroj97 Posted March 22, 2019 Author Report Posted March 22, 2019 Thank you very much for your help, it worked like a charm! On 3/18/2019 at 9:32 PM, AmeyaVS said: Hello @egroj97, This is a known issue on Cygwin(64-bit) with QuickThreads. You need to pass the command-line option: "--enable-pthreads" to the configure script. Kindly refer the discussion about this here: On another note running applications built from source on Cygwin(64-bit) it much slower than running then on native Linux even within a VM. If you have Windows 10 with WSL(Windows Subsystem for Linux) then you could probably try that route to build and install the SystemC library. But I have not tried that out myself, and currently I do not see it being supported/validated by the working group. Anyway it will be nice to know if the library is functional on top of WSL. Hope this helps. Regards, Ameya Vikram Singh Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.