Jump to content

SystemC testsuite Failure on ARM64 configured with --enable-debug


Jan Bolke

Recommended Posts

Hi all,

I tried building SystemC on Aarch64 today on two different machines and the behavior is the same on both machines.

First machine is :

Raspberrypi 3 with Gentoo Linux and g++ (aarch64-unknown-linux-gnu-g++) 7.3.0

Second machine is an ArmServer with 64GB Ram and 64 Core (arm v8) and Centos 6.6 and g++ 7.3.0.

 

On both machines i was able to build SystemC and pass the Testsuite when build with standard options (optimization on, debug off).

But when i reconfigured with --enable-debug and --disable-optimize i got the following output when invoking the testsuite:

============================================================================
Testsuite summary for SystemC 2.3.2
============================================================================
# TOTAL: 22
# PASS:  5
# SKIP:  0
# XFAIL: 0
# FAIL:  17
# XPASS: 0
# ERROR: 0
============================================================================
See examples/sysc/test-suite.log
Please report to http://forums.accellera.org/forum/9-systemc/
============================================================================

 

and the test-suite.log says a lot of segmentation faults (core dumped):

 

=================================================
   SystemC 2.3.2: examples/sysc/test-suite.log
=================================================

# TOTAL: 22
# PASS:  5
# SKIP:  0
# XFAIL: 0
# FAIL:  17
# XPASS: 0
# ERROR: 0

.. contents:: :depth: 2

FAIL: fft/fft_flpt/test.sh
==========================


        SystemC 2.3.2-Accellera --- Oct  9 2018 17:56:04
        Copyright (c) 1996-2017 by all Contributors,
        ALL RIGHTS RESERVED
test.sh: line 65: 11418 Segmentation fault      ./test > run.log
***ERROR:
0a1,34
> Reading in the samples...
> Computing...
> Writing the transform values...
> Done...
> Reading in the samples...
> Computing...
> Writing the transform values...
> Done...
> Reading in the samples...
> Computing...
> Writing the transform values...
> Done...
> Reading in the samples...
> Computing...
> Writing the transform values...
> Done...
> Reading in the samples...
> Computing...
> Writing the transform values...
> Done...
> Reading in the samples...
> Computing...
> Writing the transform values...
> Done...
> Reading in the samples...
> Computing...
> Writing the transform values...
> Done...
> Reading in the samples...
> Computing...
> Writing the transform values...
> Done...
> Reading in the samples...
> End of Input Stream: Simulation Stops

FAIL: fft/fft_fxpt/test.sh
==========================


        SystemC 2.3.2-Accellera --- Oct  9 2018 17:56:04
        Copyright (c) 1996-2017 by all Contributors,
        ALL RIGHTS RESERVED
test.sh: line 65: 11416 Segmentation fault      ./test > run.log
***ERROR:
0a1,18
> Reading in the samples...
> Computing...
> Writing the transform values...
> Done...
> Reading in the samples...
> Computing...
> Writing the transform values...
> Done...
> Reading in the samples...
> Computing...
> Writing the transform values...
> Done...
> Reading in the samples...
> Computing...
> Writing the transform values...
> Done...
> Reading in the samples...
> End of Input Stream: Simulation Stops

FAIL: fir/test.sh
=================


        SystemC 2.3.2-Accellera --- Oct  9 2018 17:56:04
        Copyright (c) 1996-2017 by all Contributors,
        ALL RIGHTS RESERVED
test.sh: line 65: 11417 Segmentation fault      ./test > run.log

FAIL: pkt_switch/test.sh
========================


        SystemC 2.3.2-Accellera --- Oct  9 2018 17:56:04
        Copyright (c) 1996-2017 by all Contributors,
        ALL RIGHTS RESERVED
test.sh: line 65: 11535 Segmentation fault      ./test > run.log

FAIL: risc_cpu/test.sh
======================


        SystemC 2.3.2-Accellera --- Oct  9 2018 17:56:04
        Copyright (c) 1996-2017 by all Contributors,
        ALL RIGHTS RESERVED
test.sh: line 65: 11598 Segmentation fault      ./test > run.log

FAIL: simple_bus/test.sh
========================


        SystemC 2.3.2-Accellera --- Oct  9 2018 17:56:04
        Copyright (c) 1996-2017 by all Contributors,
        ALL RIGHTS RESERVED
