View previous topic :: View next topic |
Author |
Message |
davidou2a Guru
Joined: 15 Dec 2006 Posts: 574 Location: Ajaccio
|
Posted: Wed Oct 03, 2007 9:45 am Post subject: [GCC] Ereur lors du passage à GCC-4.1.2 |
|
|
Bonjour tout le monde, apres moultes recherches sur Google ainsi que sur Bugzilla ou j'ai trouvé un cas ressemblant legerment au mien mais sans reponse, je me tourne donc vers vous.
Ayant crashé un DD j'ai reinstallé Gentoo a partir du liveCD 2007 su un nouveau DD.
Apres l'install primaire j'ai lancé un :
Code: | # emerge -uDNav world |
cela incluait la MAJ de GCC vers la 4.1.2...
Voila mon message d'erreur dans mon log "build.log"
Code: | /bin/sh /var/tmp/portage/sys-devel/gcc-4.1.2/work/gcc-4.1.2/gcc/../move-if-change tmp-attrtab.c insn-attrtab.c
insn-attrtab.c is unchanged
echo timestamp > s-attrtab
stage1/xgcc -Bstage1/ -B/usr/x86_64-pc-linux-gnu/bin/ -march=k8 -O2 -pipe -fprofile-generate -DIN_GCC -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long -Wno-variadic-macros -Wold-style-definition -Wmissing-format-attribute -DHAVE_CONFIG_H -I. -I. -I/var/tmp/portage/sys-devel/gcc-4.1.2/work/gcc-4.1.2/gcc -I/var/tmp/portage/sys-devel/gcc-4.1.2/work/gcc-4.1.2/gcc/. -I/var/tmp/portage/sys-devel/gcc-4.1.2/work/gcc-4.1.2/gcc/../include -I/var/tmp/portage/sys-devel/gcc-4.1.2/work/gcc-4.1.2/gcc/../libcpp/include -c insn-attrtab.c \
-o insn-attrtab.o
{standard input}: Assembler messages:
{standard input}:33058: Warning: end of file not at end of a line; newline inserted
xgcc: Internal error: Killed (program cc1)
Please submit a full bug report.
See <URL:http://bugs.gentoo.org/> for instructions.
make[2]: *** [insn-attrtab.o] Error 1
make[2]: Leaving directory `/var/tmp/portage/sys-devel/gcc-4.1.2/work/build/gcc'
make[1]: *** [stageprofile_build] Error 2
make[1]: Leaving directory `/var/tmp/portage/sys-devel/gcc-4.1.2/work/build/gcc'
make: *** [profiledbootstrap] Error 2
[31;01m*[0m
[31;01m*[0m ERROR: sys-devel/gcc-4.1.2 failed.
[31;01m*[0m Call stack:
[31;01m*[0m ebuild.sh, line 1654: Called dyn_compile
[31;01m*[0m ebuild.sh, line 990: Called qa_call 'src_compile'
[31;01m*[0m ebuild.sh, line 44: Called src_compile
[31;01m*[0m ebuild.sh, line 1334: Called toolchain_src_compile
[31;01m*[0m toolchain.eclass, line 26: Called gcc_src_compile
[31;01m*[0m toolchain.eclass, line 1546: Called gcc_do_make
[31;01m*[0m toolchain.eclass, line 1420: Called die
[31;01m*[0m
[31;01m*[0m emake failed with profiledbootstrap
[31;01m*[0m If you need support, post the topmost build error, and the call stack if relevant.
[31;01m*[0m A complete build log is located at '/var/tmp/portage/sys-devel/gcc-4.1.2/temp/build.log'.
[31;01m*[0m
|
Quelques infos supplementaires :
# emerge --info
Code: | Portage 2.1.3.9 (default-linux/amd64/2007.0, gcc-4.1.1, glibc-2.5-r4, 2.6.22-gentoo-r8 x86_64)
=================================================================
System uname: 2.6.22-gentoo-r8 x86_64 AMD Turion(tm) 64 Mobile Technology MK-36
Timestamp of tree: Tue, 02 Oct 2007 01:47:01 +0000
app-shells/bash: 3.2_p17
dev-lang/python: 2.4.4-r5
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 1.12.9-r2
sys-apps/sandbox: 1.2.17
sys-devel/autoconf: 2.61-r1
sys-devel/automake: 1.9.6-r2, 1.10
sys-devel/binutils: 2.17-r1
sys-devel/gcc-config: 1.3.16
sys-devel/libtool: 1.5.24
virtual/os-headers: 2.6.21
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=k8 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb"
CONFIG_PROTECT_MASK="/etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-march=k8 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks metadata-transfer sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://mirror.ovh.net/gentoo-distfiles/ ftp://mirror.ovh.net/gentoo-distfiles/ http://gentoo.modulix.net/gentoo/ http://ftp.club-internet.fr/pub/mirrors/gentoo ftp://gentoo.imj.fr/pub/gentoo/ ftp://ftp.free.fr/mirrors/ftp.gentoo.org/ "
LINGUAS="fr"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi alsa amd64 bash-completion berkdb bitmap-fonts bzip2 cairo cddb cdr cli cracklib crypt cups dbus dri dvd dvdr dvdread encode flac fortran gdbm gif gpm gtk gtk+ gtk2 hal iconv ieee1394 imagemagick ipv6 isdnlog jpeg jpeg2k libnotify mad midi mikmod mmx mp3 msn mudflap ncurses nls nptl nptlonly nsplugin ogg openmp pam pcmcia pcre perl png pppd python radius readline reflection samba session spell spl sse sse2 ssl svg szip tcpd theora truetype truetype-fonts type1-fonts unicode usb vorbis wifi wxwindows xorg xosd xscreensaver xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="fr" USERLAND="GNU" VIDEO_CARDS="fglrx vesa vga"
Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS |
# emerge -va =sys-devel/gcc-4.1.2
Code: | These are the packages that would be merged, in order:
Calculating dependencies ....... done!
[ebuild U ] sys-devel/gcc-4.1.2 [4.1.1-r3] USE="fortran gtk* mudflap* nls (-altivec) -bootstrap -build -d% -doc -gcj (-hardened) -ip28 -ip32r10k (-multilib) -multislot (-n32) (-n64) -nocxx -objc -objc++ -objc-gc -test -vanilla" 0 kB
Total: 1 package (1 upgrade), Size of downloads: 0 kB
Would you like to merge these packages? [Yes/No] |
Merçi d'avance _________________ L'enfer je connais, il s'appelle Windows...
Last edited by davidou2a on Mon Oct 08, 2007 12:27 pm; edited 2 times in total |
|
Back to top |
|
|
davidou2a Guru
Joined: 15 Dec 2006 Posts: 574 Location: Ajaccio
|
Posted: Wed Oct 03, 2007 10:35 am Post subject: |
|
|
Apres un petit memtest86+
j'ai 17 "Errors" et 0 "ECC Errs" apres les 1ere et 2eme Pass... mon probleme viendrait il de la??? _________________ L'enfer je connais, il s'appelle Windows... |
|
Back to top |
|
|
kwenspc Advocate
Joined: 21 Sep 2003 Posts: 4954
|
Posted: Wed Oct 03, 2007 10:36 am Post subject: |
|
|
17 erreurs? y a de quoi s'inquiéter en effet. (le mieux avec memtest c'est de n'avoir AUCUNE erreur, sinon ça laisse trop de doute) _________________ membre officieux du SAV Ati GEntoo |
|
Back to top |
|
|
GaMeS Guru
Joined: 08 Nov 2005 Posts: 374 Location: Nantes
|
Posted: Wed Oct 03, 2007 10:44 am Post subject: |
|
|
Il te reste plus qu'a tester barettes une à une avec memtest. Enfin j'ai déjà eu des erreurs de mémoire (confirmé par memtest) et en fait c'était la carte mère...Donc n'hésite pas à tester tes mémoires sur un autre poste. _________________ $this->setLife(FALSE);
printf "I'm not a gamer !";
Last edited by GaMeS on Wed Oct 03, 2007 10:48 am; edited 1 time in total |
|
Back to top |
|
|
davidou2a Guru
Joined: 15 Dec 2006 Posts: 574 Location: Ajaccio
|
Posted: Wed Oct 03, 2007 10:44 am Post subject: |
|
|
hum apparement avec une autre barrette de RAM SODIMM a la place de celle qui apparement est endomagée le probleme est toujours la...
Retour a la case depart...
PS : De plus j'ai jamais d'erreurs de compilation, sauf avec GCC... donc ça confirme que la RAM doit pas etre en cause, reste a savoir quoi... _________________ L'enfer je connais, il s'appelle Windows... |
|
Back to top |
|
|
davidou2a Guru
Joined: 15 Dec 2006 Posts: 574 Location: Ajaccio
|
Posted: Wed Oct 03, 2007 12:05 pm Post subject: |
|
|
Hum avant l'install (la nouvelle) j'avais activé le CCACHE la c'est pas le cas je vais l'activer on verra bien, si ça marche pas je masquerai gcc-4.1.2 tout simplement _________________ L'enfer je connais, il s'appelle Windows... |
|
Back to top |
|
|
davidou2a Guru
Joined: 15 Dec 2006 Posts: 574 Location: Ajaccio
|
Posted: Wed Oct 03, 2007 5:45 pm Post subject: |
|
|
apparement ma recherche sur bugzilla n'etait pas assez generique car en recherchant un peu j'ai trouvé ça
https://bugs.gentoo.org/show_bug.cgi?id=179718
Code: | gcc-4.1.2 does not compile with mudflap or d when fortran is enabled. Besides
these three I have doc, gtk and nls enabled in the use flags. I've tested the
following combinations:
1) Builds fine with USE="fortran" ("doc gtk nls" are enable in all tests)
2) Fails with USE="fortran mudflap"
3) Fails with USE="fortran d"
4) Compiles with USE="-fortran d mudflap" |
Donc je teste et on verra si ça marche _________________ L'enfer je connais, il s'appelle Windows... |
|
Back to top |
|
|
davidou2a Guru
Joined: 15 Dec 2006 Posts: 574 Location: Ajaccio
|
Posted: Thu Oct 04, 2007 3:19 pm Post subject: |
|
|
Bon eh bien j'ai peut etre trouvé,
J'avais pas remarqué mais par defaut dans le kernel 2.6.22-r8 l'option
"Optimise for size (Look out for broken compiler!)" etait a [*]
Le <help> dit Quote: | Enabling this option will pass "-Os" instead "-O2" to gcc resulting in a small kernel
WARNING : some versions of gcc may generate incorrect code with this option. If problemes are observed, a gcc upgrade may be needed |
Sachant que j'etais en -02 dans mon make.conf bah je crois que ça vient de la... _________________ L'enfer je connais, il s'appelle Windows... |
|
Back to top |
|
|
davidou2a Guru
Joined: 15 Dec 2006 Posts: 574 Location: Ajaccio
|
Posted: Mon Oct 08, 2007 12:29 pm Post subject: |
|
|
UP, Finalement le probleme est toujours d'actualité... j'ai testé avec d'autres RAM neuves idem... en faite tout compile sauf GCC (que ce soir la 4.1.1-r3 ou la 4.1.2)... donc si quelqu'un a une remarque ou suggestion elle sera la bienvenue...
Merçi _________________ L'enfer je connais, il s'appelle Windows... |
|
Back to top |
|
|
|