Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[Emerge error] GCC 3.3.6r1 ne passe pas [Resolu]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index French
View previous topic :: View next topic  
Author Message
404_crazy
Tux's lil' helper
Tux's lil' helper


Joined: 22 Jan 2008
Posts: 145

PostPosted: Sun Feb 08, 2009 8:41 am    Post subject: [Emerge error] GCC 3.3.6r1 ne passe pas [Resolu] Reply with quote

Salut je poursuite l'installation de ma gentoo mais quand j'ai voulut mettre mes petits paquets habituel en emerge j'ai eu un jolie message d'erreur :

Code:
   -DTARGET_MACHINE=\"i686-pc-linux-gnu\" \
   -c /var/tmp/portage/sys-devel/gcc-3.3.6-r1/work/gcc-3.3.6/gcc/collect2.c -o collect2.o
/var/tmp/portage/sys-devel/gcc-3.3.6-r1/work/gcc-3.3.6/gcc/collect2.c: In function 'notice':
/var/tmp/portage/sys-devel/gcc-3.3.6-r1/work/gcc-3.3.6/gcc/collect2.c:369: warning: traditional C rejects ISO C style function definitions
/var/tmp/portage/sys-devel/gcc-3.3.6-r1/work/gcc-3.3.6/gcc/collect2.c: In function 'fatal_perror':
/var/tmp/portage/sys-devel/gcc-3.3.6-r1/work/gcc-3.3.6/gcc/collect2.c:381: warning: traditional C rejects ISO C style function definitions
/var/tmp/portage/sys-devel/gcc-3.3.6-r1/work/gcc-3.3.6/gcc/collect2.c: In function 'fatal':
/var/tmp/portage/sys-devel/gcc-3.3.6-r1/work/gcc-3.3.6/gcc/collect2.c:399: warning: traditional C rejects ISO C style function definitions
/var/tmp/portage/sys-devel/gcc-3.3.6-r1/work/gcc-3.3.6/gcc/collect2.c: In function 'error':
/var/tmp/portage/sys-devel/gcc-3.3.6-r1/work/gcc-3.3.6/gcc/collect2.c:415: warning: traditional C rejects ISO C style function definitions
/var/tmp/portage/sys-devel/gcc-3.3.6-r1/work/gcc-3.3.6/gcc/collect2.c: In function 'dump_file':
/var/tmp/portage/sys-devel/gcc-3.3.6-r1/work/gcc-3.3.6/gcc/collect2.c:521: warning: comparison of unsigned expression < 0 is always false
In function 'open',
    inlined from 'collect_execute' at /var/tmp/portage/sys-devel/gcc-3.3.6-r1/work/gcc-3.3.6/gcc/collect2.c:1581:
/usr/include/bits/fcntl2.h:51: error: call to '__open_missing_mode' declared with attribute error: open with O_CREAT in second argument needs 3 arguments
make[2]: *** [collect2.o] Error 1
make[2]: Leaving directory `/var/tmp/portage/sys-devel/gcc-3.3.6-r1/work/build/gcc'
make[1]: *** [stage1_build] Error 2
make[1]: Leaving directory `/var/tmp/portage/sys-devel/gcc-3.3.6-r1/work/build/gcc'
make: *** [bootstrap-lean] Error 2
 *
 * ERROR: sys-devel/gcc-3.3.6-r1 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 4666:  Called toolchain_src_compile
 *             environment, line 5189:  Called gcc_src_compile
 *             environment, line 2993:  Called gcc_do_make
 *             environment, line 2784:  Called die
 * The specific snippet of code:
 *       emake LDFLAGS="${LDFLAGS}" STAGE1_CFLAGS="${STAGE1_CFLAGS}" LIBPATH="${LIBPATH}" BOOT_CFLAGS="${BOOT_CFLAGS}" ${GCC_MAKE_TARGET} || die "emake failed with ${GCC_MAKE_TARGET}";
 *  The die message:
 *   emake failed with bootstrap-lean
 *
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/tmp/portage/sys-devel/gcc-3.3.6-r1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/sys-devel/gcc-3.3.6-r1/temp/environment'.
 *
desktop_gentoo_1 ~ #



ce gcc est requis par l'Ebuild mozilla-thunderbird-bin (Mon gcc installé est le 4.3)


merci d'avance


Last edited by 404_crazy on Mon Feb 09, 2009 1:26 pm; edited 1 time in total
Back to top
View user's profile Send private message
avendesora
Veteran
Veteran


Joined: 16 Aug 2002
Posts: 1739
Location: Betelgeuse vicinity

PostPosted: Sun Feb 08, 2009 12:01 pm    Post subject: Reply with quote

Bonjour,
Il y a pas mal de bugs de ce type listées en ce moment ici, ici ou encore .
Soit t'essayes de patcher comme indiqué dans ces bugs, soit tu devrais pouvoir ajouter:
Code:
-U_FORTIFY_SOURCE

à tes CFLAGS le le temps de compiler ce vieux GCC.

Dans tous les cas ouvre un nouveau bug pour cet ebuild qui plante comme ca il y aura un fix officiel.
Back to top
View user's profile Send private message
404_crazy
Tux's lil' helper
Tux's lil' helper


Joined: 22 Jan 2008
Posts: 145

PostPosted: Mon Feb 09, 2009 1:25 pm    Post subject: Reply with quote

avendesora wrote:
Bonjour,
Il y a pas mal de bugs de ce type listées en ce moment ici, ici ou encore .
Soit t'essayes de patcher comme indiqué dans ces bugs, soit tu devrais pouvoir ajouter:
Code:
-U_FORTIFY_SOURCE

à tes CFLAGS le le temps de compiler ce vieux GCC.

Dans tous les cas ouvre un nouveau bug pour cet ebuild qui plante comme ca il y aura un fix officiel.


Merci de ta reponce je vais faire remontere le bug pour le moment j'ai mis le mozilla-tunderbird (qui ne demande pas gcc 3.x) mais bon comme les maj's sont plus longuent je repasserait a l'autre quand l'ebuild sera modifié.
Back to top
View user's profile Send private message
YetiBarBar
Guru
Guru


Joined: 23 Dec 2005
Posts: 532

PostPosted: Wed Feb 11, 2009 4:53 pm    Post subject: Reply with quote

Vraiment bizarre que thunderbird te réclame gcc-3.3.6...

Peut être peux tu nous donner quelques éléments supplémentaires? (par exemple, emerge --info)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index French All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum