Jump to content

make check failure while installing SystemC


sitarambanda

Recommended Posts

Hi,

 

I am running cygwin64 on windows 8.1 machine. I am running into below failure while running "make check" while installing SystemC on my machine. Can some one help me?

 

PASS: rsa/test.sh

        SystemC 2.3.1-Accellera --- May 19 2015 17:31:07
        Copyright © 1996-2014 by all Contributors,
        ALL RIGHTS RESERVED
***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_bus/test.sh

        SystemC 2.3.1-Accellera --- May 19 2015 17:31:07
        Copyright © 1996-2014 by all Contributors,
        ALL RIGHTS RESERVED
PASS: simple_fifo/test.sh

        SystemC 2.3.1-Accellera --- May 19 2015 17:31:07
        Copyright © 1996-2014 by all Contributors,
        ALL RIGHTS RESERVED

.

.

.

.

.

=============================================================
1 of 21 tests failed
Please report to http://forums.accellera.org/forum/9-systemc/
=============================================================
Makefile:2684: recipe for target 'check-TESTS' failed
make[3]: *** [check-TESTS] Error 1
make[3]: Leaving directory '/cygdrive/d/projects/research/systemc/systemc-2.3.1/systemc-2.3.1/objdir/examples/sysc'
Makefile:2807: recipe for target 'check-am' failed
make[2]: *** [check-am] Error 2
make[2]: Leaving directory '/cygdrive/d/projects/research/systemc/systemc-2.3.1/systemc-2.3.1/objdir/examples/sysc'
Makefile:357: recipe for target 'check-recursive' failed
make[1]: *** [check-recursive] Error 1
make[1]: Leaving directory '/cygdrive/d/projects/research/systemc/systemc-2.3.1/systemc-2.3.1/objdir/examples'
Makefile:434: recipe for target 'check-recursive' failed
make: *** [check-recursive] Error 1

sbanda@sbanda-01 /cygdrive/d/projects/research/systemc/systemc-2.3.1/systemc-2.3.1/objdir
 

Link to comment
Share on other sites

Can you check, if the golden.log file has been copied correctly to the objdir/examples/sysc/simple_bus directory?

On Cygwin, the symlinking detection is sometimes not realiably working...

 

Alternatively, you can try passing 'LN_S=cp -a' (including the quotes) as option to the configure call.

 

hth,
  Philipp

Link to comment
Share on other sites

  • 2 months later...

Hello,

I am running into the exact same error running 'make check' on Cygwin64 (both Windows 7Pro & 8) ...

 

The 'golden.log' file exist in objdir/examples/sysc/simple_bus

 

I tried passing 'LN_C=cp -a' to configure ... same result

 

My colleague says SystemC 2.3.1 installs cleanly in Cygwin32

 

Any help here ???

 

Thanks

Link to comment
Share on other sites

Ok, it seems that the test itself fails to run (diff output indicates a missing run.log, not a missing golden.log).  Can you please post the full output of running the test.exe in the objdir/examples/sysc/simple_bus manually? Maybe you can also attach a debugger and provide more information on the crash (if there is one)?

 

