rust/mk/cfg
Ulrich Weigand 19b84088d7 Add s390x support
This adds support for building the Rust compiler and standard
library for s390x-linux, allowing a full cross-bootstrap sequence
to complete.  This includes:

- Makefile/configure changes to allow native s390x builds
- Full Rust compiler support for the s390x C ABI
  (only the non-vector ABI is supported at this point)
- Port of the standard library to s390x
- Update the liblibc submodule to a version including s390x support
- Testsuite fixes to allow clean "make check" on s390x

Caveats:

- Resets base cpu to "z10" to bring support in sync with the default
  behaviour of other compilers on the platforms.  (Usually, upstream
  supports all older processors; a distribution build may then chose
  to require a more recent base version.)  (Also, using zEC12 causes
  failures in the valgrind tests since valgrind doesn't fully support
  this CPU yet.)

- z13 vector ABI is not yet supported.  To ensure compatible code
  generation, the -vector feature is passed to LLVM.  Note that this
  means that even when compiling for z13, no vector instructions
  will be used.  In the future, support for the vector ABI should be
  added (this will require common code support for different ABIs
  that need different data_layout strings on the same platform).

- Two test cases are (temporarily) ignored on s390x to allow passing
  the test suite.  The underlying issues still need to be fixed:
  * debuginfo/simd.rs fails because of incorrect debug information.
    This seems to be a LLVM bug (also seen with C code).
  * run-pass/union/union-basic.rs simply seems to be incorrect for
    all big-endian platforms.

Signed-off-by: Ulrich Weigand <ulrich.weigand@de.ibm.com>
2016-09-09 22:28:19 +01:00
..
aarch64-apple-ios.mk
aarch64-linux-android.mk
aarch64-unknown-linux-gnu.mk
arm-linux-androideabi.mk
arm-unknown-linux-gnueabi.mk
arm-unknown-linux-gnueabihf.mk
arm-unknown-linux-musleabi.mk
arm-unknown-linux-musleabihf.mk
armv7-apple-ios.mk
armv7-linux-androideabi.mk
armv7-unknown-linux-gnueabihf.mk
armv7-unknown-linux-musleabihf.mk
armv7s-apple-ios.mk
asmjs-unknown-emscripten.mk
i386-apple-ios.mk
i586-pc-windows-msvc.mk
i586-unknown-linux-gnu.mk
i686-apple-darwin.mk
i686-linux-android.mk
i686-pc-windows-gnu.mk
i686-pc-windows-msvc.mk
i686-unknown-freebsd.mk
i686-unknown-linux-gnu.mk
i686-unknown-linux-musl.mk
le32-unknown-nacl.mk
mips64-unknown-linux-gnuabi64.mk
mips64el-unknown-linux-gnuabi64.mk
mips-unknown-linux-gnu.mk
mips-unknown-linux-musl.mk
mips-unknown-linux-uclibc.mk
mipsel-unknown-linux-gnu.mk
mipsel-unknown-linux-musl.mk
mipsel-unknown-linux-uclibc.mk
powerpc64-unknown-linux-gnu.mk
powerpc64le-unknown-linux-gnu.mk
powerpc-unknown-linux-gnu.mk
s390x-unknown-linux-gnu.mk
x86_64-apple-darwin.mk
x86_64-apple-ios.mk
x86_64-pc-windows-gnu.mk
x86_64-pc-windows-msvc.mk
x86_64-rumprun-netbsd.mk
x86_64-sun-solaris.mk
x86_64-unknown-bitrig.mk
x86_64-unknown-dragonfly.mk
x86_64-unknown-freebsd.mk
x86_64-unknown-linux-gnu.mk
x86_64-unknown-linux-musl.mk
x86_64-unknown-netbsd.mk
x86_64-unknown-openbsd.mk