Bug 247388

Summary: lang/rust: build with Clang on powerpc64 elfv2
Product: Ports & Packages Reporter: Piotr Kubaj <pkubaj>
Component: Individual Port(s)Assignee: FreeBSD Rust Team <rust>
Status: Closed FIXED    
Severity: Affects Only Me CC: pkubaj, powerpc, rust
Priority: --- Flags: bugzilla: maintainer-feedback? (rust)
Version: Latest   
Hardware: powerpc   
OS: Any   
Bug Depends on: 247387    
Bug Blocks:    
Attachments:
Description Flags
patch
none
v2 pkubaj: maintainer-approval? (rust)

Description Piotr Kubaj freebsd_committer freebsd_triage 2020-06-18 18:25:26 UTC
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.
Comment 1 Piotr Kubaj freebsd_committer freebsd_triage 2020-06-18 18:35:09 UTC
Created attachment 215744 [details]
v2

Rebase after 1.44.1
Comment 2 Tobias Kortkamp freebsd_committer freebsd_triage 2020-06-18 18:53:43 UTC
Sure, that's good. Please commit it.
Comment 3 commit-hook freebsd_committer freebsd_triage 2020-06-18 20:36:48 UTC
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