[Bug bootstrap/82037] powerpc64-unknown-linux-gnu bootstrap breaks in stage2 with gcc/liblto_plugin.so: wrong ELF class: ELFCLASS64

2017-10-03 Thread dclarke at blastwave dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82037 --- Comment #7 from Dennis Clarke --- At this point I don't see what the real issue is here on powerpc64. The configuration stage runs fine but everything fails in stage1 because the wrong ELF class is being used. Really the entire compiler

[Bug bootstrap/82037] powerpc64-unknown-linux-gnu bootstrap breaks in stage2 with gcc/liblto_plugin.so: wrong ELF class: ELFCLASS64

2017-08-31 Thread dclarke at blastwave dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82037 --- Comment #6 from Dennis Clarke --- Well that change fails in stage 1 : /usr/local/build/gcc-7.2.0_linux_3.16.0-4-powerpc64.003/./gcc/xgcc -B/usr/local/build/gcc-7.2.0_linux_3.16.0-4-powerpc64.003/./gcc/

[Bug bootstrap/82037] powerpc64-unknown-linux-gnu bootstrap breaks in stage2 with gcc/liblto_plugin.so: wrong ELF class: ELFCLASS64

2017-08-31 Thread dclarke at blastwave dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82037 --- Comment #5 from Dennis Clarke --- ppc64$ pwd /usr/local/build/gcc-7.2.0_linux_3.16.0-4-powerpc64.003 ppc64$ date Fri Sep 1 03:01:16 GMT 2017 ppc64$ ../gcc-7.2.0/configure --build=powerpc64-unknown-linux-gnu \ >

[Bug bootstrap/82037] powerpc64-unknown-linux-gnu bootstrap breaks in stage2 with gcc/liblto_plugin.so: wrong ELF class: ELFCLASS64

2017-08-30 Thread dclarke at blastwave dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82037 --- Comment #4 from Dennis Clarke --- What if the objective was to have a final 64-bit gcc binary the same as I have on sparc : d # ls -lap /usr/local/gcc7/bin/gcc -rwxr-xr-x 3 root root 6275104 Aug 30 18:40 /usr/local/gcc7/bin/gcc

[Bug bootstrap/82037] powerpc64-unknown-linux-gnu bootstrap breaks in stage2 with gcc/liblto_plugin.so: wrong ELF class: ELFCLASS64

2017-08-30 Thread sch...@linux-m68k.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82037 --- Comment #3 from Andreas Schwab --- Try configuring with --with-cpu=default32.

[Bug bootstrap/82037] powerpc64-unknown-linux-gnu bootstrap breaks in stage2 with gcc/liblto_plugin.so: wrong ELF class: ELFCLASS64

2017-08-30 Thread dclarke at blastwave dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82037 --- Comment #2 from Dennis Clarke --- Seems to be a 32-bit PowerPC ELF : ppc64$ ls -lap /usr/bin/ld lrwxrwxrwx 1 root root 6 Jan 12 2017 /usr/bin/ld -> ld.bfd ppc64$ ls -lap /usr/bin/ld.bfd -rwxr-xr-x 1 root root 700284 Jan 12 2017

[Bug bootstrap/82037] powerpc64-unknown-linux-gnu bootstrap breaks in stage2 with gcc/liblto_plugin.so: wrong ELF class: ELFCLASS64

2017-08-30 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82037 --- Comment #1 from Richard Biener --- Your host linker isn't ppc64?