https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108854
Bug ID: 108854 Summary: tbb-2021.8.0 fails on i686-linux (32-bit) Product: gcc Version: 11.3.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: gcc.gnu.org+lufm at davidak dot de Target Milestone: --- Created attachment 54490 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=54490&action=edit full build log Hello, i tried to build tbb_2021_8 for i686-linux platform on x86_64-linux. The build fails and the log said i should create a bug report here. I'm not a developer and never used gcc manually, so please be patient with me. I don't know how to get the "preprocessed file (*.i*) that triggers the bug", but otherwise you should have all requested information. I added those flags to the build you see the log of in the attachment: # For 32-bit build cmakeFlags = [ "-DCMAKE_CXX_FLAGS=-m32" ]; NIX_CFLAGS_COMPILE = [ "-Wall -Wextra -fno-strict-aliasing -fwrapv -fno-aggressive-loop-optimizations -fsanitize=undefined" ]; You can reproduce the issue using the Nix package manager and this command: nix-build https://github.com/davidak/nixpkgs/archive/refs/heads/tbb-split-32-bit-fix.zip --system i686-linux -A tbb_2021_8 Downstream issue: https://github.com/oneapi-src/oneTBB/issues/1030 (maybe the issue is in their code) The code: https://github.com/oneapi-src/oneTBB/tree/v2021.8.0 Tested on NixOS 22.11.2620.de5448dab58 with Intel Core i9 9900K