about summary refs log tree commit diff
path: root/mk/rt.mk
AgeCommit message (Collapse)AuthorLines
2011-12-10build: Use llvm-mc as our assemblerBrian Anderson-2/+2
LLVM's assembler understands .cfi pseudo-ops on the mac, which we need in order to generate frames that can be DWARF-unwound
2011-12-06Make valgrind usage more consistent and less error prone.Austin Seipp-1/+1
I was still having issues with the build system somehow getting confused as to which set of valgrind headers to use when compiling rt. This commit moves all the valgrind headers into their own directory under rt and makes the usage more consistent. The compiler is now passed the -DNVALGRIND flag when valgrind is not installed, as opposed to passing -DHAVE_VALGRIND. We also pass -I src/rt to the compiler when building rt so you can more easily import what you want. I also cleaned up some erroneous #includes along the way. It should be safe to always just import the local valgrind headers and use them without question. NVALGRIND turns the operations to no-ops when it is active, and the build and tests run cleanly with or without.
2011-12-01stdlib: Implement some preliminary libuv bindingsBrian Anderson-0/+1
std::uv is intended to be low-level, exactly mirroring the C API. Difficult to continue the implementation now without scheduler improvements.
2011-12-01build: Pass -fPIC to the libuv buildBrian Anderson-2/+2
2011-11-29fix makefiles, add option to ignore changes in makefilesNiko Matsakis-10/+11
2011-11-28rt: Build __morestack as a static library and copy it to the right placesBrian Anderson-0/+4
2011-11-28build: Stop linking morestack.S to rtBrian Anderson-1/+0
__morestack has to be linked statically. The odd calling convention on x86_64 results in the arguments to __morestack (r10 & r11) being clobbered by the dynamic linker. gcc links all the __morestack functions statically.
2011-11-22rt: Make __morestack (without unwinding) work on 32-bit linuxBrian Anderson-1/+2
2011-11-17rt: Make stack growth code build on LinuxBrian Anderson-2/+1
2011-11-17rt: More work on morestackPatrick Walton-1/+2
2011-11-16Revert "rt: More work on morestack"Brian Anderson-2/+1
This reverts commit 68aff2ad6d55a051e9347aa38f945d114f282691.
2011-11-16Revert "rt: Make stack growth code build on Linux"Brian Anderson-1/+2
This reverts commit da4b7da4e142a4c2119312c0e24b7c20bbe74e60.
2011-11-16rt: Make stack growth code build on LinuxBrian Anderson-2/+1
2011-11-16rt: More work on morestackPatrick Walton-1/+2
2011-11-14Revert "rt: More work on morestack"Patrick Walton-2/+1
This reverts commit ced0d4f15e11e2c74766d1055146946ded3fba51.
2011-11-14rt: More work on morestackPatrick Walton-1/+2
2011-11-11rt: Remove rust_chanBrian Anderson-2/+0
2011-11-10rt: Remove rust_aio.cpp. Bitrotted.Brian Anderson-1/+0
2011-11-08correct stack alignmentNiko Matsakis-1/+2
2011-11-08Re-add libuv as a submodule.Erick Tryzelaar-7/+7
2011-11-07Rename rust_uv.cpp to rust_aio.cppBrian Anderson-1/+1
2011-11-02Escape $ when building linux def filesBrian Anderson-1/+2
2011-11-02pass proper options to libuv makeNiko Matsakis-1/+6
2011-11-02virtualize the runtime per target triple.Niko Matsakis-70/+103
2011-11-02fix failed mergeNiko Matsakis-4/+0
2011-11-02enable intrinsics for multiple archNiko Matsakis-0/+2
2011-11-02arch is ia32 in libuv, annoyingly. this should be changed.Niko Matsakis-4/+4
2011-11-02start going back to an i386 buildNiko Matsakis-6/+11
2011-11-02hack around on makefiles trying to get a 64 bit buildNiko Matsakis-4/+7
right now there are many temporary hacks, search for NDM to find them
2011-10-31Stub a __morestack implementation and stack segment allocation. Untested.Patrick Walton-1/+2
2011-10-20Remove the last vestiges of main.llMarijn Haverbeke-16/+0
Closes #992
2011-10-20Use snap runtime, and the old main.o, for stage1Marijn Haverbeke-0/+6
This is intended to be reverted again after I register the next snapshot.
2011-10-06Bring make distcheck up to dateBrian Anderson-0/+8
2011-10-06Make rpath work on macBrian Anderson-1/+1
2011-09-28rt: Add a call stub that switches to the C stack, untested as of yetPatrick Walton-1/+2
2011-09-23Update to libuv commit 3ca382.Erick Tryzelaar-3/+20
This patch changes libuv's gyp build system to make it's own makefiles. To generate them for rust, run these commands. They requires python 2.x to work: $ mkdir -p src/rt/libuv/build $ svn co http://gyp.googlecode.com/svn src/rt/libuv/build/gyp $ ./etc/src/gyp_uv
2011-09-23rt: Add a RUST_TRACK_ORIGINS debug flag to help track down memory corruptionPatrick Walton-0/+1
2011-09-20rt: Stub code for the cycle collectorPatrick Walton-0/+1
2011-08-20rustc: Introduce ABI versioning so we can change value representations ↵Patrick Walton-0/+1
without breaking the compiler
2011-08-18rustc: Stub GC routinesPatrick Walton-0/+1
2011-08-18rt: Remove rust_alarm dead codePatrick Walton-1/+0
2011-08-16rt: Implement obstacks, untested as of yetPatrick Walton-0/+1
2011-08-15Updating to build on Linux and Mac, and hopefully Windows too.Eric Holk-3/+3
2011-08-05Build libuv with the same C compiler as the rest of rtBrian Anderson-1/+1
2011-08-05Munge libuv makefiles sufficiently to build out of tree.Graydon Hoare-5/+7
2011-08-05More win32 libuv build tweaksBrian Anderson-3/+6
2011-08-05Update build rules so rt builds with libuv on Linux.Brian Anderson-1/+2
Needed to shuffle around the linker arguments and add -lpthread
2011-08-05Update libuv to revision ee599ec1141cc48f895de1f9d148033babdf9c2aRob Arnold-2/+2
2011-08-05Basic async IO module using libuvRob Arnold-0/+1
2011-08-05Integrate libuv into the build systemRob Arnold-4/+9