Commit Graph
32 Commits
Author SHA1 Message Date
Don Porter a0c208f71e [Makefiles] Enable parallel make in Jenkins, fix parallel make for SGX 2019-06-20 19:16:10 -07:00
Chia-Che Tsai 2f39783a33 [GLIBC] Fix the Makefile 2019-06-01 03:33:13 +02:00
Isaku Yamahata c2da06e3ed [LibOS] Remove USE_clone_FOR_fork and glibc patch for fork 2019-05-29 01:44:49 +02:00
Chia-Che Tsai 05a65c6188 [GLIBC] Move syscalldb implementation to a separate patch 2019-05-28 13:09:22 -04:00
Chia-Che Tsai c0c45bc679 [LibOS] Separate glibc patch and source files for liblibos 2019-05-24 20:42:22 +02:00
Chia-Che Tsai 1df0204555 [LibOS/Glibc] Separate Glibc patch for supporting ld.gold 2019-05-23 17:19:29 -07:00
Isaku Yamahata c806e5b437 [LibOS/glibc] Make fork-instead-of-clone patch optional
Previously, in-LibOS Glibc was patched to prefer fork()
over clone(!CLONE_VM) to spawn a new process. Now that
clone(!CLONE_VM) works correctly, this patch is not needed.
Thus, this Glibc patch is made optional.
2019-05-22 03:51:40 -07:00
Isaku Yamahata 10994e1b69 [Makefile] Use symlinks instead of cp to populate Runtime dir
Currently cp to Runtime dir is used. Sometimes it is confusing when
binaries are re-built under Pal or LibOS. Symlink is better, so use
it instead.
  - It's easy to understand where a file under Runtime dir comes from
  - It's easy to understand in which directory to run `make`
  - If cp is used, it's quite easy to test old binary under Runtime.

This patch create ln_sf rule and use it instead of cp and applies to
other recipe with cp.
In this context, creating symlink of glibc libraries is mess. This
patch also cleans it up to use Makefile instead of embedding the logic
into python script.

Signed-off-by: Isaku Yamahata <isaku.yamahata@gmail.com>
2019-04-26 02:47:38 +02:00
Isaku Yamahata 7ffe9ffe65 [LibOS/glibc] Add glibc dependencies to Makefile
Signed-off-by: Isaku Yamahata <isaku.yamahata@gmail.com>
2019-02-18 10:30:38 -05:00
Isaku Yamahata 36d243a045 [LibOS/shim/Makefile] Don't build glibc unnecessarily
Keep Success.build file by .SECONDARY instead of .INTERMEDIATE.
2019-02-11 19:50:27 +01:00
Isaku Yamahata 5a26186ed8 LibOS/Makefile: imporove handling of glibc patches
When glibc patches are updated, glibc won't be re-build.
This patch adds patches and Makefile as dependencies of glibc so that
when patches or Makefile are updated, glibc will be re-build.
2019-01-30 10:26:39 -05:00
Chia-Che Tsai 056ff6bfa9 [LibOS] Adding multiple mirrors for downloading glibc
Signed-off-by: Chia-Che Tsai <chiache@tamu.edu>
2018-12-03 20:54:39 -08:00
Michał Kowalczyk f14049316a [Build] Add make format target 2018-12-04 00:17:52 +01:00
Jat 6a1faf7874 gcc -dumpmachine returns x86_64-xxx-linux-gnu (#242)
This change normalizes the behavior of the Makefile in checking for the host system time, building across a wider range of systems.
2018-10-10 11:35:30 -07:00
Chia-Che Tsai 58e608793e Addressing GLIBC building issue with GCC 5/6/7/8 (#241) 2018-08-25 08:02:02 -07:00
Chia-Che Tsai 76cd8ed917 suppressing some glibc compilation warnings (#226) 2018-07-09 10:16:28 -07:00
Chia-Che Tsai 6e3c5aea56 deprecating .packed directories (#149)
.packed directories are originally created for testing on non-Linux platforms. The usage is mostly obsolete right now, and the binaries are completely out-dated. A better strategy would be to create a hook in the github to release binary packages.
2017-12-21 11:13:53 -05:00
Don Porter c844d24199 CI Improvements (#141)
Run CI in a Docker image

* Wait a second for lighttp and apache to fully initialize the socket

* Try to add a timeout for lmbench, which is prone to hanging (vfork)

* Set a timeout on gcc; one of the PRs is causing gcc hello to hang.  Also, to avoid interference, run apache test on 8001 by default.

* Update lmbench to ignore bin dir

* Do the faster tests first; fail earlier

* Get the IP addr properly for web server tests

* Some notes on flaky LTP tests to debug later.  Move a few that tend to heisenbugs off of the required list for now 

* Try to detect vma list corruption during the debug dump, lest it be infinite.

* Temporarily disable the lmbench vfork test (Issue #142).

* Catch some failures faster.

* Catch failures in apachebench

* Take apache out of the Linux host/Debug build CI for now, as it hangs consistently.  Filed issue #144 to track.
2017-12-09 16:34:56 -08:00
Michał Kowalczyk 3a24ad56d4 Add lacking .PHONY to Makefiles (#118) 2017-11-25 08:56:36 +00:00
Chia-Che Tsai 6eee338c70 avoiding repeating glibc compilation during one build 2017-02-11 09:57:02 -05:00
Chia-Che Tsai faaf84103e silent glibc compilation and redirect the log into a file 2017-02-11 09:37:19 -05:00
Don Porter 28585ad957 Fix build of python on SGX (#41) 2017-02-02 23:58:56 -05:00
Chia-Che Tsai 9aee3dcb69 new compilation logistic: always use the Runtime directory 2017-02-02 09:42:38 -05:00
Chia-Che Tsai 27ed3b2f6b - Fix calling convention issues in the glibc 2.19 patch
- Port gipc module to Linux kernel 4.3
- Simplify PAL signal handling
- Fix bug #4 (epoll-related syscalls)
- Fix bug #10
- Fix bug #14
- Merge pull request #18
2016-12-02 00:24:05 -05:00
Chia-Che Tsai 1a1e199c79 release v0.4beta
Release of Graphene SGX:
Supporting native Linux application in Intel SGX enclaves.
Most applications are supported. Some features may still be buggy.

Improving portability of Graphene:
Eliminating GCC-ism of the host-generic code.
Easier to port to non-Posix platform (e.g., Windows without Cygwin).
2016-07-19 19:45:55 -04:00
Chia-Che Tsai 1708e4af96 Bugfixes
'make install' to create a Runtime directory
2016-02-14 22:13:33 -05:00
Chia-Che Tsai b5586bbfc6 release v0.3
- Bugfixes in PAL and SHIM
- Improvement of migration scheme in SHIM, which largely speed up
  forking
- Upgrade glibc to 2.19
- FreeBSD port
- Support OpenJDK, python and R
2015-11-30 08:38:50 -05:00
Chia-Che Tsai bee9e6f390 pack up source code 2015-05-20 15:10:29 -04:00
Chia-Che Tsai 7f19f62f31 beta version 0.2
Plenty of bugfixes for Linux kernel later than 3.5 and Ubuntu later than 10.10.
More organized code to improve portability.
Regression tests for Pal to test completeness of implementation.
2015-05-20 14:15:52 -04:00
Chia-Che Tsai 328ca4af9b tons of bugfixes 2015-03-31 14:29:34 -04:00
Chia-Che Tsai 87475b75ad simplify building procedule 2015-02-23 13:26:56 -08:00
Chia-Che Tsai 10c06ad723 The first official release 2014-06-02 12:45:42 -04:00