[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
Tue Sep 29 22:27:54 GMT 2020
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97183
--- Comment #5 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Jim Wilson <wilson@gcc.gnu.org>:
https://gcc.gnu.org/g:6649df18f98d5baf89b56a09b816b5eeb5f67bcb
commit r11-3536-g6649df18f98d5baf89b56a09b816b5eeb5f67bcb
Author: Jim Wilson <jimw@sifive.com>
Date: Mon Sep 28 17:13:40 2020 -0700
Fix GCC 10+ build failure with zstd version 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.
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