[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] [PATCH v6 14/27] x86/percpu: Adapt percpu for PIE support

On Thu, Jan 31, 2019 at 6:31 PM Christopher Lameter <cl@xxxxxxxxx> wrote:
> On Thu, 31 Jan 2019, Thomas Garnier wrote:
> > The per-cpu symbols are in a section that is zero based to create
> > offsets. The compiler doesn't see them as offsets but as relative
> > symbol and try to relocate them. Given the distance between zero and
> > the mapped kernel is much larger than the instruction offset range, it
> > fails to do it.
> We switch that off in the linker. If that does not work with your
> modifications then you need to figure out how to update the link
> configuration.

It didn't work originally but I will revisit to see if I missed something.

Xen-devel mailing list



Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.