1 Reply Latest reply: Feb 22, 2011 1:12 AM by 841637 RSS

    OpenSPARCT1 : Error while performing regression

    837687
      I have been trying to run regressions for OpenSPARCT1. I am trying to use modelsim as the simulator.

      The command I used for running the regression is
      sims -sim_type=mti -group=core1_mini -sim_build_cmd=/home/user_name/ModelSIM/modeltech/linux/vlog -sim_run_cmd=/home/user_name/ModelSIM/modeltech/linux/vsim -sim_build_args="-work /home/user_name/OpenSPARCT1_model/work" -sim_run_args=/home/user_name/OpenSPARCT1_model/work.cmp_top -novera_build -novera_run

      But I keep getting the following error:
      /usr/bin/perl: symbol lookup error: ~/OpenSPARCT1/tools/perlmod/Linux-i686/auto/Bit/Vector/Vector.so: undefined symbol: Perl_Tstack_sp_ptr

      I have PERL 5.10.1 installed in my linux i686 machine. I have Ubuntu 9.10 LTS installed.

      The reason seems to be due to be using PERL5.8.7 when the script was compiled. The reasons are specified here

      "bugs.archlinux.org/task/9078"


      Can anybody point me in the right direction as to what exactly is to be done. I tried reinstalling perl 5.8.7 but that dint seem to solve the problem. I dont understand what "recompiling the library using perl 5.10" that is mentioned in the above mentioned link.
        • 1. Re: OpenSPARCT1 : Error while performing regression
          841637
          Hi,
          I had the same problem.
          What is your OS?
          If it is Ubuntu, you should do this:

          wget http://archive.debian.org/debian/pool/main/p/perl/perl-modules_5.8.8-7etch6_all.deb
          wget http://archive.debian.org/debian/pool/main/p/perl/perl_5.8.8-7etch6_i386.deb
          wget http://archive.debian.org/debian/pool/main/p/perl/perl-base_5.8.8-7etch6_i386.deb
          wget http://archive.debian.org/debian/pool/main/p/perl/libperl5.8_5.8.8-7etch6_i386.deb
          wget http://archive.debian.org/debian/pool/main/d/db4.4/libdb4.4_4.4.20-8_i386.deb
          wget http://archive.debian.org/debian/pool/main/libs/libsocket6-perl/libsocket6-perl_0.19-1_i386.deb
          wget http://archive.debian.org/debian/pool/main/libt/libterm-readkey-perl/libterm-readkey-perl_2.30-3_i386.deb
          wget http://archive.debian.org/debian/pool/main/libl/liblocale-gettext-perl/liblocale-gettext-perl_1.05-1_i386.deb
          wget http://archive.debian.org/debian/pool/main/libt/libtext-iconv-perl/libtext-iconv-perl_1.4-3_i386.deb
          wget http://archive.debian.org/debian/pool/main/libt/libtext-charwidth-perl/libtext-charwidth-perl_0.04-4_i386.deb
          wget http://archive.debian.org/debian/pool/main/libn/libnet-ssleay-perl/libnet-ssleay-perl_1.30-1_i386.deb
          wget http://archive.debian.org/debian/pool/main/libn/libnet-libidn-perl/libnet-libidn-perl_0.07-1_i386.deb

          dpkg -i perl-modules_5.8.8-7etch6_all.deb perl-base_5.8.8-7etch6_i386.deb \
          perl_5.8.8-7etch6_i386.deb libperl5.8_5.8.8-7etch6_i386.deb \
          libdb4.4_4.4.20-8_i386.deb libsocket6-perl_0.19-1_i386.deb \
          libterm-readkey-perl_2.30-3_i386.deb liblocale-gettext-perl_1.05-1_i386.deb \
          libtext-iconv-perl_1.4-3_i386.deb libtext-charwidth-perl_0.04-4_i386.deb \
          libnet-ssleay-perl_1.30-1_i386.deb libnet-libidn-perl_0.07-1_i386.deb

          after that you have no error!

          when I want to simulate with modelsim, I got some errors:
          ** Error: (vlog-25) Invalid ModelSim library "/home/user_name/OpenSPARCT1_model/work". No _info file found.
          No such file or directory. (errno = ENOENT)
          ** Error: (vlog-19) Failed to access library 'work' at "work".
          No such file or directory. (errno = ENOENT)
          sims: Caught a SIGDIE. failed building model at /home/user_name/OpenSPARCT1/tools/src/sims/sims,1.262 line 2285.
          how should I handle it?