<div dir="ltr"><div><div><div>Hi Fabien,<br><br></div>IIRC, .rr traces are compressed and you need to run rrunpack.py to decompress them before processing.<br><br></div>Cheers,<br></div>M.<br><br></div><div class="gmail_extra"><br><div class="gmail_quote">2015-12-14 14:18 GMT+01:00 Fabien Dombard <span dir="ltr"><<a href="mailto:dombard@synhetik.com" target="_blank">dombard@synhetik.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
I've been apparenly building succesfully Panda on a Debian 8 at work, only difference is gcc/g++ 4.8 this time.<br>
However I have an issue replaying anything from rrshare, is that a trace format incompatibility or sommeting with regard to my build?<br>
<br>
$ /home/user/panda/qemu/x86_64-softmmu/qemu-system-x86_64 -m 1024 -replay spotify.rr<br>
loading snapshot<br>
qemu-system-x86_64: Could not open VM state file<br>
... done.<br>
opening nondet log for read : ./spotify.rr-rr-nondet.log<br>
RR rr_assertion `rr_nondet_log->fp != NULL' failed at /home/user/panda/qemu/rr_log.c:1322<br>
Current log point:<br>
<queue empty><br>
Current replay point:<br>
{guest_instr_count=0 pc=0x00000000, secondary=0x00000000}<br>
<br>
Thanks!<br>
<span class="HOEnZb"><font color="#888888">Fabien<br>
</font></span><div class="HOEnZb"><div class="h5"><br>
On Thu, Dec 10, 2015 at 10:54:05AM +0100, Fabien Dombard wrote:<br>
> Hi Brendan,<br>
><br>
> $ dpkg -l | grep -i llvm<br>
> ii libc++-dev:amd64 3.5-2 amd64 LLVM C++ Standard library (development files)<br>
> ii libc++-helpers 3.5-2 all LLVM C++ Standard library - build helpers<br>
> ii libc++1:amd64 3.5-2 amd64 LLVM C++ Standard library<br>
><br>
> I've compiled locally llvm 3.3 as per the instructions found within the docs/<a href="http://compile.md" rel="noreferrer" target="_blank">compile.md</a>.<br>
> I also been checking the panda_install.bash and have all necessary dependencies, it fails on the build.sh step.<br>
> Thanks,<br>
> Fabien<br>
><br>
> On Wed, Dec 09, 2015 at 04:06:36PM -0800, Brendan Dolan-Gavitt wrote:<br>
> > Hi,<br>
> ><br>
> > Could you try using the panda_install.bash script to install? It looks<br>
> > like you may be using multiple different versions of LLVM on your<br>
> > system.<br>
> ><br>
> > -Brendan<br>
> ><br>
> > On Wed, Dec 9, 2015 at 1:30 AM, Fabien Dombard <<a href="mailto:dombard@synhetik.com">dombard@synhetik.com</a>> wrote:<br>
> > > Hi List,<br>
> > > I am new to Panda and trying to compile it natively on my workstation.<br>
> > > Currently trying with llvm3.3 from sources within the llvm directory and gcc/g++ 4.9 on debian x86_64.<br>
> > ><br>
> > > This is what I get when running the build.sh script:<br>
> > ><br>
> > > 386-softmmu/llvm-helpers.bc1<br>
> > > WARNING: Linking two modules of different target triples: fpu/softfloat.bc2: 'x86_64-pc-linux-gnu' and 'x86_64-unknown-linux-gnu'<br>
> > > 0 llvm-link 0x000000000064a342<br>
> > > 1 llvm-link 0x0000000000649fac<br>
> > > 2 libpthread.so.0 0x00002ab9896ea8d0<br>
> > > 3 llvm-link 0x0000000000546718<br>
> > > 4 llvm-link 0x0000000000546731<br>
> > > 5 llvm-link 0x000000000060222f<br>
> > > 6 llvm-link 0x0000000000605354<br>
> > > 7 llvm-link 0x00000000006058e2<br>
> > > 8 llvm-link 0x0000000000605d32<br>
> > > 9 llvm-link 0x0000000000609716<br>
> > > 10 llvm-link 0x00000000005eca3f<br>
> > > 11 llvm-link 0x00000000005ecfab<br>
> > > 12 llvm-link 0x00000000005ed1fe<br>
> > > 13 llvm-link 0x000000000060bdb9<br>
> > > 14 llvm-link 0x000000000040b06f<br>
> > > 15 libc.so.6 0x00002ab98a3afb45 __libc_start_main + 245<br>
> > > 16 llvm-link 0x000000000040d8b2<br>
> > > Stack dump:<br>
> > > 0. Program arguments: /home/user/panda/llvm/Release/bin/llvm-link -o llvm-helpers.bc1 op_helper.bc2 fpu/softfloat.bc2 helper.bc2 host-utils.bc2<br>
> > > 1. Running pass 'Function Pass Manager' on module 'op_helper.bc2'.<br>
> > > 2. Running pass 'Module Verifier' on function '@int32_to_float64'<br>
> > > Segmentation fault<br>
> > ><br>
> > > Any help would be welcome!<br>
> > > Thanks,<br>
> > > Fabien<br>
> > > _______________________________________________<br>
> > > panda-users mailing list<br>
> > > <a href="mailto:panda-users@mit.edu">panda-users@mit.edu</a><br>
> > > <a href="http://mailman.mit.edu/mailman/listinfo/panda-users" rel="noreferrer" target="_blank">http://mailman.mit.edu/mailman/listinfo/panda-users</a><br>
> _______________________________________________<br>
> panda-users mailing list<br>
> <a href="mailto:panda-users@mit.edu">panda-users@mit.edu</a><br>
> <a href="http://mailman.mit.edu/mailman/listinfo/panda-users" rel="noreferrer" target="_blank">http://mailman.mit.edu/mailman/listinfo/panda-users</a><br>
_______________________________________________<br>
panda-users mailing list<br>
<a href="mailto:panda-users@mit.edu">panda-users@mit.edu</a><br>
<a href="http://mailman.mit.edu/mailman/listinfo/panda-users" rel="noreferrer" target="_blank">http://mailman.mit.edu/mailman/listinfo/panda-users</a><br>
</div></div></blockquote></div><br></div>