https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79623
Bug ID: 79623 Summary: error building a cross compiler for powerpc Product: gcc Version: 4.8.4 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: sbansal at ciena dot com Target Milestone: --- Created attachment 40778 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=40778&action=edit config.log GCC version being compiled : 4.8.1 Host machine GCC version : 4.8.5 Compiled binUtils and all the pre-requisties packages like gmp, mpfr, mpc, isl. make[1]: Entering directory `/home/sbansal/compiler/build-gcc/libiberty' if [ x"-fpic" != x ] && [ ! -d pic ]; then \ mkdir pic; \ else true; fi touch stamp-picdir if [ x"-fpic" != x ]; then \ gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../gcc-4.8/libiberty/../include -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -pedantic -fpic ../../gcc-4.8/libiberty/regex.c -o pic/regex.o; \ else true; fi In file included from /usr/include/stdlib.h:314:0, from ../../gcc-4.8/libiberty/regex.c:130: /usr/include/sys/types.h:98:17: error: two or more data types in declaration specifiers typedef __pid_t pid_t; ^ /usr/include/sys/types.h:109:19: error: two or more data types in declaration specifiers typedef __ssize_t ssize_t; ^ make[1]: *** [regex.o] Error 1 make[1]: Leaving directory `/home/sbansal/compiler/build-gcc/libiberty' make: *** [all-libiberty] Error 2 Please let me know if more info is needed in this regard. Regards, Sumit