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
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/
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 \
>
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
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82037
--- Comment #3 from Andreas Schwab ---
Try configuring with --with-cpu=default32.
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
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82037
--- Comment #1 from Richard Biener ---
Your host linker isn't ppc64?