test.sh: line 65: 11651 Segmentation fault      ./test > run.log
***ERROR:
0a1,100
> 0 s top.master_d : mem[78:87] = (0, 0, 0, 0)
> 100 ns top.master_d : mem[78:87] = (b, c, d, e)
> 200 ns top.master_d : mem[78:87] = (b, c, d, e)
> 300 ns top.master_d : mem[78:87] = (b, c, d, e)
> 400 ns top.master_d : mem[78:87] = (1b, 1d, d, e)
> 500 ns top.master_d : mem[78:87] = (26, 18, 1a, 2f)
> 600 ns top.master_d : mem[78:87] = (26, 18, 1a, 2f)
> 700 ns top.master_d : mem[78:87] = (26, 18, 1a, 2f)
> 800 ns top.master_d : mem[78:87] = (31, 24, 27, 3d)
> 900 ns top.master_d : mem[78:87] = (31, 24, 27, 3d)
> 1 us top.master_d : mem[78:87] = (31, 24, 27, 3d)
> 1100 ns top.master_d : mem[78:87] = (31, 24, 27, 3d)
> 1200 ns top.master_d : mem[78:87] = (3c, 41, 46, 5e)
> 1300 ns top.master_d : mem[78:87] = (3c, 41, 46, 5e)
> 1400 ns top.master_d : mem[78:87] = (3c, 41, 46, 5e)
> 1500 ns top.master_d : mem[78:87] = (47, 4d, 53, 6c)
> 1600 ns top.master_d : mem[78:87] = (47, 4d, 53, 6c)
> 1700 ns top.master_d : mem[78:87] = (47, 4d, 53, 6c)
> 1800 ns top.master_d : mem[78:87] = (47, 4d, 53, 6c)
> 1900 ns top.master_d : mem[78:87] = (62, 6a, 60, 7a)
> 2 us top.master_d : mem[78:87] = (62, 6a, 72, 8d)
> 2100 ns top.master_d : mem[78:87] = (62, 6a, 72, 8d)
> 2200 ns top.master_d : mem[78:87] = (62, 6a, 72, 8d)
> 2300 ns top.master_d : mem[78:87] = (6d, 76, 7f, 9b)
> 2400 ns top.master_d : mem[78:87] = (6d, 76, 7f, 9b)
> 2500 ns top.master_d : mem[78:87] = (6d, 76, 7f, 9b)
> 2600 ns top.master_d : mem[78:87] = (78, 82, 8c, a9)
> 2700 ns top.master_d : mem[78:87] = (88, 93, 9e, bc)
> 2800 ns top.master_d : mem[78:87] = (88, 93, 9e, bc)
> 2900 ns top.master_d : mem[78:87] = (88, 93, 9e, bc)
> 3 us top.master_d : mem[78:87] = (93, 9f, ab, ca)
> 3100 ns top.master_d : mem[78:87] = (93, 9f, ab, ca)
> 3200 ns top.master_d : mem[78:87] = (93, 9f, ab, ca)
> 3300 ns top.master_d : mem[78:87] = (9e, ab, b8, d8)
> 3400 ns top.master_d : mem[78:87] = (ae, ab, b8, d8)
> 3500 ns top.master_d : mem[78:87] = (ae, bc, ca, eb)
> 3600 ns top.master_d : mem[78:87] = (ae, bc, ca, eb)
> 3700 ns top.master_d : mem[78:87] = (b9, c8, d7, f9)
> 3800 ns top.master_d : mem[78:87] = (b9, c8, d7, f9)
> 3900 ns top.master_d : mem[78:87] = (b9, c8, d7, f9)
> 4 us top.master_d : mem[78:87] = (c4, d4, d7, f9)
> 4100 ns top.master_d : mem[78:87] = (c4, d4, e4, 107)
> 4200 ns top.master_d : mem[78:87] = (d4, e5, f6, 107)
> 4300 ns top.master_d : mem[78:87] = (d4, e5, f6, 11a)
> 4400 ns top.master_d : mem[78:87] = (df, f1, 103, 128)
> 4500 ns top.master_d : mem[78:87] = (df, f1, 103, 128)
> 4600 ns top.master_d : mem[78:87] = (df, f1, 103, 128)
> 4700 ns top.master_d : mem[78:87] = (df, f1, 103, 128)
> 4800 ns top.master_d : mem[78:87] = (ea, fd, 110, 136)
> 4900 ns top.master_d : mem[78:87] = (fa, fd, 110, 136)
> 5 us top.master_d : mem[78:87] = (fa, 10e, 122, 149)
> 5100 ns top.master_d : mem[78:87] = (105, 11a, 12f, 157)
> 5200 ns top.master_d : mem[78:87] = (105, 11a, 12f, 157)
> 5300 ns top.master_d : mem[78:87] = (105, 11a, 12f, 157)
> 5400 ns top.master_d : mem[78:87] = (105, 11a, 12f, 157)
> 5500 ns top.master_d : mem[78:87] = (110, 126, 13c, 165)
> 5600 ns top.master_d : mem[78:87] = (110, 126, 13c, 165)
> 5700 ns top.master_d : mem[78:87] = (120, 137, 14e, 165)
> 5800 ns top.master_d : mem[78:87] = (12b, 143, 14e, 178)
> 5900 ns top.master_d : mem[78:87] = (12b, 143, 15b, 186)
> 6 us top.master_d : mem[78:87] = (12b, 143, 15b, 186)
> 6100 ns top.master_d : mem[78:87] = (12b, 143, 15b, 186)
> 6200 ns top.master_d : mem[78:87] = (136, 14f, 168, 194)
> 6300 ns top.master_d : mem[78:87] = (136, 14f, 168, 194)
> 6400 ns top.master_d : mem[78:87] = (136, 14f, 168, 194)
> 6500 ns top.master_d : mem[78:87] = (146, 160, 17a, 1a7)
> 6600 ns top.master_d : mem[78:87] = (151, 16c, 187, 1b5)
> 6700 ns top.master_d : mem[78:87] = (151, 16c, 187, 1b5)
> 6800 ns top.master_d : mem[78:87] = (151, 16c, 187, 1b5)
> 6900 ns top.master_d : mem[78:87] = (15c, 178, 194, 1c3)
> 7 us top.master_d : mem[78:87] = (15c, 178, 194, 1c3)
> 7100 ns top.master_d : mem[78:87] = (15c, 178, 194, 1c3)
> 7200 ns top.master_d : mem[78:87] = (16c, 189, 194, 1c3)
> 7300 ns top.master_d : mem[78:87] = (177, 195, 1a1, 1e4)
> 7400 ns top.master_d : mem[78:87] = (177, 195, 1a1, 1e4)
> 7500 ns top.master_d : mem[78:87] = (177, 195, 1a1, 1e4)
> 7600 ns top.master_d : mem[78:87] = (182, 1a1, 1ae, 1f2)
> 7700 ns top.master_d : mem[78:87] = (182, 1a1, 1ae, 1f2)
> 7800 ns top.master_d : mem[78:87] = (182, 1a1, 1ae, 1f2)
> 7900 ns top.master_d : mem[78:87] = (182, 1a1, 1ae, 1f2)
> 8 us top.master_d : mem[78:87] = (18d, 1ad, 1cd, 213)
> 8100 ns top.master_d : mem[78:87] = (18d, 1ad, 1cd, 213)
> 8200 ns top.master_d : mem[78:87] = (18d, 1ad, 1cd, 213)
> 8300 ns top.master_d : mem[78:87] = (18d, 1ad, 1cd, 213)
> 8400 ns top.master_d : mem[78:87] = (198, 1b9, 1da, 221)
> 8500 ns top.master_d : mem[78:87] = (198, 1b9, 1da, 221)
> 8600 ns top.master_d : mem[78:87] = (198, 1b9, 1da, 221)
> 8700 ns top.master_d : mem[78:87] = (1b3, 1c5, 1e7, 22f)
> 8800 ns top.master_d : mem[78:87] = (1b3, 1d6, 1f9, 242)
> 8900 ns top.master_d : mem[78:87] = (1b3, 1d6, 1f9, 242)
> 9 us top.master_d : mem[78:87] = (1b3, 1d6, 1f9, 242)
> 9100 ns top.master_d : mem[78:87] = (1be, 1e2, 206, 250)
> 9200 ns top.master_d : mem[78:87] = (1be, 1e2, 206, 250)
> 9300 ns top.master_d : mem[78:87] = (1be, 1e2, 206, 250)
> 9400 ns top.master_d : mem[78:87] = (1c9, 1ee, 213, 25e)
> 9500 ns top.master_d : mem[78:87] = (1d9, 1ff, 225, 25e)
> 9600 ns top.master_d : mem[78:87] = (1d9, 1ff, 225, 271)
> 9700 ns top.master_d : mem[78:87] = (1d9, 1ff, 225, 271)
> 9800 ns top.master_d : mem[78:87] = (1e4, 20b, 232, 27f)
> 9900 ns top.master_d : mem[78:87] = (1e4, 20b, 232, 27f)

