Re: vdso_install target broken post-3.15

From: Andy Lutomirski
Date: Wed Jun 11 2014 - 11:22:03 EST


On Wed, Jun 11, 2014 at 8:20 AM, Josh Boyer <jwboyer@xxxxxxxxxxxxxxxxx> wrote:
> On Wed, Jun 11, 2014 at 11:18 AM, H. Peter Anvin <hpa@xxxxxxxxx> wrote:
>> On 06/11/2014 08:16 AM, Josh Boyer wrote:
>>> On Wed, Jun 11, 2014 at 10:14 AM, Josh Boyer <jwboyer@xxxxxxxxxxxxxxxxx> wrote:
>>>> Hi,
>>>>
>>>> I'm guessing commit 6f121e548f83674ab4920a4e60afb58d4f61b829 is what
>>>> broke the vdso_install target:
>>>>
>>>> + make -s ARCH=x86_64
>>>> INSTALL_MOD_PATH=/home/jwboyer/rpmbuild/BUILDROOT/kernel-3.16.0-0.rc0.git1.1.fc21.x86_64
>>>> vdso_install KERNELRELEASE=3.16.0-0.rc0.git1.1.fc21.x86_64
>>>> make[1]: *** No rule to make target `arch/x86/vdso/vdso.so.dbg',
>>>> needed by `vdso.so'. Stop.
>>>> make: *** [vdso_install] Error 2
>>>>
>>>> The crazy Fedora versioning there corresponds to
>>>> 3f17ea6dea8ba5668873afa54628a91aaa3fb1c0 in Linus' tree. I'll poke at
>>>> this some, but if you have some quick ideas I'd be happy to try them.
>>>
>>> OK, I'm stumped. Looking at that commit, it removes all target
>>> invocations for vdso.so. Which means even a simple 'make' in the vdso
>>> directory fails with:
>>>
>>> [jwboyer@vader vdso]$ make
>>> make: *** No rule to make target `/vdso.so', needed by `/vdso.o'. Stop.
>>> [jwboyer@vader vdso]$
>>>
>>> So how was this commit build tested?
>>>
>>
>> Since when do we support "make" in a subdirectory?
>
> Dunno. Since when do we break existing make targets that worked fine?
>

make in a subdirectory like that (and the vdso directory in
particular) is amazingly glitchy. I think it's lucky it used to work
like that.

> Seriously, I'm just asking how this was build tested so I can try and
> duplicate that and then figure out how to fix the actual bug.

cd ../../..; make :)

I'll race you to trying to fix it.

--Andy
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/