Issue 151321
Summary Flang/MLIR/LLVM build fails with GCC 14 on aarch
Labels mlir, flang
Assignees
Reporter Acture
    Description:

Building LLVM (with mlir, clang, and flang) using GCC 14.3.0 fails in the following environments:

Environment:

macOS AArch64 with GCC 14.3.0 (with and without Nix sandbox)

aarch64-linux with GCC 14.3.0 (via Nix sandbox on server)

Expected Behavior:


LLVM and its subprojects (flang, mlir) should build successfully with GCC 14.3.0.

Notes:

The issue appears to stem from incompatibilities between libc++ and libstdc++ during the build process. 

See discussion from [nix pr](https://github.com/NixOS/nixpkgs/pull/428306)

See attached logs for details.

[llvm-build-sanitized.log](https://github.com/user-attachments/files/21509853/llvm-build-sanitized.log)
[mlir_gcc_build.log](https://github.com/user-attachments/files/21509855/mlir_gcc_build.log)
[flang_mlir_gcc_build.log](https://github.com/user-attachments/files/21509854/flang_mlir_gcc_build.log)
[flang_gcc_build.log](https://github.com/user-attachments/files/21509856/flang_gcc_build.log)

_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to