Re: [gentoo-user] Gcc 5.3
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 Am Donnerstag, 24. Dezember 2015, 16:18:27 schrieb Alan Grimes: > Hey, thanks for putting out gcc 5.3... > > Unfortunately, it fails to bootstrap on my machine. I am getting > differences between the stage 2 and stage 3 compilers and it's dying... =( > "emerge --info" output pretty please! :) - -- Andreas K. Huettel Gentoo Linux developer (council, perl, libreoffice) dilfri...@gentoo.org http://www.akhuettel.de/ -BEGIN PGP SIGNATURE- Version: GnuPG v2 iQIcBAEBCgAGBQJWfTrdAAoJEHRrah2soMK+T0IP/2ydazWAGK3+c+XKFl91dEiD ucSbupfp2MsmrPgtWDS8JdHHaY3vRCOJOtH+TzfYHtIBCvGg19V3Z6LyEq/Ch6BL iUK4gyT4JIsuYe24wsmFm4kcNpm7P7A7tnIyGl4T+E2sahZ1GUZhXfzRUm10D+Z0 LZod6Nyo2kgghw3DUqvWtDaOl2FrNA5EV63ZqVqr84S+ycGmFT+1KLAglYfE0/M/ Dc059New0/KRlDr+pbCOD3U+LNbVecLtudawhvkCfUZLsRc+p0PR2/bNp2pZn61/ WV1tQbC5q22qpwWP9ysyDPaFUZmFvFb5Ifs9o9qzgsitmdmPC/cjeNwSfHyORXaS fhAPNDc9E0famxnXnWIWD50ujBk+XHb3Y9iCVXsk/fxV0KC0yBQI5iQlt9oCe5Mg UYH4O8KRrPAbiMieqv4UML8ub7WRpopIVHhIHS2WxoP7oxti3E2WyjnHzV1YqJOd UNyhJ36+Ma5uV30gddy8WDlxOmE7FobuDn603esZ5u12QjbuFfwdkToMqkTFdQFI cvj/EQlUIxuRshb15qW1vO+gYPUElsRBOuKl8uNXvGeX4UkIKyO8x8cX1GgZaUj7 17ee4CLUs4bt+pFJ/EAGDrmlKOZr7bI5kWPwZ4T51gAzwY80/+pmZW1Qeoy92Ha8 ts5kUUEekh/xuLuPpiR2 =wg00 -END PGP SIGNATURE-
Re: [gentoo-user] Gcc 5.3
David Haller wrote: > Hello, > > On Thu, 24 Dec 2015, Alan Grimes wrote: >> Hey, thanks for putting out gcc 5.3... >> >> Unfortunately, it fails to bootstrap on my machine. I am getting >> differences between the stage 2 and stage 3 compilers and it's dying... =( > What compiler and C(XX)FLAGS are you using? It builds nicely with > gcc-4.9 (and rather agressive flags) here. With how many processes > (MAKEOPTS) are you compiling?. 6, one per core, because it doesn't go to 100% utilization, I can continue to use the machine normally for desktop. > Also, compiling gcc might expose flaky RAM (removing and reseating the > RAM DIMMs might help there[0]). Have you e.g. encoded stuff with > mencoder or ffmpeg lately[1]? If you're compiling with any MAKEOPTS > '-j1' it could be the same phenomenon as I had in [1], so try with > -j1. If that works ... Consider using prime95/mprime[2] for a test. Been through that, I'm fairly confident with the integrity of the machine right now. > -dnh > > [0] stuff expands and shrinks depending on temps, so connections can > get flaky even if the box isn't moved ;) > > [1] I've had mencoder segfault on me reproducibly on one box after > 20-30 mins encoding with one process, and <= 10mins with two > processes. Memtest86 found nothing in one round. New RAM (replaced > on guarantee :) cured the problem for good. > > [2] http://www.mersenne.org/download/#download -- IQ is a measure of how stupid you feel. Powers are not rights.
Re: [gentoo-user] Gcc 5.3
Andreas K. Huettel wrote: > Am Donnerstag, 24. Dezember 2015, 16:18:27 schrieb Alan Grimes: > > Hey, thanks for putting out gcc 5.3... > > > Unfortunately, it fails to bootstrap on my machine. I am getting > > differences between the stage 2 and stage 3 compilers and it's > dying... =( > > > "emerge --info" output pretty please! :) Like the other d00d, I'm also using and AMD processor. atg@tortoise ~ $ emerge --info Portage 2.2.26 (python 3.4.3-final-0, default/linux/amd64/13.0/desktop, gcc-4.9.3, glibc-2.22-r1, 4.3.3 x86_64) = System uname: Linux-4.3.3-x86_64-AMD_Phenom-tm-_II_X6_1090T_Processor-with-gentoo-2.2 KiB Mem:32877316 total, 21368792 free KiB Swap:8000364 total, 8000364 free Timestamp of repository gentoo: Fri, 25 Dec 2015 15:30:01 + sh bash 4.3_p42 ld GNU ld (Gentoo 2.25.1 p1.1) 2.25.1 app-shells/bash: 4.3_p42::gentoo dev-java/java-config: 2.2.0::gentoo dev-lang/perl:5.22.1::gentoo dev-lang/python: 2.7.11-r1::gentoo, 3.3.5-r1::gentoo, 3.4.3-r7::gentoo dev-util/cmake: 3.4.1::gentoo dev-util/pkgconfig: 0.29::gentoo sys-apps/baselayout: 2.2::gentoo sys-apps/openrc: 0.19.1::gentoo sys-apps/sandbox: 2.10-r1::gentoo sys-devel/autoconf: 2.13::gentoo, 2.69-r1::gentoo sys-devel/automake: 1.10.3-r1::gentoo, 1.11.6-r2::gentoo, 1.12.6::gentoo, 1.13.4::gentoo, 1.14.1-r1::gentoo, 1.15-r1::gentoo sys-devel/binutils: 2.25.1-r1::gentoo sys-devel/gcc:4.9.3::gentoo sys-devel/gcc-config: 1.8::gentoo sys-devel/libtool:2.4.6-r1::gentoo sys-devel/make: 4.1-r1::gentoo sys-kernel/linux-headers: 4.3::gentoo (virtual/os-headers) sys-libs/glibc: 2.22-r1::gentoo Repositories: gentoo location: /usr/portage sync-type: rsync sync-uri: rsync://rsync.gentoo.org/gentoo-portage priority: -1000 sync-rsync-extra-opts: --progress hasufell location: /var/lib/layman/hasufell masters: gentoo priority: 50 spike-community-overlay location: /var/lib/layman/spike-community-overlay masters: gentoo priority: 50 steam-overlay location: /var/lib/layman/steam-overlay masters: gentoo priority: 50 wichtounet location: /var/lib/layman/wichtounet masters: gentoo priority: 50 ABI="amd64" ABI_X86="64 32" ACCEPT_KEYWORDS="amd64 ~amd64" ACCEPT_LICENSE="*" ACCEPT_PROPERTIES="*" ACCEPT_RESTRICT="*" ADA_INCLUDE_PATH="/usr/lib64/gnat-gcc/x86_64-pc-linux-gnu/4.6/adainclude" ADA_OBJECTS_PATH="/usr/lib64/gnat-gcc/x86_64-pc-linux-gnu/4.6/adalib" 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" ANT_HOME="/usr/share/ant" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ARCH="amd64" AUTOCLEAN="yes" BOOTSTRAP_USE="cxx unicode internal-glib python_targets_python3_4 python_targets_python2_7 multilib" BROWSER="seamonkey" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="ptp2" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=native -pipe " CFLAGS_amd64="-m64" CFLAGS_x32="-mx32" CFLAGS_x86="-m32" CG_COMPILER_EXE="/opt/bin/cgc" CG_INC_PATH="/opt/nvidia-cg-toolkit/include" CG_LIB_PATH="/opt/nvidia-cg-toolkit/lib64:/opt/nvidia-cg-toolkit/lib32" CHOST="x86_64-pc-linux-gnu" CHOST_amd64="x86_64-pc-linux-gnu" CHOST_x32="x86_64-pc-linux-gnux32" CHOST_x86="i686-pc-linux-gnu" CLEAN_DELAY="5" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" COLLISION_IGNORE="/lib/modules/* *.py[co] *$py.class */dropin.cache" COLORFGBG="15;0" CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/maven-bin-3.2/conf /usr/share/maven-bin-3.3/conf /var/lib/hsqldb" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release
Re: [gentoo-user] Gcc 5.3
On Thu, 24 Dec 2015 10:18:27 Alan Grimes wrote: > Hey, thanks for putting out gcc 5.3... > > Unfortunately, it fails to bootstrap on my machine. I am getting > differences between the stage 2 and stage 3 compilers and it's dying... =( > > make[2]: Entering directory > '/var/tmp/portage/sys-devel/gcc-5.3.0/work/build' > make[3]: Entering directory > '/var/tmp/portage/sys-devel/gcc-5.3.0/work/build' > rm -f stage_current > make[3]: Leaving directory '/var/tmp/portage/sys-devel/gcc-5.3.0/work/build' > Comparing stages 2 and 3 > warning: gcc/cc1plus-checksum.o differs > warning: gcc/cc1-checksum.o differs > Bootstrap comparison failure! > gcc/tree-ssa-threadedge.o differs I'm getting the same problem. I keyworded 5.1.0 as a test, and it did the same thing. Perhaps my search skills are lacking, but I cant see anything else about this for GCC v5 (yet). Was planning to poke at it for a few more days before putting in a bug report. I've included the first part of 'emerge --info' for my system below. Is yours similar? Portage 2.2.26 (python 2.7.11-final-0, default/linux/amd64/13.0/desktop/kde/systemd, gcc-4.9.3, glibc-2.22-r1, 4.2.2- gentoo x86_64) = System Settings = System uname: Linux-4.2.2-gentoo-x86_64-AMD_FX-tm-8120_Eight-Core_Processor- with-gentoo-2.2 KiB Mem:16441164 total,679344 free KiB Swap: 67108856 total, 67108684 free Timestamp of repository gentoo: Thu, 24 Dec 2015 15:45:01 + sh bash 4.3_p42 ld GNU ld (Gentoo 2.25.1 p1.1) 2.25.1 ccache version 3.2.4 [disabled] app-shells/bash: 4.3_p42::gentoo dev-java/java-config: 2.2.0::gentoo dev-lang/perl:5.22.1::gentoo dev-lang/python: 2.7.11-r1::gentoo, 3.4.3-r7::gentoo, 3.5.1- r2::gentoo dev-util/ccache: 3.2.4::gentoo dev-util/cmake: 3.4.1::gentoo dev-util/pkgconfig: 0.29::gentoo sys-apps/baselayout: 2.2::gentoo sys-apps/openrc: 0.19.1::gentoo sys-apps/sandbox: 2.10-r1::gentoo sys-devel/autoconf: 2.13::gentoo, 2.69-r1::gentoo sys-devel/automake: 1.11.6-r2::gentoo, 1.12.6::gentoo, 1.13.4- r1::gentoo, 1.14.1-r1::gentoo, 1.15-r1::gentoo sys-devel/binutils: 2.25.1-r1::gentoo sys-devel/gcc:4.9.3::gentoo sys-devel/gcc-config: 1.8::gentoo sys-devel/libtool:2.4.6-r1::gentoo sys-devel/make: 4.1-r1::gentoo sys-kernel/linux-headers: 4.3::gentoo (virtual/os-headers) sys-libs/glibc: 2.22-r1::gentoo -- Reverend Paul Colquhoun, ULC. http://andor.dropbear.id.au/ Asking for technical help in newsgroups? Read this first: http://catb.org/~esr/faqs/smart-questions.html#intro
Re: [gentoo-user] Gcc 5.3
Hello, On Thu, 24 Dec 2015, Alan Grimes wrote: >Hey, thanks for putting out gcc 5.3... > >Unfortunately, it fails to bootstrap on my machine. I am getting >differences between the stage 2 and stage 3 compilers and it's dying... =( What compiler and C(XX)FLAGS are you using? It builds nicely with gcc-4.9 (and rather agressive flags) here. With how many processes (MAKEOPTS) are you compiling?. Also, compiling gcc might expose flaky RAM (removing and reseating the RAM DIMMs might help there[0]). Have you e.g. encoded stuff with mencoder or ffmpeg lately[1]? If you're compiling with any MAKEOPTS '-j1' it could be the same phenomenon as I had in [1], so try with -j1. If that works ... Consider using prime95/mprime[2] for a test. -dnh [0] stuff expands and shrinks depending on temps, so connections can get flaky even if the box isn't moved ;) [1] I've had mencoder segfault on me reproducibly on one box after 20-30 mins encoding with one process, and <= 10mins with two processes. Memtest86 found nothing in one round. New RAM (replaced on guarantee :) cured the problem for good. [2] http://www.mersenne.org/download/#download -- panic("Attempted to kill the idle task!"); linux-2.2.16/kernel/exit.c
Re: [gentoo-user] Gcc 5.3
It has been many moons since I got into compiling a compiler but here's how it basically works: STAGE 1: Compile the new compiler with whatever broken crap compiler is already installed/hacked together/manually entered by punch cards/etc... STAGE 2: Compile the new compiler with whatever came out of stage 1. STAGE 3: As a sanity check, compile the new compiler a third time with whatever came out of stage 2 Because stage 1 should have produced a fully updated compiler, it's output (stage 2) should be identical to what that compiler in turn produced (Stage 3). This is where it's failing for me. Stanislav Nikolov wrote: > I think they should be compiled with the same version of gcc, > shouldn't they? > > On 12/24/2015 05:18 PM, Alan Grimes wrote: > > Hey, thanks for putting out gcc 5.3... > > > Unfortunately, it fails to bootstrap on my machine. I am getting > > differences between the stage 2 and stage 3 compilers and it's > dying... =( > > > make[2]: Entering directory > > '/var/tmp/portage/sys-devel/gcc-5.3.0/work/build' > > make[3]: Entering directory > > '/var/tmp/portage/sys-devel/gcc-5.3.0/work/build' > > rm -f stage_current > > make[3]: Leaving directory > '/var/tmp/portage/sys-devel/gcc-5.3.0/work/build' > > Comparing stages 2 and 3 > > warning: gcc/cc1plus-checksum.o differs > > warning: gcc/cc1-checksum.o differs > > Bootstrap comparison failure! > > gcc/tree-ssa-threadedge.o differs > > gcc/tsan.o differs > > gcc/print-tree.o differs > > gcc/df-core.o differs > > gcc/omega.o differs > > gcc/dwarf2cfi.o differs > > gcc/lto-cgraph.o differs > > gcc/sanopt.o differs > > gcc/sched-vis.o differs > > gcc/tree-ssa-tail-merge.o differs > > gcc/godump.o differs > > gcc/graph.o differs > > gcc/tree-vect-loop-manip.o differs > > gcc/cse.o differs > > gcc/omp-low.o differs > > > [many lines omitted] > > > libiberty/xmalloc.o differs > > libiberty/simple-object-elf.o differs > > libiberty/spaces.o differs > > libiberty/pex-unix.o differs > > libiberty/simple-object-coff.o differs > > libiberty/crc32.o differs > > libiberty/physmem.o differs > > libiberty/make-relative-prefix.o differs > > libiberty/argv.o differs > > libiberty/pex-common.o differs > > libiberty/simple-object.o differs > > libiberty/strerror.o differs > > libiberty/simple-object-mach-o.o differs > > libiberty/sha1.o differs > > libiberty/cp-demint.o differs > > libiberty/dyn-string.o differs > > libiberty/make-temp-file.o differs > > libiberty/cplus-dem.o differs > > libiberty/sort.o differs > > libiberty/splay-tree.o differs > > libiberty/xstrndup.o differs > > lto-plugin/.libs/lto-plugin.o differs > > Makefile:19638: recipe for target 'compare' failed > > make[2]: *** [compare] Error 1 > > make[2]: Leaving directory > '/var/tmp/portage/sys-devel/gcc-5.3.0/work/build' > > Makefile:19617: recipe for target 'stage3-bubble' failed > > make[1]: *** [stage3-bubble] Error 2 > > make[1]: Leaving directory > '/var/tmp/portage/sys-devel/gcc-5.3.0/work/build' > > Makefile:19691: recipe for target 'bootstrap-lean' failed > > make: *** [bootstrap-lean] Error 2 > > * ERROR: sys-devel/gcc-5.3.0::gentoo failed (compile phase): > > * emake failed > > > > > -- IQ is a measure of how stupid you feel. Powers are not rights.
[gentoo-user] Gcc 5.3
Hey, thanks for putting out gcc 5.3... Unfortunately, it fails to bootstrap on my machine. I am getting differences between the stage 2 and stage 3 compilers and it's dying... =( make[2]: Entering directory '/var/tmp/portage/sys-devel/gcc-5.3.0/work/build' make[3]: Entering directory '/var/tmp/portage/sys-devel/gcc-5.3.0/work/build' rm -f stage_current make[3]: Leaving directory '/var/tmp/portage/sys-devel/gcc-5.3.0/work/build' Comparing stages 2 and 3 warning: gcc/cc1plus-checksum.o differs warning: gcc/cc1-checksum.o differs Bootstrap comparison failure! gcc/tree-ssa-threadedge.o differs gcc/tsan.o differs gcc/print-tree.o differs gcc/df-core.o differs gcc/omega.o differs gcc/dwarf2cfi.o differs gcc/lto-cgraph.o differs gcc/sanopt.o differs gcc/sched-vis.o differs gcc/tree-ssa-tail-merge.o differs gcc/godump.o differs gcc/graph.o differs gcc/tree-vect-loop-manip.o differs gcc/cse.o differs gcc/omp-low.o differs [many lines omitted] libiberty/xmalloc.o differs libiberty/simple-object-elf.o differs libiberty/spaces.o differs libiberty/pex-unix.o differs libiberty/simple-object-coff.o differs libiberty/crc32.o differs libiberty/physmem.o differs libiberty/make-relative-prefix.o differs libiberty/argv.o differs libiberty/pex-common.o differs libiberty/simple-object.o differs libiberty/strerror.o differs libiberty/simple-object-mach-o.o differs libiberty/sha1.o differs libiberty/cp-demint.o differs libiberty/dyn-string.o differs libiberty/make-temp-file.o differs libiberty/cplus-dem.o differs libiberty/sort.o differs libiberty/splay-tree.o differs libiberty/xstrndup.o differs lto-plugin/.libs/lto-plugin.o differs Makefile:19638: recipe for target 'compare' failed make[2]: *** [compare] Error 1 make[2]: Leaving directory '/var/tmp/portage/sys-devel/gcc-5.3.0/work/build' Makefile:19617: recipe for target 'stage3-bubble' failed make[1]: *** [stage3-bubble] Error 2 make[1]: Leaving directory '/var/tmp/portage/sys-devel/gcc-5.3.0/work/build' Makefile:19691: recipe for target 'bootstrap-lean' failed make: *** [bootstrap-lean] Error 2 * ERROR: sys-devel/gcc-5.3.0::gentoo failed (compile phase): * emake failed -- IQ is a measure of how stupid you feel. Powers are not rights.
Re: [gentoo-user] Gcc 5.3
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 I think they should be compiled with the same version of gcc, shouldn't they? On 12/24/2015 05:18 PM, Alan Grimes wrote: > Hey, thanks for putting out gcc 5.3... > > Unfortunately, it fails to bootstrap on my machine. I am getting > differences between the stage 2 and stage 3 compilers and it's dying... =( > > make[2]: Entering directory > '/var/tmp/portage/sys-devel/gcc-5.3.0/work/build' > make[3]: Entering directory > '/var/tmp/portage/sys-devel/gcc-5.3.0/work/build' > rm -f stage_current > make[3]: Leaving directory '/var/tmp/portage/sys-devel/gcc-5.3.0/work/build' > Comparing stages 2 and 3 > warning: gcc/cc1plus-checksum.o differs > warning: gcc/cc1-checksum.o differs > Bootstrap comparison failure! > gcc/tree-ssa-threadedge.o differs > gcc/tsan.o differs > gcc/print-tree.o differs > gcc/df-core.o differs > gcc/omega.o differs > gcc/dwarf2cfi.o differs > gcc/lto-cgraph.o differs > gcc/sanopt.o differs > gcc/sched-vis.o differs > gcc/tree-ssa-tail-merge.o differs > gcc/godump.o differs > gcc/graph.o differs > gcc/tree-vect-loop-manip.o differs > gcc/cse.o differs > gcc/omp-low.o differs > > [many lines omitted] > > libiberty/xmalloc.o differs > libiberty/simple-object-elf.o differs > libiberty/spaces.o differs > libiberty/pex-unix.o differs > libiberty/simple-object-coff.o differs > libiberty/crc32.o differs > libiberty/physmem.o differs > libiberty/make-relative-prefix.o differs > libiberty/argv.o differs > libiberty/pex-common.o differs > libiberty/simple-object.o differs > libiberty/strerror.o differs > libiberty/simple-object-mach-o.o differs > libiberty/sha1.o differs > libiberty/cp-demint.o differs > libiberty/dyn-string.o differs > libiberty/make-temp-file.o differs > libiberty/cplus-dem.o differs > libiberty/sort.o differs > libiberty/splay-tree.o differs > libiberty/xstrndup.o differs > lto-plugin/.libs/lto-plugin.o differs > Makefile:19638: recipe for target 'compare' failed > make[2]: *** [compare] Error 1 > make[2]: Leaving directory '/var/tmp/portage/sys-devel/gcc-5.3.0/work/build' > Makefile:19617: recipe for target 'stage3-bubble' failed > make[1]: *** [stage3-bubble] Error 2 > make[1]: Leaving directory '/var/tmp/portage/sys-devel/gcc-5.3.0/work/build' > Makefile:19691: recipe for target 'bootstrap-lean' failed > make: *** [bootstrap-lean] Error 2 > * ERROR: sys-devel/gcc-5.3.0::gentoo failed (compile phase): > * emake failed > > > -BEGIN PGP SIGNATURE- Version: GnuPG v2 iQEcBAEBCAAGBQJWfBHDAAoJEBYxB87Vey/R/yEH/1y1ZpfKFfN8+SAwNMRlAMdf u9MYag/wI0Ilnrh/uFg3oDZyKZPj+3ze3bjFaIY+8f7xyRQuS+bzk9gTu/eG9WzF m/KT1QSwtRwatgXlBpgJKWNn6jNnLg3zKCUHi+okb9XSffkXedW641+az7E9J1pK YQeGbysRaMSHoshGgBSPr3CHoMpQnkNoIjbUJ0hCRBOSxmth67WFq4gMxSEYG4sM F6pn+dI2Ir1stGSItBJzkWXAWpsfBopxebBi3DVpPJmUvDkyAelzGCl+E8kV5f/S soWO4cFVoAAJyk8MEI4KZ/MPo+R+gzjBJKHOcyf5oORlvGG8DRWy5mAEaTPnH2c= =4Pts -END PGP SIGNATURE-