qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [Bug 676190] [NEW] Latest git fails to link - missing main() routine
@ 2010-11-16 18:37 Nigel Horne
  2010-11-16 21:14 ` Stefan Hajnoczi
  0 siblings, 1 reply; 3+ messages in thread
From: Nigel Horne @ 2010-11-16 18:37 UTC (permalink / raw)
  To: qemu-devel

Public bug reported:

I can't get git 2834c3e0140c3b0ed4422909dfa0607b7213d95d to link on my
Debian Linux/x86_64 machine with gcc4.4:

All goes well until the link stage:

/usr/lib/gcc/x86_64-linux-gnu/4.4.5/../../../../lib/crt1.o: In function `_start':
(.text+0x20): undefined reference to `main'
collect2: ld returned 1 exit status
make[1]: *** [trace] Error 1
make: *** [subdir-i386-softmmu] Error 2

I did

make distclean
./configure --enable-linux-aio --enable-io-thread --enable-kvm

** Affects: qemu
     Importance: Undecided
         Status: New

-- 
Latest git fails to link - missing main() routine
https://bugs.launchpad.net/bugs/676190
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.

Status in QEMU: New

Bug description:
I can't get git 2834c3e0140c3b0ed4422909dfa0607b7213d95d to link on my Debian Linux/x86_64 machine with gcc4.4:

All goes well until the link stage:

/usr/lib/gcc/x86_64-linux-gnu/4.4.5/../../../../lib/crt1.o: In function `_start':
(.text+0x20): undefined reference to `main'
collect2: ld returned 1 exit status
make[1]: *** [trace] Error 1
make: *** [subdir-i386-softmmu] Error 2

I did

make distclean
./configure --enable-linux-aio --enable-io-thread --enable-kvm

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [Qemu-devel] [Bug 676190] [NEW] Latest git fails to link - missing main() routine
  2010-11-16 18:37 [Qemu-devel] [Bug 676190] [NEW] Latest git fails to link - missing main() routine Nigel Horne
@ 2010-11-16 21:14 ` Stefan Hajnoczi
  2010-11-17  1:09   ` [Qemu-devel] [Bug 676190] " Nigel Horne
  0 siblings, 1 reply; 3+ messages in thread
From: Stefan Hajnoczi @ 2010-11-16 21:14 UTC (permalink / raw)
  To: Bug 676190; +Cc: qemu-devel

On Tue, Nov 16, 2010 at 6:37 PM, Nigel Horne <676190@bugs.launchpad.net> wrote:
> Public bug reported:
>
> I can't get git 2834c3e0140c3b0ed4422909dfa0607b7213d95d to link on my
> Debian Linux/x86_64 machine with gcc4.4:

Peter Maydell has submitted a patch to fix this:
http://patchwork.ozlabs.org/patch/71449/

I just tried it and it works for me.

Stefan

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Qemu-devel] [Bug 676190] Re: Latest git fails to link - missing main() routine
  2010-11-16 21:14 ` Stefan Hajnoczi
@ 2010-11-17  1:09   ` Nigel Horne
  0 siblings, 0 replies; 3+ messages in thread
From: Nigel Horne @ 2010-11-17  1:09 UTC (permalink / raw)
  To: qemu-devel

On 11/16/2010 04:14 PM, Stefan Hajnoczi wrote:
> On Tue, Nov 16, 2010 at 6:37 PM, Nigel Horne<676190@bugs.launchpad.net>  wrote:
>    
>> Public bug reported:
>>
>> I can't get git 2834c3e0140c3b0ed4422909dfa0607b7213d95d to link on my
>> Debian Linux/x86_64 machine with gcc4.4:
>>      
> Peter Maydell has submitted a patch to fix this:
> http://patchwork.ozlabs.org/patch/71449/
>
> I just tried it and it works for me.
>
> Stefan
>
>    
Thanks for the quick turn around.  I've closed the bug - it works for me 
now as well.

Regards,

-Nigel

** Changed in: qemu
       Status: New => Fix Released

-- 
Latest git fails to link - missing main() routine
https://bugs.launchpad.net/bugs/676190
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.

Status in QEMU: Fix Released

Bug description:
I can't get git 2834c3e0140c3b0ed4422909dfa0607b7213d95d to link on my Debian Linux/x86_64 machine with gcc4.4:

All goes well until the link stage:

/usr/lib/gcc/x86_64-linux-gnu/4.4.5/../../../../lib/crt1.o: In function `_start':
(.text+0x20): undefined reference to `main'
collect2: ld returned 1 exit status
make[1]: *** [trace] Error 1
make: *** [subdir-i386-softmmu] Error 2

I did

make distclean
./configure --enable-linux-aio --enable-io-thread --enable-kvm

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2010-11-17  1:15 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-11-16 18:37 [Qemu-devel] [Bug 676190] [NEW] Latest git fails to link - missing main() routine Nigel Horne
2010-11-16 21:14 ` Stefan Hajnoczi
2010-11-17  1:09   ` [Qemu-devel] [Bug 676190] " Nigel Horne

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).