Hi?? I come across a problem when I cross-compile FreeType 2.8.1. I am using the mips-linux-gnu-gcc(4.7.2) provid by ingenic to compile it and result is:
libtool: compile: mips-linux-gnu-gcc -pedantic -ansi -I/home/xiao/Downloads/freetype-2.8.1/src/sfnt -I/home/xiao/Downloads/freetype-2.8.1/objs -I./builds/unix -I/home/xiao/Downloads/freetype-2.8.1/include -c -Wall -g -O2 -I/opt/yoko_libs/ingenic/zlib/include -I/opt/yoko_libs/ingenic/libpng12/include -DFT_CONFIG_OPTION_USE_PNG "-DFT_CONFIG_CONFIG_H=<ftconfig.h>" -DFT2_BUILD_LIBRARY "-DFT_CONFIG_MODULES_H=<ftmodule.h>" /home/xiao/Downloads/freetype-2.8.1/src/sfnt/sfnt.c -fPIC -DPIC -o /home/xiao/Downloads/freetype-2.8.1/objs/.libs/sfnt.o In file included from /home/xiao/Downloads/freetype-2.8.1/src/sfnt/sfnt.c:29:0: /home/xiao/Downloads/freetype-2.8.1/src/sfnt/ttload.c: In function 'tt_face_load_font_dir': /home/xiao/Downloads/freetype-2.8.1/src/sfnt/ttload.c:396:10: warning: 'valid_entries' may be used uninitialized in this function [-Wmaybe-uninitialized] In file included from /home/xiao/Downloads/freetype-2.8.1/src/sfnt/sfnt.c:22:0: /home/xiao/Downloads/freetype-2.8.1/src/sfnt/pngshim.c: In function 'premultiply_data': /home/xiao/Downloads/freetype-2.8.1/src/sfnt/pngshim.c:54:3: internal compiler error: Segmentation fault Please submit a full bug report, with preprocessed source if appropriate. See <http://gcc.gnu.org/bugs.html> for instructions.
and I check the code and compiler that, __builtin_shuffle or __builtin_shufflevector was not define by the compiler. what can I do for this problem?