Commit Graph

52 Commits

Author SHA1 Message Date
Oliver Chang 7b87fafb5a [infra] Install deps in base-image, and separate out base-msan-builder. 2018-02-20 15:22:13 +11:00
Oliver Chang 9e5bbefc9b msan-builder: Set MSAN_NO_TRACK_ORIGINS in child environment too. 2018-02-12 16:43:30 +11:00
Oliver Chang d222c486db fix typo 2018-02-12 15:14:40 +11:00
Oliver Chang e9646525f5 msan-builder: support building without origin tracking. 2018-02-12 15:04:55 +11:00
Oliver Chang 22b932b620 msan_builder: one more way to disable FORTIFY_SOURCE. 2018-01-25 10:36:49 +11:00
Oliver Chang e078aa41ae msan-builder: add ugly hack to prevent sqlite3 from failing tcl bindings build. 2018-01-24 16:09:59 +11:00
Oliver Chang f1fb0b4a6a msan-builder: properly disable asm for gnutls and libgcrypt 2018-01-24 10:40:20 +11:00
Oliver Chang 7152179c4a msan-builder: add zip 2018-01-22 10:36:15 +11:00
Oliver Chang cf76f81582 msan-builder: disable libcapnp-0.5.3
multiple compile failures with clang.
2018-01-19 13:37:02 +11:00
Oliver Chang 442891c4ef msan-builder: fix boost build. 2018-01-18 14:35:28 +11:00
Oliver Chang ce2ef93a4c msan-builder: Add hack to disable more tests during build. 2018-01-17 15:34:03 +11:00
Oliver Chang c701fb07cc msan-builder: Disable asm for libgcrypt20 build. 2018-01-17 14:35:37 +11:00
Oliver Chang 8dd186eb36 msan-builder: Fix pixman build. 2018-01-17 11:54:14 +11:00
Oliver Chang 5ed681d285
Fix bug in -Wl,--no-undefined removal 2018-01-17 00:26:18 +11:00
Oliver Chang 8dce262d2b
Update patch_build.py 2018-01-11 15:13:58 +11:00
Oliver Chang 5b3485b2d5 msan_builder: fix permission of patch_build.py 2018-01-11 13:28:19 +11:00
Oliver Chang be4e8181b6
Update msan_build.py 2018-01-10 21:04:15 +11:00
Oliver Chang 55092e95a6
Remove unwanted change from last commit 2018-01-10 17:27:32 +11:00
Oliver Chang 127d0ac82f
msan_builder: overwrite existing files on extraction 2018-01-10 17:26:31 +11:00
Oliver Chang 40872f3217
msan_builder: don't create subdirs 2018-01-10 11:55:13 +11:00
Oliver Chang f259fa92a9 msan_builder: include libraries under universe section. 2017-12-18 14:15:28 -08:00
Oliver Chang c9309a4983 msan_builder: nettle: disable assembler. 2017-12-18 14:07:06 -08:00
Oliver Chang a306a95093 msan_builder: use -fno-integrated-as to fix libffi build. 2017-12-18 11:14:20 -08:00
Oliver Chang a92e2358e2 msan_builder: enable more libraries 2017-12-18 09:22:37 -08:00
Oliver Chang 7c3acdbd45 msan_builder: automatically include corresponding -dev packages.
Rather than having to specify them manually.
2017-12-15 16:00:27 -08:00
Oliver Chang c2388b53fc msan_builder: Build -dev packages, and include .a libraries in output. 2017-12-15 12:57:55 -08:00
Oliver Chang 9bbde90864 msan_builder: build pcre and pcre2 2017-12-15 11:13:56 -08:00
Oliver Chang d0006f3728 msan_builder: Add initial build patching script. 2017-12-15 11:06:20 -08:00
Oliver Chang 787214e640
Update msan_build.py 2017-12-11 12:40:02 -08:00
Oliver Chang 64e1595666 msan_builder: fix typo 2017-12-07 15:12:49 -08:00
Oliver Chang ebf50793af msan_builder: build openssl without asm, add tar override. 2017-12-07 13:49:21 -08:00
Oliver Chang 8ac62a9c5d msan_builder: improve dependency detection. 2017-12-06 23:40:01 -08:00
Oliver Chang 01b8929e3b msan_builder: fix more issues. 2017-12-06 22:33:03 -08:00
Oliver Chang 4305d7a1ef Build msan libs on our builders. 2017-12-06 18:58:36 -08:00
Oliver Chang 58d8b58cfb msan_builder: Make --build-deps the default, add option for creating subdirs in output. 2017-12-06 17:45:51 -08:00
Oliver Chang 12f1d9dc73 msan_builder: Add some helpers for creating wrappers, and fix systemd build. 2017-12-06 15:52:36 -08:00
Oliver Chang 7c7b54edda msan_builder: Improve -Wl,defs detection and removal.
Also write tests.
2017-12-05 14:06:57 -08:00
Oliver Chang 4ff18cdd15 msan_builder: various fixes.
- Do parallel build.
- Fix apt dependencies.
- Make msan report suppression better:
    - Use report_umrs option instead to suppress reports.
    - Use log_path to suppress the remainder of output (i.e. MSan report
      summaries).
- Increase stack size limit to avoid test failures during builds.
- Don't set nostrip in DEB_BUILD_OPTIONS. libpcre3 doesn't build
  properly with it because its build rules are wrong.
2017-12-05 13:03:14 -08:00
Oliver Chang 6a4d0f864c msan_builder: Inject MSan flags in wrapper if they don't exist.
Some packages build test binaries that don't use DEB_C(XX)FLAGS and fail
during linking.
2017-12-04 14:51:21 -08:00
Oliver Chang f402826092 msan_builder: remove unused import. 2017-12-04 14:32:11 -08:00
Oliver Chang ad476b52db msan_builder: collect and build dependencies.
Use python-apt to get dependencies. Also change source downloading to
use this module.
2017-12-04 14:30:51 -08:00
Oliver Chang 4af6f53266 msan_builder: support installing multiple packages at once.
Also, only install the built .deb packages that match the requested
package names.
2017-12-04 12:35:43 -08:00
Oliver Chang b5b5a2fb18 [infra] msan_builder: Preserve directory structure of libraries and patch rpaths. 2017-11-27 21:45:34 -08:00
Oliver Chang e3e7c02725 [infra] msan_builder: Add custom build hooks.
Add one for pulseaudio on xenial. ubuntu patches causes build failures
with recent clang.
2017-11-27 14:52:20 -08:00
Oliver Chang 838e4c4d0d [infra] msan builder: one more variation of -Wl,-z,defs 2017-11-22 16:22:36 -08:00
Oliver Chang d55fcf47e7 [infra] msan builder: don't strip. 2017-11-22 14:26:44 -08:00
Oliver Chang a023ed88c7 [infra] msan builder: wrap dpkg-gensymbols. 2017-11-22 14:01:06 -08:00
Oliver Chang 0b44a69baf [infra] msan builder: disable all warnings. 2017-11-22 13:37:02 -08:00
Oliver Chang 5ccbcb82b4 [infra] More msan builder fixes.
- Removing -Wl,-z,defs doesn't always work, since they can be passed as
  -Wl,-z -Wl,defs instead.
- Add more debugging functionality.
2017-11-22 13:13:30 -08:00
Oliver Chang 308be48767 [infra] msan builder: don't print anything extra at all in compiler wrapper.
configure scripts can test for output to stderr as an indication of
error.
2017-11-22 10:14:47 -08:00