https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79562
Bug ID: 79562 Summary: sanitizer breaks bootstrap of x86_64-*-freebsd Product: gcc Version: 7.0 Status: UNCONFIRMED Severity: blocker Priority: P3 Component: sanitizer Assignee: unassigned at gcc dot gnu.org Reporter: kargl at gcc dot gnu.org CC: dodji at gcc dot gnu.org, dvyukov at gcc dot gnu.org, jakub at gcc dot gnu.org, kcc at gcc dot gnu.org Target Milestone: --- Bootstrap appears broken on x86_64-*-freebsd due to the sanitizer. In file included from /home/sgk/gcc/gcc7/libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.cc:59:0: /usr/include/sys/timeb.h:42:2: warning: #warning "this file includes <sys/timeb.h> which is deprecated" [-Wcpp] #warning "this file includes <sys/timeb.h> which is deprecated" ^~~~~~~ /home/sgk/gcc/gcc7/libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.cc:442:53: error: invalid application of 'sizeof' to incomplete type 'rtentry' unsigned struct_rtentry_sz = sizeof(struct rtentry); ^ gmake[4]: *** [Makefile:523: sanitizer_platform_limits_posix.lo] Error 1 gmake[4]: Leaving directory '/mnt/sgk/obj7/x86_64-unknown-freebsd12.0/libsanitizer/sanitizer_common' gmake[3]: *** [Makefile:467: all-recursive] Error 1 gmake[3]: Leaving directory '/mnt/sgk/obj7/x86_64-unknown-freebsd12.0/libsanitizer' gmake[2]: *** [Makefile:337: all] Error 2 gmake[2]: Leaving directory '/mnt/sgk/obj7/x86_64-unknown-freebsd12.0/libsanitizer' gmake[1]: *** [Makefile:15904: all-target-libsanitizer] Error 2 gmake[1]: Leaving directory '/mnt/sgk/obj7' gmake: *** [Makefile:23097: bootstrap] Error 2