Skip to content


Subversion checkout URL

You can clone with
Download ZIP


FreeBSD amd64 support #1409

wants to merge 5 commits into from

3 participants


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:
stage3 snapshot:


Wow. This is really fantastic.

This was referenced

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.

@brson brson closed this

Consider yourself bugged about it. Thanks!


@dominicmarks Thanks ;-)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Dec 30, 2011
  1. @crabtw

    freebsd support

    User Jyyou authored crabtw committed
  2. @crabtw

    forgot to add parentheses

    crabtw authored
Commits on Jan 1, 2012
  1. @crabtw
  2. @crabtw

    fix link error

    crabtw authored
Commits on Jan 2, 2012
  1. @crabtw

    link with gcc44+

    crabtw authored
Something went wrong with that request. Please try again.