IdentifiantMot de passe
Loading...
Mot de passe oublié ?Je m'inscris ! (gratuit)
Navigation

Inscrivez-vous gratuitement
pour pouvoir participer, suivre les réponses en temps réel, voter pour les messages, poser vos propres questions et recevoir la newsletter

Linux Discussion :

Erreur avec Glibc en compilation croisée


Sujet :

Linux

Vue hybride

Message précédent Message précédent   Message suivant Message suivant
  1. #1
    Membre émérite
    Homme Profil pro
    Recherche du travail
    Inscrit en
    Août 2004
    Messages
    561
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Âge : 35
    Localisation : France, Pyrénées Atlantiques (Aquitaine)

    Informations professionnelles :
    Activité : Recherche du travail

    Informations forums :
    Inscription : Août 2004
    Messages : 561
    Par défaut Erreur avec Glibc en compilation croisée
    Salut,

    J' essaye de faire de la compilation croisé pour les processeurs arm (je suis sur x86)

    Etant sur une gentoo j' ai suivit ce howto:
    ==>http://dev.gentoo.org/~vapier/CROSS-COMPILE-HOWTO<==
    Là où ça se corse c'est pour la glibc. La compilation s' arrête avec:

    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    arm-unknown-linux-gnu-gcc ../sysdeps/generic/s_fmax.c -c -std=gnu99 -O2 -Wall -Winline -Wstrict-prototypes -Wwrite-strings -finline-limit=2000 -pipe     -Wno-uninitialized -D__NO_MATH_INLINES -D__LIBC_INTERNAL_MATH_INLINES -DNO_LONG_DOUBLE -D_Mlong_double_=double -I../include -I. -I/var/tmp/portage/glibc-2.3.5-r2/work/build-default-arm-unknown-linux-gnu-linuxthreads/math -I.. -I../libio  -I/var/tmp/portage/glibc-2.3.5-r2/work/build-default-arm-unknown-linux-gnu-linuxthreads -I../sysdeps/arm/elf -I../linuxthreads/sysdeps/unix/sysv/linux/arm -I../linuxthreads/sysdeps/unix/sysv/linux -I../linuxthreads/sysdeps/pthread -I../sysdeps/pthread -I../linuxthreads/sysdeps/unix/sysv -I../linuxthreads/sysdeps/unix -I../linuxthreads/sysdeps/arm -I../libidn/sysdeps/unix -I../sysdeps/unix/sysv/linux/arm -I../sysdeps/unix/sysv/linux -I../sysdeps/gnu -I../sysdeps/unix/common -I../sysdeps/unix/mman -I../sysdeps/unix/inet -I../sysdeps/unix/sysv -I../sysdeps/unix/arm -I../sysdeps/unix -I../sysdeps/posix -I../sysdeps/arm/fpu -I../sysdeps/arm -I../sysdeps/wordsize-32 -I../sysdeps/ieee754/flt-32 -I../sysdeps/ieee754/dbl-64 -I../sysdeps/ieee754 -I../sysdeps/generic/elf -I../sysdeps/generic -nostdinc -isystem /usr/lib/gcc-lib/arm-unknown-linux-gnu/3.3.6/include -isystem //usr/arm-unknown-linux-gnu/include -D_LIBC_REENTRANT -include ../include/libc-symbols.h   -DNOT_IN_libc=1 -DIS_IN_libm=1    -o /var/tmp/portage/glibc-2.3.5-r2/work/build-default-arm-unknown-linux-gnu-linuxthreads/math/s_fmax.o -MD -MP -MF /var/tmp/portage/glibc-2.3.5-r2/work/build-default-arm-unknown-linux-gnu-linuxthreads/math/s_fmax.o.dt -MT /var/tmp/portage/glibc-2.3.5-r2/work/build-default-arm-unknown-linux-gnu-linuxthreads/math/s_fmax.o../sysdeps/generic/s_fmax.c: In function `__fmax':
    ../sysdeps/generic/s_fmax.c:28: internal compiler error: in elim_reg_cond, at flow.c:3328
    Please submit a full bug report,
    with preprocessed source if appropriate.
    See <URL:http://bugs.gentoo.org/> for instructions.
    Preprocessed source stored into /var/tmp/portage/glibc-2.3.5-r2/temp/ccpXQWY5.out file, please attach this to your bugreport.
    make[2]: *** [/var/tmp/portage/glibc-2.3.5-r2/work/build-default-arm-unknown-linux-gnu-linuxthreads/math/s_fmax.o] Error 1
    make[2]: Leaving directory `/var/tmp/portage/glibc-2.3.5-r2/work/glibc-2.3.5/math'
    make[1]: *** [math/others] Error 2
    make[1]: Leaving directory `/var/tmp/portage/glibc-2.3.5-r2/work/glibc-2.3.5'
    make: *** [all] Error 2
     
    !!! ERROR: cross-arm-unknown-linux-gnu/glibc-2.3.5-r2 failed.
    !!! Function toolchain-glibc_src_compile, Line 226, Exitcode 2
    !!! (no error message)
    !!! If you need support, post the topmost build error, NOT this status message.
    Si le fichier /var/tmp/portage/glibc-2.3.5-r2/temp/ccpXQWY5.out peut vous aider:
    ==>http://jmusicindies.free.fr/ccpXQWY5.out<==

    Merci d'avance!

  2. #2
    Membre émérite
    Avatar de Pouic
    Profil pro
    Inscrit en
    Octobre 2004
    Messages
    669
    Détails du profil
    Informations personnelles :
    Âge : 41
    Localisation : France, Paris (Île de France)

    Informations forums :
    Inscription : Octobre 2004
    Messages : 669
    Par défaut
    Moi, quand je vois ça, j'ai pas trop confiance...
    In function `__fmax':
    ../sysdeps/generic/s_fmax.c:28: internal compiler error: in elim_reg_cond, at flow.c:3328
    Please submit a full bug report,
    with preprocessed source if appropriate.
    See <URL:http://bugs.gentoo.org/> for instructions.
    Software becomes slower faster than hardware becomes faster
    [size=1]
    http://xrenault.developpez.com

  3. #3
    vic
    vic est déconnecté
    Membre chevronné

    Profil pro
    Inscrit en
    Août 2002
    Messages
    431
    Détails du profil
    Informations personnelles :
    Localisation : France

    Informations forums :
    Inscription : Août 2002
    Messages : 431
    Par défaut
    C'est un bug dans gcc ... Je te conseille de télécharger directement une toolchain complète précompilée ça t'évitera des ennuis

Discussions similaires

  1. Erreur avec sizeof et compilation séparée
    Par oranoutan dans le forum C
    Réponses: 8
    Dernier message: 22/07/2008, 18h41
  2. [Compiler] Erreur avec un standalone
    Par pmaurick dans le forum MATLAB
    Réponses: 12
    Dernier message: 26/06/2007, 13h32
  3. Probleme de compilation,erreur avec SAXParser
    Par makohsarah dans le forum API standards et tierces
    Réponses: 1
    Dernier message: 07/01/2007, 14h35
  4. Erreur lors de la compilation avec OmniORB
    Par JohnKwada dans le forum CORBA
    Réponses: 1
    Dernier message: 07/09/2006, 17h34
  5. Compilation de report en erreur avec Ant
    Par ltournayre dans le forum Jasper
    Réponses: 1
    Dernier message: 10/08/2006, 11h33

Partager

Partager
  • Envoyer la discussion sur Viadeo
  • Envoyer la discussion sur Twitter
  • Envoyer la discussion sur Google
  • Envoyer la discussion sur Facebook
  • Envoyer la discussion sur Digg
  • Envoyer la discussion sur Delicious
  • Envoyer la discussion sur MySpace
  • Envoyer la discussion sur Yahoo