On 26/11/2019 18:37, Wieczorkiewicz, Pawel wrote:
> It looks like gcc plays the usual dirty tricks with local variables renaming:
> 
> - xen-syms
>   7529: ffff82d0805fed50     8 OBJECT  LOCAL  DEFAULT 4230 lastpage.22857
> - livepatch
>    289: 0000000000000000     8 OBJECT  GLOBAL DEFAULT  UND 
> hvm.c#lastpage.22856
> 
> Then, symbols resolution by name fails..
> 
> Can you please try to build the livepatch module with additional option 
> '—prelink' and give it a try ?

My LP loading error is:

    (XEN) livepatch: lp: Unknown symbol: .LC7

When I pass --prelink to livepatch-build, it complains in a similar way:

    livepatch-build-tools/prelink: ERROR: output.o: livepatch_resolve_symbols: 
80: lookup_local_symbol .LC7 (p2m.c)

--
Thanks,
Sergey

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xenproject.org
https://lists.xenproject.org/mailman/listinfo/xen-devel

Reply via email to