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
3d0c96c087
Make MSan builds with instrumented libraries ( #608 ) ( #1064 )
2018-01-11 12:56:33 +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
Max Moroz
c069a7c780
Revert of "[infra] Reland profile configuration needed for new code coverage.".
...
See more information in comments for PR #1050 .
2017-12-28 15:10:53 -08:00
Max Moroz
add7bbbb2d
[infra] Reland profile configuration needed for new code coverage. ( #1050 )
2017-12-28 11:10:47 -08:00
Max Moroz
5c5d71f4b3
[infra] Fix broken markup in documentation files.
2017-12-22 09:09:40 -08: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
robertswiecki
6f2b0b598a
Use standard clang/clang++ to build binaries to-be-fuzzed ( #1031 )
2017-12-09 15:08:04 -08:00
Oliver Chang
8152732d30
Roll llvm (for #1030 )
2017-12-09 15:05:37 -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
Oliver Chang
7653ee8b69
[infra] msan builder fixes.
...
- wrapper: print actual clang invocation to stderr instead.
- add -fPIC -fno-omit-frame-pointer to c/cxxflags
- replace -g with -gline-tables-only
2017-11-22 09:34:58 -08:00
Oliver Chang
b03a098eeb
Initial MSan library builder script. ( #1004 )
2017-11-21 09:47:51 -08:00
Robin Alexander Richtsfeld
2dfd739d38
Clean Shell Scripts ( #999 )
...
* Clean all.sh
Double quote array expansions, otherwise they're like $* and break on spaces.
* Clean dropbear/build.sh
In POSIX sh, 'pushd' is not supported.
In POSIX sh, 'popd' is not supported.
* Clean woff2/build.sh
Iterating over ls output is fragile. Use globs.
* Clean tinyxml2/build.sh
Add shebang
2017-11-20 12:22:57 -08:00