diff options
author | Chris Packham <judge.packham@gmail.com> | 2023-05-08 21:10:05 +1200 |
---|---|---|
committer | Chris Packham <judge.packham@gmail.com> | 2023-05-14 10:35:14 +1200 |
commit | e8b3eccd8a036e6f3602cd25b2307e3db5476734 (patch) | |
tree | 2802767dd5c669fa869b0dd785d05a498f1d552b /packages/gcc/11.4.0/0004-Remove-use-of-include_next-from-c-headers.patch | |
parent | 584b25da7a81d2f08935256df3cf16a115001e9d (diff) | |
download | crosstool-ng-e8b3eccd8a036e6f3602cd25b2307e3db5476734.tar.gz crosstool-ng-e8b3eccd8a036e6f3602cd25b2307e3db5476734.tar.bz2 crosstool-ng-e8b3eccd8a036e6f3602cd25b2307e3db5476734.zip |
gcc: Add upstream patch for build issue on RISCV
Depending on the host C++ compiler GCC13 fails on riscv configurations
with the following error
src/gcc/gcc/config/riscv/genrvv-type-indexer.cc:118:30: error: no member named 'log2' in namespace 'std'; did you mean simply 'log2'?
elmul_log2 = lmul_log2 - std::log2 (sew / eew);
^~~~~~~~~
log2
/usr/include/c++/v1/math.h:1463:1: note: 'log2' declared here
log2(_A1 __lcpp_x) _NOEXCEPT {return ::log2((double)__lcpp_x);}
^
Bring in an upstream fix for the build error.
Signed-off-by: Chris Packham <judge.packham@gmail.com>
Diffstat (limited to 'packages/gcc/11.4.0/0004-Remove-use-of-include_next-from-c-headers.patch')
0 files changed, 0 insertions, 0 deletions