[Bug libstdc++/100017] [11/12 regression] error: 'fenv_t' has not been declared in '::' -- canadian compilation fails

unlvsur at live dot com gcc-bugzilla@gcc.gnu.org
Thu Jan 6 17:22:44 GMT 2022


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100017

--- Comment #58 from cqwrteur <unlvsur at live dot com> ---
(In reply to Alexander von Gluck from comment #56)
> Canadian builds are pretty important in GCC.
> 
> clang doesn't really need Canadian builds since they support all targets out
> of the box on every platform, but we don't have that luxury with gcc.
> 
> With that said, the proposed patch solved the issue for us and we applied it
> to our toolchains here:
> https://github.com/haikuports/haikuports.cross/blob/master/sys-devel/
> gcc_bootstrap/patches/gcc-11.2.0_2021_07_28.patchset

clang does need Canadian builds. For example Canadian compile a clang runs on
windows but builds on linux. Or Canadian compile a low power aarch64 raspi from
x86_64 ryzen powerful machine.

For example.

https://bitbucket.org/ejsvifq_mabmip/windows-hosted-llvm-clang/src/master/

I Canadian compile this from linux,


More information about the Gcc-bugs mailing list