Alex Crichton
d858360483
Build libuv/jemalloc only once (not per stage)
...
Reorganize the makefiles to stop building these once per stage because there's
no need to do this at all.
Closes #7002
2013-10-08 14:26:56 -07:00
Jyun-Yan You
350b5438cd
add -Z soft-float option
...
This change adds -Z soft-float option for generating
software floating point library calls.
It also implies using soft float ABI, that is the same as llc.
It is useful for targets that have no FPU.
2013-10-01 11:19:18 +08:00
bors
b43ee6cd2e
auto merge of #9277 : crabtw/rust/mips, r=brson
...
This patch fixes some errors of MIPS target, however, MIPS C ABI is still broken. I will send another PR to fix the problem.
Because MIPS target has no "generic" CPU name, I add --target-cpu and --target-feature to RUST_FLAGS. In order to workaround the "compact frame descriptions incompatible with DWARF2 .eh_frame" problem, the linker I used is CXX but not CC.
2013-09-18 09:15:56 -07:00
Jyun-Yan You
d11f746cc1
fix compilation errors of mips target
2013-09-18 10:10:32 +08:00
Vadim Chugunov
c3fd430603
The purpose of these headers is to fix issues with mingw v4.0, as described in #9246 .
...
This works by adding this directory to GCC include search path before mingw system headers directories,
so we can intercept their inclusions and add missing definitions without having to modify files in mingw/include.
2013-09-17 01:06:01 -07:00
Brian Anderson
4c49a3d8cd
mk: Fix valgrinding with jemalloc
...
This fixes valgrind on the linux snapshot bot. The command added here
makes us require a fairly recent valgrind.
2013-09-16 15:29:46 -07:00
Brian Anderson
3801534d10
Revert "auto merge of #8695 : thestinger/rust/build, r=pcwalton"
...
This reverts commit 2c0f9bd354
, reversing
changes made to f8c4f0ea9c
.
Conflicts:
src/rustllvm/RustWrapper.cpp
2013-08-28 19:59:52 -07:00
Daniel Micay
0ac02e7c4f
make: stop disabling frame pointer elimination
...
We currently have no need for the frame pointers on any platform. They
may eventually be needed on platforms without an equivalent to the DWARF
call frame information to walk the stack in the garbage collector.
Closes #7477
2013-08-22 20:49:48 -04:00
Daniel Micay
db14469e21
make: rm LLVM_BUILD_ENV
...
using this to turn off the frame pointers isn't needed, and doesn't
actually work right now because the reference to it omits the target
triple
2013-08-22 20:43:50 -04:00
Luqman Aden
9c39992021
Add support for vanilla linux on arm.
2013-08-04 19:28:06 -04:00
Luqman Aden
5007fb2d4d
Add x64 windows to platform.mk and mingw64 header fixes.
2013-07-03 23:33:59 -04:00
Brian Anderson
829b5de998
mk: Bulid rustrt with -pthread instead of -lpthread
2013-06-05 20:08:47 -04:00
Felix S. Klock II
7f410b326c
Attempt to get reuse of common code from multiple clones in different directories.
2013-05-30 16:26:12 +02:00
Felix S. Klock II
2b083373e4
Fix #6805 : add --enable-ccache configure option to prefix compiler invocations with ccache to attempt to reuse common results, e.g. for LLVM (re)builds.
2013-05-29 23:18:09 +02:00
Alex Crichton
af27e17992
Set the USE_UTF8 flag for linenoise to handle utf8-input
2013-05-24 22:32:55 -05:00
bors
d68c0279ea
auto merge of #6249 : crabtw/rust/arm, r=brson
...
It uses the private field of TCB head to store stack limit. I tested on my Raspberry PI. A simple hello world program ran without any problem. However, for a more complex program, it segfaulted as #6231 .
2013-05-17 18:19:27 -07:00
Jyun-Yan You
c2bf9bf9fe
improve MIPS backend and implement segmented stacks
2013-05-09 16:51:42 +08:00
Jyun-Yan You
48b6262b38
preliminary Linux ARM support
2013-05-07 13:17:14 +08:00
Daniel Micay
86efd97a10
add gitattributes and fix whitespace issues
2013-05-03 20:01:42 -04:00
Jyun-Yan You
99b156e78a
mk: mips toolchain config
2013-04-04 18:52:24 +08:00
Daniel Micay
c0be7df5de
mark the assembly object stacks as non-executable
...
Closes #5643
This also removes the need to pass noexecstack to gcc, but that wasn't
actually working anymore.
2013-03-31 18:23:05 -04:00
Young-il Choi
268faef63a
mk: target triple rename arm-unknown-android->arm-linux-androideabi
2013-03-13 09:21:12 +09:00
ILyoan
cc76cb02fb
mk: cleanup - minor fixes for android check
2013-03-08 14:45:16 +09:00
Brian Anderson
14e5a6e5f7
mk: Cleanup. Minor fixes
2013-03-06 22:37:52 -08:00
Young-il Choi
a35dc95969
mk: --android-cross-path to rustc
2013-03-05 13:12:23 +09:00
Young-il Choi
23eb105895
mk: platform.mk typo UNIXY
2013-03-04 16:48:27 +09:00
Young-il Choi
9cf67513ea
mk: platform.mk more flags added
2013-03-04 14:23:20 +09:00
Brian Anderson
dae97b4812
mk: Restore toolchain config for i386 mac/linux, and freebsd
...
Conflicts:
mk/platform.mk
2013-03-04 14:00:55 +09:00
Young-il Choi
7714d52cd9
mk: cleanup - lib and executable suffix handling
2013-03-02 21:25:12 +09:00
Young-il Choi
5e6c04b9fa
mk: mingw32 fix
2013-03-02 13:51:10 +09:00
Young-il Choi
2102597392
mk: mingw32 flags added
2013-03-01 20:02:29 +09:00
Young-il Choi
26a5dc593c
mk: rewrite make files
2013-02-27 14:53:35 +09:00
Brian Anderson
42be216848
mk: Refactor platform.mk a bit
2013-02-21 19:11:38 -08:00
Brian Anderson
15c0c35352
mk: Split target triples into bulid triple + host triples + target triples
...
For cross compiling to targets that don't want to build a compiler
2013-02-21 17:51:55 -08:00
Jeff Olson
a3516ae834
build: add link flag for freebsd libuv build
2013-02-10 11:51:05 -08:00
Jeff Olson
1cbbb58d87
build: change libuv to point at joyent's repo and make unpatched build libuv work on mingw
2013-02-10 11:51:05 -08:00
Graydon Hoare
d1affff623
Reliciense makefiles and testsuite. Yup.
2012-12-10 17:32:58 -08:00
Zack Corr
ea996556b9
rusti: Remove linenoise module, add to rt, remove core::rl
2012-10-30 11:08:36 +10:00
Zack Corr
4912428cb5
rusti: Add linenoise, wrap into core::rl and add rusti REPL tool
...
Add Brian Leibig to AUTHORS.txt for REPL contributions
2012-10-27 18:03:15 +10:00
Graydon Hoare
e356959bb2
Attempt to fix the DSYM_GLOB issue again, differently.
2012-10-10 14:06:18 -07:00
Graydon Hoare
6426f05b8f
Revert "Try less complicated trick for solving the dSYM glob portability issue."
...
This reverts commit 86dfca278d
.
2012-07-13 13:04:36 -07:00
Graydon Hoare
86dfca278d
Try less complicated trick for solving the dSYM glob portability issue.
2012-07-11 15:10:18 -07:00
Graydon Hoare
63df248414
Revert "Reorganize lib-glob code to avoid accidentally duplicating lib/ subdirectory."
...
This reverts commit 2cf6bf87c3
.
2012-07-11 15:04:32 -07:00
Graydon Hoare
2cf6bf87c3
Reorganize lib-glob code to avoid accidentally duplicating lib/ subdirectory.
2012-07-11 12:10:54 -07:00
Brian Anderson
8910b2ff7c
build: Remove bogus -fno-strict-aliasing flags. Issue #2701
2012-06-25 15:41:03 -07:00
Michael Sullivan
f99f2e8ce2
Update the build system to handle dependency on header files. Closes #2547 .
2012-06-14 14:50:14 -07:00
Michael Sullivan
3a36ffe5ff
Revert "Update the build system to handle dependency on header files. Closes #2547."
...
This reverts commit 31f4b63dff
.
2012-06-13 18:37:07 -07:00
Michael Sullivan
31f4b63dff
Update the build system to handle dependency on header files. Closes #2547 .
2012-06-13 16:39:09 -07:00
Brian Anderson
41df9cbb44
rt: Turn on frame pointers for stack walking
2012-06-11 22:44:16 -07:00
Jyun-Yan You
8f5f45bfe1
fix compiletest deadlock on freebsd
2012-06-07 16:38:10 +08:00