Hi, everyone!

Portage says "Qemu could not build with GCC 4" and that is true. What am
I supposed to do? I doubt I should file a bug report because devs
obviously know about this issue. Please, advice me what do to in order
to get qemu working.




OUTPUT:


> emerge qemu -pv
>
>These are the packages that would be merged, in order:
>
>Fetching binary packages info...
>cache miss: 'x' --- cache hit: 'o'
>
>  -- DONE!
>
>Calculating dependencies... done!
>[ebuild  N    ] app-text/texi2html-1.76  0 kB
>[ebuild  N    ] app-emulation/qemu-user-0.8.0  0 kB
>[ebuild  N    ] app-emulation/kqemu-0.7.2  USE="sdl" 0 kB
>[ebuild  N    ] app-emulation/qemu-softmmu-0.8.0  USE="kqemu sdl" 0 kB
>[ebuild  N    ] app-emulation/qemu-0.8.0  0 kB
>
>Total size of downloads: 0 kB
>
>----SNIP-------------
>
>>>> Emerging (2 of 5) app-emulation/qemu-user-0.8.0 to /
> * qemu-0.8.0.tar.gz size ;-) ...                                         [ ok 
> ]
> * qemu-0.8.0.tar.gz RMD160 ;-) ...                                       [ ok 
> ]
> * qemu-0.8.0.tar.gz SHA256 ;-) ...                                       [ ok 
> ]
> * qemu-0.8.0.tar.gz MD5 ;-) ...                                          [ ok 
> ]
> * checking ebuild checksums ;-) ...                                      [ ok 
> ]
> * checking auxfile checksums ;-) ...                                     [ ok 
> ]
> * checking miscfile checksums ;-) ...                                    [ ok 
> ]
> * checking qemu-0.8.0.tar.gz ;-) ...                                     [ ok 
> ]
> * Qemu could not build with GCC 4
> Unpacking source...
> Unpacking qemu-0.8.0.tar.gz to /tmp/portage/qemu-user-0.8.0/work
> * Applying qemu-ppc-dirty-hack.patch ...                                 [ ok 
> ]
> * Applying qemu-0.8.0-stwbrx.patch ...                                   [ ok 
> ]
> * Applying qemu-0.8.0-gcc4-hacks.patch ...                               [ ok 
> ]
> Source unpacked.
> Compiling source in /tmp/portage/qemu-user-0.8.0/work/qemu-0.8.0 ...
>Install prefix    /usr
>BIOS directory    /usr/share/qemu
>binary directory  /usr/bin
>Manual directory  /usr/share/man
>ELF interp prefix /usr/gnemul/qemu-%M
>Source path       /tmp/portage/qemu-user-0.8.0/work/qemu-0.8.0
>C compiler        gcc
>Host C compiler   gcc
>make              make
>host CPU          x86_64
>host big endian   no
>target list       arm-user armeb-user i386-user ppc-user sparc-user mips-user
>gprof enabled     no
>static build      no
>SDL support       yes
>SDL static link   yes
>mingw32 support   no
>Adlib support     no
>CoreAudio support no
>ALSA support      no
>DSound support    no
>FMOD support      no
>kqemu support     no
>
>----snip
>
>/tmp/portage/qemu-user-0.8.0/work/qemu-0.8.0/gdbstub.c:708: warning: pointer 
>tar gets in passing argument 2 of 'put_buffer' differ in signedness
>/tmp/portage/qemu-user-0.8.0/work/qemu-0.8.0/gdbstub.c:712: warning: pointer 
>tar gets in passing argument 2 of 'put_buffer' differ in signedness
>In file included from 
>/tmp/portage/qemu-user-0.8.0/work/qemu-0.8.0/translate-op. c:36:
>./op.h: In function 'dyngen_code':
>./op.h:3595: error: expected identifier or '(' before '.' token
>./op.h:3597: error: expected expression before '.' token
>make[1]: *** [translate-op.o] Error 1
>make: *** [all] Error 1
>make: INTERNAL: Exiting with 4 jobserver tokens available; should be 3!
>
>!!! ERROR: app-emulation/qemu-user-0.8.0 failed.
>Call stack:
>  ebuild.sh, line 1546:   Called dyn_compile
>  ebuild.sh, line 937:   Called src_compile
>  qemu-user-0.8.0.ebuild, line 73:   Called die
>
>!!! make failed
>!!! If you need support, post the topmost build error, and the call stack if 
>rel evant.



-- 
Best regards,
Daniel

-- 
[email protected] mailing list

Reply via email to