[Bug bootstrap/97183] zstd build failure for gcc 10 on Ubuntu 16.04
cvs-commit at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Wed Sep 30 20:09:40 GMT 2020
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97183
--- Comment #6 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The releases/gcc-10 branch has been updated by Jim Wilson <wilson@gcc.gnu.org>:
https://gcc.gnu.org/g:9d85b9880e1772ead961c7b5a2bd8caab57815bf
commit r10-8831-g9d85b9880e1772ead961c7b5a2bd8caab57815bf
Author: Jim Wilson <jimw@sifive.com>
Date: Wed Sep 30 13:06:28 2020 -0700
Fix build failure with zstd versio9n 1.2.0 or older.
Extends the configure check for zstd.h to also verify the zstd version,
since gcc requires features that only exist in 1.3.0 and newer. Without
this patch we get a build error for lto-compress.c when using an old zstd
version.
Backported from master:
2020-09-29 Jim Wilson <jimw@sifive.com>
gcc/
PR bootstrap/97183
* configure.ac (gcc_cv_header_zstd_h): Check ZSTD_VERISON_NUMBER.
* configure: Regenerated.
More information about the Gcc-bugs
mailing list