FAIL: simple_fifo/test.sh
=========================


        SystemC 2.3.2-Accellera --- Oct  9 2018 17:56:04
        Copyright (c) 1996-2017 by all Contributors,
        ALL RIGHTS RESERVED
test.sh: line 65: 11684 Segmentation fault      ./test > run.log
***ERROR:
0a1
> V<9>isit www<1>.a<9>ccellera<1>.o<9>rg and s<1>ee<9> what Sy<1>st<9>emC can <1>do<9> for you<1> today!<1>

FAIL: simple_perf/test.sh
=========================


        SystemC 2.3.2-Accellera --- Oct  9 2018 17:56:04
        Copyright (c) 1996-2017 by all Contributors,
        ALL RIGHTS RESERVED
test.sh: line 65: 11717 Segmentation fault      ./test > run.log

FAIL: 2.1/forkjoin/test.sh
==========================


        SystemC 2.3.2-Accellera --- Oct  9 2018 17:56:04
        Copyright (c) 1996-2017 by all Contributors,
        ALL RIGHTS RESERVED
test.sh: line 65: 11777 Segmentation fault      ./test > run.log
***ERROR:
0a1,29
> Round robin thread 1 at time 100 ns
> Round robin thread 2 at time 110 ns
> Round robin thread 3 at time 120 ns
> Round robin thread 4 at time 130 ns
> Round robin thread 1 at time 140 ns
> Round robin thread 2 at time 150 ns
> Round robin thread 3 at time 160 ns
> Round robin thread 4 at time 170 ns
> Round robin thread 1 at time 180 ns
> Round robin thread 2 at time 190 ns
> Round robin thread 3 at time 200 ns
> Round robin thread 4 at time 210 ns
> Returned int is 0
> Thread 0 ending.
> Thread 1 ending.
> Thread 2 ending.
> Thread 3 ending.
> Thread 4 ending.
> Thread 5 ending.
> Thread 6 ending.
> Thread 7 ending.
> Thread 8 ending.
> Thread 9 ending.
> Test_function sees 3.14159
> Returned int is 3
> void_function sees 1.2345
> ref_function sees 9.8765
> Returned int is 9
> Done.

