Bug 247388 - lang/rust: build with Clang on powerpc64 elfv2
Summary: lang/rust: build with Clang on powerpc64 elfv2
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: powerpc Any
: --- Affects Only Me
Assignee: FreeBSD Rust Team
URL:
Keywords:
Depends on: 247387
Blocks:
  Show dependency treegraph
 
Reported: 2020-06-18 18:25 UTC by Piotr Kubaj
Modified: 2020-06-18 20:36 UTC (History)
3 users (show)

See Also:
bugzilla: maintainer-feedback? (rust)


Attachments
patch (20.98 KB, patch)
2020-06-18 18:25 UTC, Piotr Kubaj
no flags Details | Diff
v2 (2.82 KB, patch)
2020-06-18 18:35 UTC, Piotr Kubaj
pkubaj: maintainer-approval? (rust)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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