[panda-users] pri_dwarf error on ubuntu 14.04

Brendan Dolan-Gavitt brendandg at nyu.edu
Sun Jun 19 02:20:02 EDT 2016


Yes – we usually use the shared library version of libdwarf. You can
see how we build it in the panda_install.bash script.

-Brendan

On Sat, Jun 18, 2016 at 8:59 PM, Manolis Stamatogiannakis
<mstamat at gmail.com> wrote:
> Hi,
>
> I'm getting a number of link errors like the following when compiling the
> pri_dwarf plugin on ubuntu 14.04:
>
> ...
> /usr/bin/ld: error:
> /usr/lib/gcc/x86_64-linux-gnu/4.9/../../../../lib/libdwarf.a(dwarf_frame.o):
> requires dynamic R_X86_64_PC32 reloc against 'free' which may overflow at
> runtime; recompile with -fPIC
> /usr/bin/ld: error:
> /usr/lib/gcc/x86_64-linux-gnu/4.9/../../../../lib/libdwarf.a(dwarf_frame2.o):
> requires dynamic R_X86_64_PC32 reloc against 'dwarf_dealloc' which may
> overflow at runtime; recompile with -fPIC
> collect2: error: ld returned 1 exit status
> make[2]: ***
> [/home/mstamat/panda/qemu/i386-softmmu/panda_plugins/panda_pri_dwarf.so]
> Error 1
> make[1]: *** [plugin-pri_dwarf] Error 2
> make: *** [subdir-i386-softmmu] Error 2
>
> Anyone else having this?
>
> I guess that the "recompile with -fPIC" refers to libdwarf, right?
>
> Thanks,
> M.
>
> _______________________________________________
> panda-users mailing list
> panda-users at mit.edu
> http://mailman.mit.edu/mailman/listinfo/panda-users
>



-- 
Brendan Dolan-Gavitt
Assistant Professor, Department of Computer Science and Engineering
NYU Tandon School of Engineering



More information about the panda-users mailing list