FAIL: 2.1/reset_signal_is/test.sh
=================================


        SystemC 2.3.2-Accellera --- Oct  9 2018 17:56:04
        Copyright (c) 1996-2017 by all Contributors,
        ALL RIGHTS RESERVED
test.sh: line 65: 11832 Segmentation fault      ./test > run.log
***ERROR:
0a1,102
> 0 s: reset
> 1 ns: 0
> 2 ns: 1
> 3 ns: 2
> 4 ns: 3
> 5 ns: 4
> 6 ns: 5
> 7 ns: 6
> 8 ns: 7
> 9 ns: 8
> 10 ns: 9
> 11 ns: 10
> 12 ns: 11
> 13 ns: reset
> 14 ns: 0
> 15 ns: 1
> 16 ns: 2
> 17 ns: 3
> 18 ns: 4
> 19 ns: 5
> 20 ns: 6
> 21 ns: 7
> 22 ns: 8
> 23 ns: 9
> 24 ns: 10
> 25 ns: 11
> 26 ns: 12
> 27 ns: 13
> 28 ns: 14
> 29 ns: 15
> 30 ns: 16
> 31 ns: 17
> 32 ns: 18
> 33 ns: reset
> 34 ns: 0
> 35 ns: 1
> 36 ns: 2
> 37 ns: 3
> 38 ns: 4
> 39 ns: 5
> 40 ns: 6
> 41 ns: 7
> 42 ns: 8
> 43 ns: 9
> 44 ns: 10
> 45 ns: 11
> 46 ns: 12
> 47 ns: 13
> 48 ns: 14
> 49 ns: 15
> 50 ns: 16
> 51 ns: 17
> 52 ns: 18
> 53 ns: reset
> 54 ns: 0
> 55 ns: 1
> 56 ns: 2
> 57 ns: 3
> 58 ns: 4
> 59 ns: 5
> 60 ns: 6
> 61 ns: 7
> 62 ns: 8
> 63 ns: 9
> 64 ns: 10
> 65 ns: 11
> 66 ns: 12
> 67 ns: 13
> 68 ns: 14
> 69 ns: 15
> 70 ns: 16
> 71 ns: 17
> 72 ns: 18
> 73 ns: reset
> 74 ns: 0
> 75 ns: 1
> 76 ns: 2
> 77 ns: 3
> 78 ns: 4
> 79 ns: 5
> 80 ns: 6
> 81 ns: 7
> 82 ns: 8
> 83 ns: 9
> 84 ns: 10
> 85 ns: 11
> 86 ns: 12
> 87 ns: 13
> 88 ns: 14
> 89 ns: 15
> 90 ns: 16
> 91 ns: 17
> 92 ns: 18
> 93 ns: reset
> 94 ns: 0
> 95 ns: 1
> 96 ns: 2
> 97 ns: 3
> 98 ns: 4
> 99 ns: 5
> 100 ns: 6
> Done

