Skip to content
This repository has been archived by the owner. It is now read-only.

Freebsd Fixes for LLVM 4.0 #70

Merged
merged 3 commits into from Apr 23, 2017

Conversation

Projects
None yet
2 participants
@TimNN
Copy link

TimNN commented Apr 23, 2017

This PR contains three FreeBSD specific fixes, for the fixes themselves see the commit messages.

(Note: While doing the final rebase / cleanup of the LLVM 4.0 upgrade I decided that it would probably be nice to have a PR # associated with each rust modification for future reference / discussion, thus this PR.)

alexcrichton and others added some commits Mar 14, 2016

Fix cross-compiling to FreeBSD
* When testing whether we need to pass `-Wl,-z,defs` the cmake files currently
  tests for FreeBSD, but only if the host system is FreeBSD. Instead we should
  test whether the target that we're compiling is FreeBSD so we correctly deduce
  that it should not be passed.

* The `PATH_MAX` constant is defined in a different place for the dsymutil tool,
  so we just config that code out for now as it apparently doesn't include the
  right header?
disable unittests and the xray tool
they don't compile on (at least) freebsd and we don't need them

@TimNN TimNN merged commit f1e7336 into rust-lang:rust-llvm-2017-04-13 Apr 23, 2017

@TimNN TimNN deleted the TimNN:freebsd-4.0 branch Apr 23, 2017

arielb1 added a commit that referenced this pull request Jun 27, 2017

TimNN added a commit that referenced this pull request Jul 20, 2017

Merge pull request #70 from TimNN/freebsd-4.0
Freebsd Fixes for LLVM 4.0

TimNN added a commit that referenced this pull request Jul 20, 2017

Merge pull request #70 from TimNN/freebsd-4.0
Freebsd Fixes for LLVM 4.0

alexcrichton added a commit that referenced this pull request Jul 30, 2017

alexcrichton added a commit that referenced this pull request Aug 4, 2017

alexcrichton added a commit that referenced this pull request Aug 15, 2017

alexcrichton added a commit that referenced this pull request Oct 10, 2017

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
You can’t perform that action at this time.