Jump to content

kocha

Members
  • Content Count

    17
  • Joined

  • Last visited

Everything posted by kocha

  1. hi, Thank you very much for your answer but valgring error not zero. I tryed install option add "--enable-pthreads" and linker flags "-Wl,-Bstatic -lsystemc -Wl,-Bdynamic -pthread" . And environment variable "SYSTEMC_MEMPOOL_DONT_USE=1". ■ Valgrind message ==2566== Memcheck, a memory error detector ==2566== Copyright (C) 2002-2011, and GNU GPL'd, by Julian Seward et al. ==2566== Using Valgrind-3.7.0 and LibVEX; rerun with -h for copyright info ==2566== Command: ./main ==2566== SystemC 2.3.0-ASI --- Feb 16 2013 23:56:43 Copyright (c) 1996-2012 by all Contributors, ALL RIGHTS
  2. Bonjours, I was trying to execute valgrind this example code. But, error message was displayed. Not SystemC 2.2 is error message. What is a cause? ・Example code #include <systemc> using namespace sc_core; SC_MODULE(hoge) { SC_CTOR(hoge) { SC_THREAD(T); f = 0; } int f; void T(){ } }; int sc_main(int argc, char* argv[]) { hoge *uhoge; uhoge = new hoge("uhoge"); sc_start(); delete uhoge; return 0; } ・Error Message(valgrind option) $> valgrind --leak-check=full ./main ==2289== Memcheck, a memory error detector ==2289== Copyright (C) 2002-2011, and GNU GPL'd,
×
×
  • Create New...