Advertisement
Guest User

gcc cross compiler build error .

a guest
Oct 30th, 2014
332
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 26.97 KB | None | 0 0
  1. checking whether fgetc_unlocked is declared... yes
  2. checking whether fgets_unlocked is declared... yes
  3. checking whether fileno_unlocked is declared... yes
  4. checking whether fprintf_unlocked is declared... no
  5. checking whether fputc_unlocked is declared... yes
  6. checking whether fputs_unlocked is declared... yes
  7. checking whether fread_unlocked is declared... yes
  8. checking whether fwrite_unlocked is declared... yes
  9. checking whether getchar_unlocked is declared... yes
  10. checking whether getc_unlocked is declared... yes
  11. checking whether putchar_unlocked is declared... yes
  12. checking whether putc_unlocked is declared... yes
  13. checking for working alloca.h... yes
  14. checking for alloca... yes
  15. checking for ANSI C header files... (cached) yes
  16. checking for nl_langinfo and CODESET... yes
  17. checking whether NLS is requested... no
  18. checking for uchar...
  19. checking for ld used by GCC... ld
  20. checking if the linker (ld) is GNU ld... yes
  21. checking for shared library run path origin... done
  22. checking for iconv... yes
  23. checking for iconv declaration... install-shextern size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
  24. configure: updating cache ./config.cache
  25. configure: creating ./config.status
  26. config.status: creating Makefile
  27. config.status: creating config.h
  28. config.status: executing depdir commands
  29. mkdir -p -- .deps
  30. make[1]: Entering directory `/home/sonu/src/build-gcc/libcpp'
  31. g++  -I../../gcc-4.8.2/libcpp -I. -I../../gcc-4.8.2/libcpp/../include -I../../gcc-4.8.2/libcpp/include  -g -O2 -W -Wall -Wno-narrowing -Wwrite-strings -Wmissing-format-attribute -pedantic -Wno-long-long  -fno-exceptions -fno-rtti -I../../gcc-4.8.2/libcpp -I. -I../../gcc-4.8.2/libcpp/../include -I../../gcc-4.8.2/libcpp/include  -c -o charset.o -MT charset.o -MMD -MP -MF .deps/charset.Tpo ../../gcc-4.8.2/libcpp/charset.c
  32. g++  -I../../gcc-4.8.2/libcpp -I. -I../../gcc-4.8.2/libcpp/../include -I../../gcc-4.8.2/libcpp/include  -g -O2 -W -Wall -Wno-narrowing -Wwrite-strings -Wmissing-format-attribute -pedantic -Wno-long-long  -fno-exceptions -fno-rtti -I../../gcc-4.8.2/libcpp -I. -I../../gcc-4.8.2/libcpp/../include -I../../gcc-4.8.2/libcpp/include  -c -o directives.o -MT directives.o -MMD -MP -MF .deps/directives.Tpo ../../gcc-4.8.2/libcpp/directives.c
  33. ../../gcc-4.8.2/libcpp/directives.c: In function ‘void cpp_define_formatted(cpp_reader*, const char*, ...)’:
  34. ../../gcc-4.8.2/libcpp/directives.c:2380:28: warning: ignoring return value of ‘int vasprintf(char**, const char*, __va_list_tag*)’, declared with attribute warn_unused_result [-Wunused-result]
  35.   vasprintf (&ptr, fmt, ap);
  36.                            ^
  37. g++  -I../../gcc-4.8.2/libcpp -I. -I../../gcc-4.8.2/libcpp/../include -I../../gcc-4.8.2/libcpp/include  -g -O2 -W -Wall -Wno-narrowing -Wwrite-strings -Wmissing-format-attribute -pedantic -Wno-long-long  -fno-exceptions -fno-rtti -I../../gcc-4.8.2/libcpp -I. -I../../gcc-4.8.2/libcpp/../include -I../../gcc-4.8.2/libcpp/include  -c -o directives-only.o -MT directives-only.o -MMD -MP -MF .deps/directives-only.Tpo ../../gcc-4.8.2/libcpp/directives-only.c
  38. g++  -I../../gcc-4.8.2/libcpp -I. -I../../gcc-4.8.2/libcpp/../include -I../../gcc-4.8.2/libcpp/include  -g -O2 -W -Wall -Wno-narrowing -Wwrite-strings -Wmissing-format-attribute -pedantic -Wno-long-long  -fno-exceptions -fno-rtti -I../../gcc-4.8.2/libcpp -I. -I../../gcc-4.8.2/libcpp/../include -I../../gcc-4.8.2/libcpp/include  -c -o errors.o -MT errors.o -MMD -MP -MF .deps/errors.Tpo ../../gcc-4.8.2/libcpp/errors.c
  39. g++  -I../../gcc-4.8.2/libcpp -I. -I../../gcc-4.8.2/libcpp/../include -I../../gcc-4.8.2/libcpp/include  -g -O2 -W -Wall -Wno-narrowing -Wwrite-strings -Wmissing-format-attribute -pedantic -Wno-long-long  -fno-exceptions -fno-rtti -I../../gcc-4.8.2/libcpp -I. -I../../gcc-4.8.2/libcpp/../include -I../../gcc-4.8.2/libcpp/include  -c -o expr.o -MT expr.o -MMD -MP -MF .deps/expr.Tpo ../../gcc-4.8.2/libcpp/expr.c
  40. ../../gcc-4.8.2/libcpp/expr.c: In function ‘unsigned int cpp_classify_number(cpp_reader*, const cpp_token*, const char**, source_location)’:
  41. ../../gcc-4.8.2/libcpp/expr.c:629:18: warning: format not a string literal and no format arguments [-Wformat-security]
  42.        0, message);
  43.                  ^
  44. ../../gcc-4.8.2/libcpp/expr.c:632:39: warning: format not a string literal and no format arguments [-Wformat-security]
  45.           virtual_location, 0, message);
  46.                                       ^
  47. g++  -I../../gcc-4.8.2/libcpp -I. -I../../gcc-4.8.2/libcpp/../include -I../../gcc-4.8.2/libcpp/include  -g -O2 -W -Wall -Wno-narrowing -Wwrite-strings -Wmissing-format-attribute -pedantic -Wno-long-long  -fno-exceptions -fno-rtti -I../../gcc-4.8.2/libcpp -I. -I../../gcc-4.8.2/libcpp/../include -I../../gcc-4.8.2/libcpp/include  -c -o files.o -MT files.o -MMD -MP -MF .deps/files.Tpo ../../gcc-4.8.2/libcpp/files.c
  48. g++  -I../../gcc-4.8.2/libcpp -I. -I../../gcc-4.8.2/libcpp/../include -I../../gcc-4.8.2/libcpp/include  -g -O2 -W -Wall -Wno-narrowing -Wwrite-strings -Wmissing-format-attribute -pedantic -Wno-long-long  -fno-exceptions -fno-rtti -I../../gcc-4.8.2/libcpp -I. -I../../gcc-4.8.2/libcpp/../include -I../../gcc-4.8.2/libcpp/include  -c -o identifiers.o -MT identifiers.o -MMD -MP -MF .deps/identifiers.Tpo ../../gcc-4.8.2/libcpp/identifiers.c
  49. echo "#define LOCALEDIR \"/home/sonu/opt/cross/share/locale\"" > localedir.new
  50. ../../gcc-4.8.2/libcpp/../move-if-change localedir.new localedir.h
  51. echo timestamp > localedir.hs
  52. g++  -I../../gcc-4.8.2/libcpp -I. -I../../gcc-4.8.2/libcpp/../include -I../../gcc-4.8.2/libcpp/include  -g -O2 -W -Wall -Wno-narrowing -Wwrite-strings -Wmissing-format-attribute -pedantic -Wno-long-long  -fno-exceptions -fno-rtti -I../../gcc-4.8.2/libcpp -I. -I../../gcc-4.8.2/libcpp/../include -I../../gcc-4.8.2/libcpp/include  -c -o init.o -MT init.o -MMD -MP -MF .deps/init.Tpo ../../gcc-4.8.2/libcpp/init.c
  53. g++  -I../../gcc-4.8.2/libcpp -I. -I../../gcc-4.8.2/libcpp/../include -I../../gcc-4.8.2/libcpp/include  -g -O2 -W -Wall -Wno-narrowing -Wwrite-strings -Wmissing-format-attribute -pedantic -Wno-long-long  -fno-exceptions -fno-rtti -I../../gcc-4.8.2/libcpp -I. -I../../gcc-4.8.2/libcpp/../include -I../../gcc-4.8.2/libcpp/include  -c -o lex.o -MT lex.o -MMD -MP -MF .deps/lex.Tpo ../../gcc-4.8.2/libcpp/lex.c
  54. g++  -I../../gcc-4.8.2/libcpp -I. -I../../gcc-4.8.2/libcpp/../include -I../../gcc-4.8.2/libcpp/include  -g -O2 -W -Wall -Wno-narrowing -Wwrite-strings -Wmissing-format-attribute -pedantic -Wno-long-long  -fno-exceptions -fno-rtti -I../../gcc-4.8.2/libcpp -I. -I../../gcc-4.8.2/libcpp/../include -I../../gcc-4.8.2/libcpp/include  -c -o line-map.o -MT line-map.o -MMD -MP -MF .deps/line-map.Tpo ../../gcc-4.8.2/libcpp/line-map.c
  55. g++  -I../../gcc-4.8.2/libcpp -I. -I../../gcc-4.8.2/libcpp/../include -I../../gcc-4.8.2/libcpp/include  -g -O2 -W -Wall -Wno-narrowing -Wwrite-strings -Wmissing-format-attribute -pedantic -Wno-long-long  -fno-exceptions -fno-rtti -I../../gcc-4.8.2/libcpp -I. -I../../gcc-4.8.2/libcpp/../include -I../../gcc-4.8.2/libcpp/include  -c -o macro.o -MT macro.o -MMD -MP -MF .deps/macro.Tpo ../../gcc-4.8.2/libcpp/macro.c
  56. ../../gcc-4.8.2/libcpp/macro.c: In function ‘bool create_iso_definition(cpp_reader*, cpp_macro*)’:
  57. ../../gcc-4.8.2/libcpp/macro.c:2965:58: warning: format not a string literal and no format arguments [-Wformat-security]
  58.        cpp_error (pfile, CPP_DL_ERROR, paste_op_error_msg);
  59.                                                          ^
  60. ../../gcc-4.8.2/libcpp/macro.c:2978:58: warning: format not a string literal and no format arguments [-Wformat-security]
  61.        cpp_error (pfile, CPP_DL_ERROR, paste_op_error_msg);
  62.                                                          ^
  63. g++  -I../../gcc-4.8.2/libcpp -I. -I../../gcc-4.8.2/libcpp/../include -I../../gcc-4.8.2/libcpp/include  -g -O2 -W -Wall -Wno-narrowing -Wwrite-strings -Wmissing-format-attribute -pedantic -Wno-long-long  -fno-exceptions -fno-rtti -I../../gcc-4.8.2/libcpp -I. -I../../gcc-4.8.2/libcpp/../include -I../../gcc-4.8.2/libcpp/include  -c -o mkdeps.o -MT mkdeps.o -MMD -MP -MF .deps/mkdeps.Tpo ../../gcc-4.8.2/libcpp/mkdeps.c
  64. g++  -I../../gcc-4.8.2/libcpp -I. -I../../gcc-4.8.2/libcpp/../include -I../../gcc-4.8.2/libcpp/include  -g -O2 -W -Wall -Wno-narrowing -Wwrite-strings -Wmissing-format-attribute -pedantic -Wno-long-long  -fno-exceptions -fno-rtti -I../../gcc-4.8.2/libcpp -I. -I../../gcc-4.8.2/libcpp/../include -I../../gcc-4.8.2/libcpp/include  -c -o pch.o -MT pch.o -MMD -MP -MF .deps/pch.Tpo ../../gcc-4.8.2/libcpp/pch.c
  65. g++  -I../../gcc-4.8.2/libcpp -I. -I../../gcc-4.8.2/libcpp/../include -I../../gcc-4.8.2/libcpp/include  -g -O2 -W -Wall -Wno-narrowing -Wwrite-strings -Wmissing-format-attribute -pedantic -Wno-long-long  -fno-exceptions -fno-rtti -I../../gcc-4.8.2/libcpp -I. -I../../gcc-4.8.2/libcpp/../include -I../../gcc-4.8.2/libcpp/include  -c -o symtab.o -MT symtab.o -MMD -MP -MF .deps/symtab.Tpo ../../gcc-4.8.2/libcpp/symtab.c
  66. g++  -I../../gcc-4.8.2/libcpp -I. -I../../gcc-4.8.2/libcpp/../include -I../../gcc-4.8.2/libcpp/include  -g -O2 -W -Wall -Wno-narrowing -Wwrite-strings -Wmissing-format-attribute -pedantic -Wno-long-long  -fno-exceptions -fno-rtti -I../../gcc-4.8.2/libcpp -I. -I../../gcc-4.8.2/libcpp/../include -I../../gcc-4.8.2/libcpp/include  -c -o traditional.o -MT traditional.o -MMD -MP -MF .deps/traditional.Tpo ../../gcc-4.8.2/libcpp/traditional.c
  67. rm -f libcpp.a
  68. ar cru libcpp.a charset.o directives.o directives-only.o errors.o expr.o files.o identifiers.o init.o lex.o line-map.o macro.o mkdeps.o pch.o symtab.o traditional.o
  69. ranlib libcpp.a
  70. make[1]: Leaving directory `/home/sonu/src/build-gcc/libcpp'
  71. mkdir -p -- ./libdecnumber
  72. Configuring in ./libdecnumber
  73. configure: creating cache ./config.cache
  74. checking whether make sets $(MAKE)... yes
  75. checking for x86_64-unknown-linux-gnu-gcc... gcc
  76. checking for C compiler default output file name... a.out
  77. checking whether the C compiler works... yes
  78. checking whether we are cross compiling... no
  79. checking for suffix of executables...
  80. checking for suffix of object files... o
  81. checking whether we are using the GNU C compiler... yes
  82. checking whether gcc accepts -g... yes
  83. checking for gcc option to accept ISO C89... none needed
  84. checking for x86_64-unknown-linux-gnu-ranlib... ranlib
  85. checking for aclocal... no
  86. checking for autoconf... no
  87. checking for autoheader... no
  88. checking whether gcc supports -W... yes
  89. checking whether gcc supports -Wall... yes
  90. checking whether gcc supports -Wwrite-strings... yes
  91. checking whether gcc supports -Wstrict-prototypes... yes
  92. checking whether gcc supports -Wmissing-prototypes... yes
  93. checking whether gcc supports -Wold-style-definition... yes
  94. checking whether gcc supports -Wmissing-format-attribute... yes
  95. checking whether gcc supports -Wcast-qual... yes
  96. checking whether gcc supports -pedantic -Wlong-long... yes
  97. checking how to run the C preprocessor... gcc -E
  98. checking for grep that handles long lines and -e... /bin/grep
  99. checking for egrep... /bin/grep -E
  100. checking for ANSI C header files... yes
  101. checking for sys/types.h... yes
  102. checking for sys/stat.h... yes
  103. checking for stdlib.h... yes
  104. checking for string.h... yes
  105. checking for memory.h... yes
  106. checking for strings.h... yes
  107. checking for inttypes.h... yes
  108. checking for stdint.h... yes
  109. checking for unistd.h... yes
  110. checking ctype.h usability... yes
  111. checking ctype.h presence... yes
  112. checking for ctype.h... yes
  113. checking stddef.h usability... yes
  114. checking stddef.h presence... yes
  115. checking for stddef.h... yes
  116. checking for string.h... (cached) yes
  117. checking stdio.h usability... yes
  118. checking stdio.h presence... yes
  119. checking for stdio.h... yes
  120. looking for a compliant stdint.h in stdint.h, checking for uintmax_t... yes
  121. checking for uintptr_t... yes
  122. checking for int_least32_t... yes
  123. checking for int_fast32_t... yes
  124. checking for uint64_t... yes
  125. checking what to include in gstdint.h... stdint.h (already complete)
  126. checking for an ANSI C-conforming const... yes
  127. checking for off_t... yes
  128. checking size of int... 4
  129. checking size of long... 8
  130. checking for ANSI C header files... (cached) yes
  131. checking build system type... x86_64-unknown-linux-gnu
  132. checking host system type... x86_64-unknown-linux-gnu
  133. checking target system type... i686-pc-elf
  134. checking for decimal floating point... configure: WARNING: decimal float is not supported for this target, ignored
  135. dpd
  136. checking whether byte ordering is bigendian... no
  137. configure: updating cache ./config.cache
  138. configure: creating ./config.status
  139. config.status: creating Makefile
  140. config.status: creating config.h
  141. config.status: executing gstdint.h commands
  142. make[1]: Entering directory `/home/sonu/src/build-gcc/libdecnumber'
  143. source='../../gcc-4.8.2/libdecnumber/decNumber.c' object='decNumber.o' libtool=no gcc  -I../../gcc-4.8.2/libdecnumber -I.  -g -O2 -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -Wmissing-format-attribute -Wcast-qual -pedantic -Wno-long-long  -I../../gcc-4.8.2/libdecnumber -I.  -c ../../gcc-4.8.2/libdecnumber/decNumber.c
  144. source='../../gcc-4.8.2/libdecnumber/decContext.c' object='decContext.o' libtool=no gcc  -I../../gcc-4.8.2/libdecnumber -I.  -g -O2 -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -Wmissing-format-attribute -Wcast-qual -pedantic -Wno-long-long  -I../../gcc-4.8.2/libdecnumber -I.  -c ../../gcc-4.8.2/libdecnumber/decContext.c
  145. source='../../gcc-4.8.2/libdecnumber/dpd/decimal32.c' object='decimal32.o' libtool=no gcc  -I../../gcc-4.8.2/libdecnumber -I.  -g -O2 -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -Wmissing-format-attribute -Wcast-qual -pedantic -Wno-long-long  -I../../gcc-4.8.2/libdecnumber -I.  -c ../../gcc-4.8.2/libdecnumber/dpd/decimal32.c
  146. source='../../gcc-4.8.2/libdecnumber/dpd/decimal64.c' object='decimal64.o' libtool=no gcc  -I../../gcc-4.8.2/libdecnumber -I.  -g -O2 -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -Wmissing-format-attribute -Wcast-qual -pedantic -Wno-long-long  -I../../gcc-4.8.2/libdecnumber -I.  -c ../../gcc-4.8.2/libdecnumber/dpd/decimal64.c
  147. source='../../gcc-4.8.2/libdecnumber/dpd/decimal128.c' object='decimal128.o' libtool=no gcc  -I../../gcc-4.8.2/libdecnumber -I.  -g -O2 -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -Wmissing-format-attribute -Wcast-qual -pedantic -Wno-long-long  -I../../gcc-4.8.2/libdecnumber -I.  -c ../../gcc-4.8.2/libdecnumber/dpd/decimal128.c
  148. rm -f libdecnumber.a
  149. ar cru libdecnumber.a decNumber.o decContext.o decimal32.o decimal64.o decimal128.o
  150. ranlib libdecnumber.a
  151. make[1]: Leaving directory `/home/sonu/src/build-gcc/libdecnumber'
  152. mkdir -p -- ./fixincludes
  153. Configuring in ./fixincludes
  154. configure: creating cache ./config.cache
  155. checking build system type... x86_64-unknown-linux-gnu
  156. checking host system type... x86_64-unknown-linux-gnu
  157. checking target system type... i686-pc-elf
  158. checking for x86_64-unknown-linux-gnu-gcc... gcc
  159. checking for C compiler default output file name... a.out
  160. checking whether the C compiler works... yes
  161. checking whether we are cross compiling... no
  162. checking for suffix of executables...
  163. checking for suffix of object files... o
  164. checking whether we are using the GNU C compiler... yes
  165. checking whether gcc accepts -g... yes
  166. checking for gcc option to accept ISO C89... none needed
  167. checking how to run the C preprocessor... gcc -E
  168. checking for grep that handles long lines and -e... /bin/grep
  169. checking for egrep... /bin/grep -E
  170. checking for ANSI C header files... yes
  171. checking for sys/types.h... yes
  172. checking for sys/stat.h... yes
  173. checking for stdlib.h... yes
  174. checking for string.h... yes
  175. checking for memory.h... yes
  176. checking for strings.h... yes
  177. checking for inttypes.h... yes
  178. checking for stdint.h... yes
  179. checking for unistd.h... yes
  180. checking minix/config.h usability... no
  181. checking minix/config.h presence... no
  182. checking for minix/config.h... no
  183. checking whether it is safe to define __EXTENSIONS__... yes
  184. checking for a sed that does not truncate output... /bin/sed
  185. checking whether gcc supports -W... yes
  186. checking whether gcc supports -Wall... yes
  187. checking whether gcc supports -Wwrite-strings... yes
  188. checking whether gcc supports -Wstrict-prototypes... yes
  189. checking whether gcc supports -Wmissing-prototypes... yes
  190. checking whether gcc supports -Wold-style-definition... yes
  191. checking whether gcc supports -Wmissing-format-attribute... yes
  192. checking whether gcc supports -Woverlength-strings... yes
  193. checking whether gcc supports -pedantic -Wlong-long... yes
  194. checking for ANSI C header files... (cached) yes
  195. checking stddef.h usability... yes
  196. checking stddef.h presence... yes
  197. checking for stddef.h... yes
  198. checking for stdlib.h... (cached) yes
  199. checking for strings.h... (cached) yes
  200. checking for unistd.h... (cached) yes
  201. checking fcntl.h usability... yes
  202. checking fcntl.h presence... yes
  203. checking for fcntl.h... yes
  204. checking sys/file.h usability... yes
  205. checking sys/file.h presence... yes
  206. checking for sys/file.h... yes
  207. checking for sys/stat.h... (cached) yes
  208. checking for clearerr_unlocked... yes
  209. checking for feof_unlocked... yes
  210. checking for ferror_unlocked... yes
  211. checking for fflush_unlocked... yes
  212. checking for fgetc_unlocked... yes
  213. checking for fgets_unlocked... yes
  214. checking for fileno_unlocked... yes
  215. checking for fprintf_unlocked... no
  216. checking for fputc_unlocked... yes
  217. checking for fputs_unlocked... yes
  218. checking for fread_unlocked... yes
  219. checking for fwrite_unlocked... yes
  220. checking for getchar_unlocked... yes
  221. checking for getc_unlocked... yes
  222. checking for putchar_unlocked... yes
  223. checking for putc_unlocked... yes
  224. checking whether abort is declared... yes
  225. checking whether asprintf is declared... yes
  226. checking whether basename is declared... yes
  227. checking whether errno is declared... no
  228. checking whether vasprintf is declared... yes
  229. checking whether clearerr_unlocked is declared... yes
  230. checking whether feof_unlocked is declared... yes
  231. checking whether ferror_unlocked is declared... yes
  232. checking whether fflush_unlocked is declared... yes
  233. checking whether fgetc_unlocked is declared... yes
  234. checking whether fgets_unlocked is declared... yes
  235. checking whether fileno_unlocked is declared... yes
  236. checking whether fprintf_unlocked is declared... no
  237. checking whether fputc_unlocked is declared... yes
  238. checking whether fputs_unlocked is declared... yes
  239. checking whether fread_unlocked is declared... yes
  240. checking whether fwrite_unlocked is declared... yes
  241. checking whether getchar_unlocked is declared... yes
  242. checking whether getc_unlocked is declared... yes
  243. checking whether putchar_unlocked is declared... yes
  244. checking whether putc_unlocked is declared... yes
  245. checking for an ANSI C-conforming const... yes
  246. checking sys/mman.h usability... yes
  247. checking sys/mman.h presence... yes
  248. checking for sys/mman.h... yes
  249. checking for mmap... yes
  250. checking whether read-only mmap of a plain file works... yes
  251. checking whether mmap from /dev/zero works... yes
  252. checking for MAP_ANON(YMOUS)... yes
  253. checking whether mmap with MAP_ANON(YMOUS) works... yes
  254. checking whether to enable maintainer-specific portions of Makefiles... no
  255. configure: updating cache ./config.cache
  256. configure: creating ./config.status
  257. config.status: creating Makefile
  258. config.status: creating mkheaders.almost
  259. config.status: creating config.h
  260. make[1]: Entering directory `/home/sonu/src/build-gcc/fixincludes'
  261. gcc -c -g -O2 -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -Wmissing-format-attribute -Wno-overlength-strings -pedantic -Wno-long-long   -DHAVE_CONFIG_H -I. -I../../gcc-4.8.2/fixincludes -I../include -I../../gcc-4.8.2/fixincludes/../include ../../gcc-4.8.2/fixincludes/fixincl.c
  262. gcc -c -g -O2 -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -Wmissing-format-attribute -Wno-overlength-strings -pedantic -Wno-long-long   -DHAVE_CONFIG_H -I. -I../../gcc-4.8.2/fixincludes -I../include -I../../gcc-4.8.2/fixincludes/../include ../../gcc-4.8.2/fixincludes/fixtests.c
  263. gcc -c -g -O2 -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -Wmissing-format-attribute -Wno-overlength-strings -pedantic -Wno-long-long   -DHAVE_CONFIG_H -I. -I../../gcc-4.8.2/fixincludes -I../include -I../../gcc-4.8.2/fixincludes/../include ../../gcc-4.8.2/fixincludes/fixfixes.c
  264. gcc -c -g -O2 -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -Wmissing-format-attribute -Wno-overlength-strings -pedantic -Wno-long-long   -DHAVE_CONFIG_H -I. -I../../gcc-4.8.2/fixincludes -I../include -I../../gcc-4.8.2/fixincludes/../include ../../gcc-4.8.2/fixincludes/server.c
  265. ../../gcc-4.8.2/fixincludes/server.c: In function ‘server_setup’:
  266. ../../gcc-4.8.2/fixincludes/server.c:195:10: warning: ignoring return value of ‘getcwd’, declared with attribute warn_unused_result [-Wunused-result]
  267.   getcwd (buff, MAXPATHLEN + 1);
  268.          ^
  269. gcc -c -g -O2 -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -Wmissing-format-attribute -Wno-overlength-strings -pedantic -Wno-long-long   -DHAVE_CONFIG_H -I. -I../../gcc-4.8.2/fixincludes -I../include -I../../gcc-4.8.2/fixincludes/../include ../../gcc-4.8.2/fixincludes/procopen.c
  270. gcc -c -g -O2 -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -Wmissing-format-attribute -Wno-overlength-strings -pedantic -Wno-long-long   -DHAVE_CONFIG_H -I. -I../../gcc-4.8.2/fixincludes -I../include -I../../gcc-4.8.2/fixincludes/../include ../../gcc-4.8.2/fixincludes/fixlib.c
  271. gcc -c -g -O2 -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -Wmissing-format-attribute -Wno-overlength-strings -pedantic -Wno-long-long   -DHAVE_CONFIG_H -I. -I../../gcc-4.8.2/fixincludes -I../include -I../../gcc-4.8.2/fixincludes/../include ../../gcc-4.8.2/fixincludes/fixopts.c
  272. gcc -g -O2 -static-libstdc++ -static-libgcc  -o fixincl fixincl.o fixtests.o fixfixes.o server.o procopen.o fixlib.o fixopts.o ../libiberty/libiberty.a
  273. echo timestamp > full-stamp
  274. srcdir="../../gcc-4.8.2/fixincludes" /bin/bash ../../gcc-4.8.2/fixincludes/mkfixinc.sh i686-pc-elf
  275. sed -e 's/@gcc_version@/4.8.2/' < mkheaders.almost > mkheadersT
  276. mv -f mkheadersT mkheaders
  277. make[1]: Leaving directory `/home/sonu/src/build-gcc/fixincludes'
  278. make[1]: Entering directory `/home/sonu/src/build-gcc/gcc'
  279. TARGET_CPU_DEFAULT="" \
  280.     HEADERS="auto-host.h ansidecl.h" DEFINES="" \
  281.     /bin/bash ../../gcc-4.8.2/gcc/mkconfig.sh config.h
  282. TARGET_CPU_DEFAULT="" \
  283.     HEADERS="options.h insn-constants.h config/vxworks-dummy.h config/i386/i386.h config/i386/unix.h config/i386/att.h config/dbxelf.h config/elfos.h config/newlib-stdint.h config/i386/i386elf.h config/initfini-array.h defaults.h" DEFINES="LIBC_GLIBC=1 LIBC_UCLIBC=2 LIBC_BIONIC=3" \
  284.     /bin/bash ../../gcc-4.8.2/gcc/mkconfig.sh tm.h
  285. mawk -f ../../gcc-4.8.2/gcc/opt-gather.awk ../../gcc-4.8.2/gcc/ada/gcc-interface/lang.opt ../../gcc-4.8.2/gcc/fortran/lang.opt ../../gcc-4.8.2/gcc/go/lang.opt ../../gcc-4.8.2/gcc/java/lang.opt ../../gcc-4.8.2/gcc/lto/lang.opt ../../gcc-4.8.2/gcc/c-family/c.opt ../../gcc-4.8.2/gcc/common.opt ../../gcc-4.8.2/gcc/config/fused-madd.opt ../../gcc-4.8.2/gcc/config/i386/i386.opt > tmp-optionlist
  286. /bin/bash ../../gcc-4.8.2/gcc/../move-if-change tmp-optionlist optionlist
  287. echo timestamp > s-options
  288. mawk -f ../../gcc-4.8.2/gcc/opt-functions.awk -f ../../gcc-4.8.2/gcc/opt-read.awk \
  289.            -f ../../gcc-4.8.2/gcc/opth-gen.awk \
  290.            < optionlist > tmp-options.h
  291. /bin/bash ../../gcc-4.8.2/gcc/../move-if-change tmp-options.h options.h
  292. echo timestamp > s-options-h
  293. TARGET_CPU_DEFAULT="" \
  294.     HEADERS="auto-host.h ansidecl.h" DEFINES="" \
  295.     /bin/bash ../../gcc-4.8.2/gcc/mkconfig.sh bconfig.h
  296. g++ -c   -g -O2 -DIN_GCC -DCROSS_DIRECTORY_STRUCTURE  -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wmissing-format-attribute -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings   -DHAVE_CONFIG_H -DGENERATOR_FILE -I. -Ibuild -I../../gcc-4.8.2/gcc -I../../gcc-4.8.2/gcc/build -I../../gcc-4.8.2/gcc/../include -I../../gcc-4.8.2/gcc/../libcpp/include -I/home/sonu/src/build-gcc/./gmp -I/home/sonu/src/gcc-4.8.2/gmp -I/home/sonu/src/build-gcc/./mpfr -I/home/sonu/src/gcc-4.8.2/mpfr -I/home/sonu/src/gcc-4.8.2/mpc/src  -I../../gcc-4.8.2/gcc/../libdecnumber -I../../gcc-4.8.2/gcc/../libdecnumber/dpd -I../libdecnumber -I../../gcc-4.8.2/gcc/../libbacktrace    \
  297.         -o build/genconstants.o ../../gcc-4.8.2/gcc/genconstants.c
  298. In file included from ./bconfig.h:3:0,
  299.                 from ../../gcc-4.8.2/gcc/genconstants.c:27:
  300. ./auto-host.h:1988:16: error: declaration does not declare anything [-fpermissive]
  301. #define rlim_t long
  302.                ^
  303. In file included from ../../gcc-4.8.2/gcc/genconstants.c:28:0:
  304. ../../gcc-4.8.2/gcc/system.h:444:23: error: declaration of C function ‘void* sbrk(int)’ conflicts with
  305. extern void *sbrk (int);
  306.                       ^
  307. In file included from ../../gcc-4.8.2/gcc/system.h:254:0,
  308.                 from ../../gcc-4.8.2/gcc/genconstants.c:28:
  309. /usr/include/unistd.h:1043:14: error: previous declaration ‘void* sbrk(intptr_t)’ here
  310. extern void *sbrk (intptr_t __delta) __THROW;
  311.              ^
  312. In file included from ../../gcc-4.8.2/gcc/genconstants.c:28:0:
  313. ../../gcc-4.8.2/gcc/system.h:448:48: error: new declaration ‘char* strstr(const char*, const char*)’
  314. extern char *strstr (const char *, const char *);
  315.                                                ^
  316. In file included from /usr/include/c++/4.8/cstring:42:0,
  317.                 from ../../gcc-4.8.2/gcc/system.h:205,
  318.                 from ../../gcc-4.8.2/gcc/genconstants.c:28:
  319. /usr/include/string.h:335:1: error: ambiguates old declaration ‘const char* strstr(const char*, const char*)’
  320. strstr (const char *__haystack, const char *__needle) __THROW
  321. ^
  322. In file included from ../../gcc-4.8.2/gcc/genconstants.c:28:0:
  323. ../../gcc-4.8.2/gcc/system.h:500:34: error: declaration of C function ‘const char* strsignal(int)’ conflicts with
  324. extern const char *strsignal (int);
  325.                                  ^
  326. In file included from /usr/include/c++/4.8/cstring:42:0,
  327.                 from ../../gcc-4.8.2/gcc/system.h:205,
  328.                 from ../../gcc-4.8.2/gcc/genconstants.c:28:
  329. /usr/include/string.h:564:14: error: previous declaration ‘char* strsignal(int)’ here
  330. extern char *strsignal (int __sig) __THROW;
  331.              ^
  332. In file included from ../../gcc-4.8.2/gcc/system.h:645:0,
  333.                 from ../../gcc-4.8.2/gcc/genconstants.c:28:
  334. ../../gcc-4.8.2/gcc/../include/libiberty.h:110:36: error: new declaration ‘char* basename(const char*)’
  335. extern char *basename (const char *);
  336.                                    ^
  337. In file included from /usr/include/c++/4.8/cstring:42:0,
  338.                 from ../../gcc-4.8.2/gcc/system.h:205,
  339.                 from ../../gcc-4.8.2/gcc/genconstants.c:28:
  340. /usr/include/string.h:601:26: error: ambiguates old declaration ‘const char* basename(const char*)’
  341. extern "C++" const char *basename (const char *__filename)
  342.                          ^
  343. make[1]: *** [build/genconstants.o] Error 1
  344. make[1]: Leaving directory `/home/sonu/src/build-gcc/gcc'
  345. make: *** [all-gcc] Error 2
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement