Created attachment 215742 [details] patch It looks like the LLVM bug that made Rust fail to build is gone (or Rust just doesn't trigger it anymore). I tested that Rust itself builds and Firefox (with https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=247387) as well.
Created attachment 215744 [details] v2 Rebase after 1.44.1
Sure, that's good. Please commit it.
A commit references this bug: Author: pkubaj Date: Thu Jun 18 20:36:09 UTC 2020 New revision: 539571 URL: https://svnweb.freebsd.org/changeset/ports/539571 Log: lang/rust: build with Clang on powerpc64 elfv2 It looks like the LLVM bug that made Rust fail to build is gone (or Rust just doesn't trigger it anymore). I tested that Rust itself and Firefox build. Bump PORTREVISION because of dependency change. PR: 247388 Approved by: tobik (maintainer) Changes: head/lang/rust/Makefile head/lang/rust/files/powerpc64-elfv2/patch-src_bootstrap_native.rs head/lang/rust/files/powerpc64-elfv2/patch-src_librustc__llvm_build.rs