That said, cygwin64 has never been tested and is not really supported by the Accellera proof-of-concept implementation. If possible, please report the results of running the full regression package (available at http://accellera.org/downloads/standards/systemc) on that platform, too.

 

Thanks,
  Philipp

Link to comment
Share on other sites

  • 3 weeks later...

Hi, I get the same error described by the OP and I have the same configuration. Here is the output when I run ./test.exe:

Wes@kirk-asus ~/systemc/systemc-2.3.1/examples/sysc/simple_bus
$ ./test.exe


        SystemC 2.3.1-Accellera --- Aug 28 2015 10:54:34
        Copyright (c) 1996-2014 by all Contributors,
        ALL RIGHTS RESERVED

and here is the directory listing. Notice that the run.log is empty.

Wes@kirk-asus ~/systemc/systemc-2.3.1/examples/sysc/simple_bus
$ ll
total 789K
-rwx---r-x 1 Wes Wes 1013 Apr 18  2014 ChangeLog*
-rw----r-- 1 Wes Wes 5.6K Aug 28 13:24 diff.log
-rw----r-- 1 Wes Wes 5.4K Aug 28 13:24 expected_trimmed.log
-rwx---r-x 1 Wes Wes 5.4K Apr 18  2014 golden.log*
-rwx---r-x 1 Wes Wes 1.1K Apr 18  2014 LEGAL*
-rwx---r-x 1 Wes Wes  133 Apr 18  2014 Makefile*
-rwx---r-x 1 Wes Wes  32K Apr 18  2014 README*
-rw----r-- 1 Wes Wes    0 Aug 28 13:24 run.log
-rw----r-- 1 Wes Wes    0 Aug 28 13:24 run_trimmed.log
-rwx---r-x 1 Wes Wes  14K Apr 18  2014 simple_bus.cpp*
-rwx---r-x 1 Wes Wes 3.8K Apr 18  2014 simple_bus.h*
-rwx---r-x 1 Wes Wes  11K Apr 18  2014 simple_bus.vcproj*
-rwx---r-x 1 Wes Wes 3.5K Apr 18  2014 simple_bus_arbiter.cpp*
-rwx---r-x 1 Wes Wes 2.1K Apr 18  2014 simple_bus_arbiter.h*
-rwx---r-x 1 Wes Wes 1.8K Apr 18  2014 simple_bus_arbiter_if.h*
-rwx---r-x 1 Wes Wes 2.2K Apr 18  2014 simple_bus_blocking_if.h*
-rwx---r-x 1 Wes Wes 1.9K Apr 18  2014 simple_bus_direct_if.h*
-rwx---r-x 1 Wes Wes 3.6K Apr 18  2014 simple_bus_fast_mem.h*
-rwx---r-x 1 Wes Wes 1.7K Apr 18  2014 simple_bus_main.cpp*
-rwx---r-x 1 Wes Wes 2.5K Apr 18  2014 simple_bus_master_blocking.cpp*
-rwx---r-x 1 Wes Wes 2.5K Apr 18  2014 simple_bus_master_blocking.h*
-rwx---r-x 1 Wes Wes 2.2K Apr 18  2014 simple_bus_master_direct.cpp*
-rwx---r-x 1 Wes Wes 2.4K Apr 18  2014 simple_bus_master_direct.h*
-rwx---r-x 1 Wes Wes 2.9K Apr 18  2014 simple_bus_master_non_blocking.cpp*
-rwx---r-x 1 Wes Wes 2.6K Apr 18  2014 simple_bus_master_non_blocking.h*
-rwx---r-x 1 Wes Wes 2.1K Apr 18  2014 simple_bus_non_blocking_if.h*
-rwx---r-x 1 Wes Wes 2.2K Apr 18  2014 simple_bus_request.h*
-rwx---r-x 1 Wes Wes 2.0K Apr 18  2014 simple_bus_slave_if.h*
-rwx---r-x 1 Wes Wes 4.5K Apr 18  2014 simple_bus_slow_mem.h*
-rwx---r-x 1 Wes Wes 3.6K Apr 18  2014 simple_bus_test.h*
-rw----r-- 1 Wes Wes 118K Aug 28 11:16 simple_bus_test-simple_bus.o
-rw----r-- 1 Wes Wes  38K Aug 28 11:17 simple_bus_test-simple_bus_arbiter.o
-rw----r-- 1 Wes Wes 223K Aug 28 11:17 simple_bus_test-simple_bus_main.o
-rw----r-- 1 Wes Wes  28K Aug 28 11:17 simple_bus_test-simple_bus_master_blocking.o
-rw----r-- 1 Wes Wes  28K Aug 28 11:17 simple_bus_test-simple_bus_master_direct.o
-rw----r-- 1 Wes Wes  28K Aug 28 11:17 simple_bus_test-simple_bus_master_non_blocking.o
-rw----r-- 1 Wes Wes  877 Aug 28 11:17 simple_bus_test-simple_bus_tools.o
-rw----r-- 1 Wes Wes  607 Aug 13 00:38 simple_bus_test-simple_bus_types.o
-rwx---r-x 1 Wes Wes 1.8K Apr 18  2014 simple_bus_tools.cpp*
-rwx---r-x 1 Wes Wes 1.8K Apr 18  2014 simple_bus_types.cpp*
-rwx---r-x 1 Wes Wes 2.0K Apr 18  2014 simple_bus_types.h*
-rwx---r-x 1 Wes Wes  91K Apr 18  2014 SLIDES.pdf*
-rwx---r-x 1 Wes Wes 3.5K Apr 18  2014 test.am*
-rwx---r-x 1 Wes Wes  27K Aug 28 11:17 test.exe*
-rwx---r-x 1 Wes Wes 2.7K Aug 28 13:05 test.sh*

When I ran configure, I used these options:

./configure --prefix=/usr/local/systemc-2.3.1  'LN_S=cp -a'

Should there be a golden.log in every example directory, because this is the only one I find. See:

 

Wes@kirk-asus ~/systemc/systemc-2.3.1/examples/sysc
$ find . -name "golden.log"
./simple_bus/golden.log

Thanks,

Wes

 

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...