FAIL: 2.1/sc_export/test.sh
===========================


        SystemC 2.3.2-Accellera --- Oct  9 2018 17:56:04
        Copyright (c) 1996-2017 by all Contributors,
        ALL RIGHTS RESERVED
test.sh: line 65: 11865 Segmentation fault      ./test > run.log
***ERROR:
0a1,3
> 10 ns In Channel run()
> 17 ns In Channel run()
> 20 ns In Channel run()

FAIL: 2.1/scx_barrier/test.sh
=============================


        SystemC 2.3.2-Accellera --- Oct  9 2018 17:56:04
        Copyright (c) 1996-2017 by all Contributors,
        ALL RIGHTS RESERVED
test.sh: line 65: 11935 Segmentation fault      ./test > run.log
***ERROR:
0a1,4
> 11000.000000 - c
> 11000.000000 - b
> 11000.000000 - a
> Program completed

FAIL: 2.1/scx_mutex_w_policy/test.sh
====================================


        SystemC 2.3.2-Accellera --- Oct  9 2018 17:56:04
        Copyright (c) 1996-2017 by all Contributors,
        ALL RIGHTS RESERVED
test.sh: line 65: 12000 Segmentation fault      ./test > run.log
***ERROR:
0a1,3
> t1 got mutex at 1 ns
> t2 got mutex at 11 ns
> t3 got mutex at 21 ns

FAIL: 2.1/specialized_signals/test.sh
=====================================


        SystemC 2.3.2-Accellera --- Oct  9 2018 17:56:04
        Copyright (c) 1996-2017 by all Contributors,
        ALL RIGHTS RESERVED
test.sh: line 65: 12032 Segmentation fault      ./test > run.log
***ERROR:
0a1,13
> ( m_in_bigint4, m_inout_bigint4, m_in_biguint4, m_inout_biguint4, m_in_int4, m_inout_int4, m_in_uint4, m_inout_uint4 ) = 012345678
> m_signal_bigint8 = 18
> m_signal_biguint8 = 027
> m_signal_int8 = 36
> m_signal_uint8 = 045
> m_signal_bigint8 = 12
> m_inout_bigint4 = 3
> m_signal_biguint8 = 045
> m_inout_biguint4 = 06
> m_signal_int8 = 78
> m_inout_int4 = 9
> m_signal_uint8 = 0ab
> m_inout_uint4 = 0c

FAIL: 2.3/sc_rvd/test.sh
========================


        SystemC 2.3.2-Accellera --- Oct  9 2018 17:56:04
        Copyright (c) 1996-2017 by all Contributors,
        ALL RIGHTS RESERVED
