Linux x86 PLI libraries

Hi,

I just downloaded the latest release with the x86 linux binaries. Trying to run regression with VCS and got some linking errors with the PLI libraries. I went into the lib directory and couldn't find these symbols in the .a files. However these symbols seem to exist in the SunOS libs. Has anyone run into the same problem?

thanks

5NrIB_d.o(.data+0x50d0): undefined reference to `new_jbus_mon_cycle'

5NrIB_d.o(.data+0x50d4): undefined reference to `jbus_mon_init'

5NrIB_d.o(.data+0x5118): undefined reference to `new_jbus_check_cycle'

5NrIB_d.o(.data+0x511c): undefined reference to `jbus_check_init'

5NrIB_d.o(.data+0x5160): undefined reference to `update_jbus_mon_outputs'

5NrIB_d.o(.data+0x5184): undefined reference to `update_jbus_check_outputs'

5NrIB_d.o(.data+0x51a8): undefined reference to `jbus_mon_do_finish'

[892 byte] By [t1eval] at [2007-11-26 10:00:34]
# 1

JBus Monitor is not available under Linux, as it uses SunOS multi-threading

libraries, and hence it's disabled.

I am not sure which Linux system you are using, but if your system

is returning "Linux" for "uname -s", and it's returning "i686" for "uname -m"

the sims script should include core1.Linux.i686 or chip8.Linux.i686 from

tools/src/sims directory, which includes

-sim_build_args=+define+NO_JBUS_MON

If it's not including this, you can add above -sim_build_args to your sims command.

OpenSparc at 2007-7-7 1:29:44 > top of Java-index,Open Source Technologies,OpenSPARC...
# 2

I had the same problem. The issue is that some Linux (AMD64) return

x86_64.

On Sep 7, 2006, at 3:57 PM, general@opensparc.info wrote:

> JBus Monitor is not available under Linux, as it uses SunOS

> multi-threading

> libraries, and hence it's disabled.

>

> I am not sure which Linux system you are using, but if your system

> is returning "Linux" for "uname -s", and it's returning "i686" for

> "uname -m"

> the sims script should include core1.Linux.i686 or chip8.Linux.i686

> from

> tools/src/sims directory, which includes

>

> -sim_build_args=+define+NO_JBUS_MON

>

> If it's not including this, you can add above -sim_build_args to your

> sims command.

>

> [Message sent by forum member 'OpenSparc' (Raju Joshi)]

> http://forum.sun.com/jive/thread.jspa?messageID=362358

>

>

> To unsubscribe, e-mail: general-unsubscribe@opensparc.sunsource.net

> For additional commands, e-mail: general-help@opensparc.sunsource.net

>

--

The best way to predict the future is to invent it.

- Alan Kay

To unsubscribe, e-mail: general-unsubscribe@opensparc.sunsource.net

For additional commands, e-mail: general-help@opensparc.sunsource.net

OpenSparc at 2007-7-7 1:29:44 > top of Java-index,Open Source Technologies,OpenSPARC...
# 3
I had the same problem with 64-bit Linux (uname -m returns x86_64). Just copy the *.i686 names to *.x86_64
mpsadmserver at 2007-7-7 1:29:44 > top of Java-index,Open Source Technologies,OpenSPARC...
# 4
Thanks a lot folks!That was exactly the problem. I'm running on Centos 4.4 (x86_64).
t1eval at 2007-7-7 1:29:44 > top of Java-index,Open Source Technologies,OpenSPARC...
# 5

Sorry to bother you guys again, how did you guys manage to resolve the perlmod issue (another x86_64 related i think). This is the hack I did for the perlmod:

cd $PERL_MODULE_BASE

ln -s Linux-i686 Linux-x86_64

Can't load '/scratch/OpenSPARCT1.1.3/tools/perlmod/Linux-x86_64/auto/Bit/Vector/Vector.so' for module Bit::Vector: /scratch/OpenSPARCT1.1.3/tools/perlmod/Linux-x86_64/auto/Bit/Vector/Vector.so: cannot open shared object file: No such file or directory at /usr/lib64/perl5/5.8.5/x86_64-linux-thread-multi/DynaLoader.pm line 230.

t1eval at 2007-7-7 1:29:44 > top of Java-index,Open Source Technologies,OpenSPARC...
# 6
For each file listed by "find . -name '*i686*'", I created a link or a copy with x86_64I just tried this command line:sims -sim_type=vcs -group=core1_mini -novera_build -novera_run
mpsadmserver at 2007-7-7 1:29:44 > top of Java-index,Open Source Technologies,OpenSPARC...
# 7
Thanks. That's what I did but i still get the same error for some reason.I did some digging and it looks like Vector.so is a 32bit library and my 64 perl can't load it. Is your perl 64bit?
t1eval at 2007-7-7 1:29:44 > top of Java-index,Open Source Technologies,OpenSPARC...
# 8

Yes,

On Sep 8, 2006, at 4:30 PM, general@opensparc.info wrote:

> Thanks. That's what I did but i still get the same error for some

> reason.

>

> I did some digging and it looks like Vector.so is a 32bit library and

> my 64 perl can't load it.

>

> Is your perl 64bit?

>

> [Message sent by forum member 't1eval' (Perry Wang)]

> http://forum.sun.com/jive/thread.jspa?messageID=362741

>

>

> To unsubscribe, e-mail: general-unsubscribe@opensparc.sunsource.net

> For additional commands, e-mail: general-help@opensparc.sunsource.net

>

--

You are as good as the tools that you have.

- Unknown

To unsubscribe, e-mail: general-unsubscribe@opensparc.sunsource.net

For additional commands, e-mail: general-help@opensparc.sunsource.net

t1eval at 2007-7-7 1:29:44 > top of Java-index,Open Source Technologies,OpenSPARC...