* [Qemu-devel] Makefile: Dependency problem
@ 2013-05-08 8:39 Kevin Wolf
2013-05-08 8:44 ` Paolo Bonzini
2013-05-08 8:53 ` Dongsheng Song
0 siblings, 2 replies; 5+ messages in thread
From: Kevin Wolf @ 2013-05-08 8:39 UTC (permalink / raw)
To: qemu-devel; +Cc: pbonzini
Hi,
I just had a failing build like this (make -j3, so these are running in
parallel):
lt LINK libcacard.la
AR libqemuutil.a
CC stubs/mon-printf.o
CC stubs/mon-print-filename.o
ar: stubs/mon-printf.o: No such file or directory
make: *** [libcacard.la] Fehler 1
make: *** Warte auf noch nicht beendete Prozesse...
Restarting make obviously fixed the problem, but I thought I'd mention it
here so that the dependencies can be fixed.
Kevin
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [Qemu-devel] Makefile: Dependency problem
2013-05-08 8:39 [Qemu-devel] Makefile: Dependency problem Kevin Wolf
@ 2013-05-08 8:44 ` Paolo Bonzini
2013-05-08 9:00 ` Kevin Wolf
2013-05-08 8:53 ` Dongsheng Song
1 sibling, 1 reply; 5+ messages in thread
From: Paolo Bonzini @ 2013-05-08 8:44 UTC (permalink / raw)
To: Kevin Wolf; +Cc: qemu-devel
> I just had a failing build like this (make -j3, so these are running in
> parallel):
>
> lt LINK libcacard.la
> AR libqemuutil.a
> CC stubs/mon-printf.o
> CC stubs/mon-print-filename.o
> ar: stubs/mon-printf.o: No such file or directory
> make: *** [libcacard.la] Fehler 1
> make: *** Warte auf noch nicht beendete Prozesse...
>
> Restarting make obviously fixed the problem, but I thought I'd mention it
> here so that the dependencies can be fixed.
Please try to reproduce it with "make V=1". Did you have
an "lt CC stubs/mon-printf.lo" before?
What version of Make is this?
Paolo
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [Qemu-devel] Makefile: Dependency problem
2013-05-08 8:44 ` Paolo Bonzini
@ 2013-05-08 9:00 ` Kevin Wolf
2013-05-08 10:10 ` Paolo Bonzini
0 siblings, 1 reply; 5+ messages in thread
From: Kevin Wolf @ 2013-05-08 9:00 UTC (permalink / raw)
To: Paolo Bonzini; +Cc: qemu-devel
Am 08.05.2013 um 10:44 hat Paolo Bonzini geschrieben:
>
> > I just had a failing build like this (make -j3, so these are running in
> > parallel):
> >
> > lt LINK libcacard.la
> > AR libqemuutil.a
> > CC stubs/mon-printf.o
> > CC stubs/mon-print-filename.o
> > ar: stubs/mon-printf.o: No such file or directory
> > make: *** [libcacard.la] Fehler 1
> > make: *** Warte auf noch nicht beendete Prozesse...
> >
> > Restarting make obviously fixed the problem, but I thought I'd mention it
> > here so that the dependencies can be fixed.
>
> Please try to reproduce it with "make V=1".
Doesn't seem to be reproducable now.
> Did you have an "lt CC stubs/mon-printf.lo" before?
Nope, neither before this, nor during the following make run. So I guess
it left an old version of it? Would explain why it doesn't reproduce
after a "make clean".
> What version of Make is this?
make-3.82-13.fc18.x86_64
Kevin
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [Qemu-devel] Makefile: Dependency problem
2013-05-08 9:00 ` Kevin Wolf
@ 2013-05-08 10:10 ` Paolo Bonzini
0 siblings, 0 replies; 5+ messages in thread
From: Paolo Bonzini @ 2013-05-08 10:10 UTC (permalink / raw)
To: Kevin Wolf; +Cc: qemu-devel
Il 08/05/2013 11:00, Kevin Wolf ha scritto:
> Am 08.05.2013 um 10:44 hat Paolo Bonzini geschrieben:
>>
>>> I just had a failing build like this (make -j3, so these are running in
>>> parallel):
>>>
>>> lt LINK libcacard.la
>>> AR libqemuutil.a
>>> CC stubs/mon-printf.o
>>> CC stubs/mon-print-filename.o
>>> ar: stubs/mon-printf.o: No such file or directory
>>> make: *** [libcacard.la] Fehler 1
>>> make: *** Warte auf noch nicht beendete Prozesse...
>>>
>>> Restarting make obviously fixed the problem, but I thought I'd mention it
>>> here so that the dependencies can be fixed.
>>
>> Please try to reproduce it with "make V=1".
>
> Doesn't seem to be reproducable now.
>
>> Did you have an "lt CC stubs/mon-printf.lo" before?
>
> Nope, neither before this, nor during the following make run. So I guess
> it left an old version of it?
Yeah, it's possible that you have the .lo file, but deleted the .o file.
libtool actually needs both, but the Makefile rule only has the .lo
file (if you try "%.lo %.o: %.c", Make starts using libtool to build
everything!).
Paolo
> Would explain why it doesn't reproduce after a "make clean".
>
>> What version of Make is this?
>
> make-3.82-13.fc18.x86_64
>
> Kevin
>
>
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [Qemu-devel] Makefile: Dependency problem
2013-05-08 8:39 [Qemu-devel] Makefile: Dependency problem Kevin Wolf
2013-05-08 8:44 ` Paolo Bonzini
@ 2013-05-08 8:53 ` Dongsheng Song
1 sibling, 0 replies; 5+ messages in thread
From: Dongsheng Song @ 2013-05-08 8:53 UTC (permalink / raw)
To: Kevin Wolf; +Cc: pbonzini, qemu-devel
On Wed, May 8, 2013 at 4:39 PM, Kevin Wolf <kwolf@redhat.com> wrote:
> Hi,
>
> I just had a failing build like this (make -j3, so these are running in
> parallel):
>
> lt LINK libcacard.la
> AR libqemuutil.a
> CC stubs/mon-printf.o
> CC stubs/mon-print-filename.o
> ar: stubs/mon-printf.o: No such file or directory
> make: *** [libcacard.la] Fehler 1
> make: *** Warte auf noch nicht beendete Prozesse...
>
> Restarting make obviously fixed the problem, but I thought I'd mention it
> here so that the dependencies can be fixed.
>
> Kevin
>
I use 'make -j8' on qemu 1.4.1 and 1.5.0-rc, both looks fine:
--build=x86_64-unknown-linux-gnu --host=i686-w64-mingw32
--build=x86_64-unknown-linux-gnu --host=x86_64-w64-mingw32
Regards,
Dongsheng
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2013-05-08 10:11 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-05-08 8:39 [Qemu-devel] Makefile: Dependency problem Kevin Wolf
2013-05-08 8:44 ` Paolo Bonzini
2013-05-08 9:00 ` Kevin Wolf
2013-05-08 10:10 ` Paolo Bonzini
2013-05-08 8:53 ` Dongsheng Song
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).