Re: [Qemu-devel] [kvm-unit-tests PATCH 2/2] arm/arm64 config: Fix arch_clean rule

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

 



On Fri, Sep 04, 2015 at 03:48:35PM +0200, Alexander Spyridakis wrote:
> On 4 September 2015 at 12:48, Andrew Jones <drjones@xxxxxxxxxx> wrote:
> > Are you also running configure (with the opposite arch selected) after
> > 'make clean'? If not, then that could be the source of your problems.
> > Anyway, please describe the issues you're seeing because I don't see
> > what this patch is doing that isn't already being done. The lines this
> > patch adds are already there. See the arm_clean target in
> > config/config-arm-common.mak.
> 
> Steps to reproduce my issue:
> > ./configure --arch=arm --cross-prefix=arm-linux-gnueabihf-
> > make
> > ./configure --arch=arm64 --cross-prefix=aarch64-linux-gnu-
> > make clean && make
> > arm/selftest.o: error adding symbols: File in wrong format

This doesn't reproduce for me. I did the following, and it worked
fine.

make distclean
./configure --arch=arm --cross-prefix=arm-linux-gnu-
make
./configure --arch=arm64 --cross-prefix=aarch64-linux-gnu-
make clean && make


But anyway I would suggest you do your 'make clean' or even a
'make distclean' *before* running configure the second time.
Otherwise you'll leave old object files around from the previously
configured arch. I.e. you want 'make clean' to apply to the
currently built config, not the new (not yet built) config.

drew

> 
> I would expect that after 'make clean', the object and binary files
> are removed. Instead they are not and I have to manually remove them
> before rebuilding. Running 'make clean' before and/or after
> reconfiguring still produces the same issue for me.
> 
> Thanks.
> --
> To unsubscribe from this list: send the line "unsubscribe kvm" in
> the body of a message to majordomo@xxxxxxxxxxxxxxx
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux