[panda-users] Compilation issue

Fabien Dombard dombard at synhetik.com
Thu Dec 10 04:54:05 EST 2015


Hi Brendan,

$ dpkg -l | grep -i llvm
ii  libc++-dev:amd64                      3.5-2                                amd64        LLVM C++ Standard library (development files)
ii  libc++-helpers                        3.5-2                                all          LLVM C++ Standard library - build helpers
ii  libc++1:amd64                         3.5-2                                amd64        LLVM C++ Standard library

I've compiled locally llvm 3.3 as per the instructions found within the docs/compile.md.
I also been checking the panda_install.bash and have all necessary dependencies, it fails on the build.sh step.
Thanks,
Fabien 

On Wed, Dec 09, 2015 at 04:06:36PM -0800, Brendan Dolan-Gavitt wrote:
> Hi,
> 
> Could you try using the panda_install.bash script to install? It looks
> like you may be using multiple different versions of LLVM on your
> system.
> 
> -Brendan
> 
> On Wed, Dec 9, 2015 at 1:30 AM, Fabien Dombard <dombard at synhetik.com> wrote:
> > Hi List,
> > I am new to Panda and trying to compile it natively on my workstation.
> > Currently trying with  llvm3.3 from sources within the llvm directory and gcc/g++ 4.9 on debian x86_64.
> >
> > This is what I get when running the build.sh script:
> >
> > 386-softmmu/llvm-helpers.bc1
> > WARNING: Linking two modules of different target triples: fpu/softfloat.bc2: 'x86_64-pc-linux-gnu' and 'x86_64-unknown-linux-gnu'
> > 0  llvm-link       0x000000000064a342
> > 1  llvm-link       0x0000000000649fac
> > 2  libpthread.so.0 0x00002ab9896ea8d0
> > 3  llvm-link       0x0000000000546718
> > 4  llvm-link       0x0000000000546731
> > 5  llvm-link       0x000000000060222f
> > 6  llvm-link       0x0000000000605354
> > 7  llvm-link       0x00000000006058e2
> > 8  llvm-link       0x0000000000605d32
> > 9  llvm-link       0x0000000000609716
> > 10 llvm-link       0x00000000005eca3f
> > 11 llvm-link       0x00000000005ecfab
> > 12 llvm-link       0x00000000005ed1fe
> > 13 llvm-link       0x000000000060bdb9
> > 14 llvm-link       0x000000000040b06f
> > 15 libc.so.6       0x00002ab98a3afb45 __libc_start_main + 245
> > 16 llvm-link       0x000000000040d8b2
> > Stack dump:
> > 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
> > 1.      Running pass 'Function Pass Manager' on module 'op_helper.bc2'.
> > 2.      Running pass 'Module Verifier' on function '@int32_to_float64'
> > Segmentation fault
> >
> > Any help would be welcome!
> > Thanks,
> > Fabien
> > _______________________________________________
> > panda-users mailing list
> > panda-users at mit.edu
> > http://mailman.mit.edu/mailman/listinfo/panda-users


More information about the panda-users mailing list