test.sh: line 65: 12097 Segmentation fault      ./test > run.log
***ERROR:
1a2,133
>     0                 1 ns
>            0          2 ns
>     1                 2 ns
>                  0    3 ns
>            1          4 ns
>     2                 4 ns
>            2          5 ns
>     3                 5 ns
>                  1    6 ns
>                  2    7 ns
>            3          8 ns
>     4                 8 ns
>            4          9 ns
>     5                 9 ns
>            5          10 ns
>     6                 10 ns
>                  3    11 ns
>                  4    12 ns
>                  5    13 ns
>            6          14 ns
>     7                 20 ns
>            7          21 ns
>     8                 21 ns
>            8          22 ns
>     9                 22 ns
>            9          23 ns
>    10                 23 ns
>                  6    24 ns
>                  7    25 ns
>                  8    26 ns
>                  9    27 ns
>           10          28 ns
>    11                 28 ns
>           11          29 ns
>    12                 29 ns
>           12          30 ns
>    13                 42 ns
>           13          43 ns
>    14                 43 ns
>           14          44 ns
>    15                 44 ns
>                 10    45 ns
>                 11    46 ns
>                 12    47 ns
>                 13    48 ns
>                 14    49 ns
>           15          50 ns
>    16                 50 ns
>           16          51 ns
>    17                 51 ns
>           17          52 ns
>    18                 52 ns
>           18          53 ns
>    19                 71 ns
>           19          72 ns
>    20                 72 ns
>           20          73 ns
>    21                 73 ns
>                 15    74 ns
>                 16    75 ns
>                 17    76 ns
>                 18    77 ns
>                 19    78 ns
>                 20    79 ns
>           21          80 ns
>    22                 80 ns
>           22          81 ns
>    23                 81 ns
>           23          82 ns
>    24                 82 ns
>           24          83 ns
>    25                 107 ns
>           25          108 ns
>    26                 108 ns
>           26          109 ns
>    27                 109 ns
>           27          110 ns
>    28                 110 ns
>                 21    111 ns
>                 22    112 ns
>                 23    113 ns
>                 24    114 ns
>                 25    115 ns
>                 26    116 ns
>                 27    117 ns
>           28          118 ns
>    29                 118 ns
>           29          119 ns
>    30                 119 ns
>           30          120 ns
>    31                 150 ns
>           31          151 ns
>    32                 151 ns
>           32          152 ns
>    33                 152 ns
>           33          153 ns
>    34                 153 ns
>           34          154 ns
>    35                 154 ns
>           35          155 ns
>    36                 155 ns
>                 28    156 ns
>                 29    157 ns
>                 30    158 ns
>                 31    159 ns
>                 32    160 ns
>                 33    161 ns
>                 34    162 ns
>                 35    163 ns
>           36          164 ns
>    37                 200 ns
>           37          201 ns
>    38                 201 ns
>           38          202 ns
>    39                 202 ns
>           39          203 ns
>    40                 203 ns
>           40          204 ns
>    41                 204 ns
>           41          205 ns
>    42                 205 ns
>           42          206 ns
>    43                 248 ns
>           43          249 ns
>    44                 249 ns
>           44          250 ns
>    45                 250 ns
>                 36    251 ns
>                 37    252 ns
>                 38    253 ns
>                 39    254 ns
> Program completed

FAIL: 2.3/sc_ttd/test.sh
========================


        SystemC 2.3.2-Accellera --- Oct  9 2018 17:56:04
        Copyright (c) 1996-2017 by all Contributors,
        ALL RIGHTS RESERVED
