https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71540
Bug ID: 71540 Summary: Issue to building gcc-4.8.3 on ppc64le-redhat-linux platform Product: gcc Version: 4.8.3 Status: UNCONFIRMED Severity: normal Priority: P3 Component: libgcc Assignee: unassigned at gcc dot gnu.org Reporter: nirajkumarpandey at gmail dot com Target Milestone: --- Hi , I am getting the following error while building gcc-4.8.3 on ppc64le-redhat-linux platform. checking for ppc64le-redhat-linux-gcc... /tmp/1/gcc-build/./gcc/xgcc -B/tmp/1/gcc-build/./gcc/ -B/tmp/gcc-new/ppc64le-redhat-linux/bin/ -B/tmp/gcc-new/ppc64le-redhat-linux/lib/ -isystem /tmp/gcc-new/ppc64le-redhat-linux/include -isystem /tmp/gcc-new/ppc64le-redhat-linux/sys-include checking for suffix of object files... configure: error: in `/tmp/1/gcc-build/ppc64le-redhat-linux/libgcc': configure: error: cannot compute suffix of object files: cannot compile See `config.log' for more details. make[2]: *** [configure-stage1-target-libgcc] Error 1 make[2]: Leaving directory `/tmp/1/gcc-build' make[1]: *** [stage1-bubble] Error 2 make[1]: Leaving directory `/tmp/1/gcc-build' make: *** [all] Error 2 /tmp/1/gcc-build/ppc64le-redhat-linux/libgcc/config.log says: configure:3374: /tmp/1/gcc-build/./gcc/xgcc -B/tmp/1/gcc-build/./gcc/ -B/tmp/gcc-new/ppc64le-redhat-linux/bin/ -B/tmp/gcc-new/ppc64le-redhat-linux/lib/ -isystem /tmp/gcc-new/ppc64le-redhat-linux/include -isystem /tmp/gcc-new/ppc64le-redhat-linux/sys-include -o conftest -g -O2 conftest.c >&5 In file included from <command-line>:0:0: /usr/include/stdc-predef.h:1:0: internal compiler error: Aborted /* Copyright (C) 1991-2012 Free Software Foundation, Inc. ^ 0x10785c17 crash_signal ../../gcc-4.8.3/gcc/toplev.c:332 0x10f8c74b _cpp_process_line_notes ../../gcc-4.8.3/libcpp/lex.c:956 Please submit a full bug report, with preprocessed source if appropriate. Please include the complete backtrace with any bug report. See <http://gcc.gnu.org/bugs.html> for instructions. configure:3377: $? = 1 I have using the following options while running configure: ../gcc-4.8.3/configure --prefix=/tmp/gcc-new --enable-bootstrap --enable-shared --enable-threads=posix --enable-checking=release --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-gnu-unique-object --enable-linker-build-id --with-linker-hash-style=gnu --enable-languages=c,c++ --enable-plugin --enable-initfini-array --disable-libgcj --enable-gnu-indirect-function --enable-secureplt --with-long-double-128 --enable-targets=powerpcle-linux --disable-multilib --with-cpu-64=power7 --with-tune-64=power8 --build=ppc64le-redhat-linux Can someone please help me to fix this. Thanks in advance. Reagrds Niraj