public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
* boostrap failure with newlib
@ 2021-02-28  0:13 sotrdg sotrdg
  2021-03-01 16:47 ` Jonathan Wakely
  0 siblings, 1 reply; 2+ messages in thread
From: sotrdg sotrdg @ 2021-02-28  0:13 UTC (permalink / raw)
  To: gcc

../../../gcc/libssp/ssp.c: In function '__guard_setup':
../../../gcc/libssp/memcpy-chk.c:45:15: error: unknown type name 'size_t'
   45 |               size_t len, size_t slen)
      |               ^~~~~~
../../../gcc/libssp/ssp.c:93:12: warning: implicit declaration of function 'open' [-Wimplicit-function-declaration]
   93 |   int fd = open ("/dev/urandom", O_RDONLY);
      |            ^~~~
../../../gcc/libssp/memcpy-chk.c:37:1: note: 'size_t' is defined in header '<stddef.h>'; did you forget to '#include <stddef.h>'?
   36 | #include <ssp/ssp.h>
  +++ |+#include <stddef.h>
   37 | #ifdef HAVE_STRING_H
../../../gcc/libssp/memcpy-chk.c:45:27: error: unknown type name 'size_t'
   45 |               size_t len, size_t slen)
      |                           ^~~~~~
../../../gcc/libssp/memcpy-chk.c:45:27: note: 'size_t' is defined in header '<stddef.h>'; did you forget to '#include <stddef.h>'?
../../../gcc/libssp/gets-chk.c:62:22: error: unknown type name 'size_t'
   62 | __gets_chk (char *s, size_t slen)
      |                      ^~~~~~
../../../gcc/libssp/ssp.c:93:34: error: 'O_RDONLY' undeclared (first use in this function)
   93 |   int fd = open ("/dev/urandom", O_RDONLY);
      |                                  ^~~~~~~~
../../../gcc/libssp/ssp.c:93:34: note: each undeclared identifier is reported only once for each function it appears in
../../../gcc/libssp/gets-chk.c:38:1: note: 'size_t' is defined in header '<stddef.h>'; did you forget to '#include <stddef.h>'?
   37 | #include <stdarg.h>
  +++ |+#include <stddef.h>
   38 | #ifdef HAVE_STDLIB_H
../../../gcc/libssp/ssp.c:96:7: error: unknown type name 'ssize_t'
   96 |       ssize_t size = read (fd, &__stack_chk_guard,
      |       ^~~~~~~
../../../gcc/libssp/ssp.c:96:22: warning: implicit declaration of function 'read' [-Wimplicit-function-declaration]
   96 |       ssize_t size = read (fd, &__stack_chk_guard,
      |                      ^~~~
../../../gcc/libssp/ssp.c:98:7: warning: implicit declaration of function 'close' [-Wimplicit-function-declaration]
   98 |       close (fd);
      |       ^~~~~
../../../gcc/libssp/ssp.c: At top level:
../../../gcc/libssp/ssp.c:113:25: error: unknown type name 'size_t'
  113 | fail (const char *msg1, size_t msg1len, const char *msg3)
      |                         ^~~~~~
../../../gcc/libssp/ssp.c:36:1: note: 'size_t' is defined in header '<stddef.h>'; did you forget to '#include <stddef.h>'?
   35 | #include "config.h"
  +++ |+#include <stddef.h>
   36 | #ifdef HAVE_ALLOCA_H
../../../gcc/libssp/ssp.c: In function '__stack_chk_fail':
../../../gcc/libssp/ssp.c:185:3: warning: implicit declaration of function 'fail' [-Wimplicit-function-declaration]
  185 |   fail (msg, strlen (msg), "stack smashing detected: terminated");
      |   ^~~~
../../../gcc/libssp/ssp.c:185:14: warning: implicit declaration of function 'strlen' [-Wimplicit-function-declaration]
  185 |   fail (msg, strlen (msg), "stack smashing detected: terminated");
      |              ^~~~~~
../../../gcc/libssp/ssp.c:36:1: note: include '<string.h>' or provide a declaration of 'strlen'
   35 | #include "config.h"
  +++ |+#include <string.h>
   36 | #ifdef HAVE_ALLOCA_H
../../../gcc/libssp/ssp.c:185:14: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch]
  185 |   fail (msg, strlen (msg), "stack smashing detected: terminated");
      |              ^~~~~~
../../../gcc/libssp/ssp.c:185:14: note: include '<string.h>' or provide a declaration of 'strlen'
../../../gcc/libssp/ssp.c: In function '__chk_fail':
../../../gcc/libssp/ssp.c:192:14: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch]
  192 |   fail (msg, strlen (msg), "buffer overflow detected: terminated");
      |              ^~~~~~
../../../gcc/libssp/ssp.c:192:14: note: include '<string.h>' or provide a declaration of 'strlen'
../../../gcc/libssp/memset-chk.c:44:36: error: unknown type name 'size_t'
   44 | __memset_chk (void *dest, int val, size_t len, size_t slen)
      |                                    ^~~~~~
../../../gcc/libssp/memset-chk.c:37:1: note: 'size_t' is defined in header '<stddef.h>'; did you forget to '#include <stddef.h>'?
   36 | #include <ssp/ssp.h>
  +++ |+#include <stddef.h>
   37 | #ifdef HAVE_STRING_H
../../../gcc/libssp/memset-chk.c:44:48: error: unknown type name 'size_t'
   44 | __memset_chk (void *dest, int val, size_t len, size_t slen)
      |                                                ^~~~~~
../../../gcc/libssp/memset-chk.c:44:48: note: 'size_t' is defined in header '<stddef.h>'; did you forget to '#include <stddef.h>'?
../../../gcc/libssp/stpcpy-chk.c:45:15: error: unknown type name 'size_t'
   45 |               size_t slen)
      |               ^~~~~~
../../../gcc/libssp/stpcpy-chk.c:37:1: note: 'size_t' is defined in header '<stddef.h>'; did you forget to '#include <stddef.h>'?
   36 | #include <ssp/ssp.h>
  +++ |+#include <stddef.h>
   37 | #ifdef HAVE_STRING_H
make[3]: *** [Makefile:576: memcpy-chk.lo] Error 1
make[3]: *** Waiting for unfinished jobs....
../../../gcc/libssp/strcat-chk.c:45:15: error: unknown type name 'size_t'
   45 |               size_t slen)
      |               ^~~~~~
../../../gcc/libssp/strcat-chk.c:37:1: note: 'size_t' is defined in header '<stddef.h>'; did you forget to '#include <stddef.h>'?
   36 | #include <ssp/ssp.h>
  +++ |+#include <stddef.h>
   37 | #ifdef HAVE_STRING_H
../../../gcc/libssp/strncat-chk.c:45:16: error: unknown type name 'size_t'
   45 |                size_t n, size_t slen)
      |                ^~~~~~
../../../gcc/libssp/strncat-chk.c:37:1: note: 'size_t' is defined in header '<stddef.h>'; did you forget to '#include <stddef.h>'?
   36 | #include <ssp/ssp.h>
  +++ |+#include <stddef.h>
   37 | #ifdef HAVE_STRING_H
../../../gcc/libssp/strncat-chk.c:45:26: error: unknown type name 'size_t'
   45 |                size_t n, size_t slen)
      |                          ^~~~~~
../../../gcc/libssp/strncat-chk.c:45:26: note: 'size_t' is defined in header '<stddef.h>'; did you forget to '#include <stddef.h>'?
../../../gcc/libssp/strncpy-chk.c:45:16: error: unknown type name 'size_t'
   45 |                size_t len, size_t slen)
      |                ^~~~~~
../../../gcc/libssp/strncpy-chk.c:36:1: note: 'size_t' is defined in header '<stddef.h>'; did you forget to '#include <stddef.h>'?
   35 | #include <ssp/ssp.h>
  +++ |+#include <stddef.h>
   36 | #ifdef HAVE_STRING_H
../../../gcc/libssp/strncpy-chk.c:45:28: error: unknown type name 'size_t'
   45 |                size_t len, size_t slen)
      |                            ^~~~~~
../../../gcc/libssp/strncpy-chk.c:45:28: note: 'size_t' is defined in header '<stddef.h>'; did you forget to '#include <stddef.h>'?
../../../gcc/libssp/strcpy-chk.c:45:15: error: unknown type name 'size_t'
   45 |               size_t slen)
      |               ^~~~~~
../../../gcc/libssp/strcpy-chk.c:37:1: note: 'size_t' is defined in header '<stddef.h>'; did you forget to '#include <stddef.h>'?
   36 | #include <ssp/ssp.h>
  +++ |+#include <stddef.h>
   37 | #ifdef HAVE_STRING_H
make[3]: *** [Makefile:576: ssp.lo] Error 1
make[3]: *** [Makefile:576: stpcpy-chk.lo] Error 1
make[3]: *** [Makefile:576: gets-chk.lo] Error 1
make[3]: *** [Makefile:576: memset-chk.lo] Error 1
make[3]: *** [Makefile:576: strncpy-chk.lo] Error 1
make[3]: *** [Makefile:576: strcat-chk.lo] Error 1
make[3]: *** [Makefile:576: strcpy-chk.lo] Error 1
make[3]: *** [Makefile:576: strncat-chk.lo] Error 1
../../../../gcc/libssp/gets-chk.c:62:22: error: unknown type name 'size_t'
   62 | __gets_chk (char *s, size_t slen)
      |                      ^~~~~~
../../../../gcc/libssp/gets-chk.c:38:1: note: 'size_t' is defined in header '<stddef.h>'; did you forget to '#include <stddef.h>'?
   37 | #include <stdarg.h>
  +++ |+#include <stddef.h>
   38 | #ifdef HAVE_STDLIB_H
../../../../gcc/libssp/memset-chk.c:44:36: error: unknown type name 'size_t'
   44 | __memset_chk (void *dest, int val, size_t len, size_t slen)
      |                                    ^~~~~~
../../../../gcc/libssp/memcpy-chk.c:45:15: error: unknown type name 'size_t'
   45 |               size_t len, size_t slen)
      |               ^~~~~~
../../../../gcc/libssp/memset-chk.c:37:1: note: 'size_t' is defined in header '<stddef.h>'; did you forget to '#include <stddef.h>'?
   36 | #include <ssp/ssp.h>
  +++ |+#include <stddef.h>
   37 | #ifdef HAVE_STRING_H
../../../../gcc/libssp/memcpy-chk.c:37:1: note: 'size_t' is defined in header '<stddef.h>'; did you forget to '#include <stddef.h>'?
   36 | #include <ssp/ssp.h>
  +++ |+#include <stddef.h>
   37 | #ifdef HAVE_STRING_H
../../../../gcc/libssp/memset-chk.c:44:48: error: unknown type name 'size_t'
   44 | __memset_chk (void *dest, int val, size_t len, size_t slen)
      |                                                ^~~~~~
../../../../gcc/libssp/memset-chk.c:44:48: note: 'size_t' is defined in header '<stddef.h>'; did you forget to '#include <stddef.h>'?
../../../../gcc/libssp/memcpy-chk.c:45:27: error: unknown type name 'size_t'
   45 |               size_t len, size_t slen)
      |                           ^~~~~~
../../../../gcc/libssp/memcpy-chk.c:45:27: note: 'size_t' is defined in header '<stddef.h>'; did you forget to '#include <stddef.h>'?
../../../../gcc/libssp/strncpy-chk.c:45:16: error: unknown type name 'size_t'
   45 |                size_t len, size_t slen)
      |                ^~~~~~
../../../../gcc/libssp/strncpy-chk.c:36:1: note: 'size_t' is defined in header '<stddef.h>'; did you forget to '#include <stddef.h>'?
   35 | #include <ssp/ssp.h>
  +++ |+#include <stddef.h>
   36 | #ifdef HAVE_STRING_H
../../../../gcc/libssp/strncpy-chk.c:45:28: error: unknown type name 'size_t'
   45 |                size_t len, size_t slen)
      |                            ^~~~~~
../../../../gcc/libssp/strncpy-chk.c:45:28: note: 'size_t' is defined in header '<stddef.h>'; did you forget to '#include <stddef.h>'?
../../../../gcc/libssp/strncat-chk.c:45:16: error: unknown type name 'size_t'
   45 |                size_t n, size_t slen)
      |                ^~~~~~
../../../../gcc/libssp/strncat-chk.c:37:1: note: 'size_t' is defined in header '<stddef.h>'; did you forget to '#include <stddef.h>'?
   36 | #include <ssp/ssp.h>
  +++ |+#include <stddef.h>
   37 | #ifdef HAVE_STRING_H
../../../../gcc/libssp/strncat-chk.c:45:26: error: unknown type name 'size_t'
   45 |                size_t n, size_t slen)
      |                          ^~~~~~
../../../../gcc/libssp/strncat-chk.c:45:26: note: 'size_t' is defined in header '<stddef.h>'; did you forget to '#include <stddef.h>'?
make[6]: *** [Makefile:576: gets-chk.lo] Error 1
make[6]: *** Waiting for unfinished jobs....
../../../../gcc/libssp/ssp.c: In function '__guard_setup':
../../../../gcc/libssp/ssp.c:93:12: warning: implicit declaration of function 'open' [-Wimplicit-function-declaration]
   93 |   int fd = open ("/dev/urandom", O_RDONLY);
      |            ^~~~
../../../../gcc/libssp/ssp.c:93:34: error: 'O_RDONLY' undeclared (first use in this function)
   93 |   int fd = open ("/dev/urandom", O_RDONLY);
      |                                  ^~~~~~~~
../../../../gcc/libssp/ssp.c:93:34: note: each undeclared identifier is reported only once for each function it appears in
../../../../gcc/libssp/ssp.c:96:7: error: unknown type name 'ssize_t'
   96 |       ssize_t size = read (fd, &__stack_chk_guard,
      |       ^~~~~~~
../../../../gcc/libssp/ssp.c:96:22: warning: implicit declaration of function 'read' [-Wimplicit-function-declaration]
   96 |       ssize_t size = read (fd, &__stack_chk_guard,
      |                      ^~~~
../../../../gcc/libssp/ssp.c:98:7: warning: implicit declaration of function 'close' [-Wimplicit-function-declaration]
   98 |       close (fd);
      |       ^~~~~
../../../../gcc/libssp/ssp.c: At top level:
../../../../gcc/libssp/ssp.c:113:25: error: unknown type name 'size_t'
  113 | fail (const char *msg1, size_t msg1len, const char *msg3)
      |                         ^~~~~~
make[6]: *** [Makefile:576: memset-chk.lo] Error 1
../../../../gcc/libssp/ssp.c:36:1: note: 'size_t' is defined in header '<stddef.h>'; did you forget to '#include <stddef.h>'?
   35 | #include "config.h"
  +++ |+#include <stddef.h>
   36 | #ifdef HAVE_ALLOCA_H
../../../../gcc/libssp/ssp.c: In function '__stack_chk_fail':
../../../../gcc/libssp/ssp.c:185:3: warning: implicit declaration of function 'fail' [-Wimplicit-function-declaration]
  185 |   fail (msg, strlen (msg), "stack smashing detected: terminated");
      |   ^~~~
../../../../gcc/libssp/ssp.c:185:14: warning: implicit declaration of function 'strlen' [-Wimplicit-function-declaration]
  185 |   fail (msg, strlen (msg), "stack smashing detected: terminated");
      |              ^~~~~~
../../../../gcc/libssp/ssp.c:36:1: note: include '<string.h>' or provide a declaration of 'strlen'
   35 | #include "config.h"
  +++ |+#include <string.h>
   36 | #ifdef HAVE_ALLOCA_H
../../../../gcc/libssp/ssp.c:185:14: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch]
  185 |   fail (msg, strlen (msg), "stack smashing detected: terminated");
      |              ^~~~~~
../../../../gcc/libssp/ssp.c:185:14: note: include '<string.h>' or provide a declaration of 'strlen'
make[6]: *** [Makefile:576: strncpy-chk.lo] Error 1
../../../../gcc/libssp/ssp.c: In function '__chk_fail':
../../../../gcc/libssp/ssp.c:192:14: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch]
  192 |   fail (msg, strlen (msg), "buffer overflow detected: terminated");
      |              ^~~~~~
../../../../gcc/libssp/ssp.c:192:14: note: include '<string.h>' or provide a declaration of 'strlen'
../../../../gcc/libssp/strcat-chk.c:45:15: error: unknown type name 'size_t'
   45 |               size_t slen)
      |               ^~~~~~
../../../../gcc/libssp/strcat-chk.c:37:1: note: 'size_t' is defined in header '<stddef.h>'; did you forget to '#include <stddef.h>'?
   36 | #include <ssp/ssp.h>
  +++ |+#include <stddef.h>
   37 | #ifdef HAVE_STRING_H
../../../../gcc/libssp/stpcpy-chk.c:45:15: error: unknown type name 'size_t'
   45 |               size_t slen)
      |               ^~~~~~
../../../../gcc/libssp/stpcpy-chk.c:37:1: note: 'size_t' is defined in header '<stddef.h>'; did you forget to '#include <stddef.h>'?
   36 | #include <ssp/ssp.h>
  +++ |+#include <stddef.h>
   37 | #ifdef HAVE_STRING_H
make[6]: *** [Makefile:576: memcpy-chk.lo] Error 1
make[6]: *** [Makefile:576: strncat-chk.lo] Error 1
make[6]: *** [Makefile:576: strcat-chk.lo] Error 1
make[6]: *** [Makefile:576: ssp.lo] Error 1
../../../../gcc/libssp/strcpy-chk.c:45:15: error: unknown type name 'size_t'
   45 |               size_t slen)
      |               ^~~~~~
../../../../gcc/libssp/strcpy-chk.c:37:1: note: 'size_t' is defined in header '<stddef.h>'; did you forget to '#include <stddef.h>'?
   36 | #include <ssp/ssp.h>
  +++ |+#include <stddef.h>
   37 | #ifdef HAVE_STRING_H
make[6]: *** [Makefile:576: stpcpy-chk.lo] Error 1
make[6]: *** [Makefile:576: strcpy-chk.lo] Error 1
make[5]: *** [Makefile:441: all] Error 2
make[4]: *** [Makefile:860: multi-do] Error 1
make[3]: *** [Makefile:830: all-multi] Error 2
make[2]: *** [Makefile:441: all] Error 2
make[1]: *** [Makefile:12991: all-target-libssp] Error 2
make[1]: *** Waiting for unfinished jobs....
In file included from ../../../gcc/libquadmath/strtod/strtoflt128.c:47:
../../../gcc/libquadmath/strtod/strtod_l.c: In function '____strtoflt128_internal':
../../../gcc/libquadmath/strtod/strtod_l.c:524:28: warning: implicit declaration of function 'localeconv' [-Wimplicit-function-declaration]
  524 |   const struct lconv *lc = localeconv ();
      |                            ^~~~~~~~~~
../../../gcc/libquadmath/strtod/strtod_l.c:524:28: warning: initialization of 'const struct lconv *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
../../../gcc/libquadmath/strtod/strtod_l.c:550:20: error: invalid use of undefined type 'const struct lconv'
  550 |       grouping = lc->grouping;
      |                    ^~
../../../gcc/libquadmath/strtod/strtod_l.c:556:25: error: invalid use of undefined type 'const struct lconv'
  556 |           thousands = lc->thousands_sep;
      |                         ^~
../../../gcc/libquadmath/strtod/strtod_l.c:581:15: error: invalid use of undefined type 'const struct lconv'
  581 |   decimal = lc->decimal_point;
      |               ^~
In file included from ../../../gcc/libquadmath/strtod/strtoflt128.c:47:
../../../gcc/libquadmath/strtod/strtod_l.c:60:22: warning: implicit declaration of function 'isspace' [-Wimplicit-function-declaration]
   60 | # define ISSPACE(Ch) isspace (Ch)
      |                      ^~~~~~~
../../../gcc/libquadmath/strtod/strtod_l.c:602:10: note: in expansion of macro 'ISSPACE'
  602 |   while (ISSPACE (c));
      |          ^~~~~~~
In file included from ../../../gcc/libquadmath/strtod/strtoflt128.c:47:
../../../gcc/libquadmath/strtod/strtod_l.c:458:1: note: include '<ctype.h>' or provide a declaration of 'isspace'
  457 | #include "grouping.h"
  +++ |+#include <ctype.h>
  458 |
../../../gcc/libquadmath/printf/printf_fphex.c: In function '__quadmath_printf_fphex':
../../../gcc/libquadmath/printf/printf_fphex.c:135:28: warning: implicit declaration of function 'localeconv' [-Wimplicit-function-declaration]
  135 |   const struct lconv *lc = localeconv ();
      |                            ^~~~~~~~~~
../../../gcc/libquadmath/printf/printf_fphex.c:135:28: warning: initialization of 'const struct lconv *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
../../../gcc/libquadmath/printf/printf_fphex.c:137:17: error: invalid use of undefined type 'const struct lconv'
  137 |     decimal = lc->decimal_point;
      |                 ^~
../../../gcc/libquadmath/printf/printf_fphex.c:140:19: error: invalid use of undefined type 'const struct lconv'
  140 |       decimal = lc->mon_decimal_point;
      |                   ^~
../../../gcc/libquadmath/printf/printf_fphex.c:142:21: error: invalid use of undefined type 'const struct lconv'
  142 |         decimal = lc->decimal_point;
      |                     ^~
../../../gcc/libquadmath/printf/printf_fp.c: In function '__quadmath_printf_fp':
../../../gcc/libquadmath/printf/printf_fp.c:245:28: warning: implicit declaration of function 'localeconv' [-Wimplicit-function-declaration]
  245 |   const struct lconv *lc = localeconv ();
      |                            ^~~~~~~~~~
../../../gcc/libquadmath/printf/printf_fp.c:245:28: warning: initialization of 'const struct lconv *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
../../../gcc/libquadmath/printf/printf_fp.c:247:17: error: invalid use of undefined type 'const struct lconv'
  247 |     decimal = lc->decimal_point;
      |                 ^~
../../../gcc/libquadmath/printf/printf_fp.c:250:19: error: invalid use of undefined type 'const struct lconv'
  250 |       decimal = lc->mon_decimal_point;
      |                   ^~
../../../gcc/libquadmath/printf/printf_fp.c:252:21: error: invalid use of undefined type 'const struct lconv'
  252 |         decimal = lc->decimal_point;
      |                     ^~
../../../gcc/libquadmath/printf/printf_fp.c:336:22: error: invalid use of undefined type 'const struct lconv'
  336 |         grouping = lc->grouping;
      |                      ^~
../../../gcc/libquadmath/printf/printf_fp.c:338:22: error: invalid use of undefined type 'const struct lconv'
  338 |         grouping = lc->mon_grouping;
      |                      ^~
../../../gcc/libquadmath/printf/printf_fp.c:346:31: error: invalid use of undefined type 'const struct lconv'
  346 |             thousands_sep = lc->thousands_sep;
      |                               ^~
../../../gcc/libquadmath/printf/printf_fp.c:348:31: error: invalid use of undefined type 'const struct lconv'
  348 |             thousands_sep = lc->mon_thousands_sep;
      |                               ^~
make[3]: *** [Makefile:975: printf/printf_fphex.lo] Error 1
make[3]: *** Waiting for unfinished jobs....
make[3]: *** [Makefile:975: strtod/strtoflt128.lo] Error 1
make[3]: *** [Makefile:975: printf/printf_fp.lo] Error 1
../../../../gcc/libquadmath/printf/printf_fphex.c: In function '__quadmath_printf_fphex':
../../../../gcc/libquadmath/printf/printf_fphex.c:135:28: warning: implicit declaration of function 'localeconv' [-Wimplicit-function-declaration]
  135 |   const struct lconv *lc = localeconv ();
      |                            ^~~~~~~~~~
../../../../gcc/libquadmath/printf/printf_fphex.c:135:28: warning: initialization of 'const struct lconv *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
../../../../gcc/libquadmath/printf/printf_fphex.c:137:17: error: invalid use of undefined type 'const struct lconv'
  137 |     decimal = lc->decimal_point;
      |                 ^~
../../../../gcc/libquadmath/printf/printf_fphex.c:140:19: error: invalid use of undefined type 'const struct lconv'
  140 |       decimal = lc->mon_decimal_point;
      |                   ^~
../../../../gcc/libquadmath/printf/printf_fphex.c:142:21: error: invalid use of undefined type 'const struct lconv'
  142 |         decimal = lc->decimal_point;
      |                     ^~
../../../../gcc/libquadmath/printf/printf_fp.c: In function '__quadmath_printf_fp':
../../../../gcc/libquadmath/printf/printf_fp.c:245:28: warning: implicit declaration of function 'localeconv' [-Wimplicit-function-declaration]
  245 |   const struct lconv *lc = localeconv ();
      |                            ^~~~~~~~~~
../../../../gcc/libquadmath/printf/printf_fp.c:245:28: warning: initialization of 'const struct lconv *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
../../../../gcc/libquadmath/printf/printf_fp.c:247:17: error: invalid use of undefined type 'const struct lconv'
  247 |     decimal = lc->decimal_point;
      |                 ^~
../../../../gcc/libquadmath/printf/printf_fp.c:250:19: error: invalid use of undefined type 'const struct lconv'
  250 |       decimal = lc->mon_decimal_point;
      |                   ^~
../../../../gcc/libquadmath/printf/printf_fp.c:252:21: error: invalid use of undefined type 'const struct lconv'
  252 |         decimal = lc->decimal_point;
      |                     ^~
In file included from ../../../../gcc/libquadmath/strtod/strtoflt128.c:47:
../../../../gcc/libquadmath/strtod/strtod_l.c: In function '____strtoflt128_internal':
../../../../gcc/libquadmath/printf/printf_fp.c:336:22: error: invalid use of undefined type 'const struct lconv'
  336 |         grouping = lc->grouping;
      |                      ^~
../../../../gcc/libquadmath/printf/printf_fp.c:338:22: error: invalid use of undefined type 'const struct lconv'
  338 |         grouping = lc->mon_grouping;
      |                      ^~
../../../../gcc/libquadmath/strtod/strtod_l.c:524:28: warning: implicit declaration of function 'localeconv' [-Wimplicit-function-declaration]
  524 |   const struct lconv *lc = localeconv ();
      |                            ^~~~~~~~~~
../../../../gcc/libquadmath/printf/printf_fp.c:346:31: error: invalid use of undefined type 'const struct lconv'
  346 |             thousands_sep = lc->thousands_sep;
      |                               ^~
../../../../gcc/libquadmath/strtod/strtod_l.c:524:28: warning: initialization of 'const struct lconv *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
../../../../gcc/libquadmath/printf/printf_fp.c:348:31: error: invalid use of undefined type 'const struct lconv'
  348 |             thousands_sep = lc->mon_thousands_sep;
      |                               ^~
../../../../gcc/libquadmath/strtod/strtod_l.c:550:20: error: invalid use of undefined type 'const struct lconv'
  550 |       grouping = lc->grouping;
      |                    ^~
../../../../gcc/libquadmath/strtod/strtod_l.c:556:25: error: invalid use of undefined type 'const struct lconv'
  556 |           thousands = lc->thousands_sep;
      |                         ^~
../../../../gcc/libquadmath/strtod/strtod_l.c:581:15: error: invalid use of undefined type 'const struct lconv'
  581 |   decimal = lc->decimal_point;
      |               ^~
In file included from ../../../../gcc/libquadmath/strtod/strtoflt128.c:47:
../../../../gcc/libquadmath/strtod/strtod_l.c:60:22: warning: implicit declaration of function 'isspace' [-Wimplicit-function-declaration]
   60 | # define ISSPACE(Ch) isspace (Ch)
      |                      ^~~~~~~
../../../../gcc/libquadmath/strtod/strtod_l.c:602:10: note: in expansion of macro 'ISSPACE'
  602 |   while (ISSPACE (c));
      |          ^~~~~~~
In file included from ../../../../gcc/libquadmath/strtod/strtoflt128.c:47:
../../../../gcc/libquadmath/strtod/strtod_l.c:458:1: note: include '<ctype.h>' or provide a declaration of 'isspace'
  457 | #include "grouping.h"
  +++ |+#include <ctype.h>
  458 |
make[6]: *** [Makefile:975: printf/printf_fphex.lo] Error 1
make[6]: *** Waiting for unfinished jobs....
make[6]: *** [Makefile:975: printf/printf_fp.lo] Error 1
make[6]: *** [Makefile:975: strtod/strtoflt128.lo] Error 1
make[5]: *** [Makefile:577: all] Error 2
make[4]: *** [Makefile:1488: multi-do] Error 1
make[3]: *** [Makefile:1458: all-multi] Error 2
make[2]: *** [Makefile:577: all] Error 2
make[1]: *** [Makefile:14037: all-target-libquadmath] Error 2
make: *** [Makefile:957: all] Error 2

Sent from Mail<https://go.microsoft.com/fwlink/?LinkId=550986> for Windows 10


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: boostrap failure with newlib
  2021-02-28  0:13 boostrap failure with newlib sotrdg sotrdg
@ 2021-03-01 16:47 ` Jonathan Wakely
  0 siblings, 0 replies; 2+ messages in thread
From: Jonathan Wakely @ 2021-03-01 16:47 UTC (permalink / raw)
  To: sotrdg sotrdg; +Cc: gcc

On Sun, 28 Feb 2021 at 00:42, sotrdg sotrdg via Gcc <gcc@gcc.gnu.org> wrote:
>
> ../../../gcc/libssp/ssp.c: In function '__guard_setup':
> ../../../gcc/libssp/memcpy-chk.c:45:15: error: unknown type name 'size_t'
>    45 |               size_t len, size_t slen)
>       |               ^~~~~~

Please do not paste hundreds of lines of errors to this mailing list.
It belongs in bugzilla, and you know that.

I have re-enabled your bugzilla account, but the reason you keep being
banned for spamming is because you just paste hundreds of lines of
noise like this. Attaching a file containing the errors is more
sensible when there are hundreds of lines.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-03-01 16:47 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-02-28  0:13 boostrap failure with newlib sotrdg sotrdg
2021-03-01 16:47 ` Jonathan Wakely

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).