Before bootstrapping, it needs to install devel/libexecinfo and lang/gcc44+.
In order to enable segmented stacks, it also needs to patch LLVM.
This patch uses tcb_spare field in the tcb structure to store info.
For i386 arch there is no spare field so it can only work on amd64.
It currently failed on "modf(float::infinity, d2) == 0.0" and "pow(-1.0, float::infinity) == 1.0" in make check.
LLVM segmented stack patch:
forgot to add parentheses
add missing library, enable segmented stacks for freebsd
fix link error
link with gcc44+
Wow. This is really fantastic.
I've committed the LLVM patch to our LLVM branch. Testing the Rust patches on the bots now. We really need a FreeBSD bot (#1410) in order to start snapshotting. Not sure how soon we can get that set up.
Merged. Thanks! It will take some time to get the snapshots going. If nothing happens in a week feel free to bug graydon or I about it.
Consider yourself bugged about it. Thanks!
@dominicmarks Thanks ;-)