test.sh: line 65: 12101 Segmentation fault      ./test > run.log
***ERROR:
1a2,134
>     0                 1 ns
>     1                 2 ns
>            0          3 ns
>     2                 4 ns
>            1          5 ns
>                  0    5 ns
>     3                 6 ns
>            2          7 ns
>     4                 8 ns
>                  1    9 ns
>            3          11 ns
>                  2    11 ns
>     5                 12 ns
>            4          13 ns
>     6                 14 ns
>            5          15 ns
>                  3    17 ns
>                  4    19 ns
>            6          21 ns
>                  5    21 ns
>     7                 22 ns
>     8                 23 ns
>            7          24 ns
>     9                 25 ns
>            8          26 ns
>    10                 27 ns
>            9          28 ns
>    11                 29 ns
>                  6    30 ns
>                  7    32 ns
>                  8    34 ns
>           10          36 ns
>                  9    36 ns
>    12                 37 ns
>           11          38 ns
>           12          40 ns
>    13                 51 ns
>    14                 52 ns
>           13          53 ns
>    15                 54 ns
>           14          55 ns
>    16                 56 ns
>                 10    57 ns
>                 11    59 ns
>                 12    61 ns
>                 13    63 ns
>           15          65 ns
>                 14    65 ns
>    17                 66 ns
>           16          67 ns
>    18                 68 ns
>           17          69 ns
>           18          71 ns
>    19                 88 ns
>    20                 89 ns
>           19          90 ns
>    21                 91 ns
>           20          92 ns
>    22                 93 ns
>                 15    94 ns
>                 16    96 ns
>                 17    98 ns
>                 18    100 ns
>                 19    102 ns
>           21          104 ns
>                 20    104 ns
>    23                 105 ns
>           22          106 ns
>    24                 107 ns
>           23          108 ns
>           24          110 ns
>    25                 133 ns
>    26                 134 ns
>           25          135 ns
>    27                 136 ns
>           26          137 ns
>    28                 138 ns
>           27          139 ns
>    29                 140 ns
>                 21    141 ns
>                 22    143 ns
>                 23    145 ns
>                 24    147 ns
>                 25    149 ns
>                 26    151 ns
>           28          153 ns
>                 27    153 ns
>    30                 154 ns
>           29          155 ns
>           30          157 ns
>    31                 186 ns
>    32                 187 ns
>           31          188 ns
>    33                 189 ns
>           32          190 ns
>    34                 191 ns
>           33          192 ns
>    35                 193 ns
>           34          194 ns
>    36                 195 ns
>           35          196 ns
>                 28    198 ns
>                 29    200 ns
>                 30    202 ns
>                 31    204 ns
>                 32    206 ns
>                 33    208 ns
>                 34    210 ns
>           36          212 ns
>                 35    212 ns
>    37                 233 ns
>    38                 234 ns
>           37          235 ns
>    39                 236 ns
>           38          237 ns
>    40                 238 ns
>           39          239 ns
>    41                 240 ns
>           40          241 ns
>    42                 242 ns
>           41          243 ns
>           42          245 ns
>    43                 286 ns
>    44                 287 ns
>           43          288 ns
>    45                 289 ns
>           44          290 ns
>    46                 291 ns
>                 36    292 ns
>                 37    294 ns
>                 38    296 ns
>                 39    298 ns
> Program completed

FAIL: 2.3/simple_async/test.sh
==============================


        SystemC 2.3.2-Accellera --- Oct  9 2018 17:56:04
        Copyright (c) 1996-2017 by all Contributors,
        ALL RIGHTS RESERVED
test.sh: line 65: 12157 Segmentation fault      ./test > run.log
***ERROR:
1a2,5
> I'm busy!
> Asked to stop at time 10 ns
> The dog barks before the end of simulation
> Program completed

 

Does anyone have ideas why it should be a problem to build with --enable-debug here?

i also tried an older version of g++ (4.8.5) but without success.

Thanks in advance and Cheers,

Jan

 

 

Link to comment
Share on other sites

Thanks for reporting this Aarm64-specific issue! I have forwarded it to the Language Working Group's bug tracker so that we can have a look. Support for Aarm64 in SystemC is relatively new. To help localise the source of the problem, could you try whether it helps to configure SystemC to use Pthreads instead of QuickThreads in addition to `--enable-debug --disable-optimize`?

Link to comment
Share on other sites

Hey thanks for this idea!

When configured with --enable-pthreads it works fine and all unit tests pass:

============================================================================
Testsuite summary for SystemC 2.3.2
============================================================================
# TOTAL: 22
# PASS:  22
# SKIP:  0
# XFAIL: 0
# FAIL:  0
# XPASS: 0
# ERROR: 0
============================================================================
 

Could you give a little explanation of your idea to help me understand why it did not work with quickthreads and debug support?

 

Thanks!!!

Link to comment
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...