Summary: | lang/rust: rustc chokes on linking a trivial program (__morestack symbol) | ||||||
---|---|---|---|---|---|---|---|
Product: | Ports & Packages | Reporter: | Bertrand Augereau <bertrand.augereau> | ||||
Component: | Individual Port(s) | Assignee: | John Marino <marino> | ||||
Status: | Closed FIXED | ||||||
Severity: | Affects Only Me | CC: | bp, marino, pi | ||||
Priority: | Normal | ||||||
Version: | Latest | ||||||
Hardware: | Any | ||||||
OS: | Any | ||||||
Bug Depends on: | 191927 | ||||||
Bug Blocks: | |||||||
Attachments: |
|
Description
Bertrand Augereau
2014-05-04 17:50:01 UTC
State Changed From-To: open->feedback Awaiting maintainers feedback (via the GNATS Auto Assign Tool) Maintainer of lang/rust, Please note that PR ports/189357 has just been submitted. If it contains a patch for an upgrade, an enhancement or a bug fix you agree on, reply to this email stating that you approve the patch and a committer will take care of it. The full text of the PR can be found at: http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/189357 -- Edwin Groothuis via the GNATS Auto Assign Tool edwin@FreeBSD.org I built the port with the patch and it works perfectly. Thanks a lot! I got the exact same thing on a FreeBSD 9.2-RELEASE-p6 amd64 box. The patch fixed the problem. I tried the patch against rust 0.11.0 on 9.3-REL amd64, did not build: llvm[2]: Compiling APFloat.cpp for Release+Asserts build In file included from /usr/home/pi/myp/lang/rust/work/rust-0.11.0/src/llvm/lib/Support/APFloat.cpp:15: In file included from /usr/home/pi/myp/lang/rust/work/rust-0.11.0/src/llvm/include/llvm/ADT/APFloat.h:20: In file included from /usr/home/pi/myp/lang/rust/work/rust-0.11.0/src/llvm/include/llvm/ADT/APInt.h:19: In file included from /usr/home/pi/myp/lang/rust/work/rust-0.11.0/src/llvm/include/llvm/ADT/ArrayRef.h:14: In file included from /usr/home/pi/myp/lang/rust/work/rust-0.11.0/src/llvm/include/llvm/ADT/SmallVector.h:17: /usr/home/pi/myp/lang/rust/work/rust-0.11.0/src/llvm/include/llvm/ADT/iterator_range.h:22:10: fatal error: 'utility' file not found #include <utility> ^ 1 error generated. (In reply to Kurt Jaeger from comment #5) > I tried the patch against rust 0.11.0 on 9.3-REL amd64, did not build: How did you even get it to build? it is maked for FreeBSD 9 and lower. Author: marino Date: Mon Jul 28 22:58:33 2014 New Revision: 363270 URL: http://svnweb.freebsd.org/changeset/ports/363270 QAT: https://qat.redports.org/buildarchive/r363270/ Log: lang/rust: Fix link issue and build failure [1] Linking fails with missing reference to __morestack symbol [2] gpy fails with error about missing sem implementation PR: 189357 [1] PR: 191927 [2] Submitted by: bertrand.augereau (gmail) [1] Submitted by: maintainer: mitsuruike (gmail) [2] Added: head/lang/rust/files/patch-src__libuv__gyp_uv.py (contents, props changed) Modified: head/lang/rust/Makefile |