[PATCH 0/2] libsanitizer: Merge with upstream commit fdf4c035225d
Gerald Pfeifer
gerald@pfeifer.com
Thu Oct 7 21:40:55 GMT 2021
On Wed, 6 Oct 2021, H.J. Lu via Gcc-patches wrote:
> I am checking in these patches to merge with upstream commit:
Thus breaking bootstrap on FreeBSD:
GCC-HEAD/libsanitizer/sanitizer_common/sanitizer_platform_limits_freebsd.cpp:370:36: error: 'MD5_CTX' was not declared in this scope
370 | const unsigned MD5_CTX_sz = sizeof(MD5_CTX);
| ^~~~~~~
GCC-HEAD/libsanitizer/sanitizer_common/sanitizer_platform_limits_freebsd.cpp:371:36: error:
'MD5_DIGEST_STRING_LENGTH' was not declared in this scope; did you mean
'SHA256_DIGEST_STRING_LENGTH'?
371 | const unsigned MD5_return_length = MD5_DIGEST_STRING_LENGTH;
| ^~~~~~~~~~~~~~~~~~~~~~~~
| SHA256_DIGEST_STRING_LENGTH
I stared the the sources for minutes and FreeBSD include files and could
not find what was wrong.
Then I realized: GCC has its own include/md5 which misses some of these!
Looking how old md5 is (and deprecated) I cannot help wonder whether you
merged something that wasn't new, but intentionally left out originally?
Or include paths are broken.
Gerald
PS: At this point I am counting about *seven* distinct bootstrap
breakages on my nightly testers in the last six weeks or so. :-(
More information about the Gcc-patches
mailing list