Re: vdso_install target broken post-3.15

H. Peter Anvin
2014-06-11T15:24:36Z

On 06/11/2014 08:20 AM, Andy Lutomirski wrote:
>
> Is vdso_install supposed to install a .so file or just a .so.dbg file?
> I'm having trouble parsing this:
>
> quiet_cmd_vdso_install = INSTALL $@
> cmd_vdso_install = cp $(obj)/$@.dbg $(MODLIB)/vdso/$@
> $(vdso-install-y): %.so: $(obj)/%.so.dbg FORCE
> @mkdir -p $(MODLIB)/vdso
> $(call cmd,vdso_install)
>
> This seems like a rather complicated way of saying that the .so.dbg is
> installed with the .dbg at the end removed. We can do that. Let me
> see if I can disentangle the makefile enough.
>

That is, indeed, what it says.

> If we need real stripped .so files, vdso2c knows how to generate them,
> but the makefile doesn't invoke it like that. I don't see why we'd
> want to install them, though.

I don't think there is any point in that.

-hpa