[Bug bootstrap/78616] New: [7 regression] bootstrap fails for x86_64-darwin at stage1 after 243030 when the bootstrap compiler doesn't have strndup
iains at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Wed Nov 30 16:46:00 GMT 2016
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78616
Bug ID: 78616
Summary: [7 regression] bootstrap fails for x86_64-darwin at
stage1 after 243030 when the bootstrap compiler
doesn't have strndup
Product: gcc
Version: unknown
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: bootstrap
Assignee: unassigned at gcc dot gnu.org
Reporter: iains at gcc dot gnu.org
Target Milestone: ---
longest backtrack: 17 (code: 156)
Shared 29773 out of 59469 states by creating 7857 new states, saving 21916
/src/gcc-trunk/gcc/selftest.c: In function 'void
selftest::assert_strndup_eq(const char*, const char*, size_t)':
/src/gcc-trunk/gcc/selftest.c:209:30: error: 'strndup' was not declared in this
scope
char *buf = strndup (src, n);
^
make[3]: *** [selftest.o] Error 1
make[3]: *** Waiting for unfinished jobs....
make[2]: *** [all-stage1-gcc] Error 2
make[1]: *** [stage1-bubble] Error 2
The bootstrap compiler has a sysroot suitable for Darwin10 (which doesn't have
strndup, strnlen etc.)
More information about the Gcc-bugs
mailing list