View previous topic :: View next topic |
Author |
Message |
chipsterjulien Guru
Joined: 08 Jun 2004 Posts: 350 Location: Lille France
|
Posted: Sat Nov 11, 2006 9:50 am Post subject: [qemu-user] Erreur de compilation (résolu) |
|
|
J'ai un problème avec qemu (toutes versions confondu)
Il me sort cette erreur sur la compilation de qemu-user :
Code: | gcc -g -Wl,-shared -o qemu-i386 elfload.o main.o syscall.o mmap.o signal.o path.o osdep.o thunk.o vm86.o libqemu.a gdbstub.o -lm
/usr/lib/gcc/i686-pc-linux-gnu/4.1.1/../../../../i686-pc-linux-gnu/bin/ld: errno: TLS definition in /lib/libc.so.6 section .tbss mismatches non-TLS reference in libqemu.a(helper2.o)
/lib/libc.so.6: ne peut lire les symboles: Bad value
collect2: ld a retourné 1 code d'état d'exécution
make[1]: *** [qemu-i386] Erreur 1
make[1]: quittant le répertoire « /var/tmp/portage/qemu-user-0.8.0/work/qemu-0.8.0/i386-user »
make: *** [all] Erreur 1
!!! 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 relevant. |
Voici la version que j'essaie de mettre :
Code: | emerge qemu -pv
These are the packages that would be merged, in order:
Calculating dependencies... done!
[ebuild N ] app-emulation/qemu-user-0.8.0 0 kB
[ebuild N ] app-emulation/qemu-softmmu-0.8.0 USE="sdl -kqemu" 0 kB
[ebuild N ] app-emulation/qemu-0.8.0 0 kB |
Last edited by chipsterjulien on Sat Nov 11, 2006 1:00 pm; edited 1 time in total |
|
Back to top |
|
|
geekounet Bodhisattva
Joined: 11 Oct 2004 Posts: 3772
|
Posted: Sat Nov 11, 2006 10:17 am Post subject: |
|
|
Bug connu depuis longtemps, qemu ne compile pas avec gcc 4.1 .... |
|
Back to top |
|
|
chipsterjulien Guru
Joined: 08 Jun 2004 Posts: 350 Location: Lille France
|
Posted: Sat Nov 11, 2006 10:23 am Post subject: |
|
|
geekounet wrote: | Bug connu depuis longtemps, qemu ne compile pas avec gcc 4.1 .... |
|
|
Back to top |
|
|
SanKuKai Apprentice
Joined: 17 Feb 2006 Posts: 228 Location: Toulouse, France
|
Posted: Sat Nov 11, 2006 10:29 am Post subject: |
|
|
Apparemment la version 0.8.2 peut être compilée avec gcc4.
Plus d'infos ici. |
|
Back to top |
|
|
chipsterjulien Guru
Joined: 08 Jun 2004 Posts: 350 Location: Lille France
|
Posted: Sat Nov 11, 2006 10:39 am Post subject: |
|
|
SanKuKai wrote: | Apparemment la version 0.8.2 peut être compilée avec gcc4.
Plus d'infos ici. |
J'avais déjà essayé et voilà l'erreur qu'il me sortait :
Code: | >>> Emerging (1 of 3) app-emulation/qemu-user-0.8.2 to /
* qemu-0.8.2.tar.gz MD5 ;-) ... [ ok ]
* qemu-0.8.2.tar.gz RMD160 ;-) ... [ ok ]
* qemu-0.8.2.tar.gz SHA1 ;-) ... [ ok ]
* qemu-0.8.2.tar.gz SHA256 ;-) ... [ ok ]
* qemu-0.8.2.tar.gz size ;-) ... [ ok ]
* checking ebuild checksums ;-) ... [ ok ]
* checking auxfile checksums ;-) ... [ ok ]
* checking miscfile checksums ;-) ... [ ok ]
* checking qemu-0.8.2.tar.gz ;-) ... [ ok ]
!!! ERROR: app-emulation/qemu-user-0.8.2 failed.
Call stack:
ebuild.sh, line 1562: Called dyn_setup
ebuild.sh, line 665: Called pkg_setup
qemu-user-0.8.2.ebuild, line 31: Called die
!!! Qemu must build with GCC 3
!!! If you need support, post the topmost build error, and the call stack if relevant. |
|
|
Back to top |
|
|
SanKuKai Apprentice
Joined: 17 Feb 2006 Posts: 228 Location: Toulouse, France
|
Posted: Sat Nov 11, 2006 10:50 am Post subject: |
|
|
J'ai dit des bêtises, c'est la 0.8.1 qui doit pouvoir être compilée avec gcc4 :
gentoo-wiki.com wrote: |
GCC4 Users - If you just unmasked qemu, it is advised that you mask versions >=0.8.2, as they will not compile.
|
Donc avec ceci dans le package.mask :
Code: |
>=app-emulation/qemu-0.8.2
>=app-emulation/qemu-user-0.8.2
>=app-emulation/qemu-softmmu-0.8.2
|
Ça devrait passer. |
|
Back to top |
|
|
chipsterjulien Guru
Joined: 08 Jun 2004 Posts: 350 Location: Lille France
|
Posted: Sat Nov 11, 2006 1:00 pm Post subject: |
|
|
SanKuKai wrote: |
J'ai dit des bêtises, c'est la 0.8.1 qui doit pouvoir être compilée avec gcc4 :
gentoo-wiki.com wrote: |
GCC4 Users - If you just unmasked qemu, it is advised that you mask versions >=0.8.2, as they will not compile.
|
Donc avec ceci dans le package.mask :
Code: |
>=app-emulation/qemu-0.8.2
>=app-emulation/qemu-user-0.8.2
>=app-emulation/qemu-softmmu-0.8.2
|
Ça devrait passer. |
En effet ca fonctionne avec la version 0.8.1. Perso j'avais mal lu moi aussi |
|
Back to top |
|
|
geekounet Bodhisattva
Joined: 11 Oct 2004 Posts: 3772
|
Posted: Sat Nov 11, 2006 1:59 pm Post subject: |
|
|
Effectivement ça compile, merci beaucoup SanKuKai ! |
|
Back to top |
|
|
|