Commit Graph

2767 Commits

Author SHA1 Message Date
mrg d8f51e97eb install transset. 2019-03-11 09:20:13 +00:00
mrg 45a98ae559 fix a bunch of man page transforms.
XXX X11MANCPP=yes has only one use left, maybe it can go away!
2019-03-11 06:25:55 +00:00
mrg 47a40b7ad1 export HAVE_MESA_VER for use in makefiles and set lists. 2019-03-10 11:02:46 +00:00
mrg e3ecb7100d move mesa10 build into .old scheme:
- add ${X11SRCDIR.MesaLib.old} and introduce ${X11SRCDIR.Mesa} as an
  alias for either the former or the non old.  this allows many of
  the makefiles to simply use ${X11SRCDIR.Mesa} (but does not really
  enable much sharing of makefiles, but reduces their diffs.)

- use mesa-which.mk to define ${OLD_PREFIX} to either "" or ".old",
  and to know if to build 'dri7' (.old only.)  ${OLD_PREFIX} is used
  by other code (eg, LIBDPLIBS) to pick the right subdir.
2019-03-10 02:29:52 +00:00
christos 1d3883b194 Switch i386 and aarch64 to jemalloc (really I could switch everyone at this
point).
2019-03-09 17:59:28 +00:00
christos 6f80f650ef Back to using jemalloc for x86_64; all problems have been resolved. 2019-03-08 20:35:10 +00:00
christos dce236fdab Switch back amd64 to the old jemalloc. We have some pthread unit-tests
failing.
2019-03-04 21:19:58 +00:00
christos 78fb378311 switch amd64 to jemalloc-5.1.0 2019-03-04 17:32:46 +00:00
mrg 4e3bdd6e1c switch 32 bit arm, m68* and sh3 to GCC 7.
reverse the polarity now that few ports remain: hppa, vax, ia64 and ppc64
2019-03-04 01:14:31 +00:00
mrg 8fc8a45971 xorg-server 1.20.4 is now current. 2019-03-03 22:02:49 +00:00
kamil 0fe7e51662 Add KCOV - kernel code coverage tracing device
The KCOV driver implements collection of code coverage inside the kernel.
It can be enabled on a per process basis from userland, allowing the kernel
program counter to be collected during syscalls triggered by the same
process.

The device is oriented towards kernel fuzzers, in particular syzkaller.

Currently the only supported coverage type is -fsanitize-coverage=trace-pc.

The KCOV driver was initially developed in Linux. A driver based on the
same concept was then implemented in FreeBSD and OpenBSD.

Documentation is borrowed from OpenBSD and ATF tests from FreeBSD.

This patch has been prepared by Siddharth Muralee, improved by <maxv>
and polished by myself before importing into the mainline tree.

All ATF tests pass.
2019-02-23 03:10:05 +00:00
maya 53ba185d70 Use GCC 7 on riscv, it is not supported on 6. 2019-02-09 21:05:48 +00:00
mrg fccd79354b switch ppc64 back to gcc7, it was an accident. 2019-02-09 00:59:30 +00:00
mrg b4f3db3927 switch aarch64, alpha, i386, mips, powerpc, sparc, sparc64,
and x86_64 to GCC 7.
2019-02-08 09:35:00 +00:00
mrg 6c19d726c3 move OBJECT_FMTS setting after MKCOMPAT default, so it works.
should fix mips64 builds.
2019-02-06 11:05:30 +00:00
mrg 3deb71eabd re-do version 1.1098 properly:
- fix OBJECT_FMTS if mips64 and !MKCOMPAT
2019-02-05 04:47:59 +00:00
mrg d70ad97c73 revert previous for now. 2019-02-04 00:34:12 +00:00
mrg 82dcfee30d don't add elf64 to OBJECT_FMTS if !MKCOMPAT and mips64. 2019-02-04 00:06:14 +00:00
scole 9943d7ba24 don't disable MKRUMP by default for ia64 as it can at least build now 2019-01-30 22:51:33 +00:00
scole fff7694413 remove "MKLINT.ia64=no" as default is no anyway, and should compile on 64 bit host now 2019-01-29 19:40:42 +00:00
christos 0a4f449bbb Most of the mv operations are to move temporary files to their final place.
Some use -f, others don't. This can lead to spurious build failures when
the user performing the build changes. Centralize, and always use -f.
2019-01-21 21:11:54 +00:00
mrg 0b4f44e237 obsolete gcc 5 support.
add gcc 7 support.  call it "nb1 20190119"
2019-01-19 12:58:37 +00:00
mrg c2d7307e84 add vboxvideo. 2019-01-09 23:52:29 +00:00
christos 9d350ea742 Since g++ uses stdc++_p when building with -pg make this PIC on the
platforms where PIC is available, so that linking shared objects with
-pg works, without needing to create a shared library version of the
profiled libraries.
2019-01-06 17:02:32 +00:00
mrg bf3711ce19 move some defines from xorg-server dix-config.h back into makefiles,
so that Xx68k can build.
2019-01-03 23:25:52 +00:00
christos e3d6da9917 Move x68k to the old xserver. It does not build with the new one (yet). 2019-01-03 17:41:26 +00:00
christos 136369eaff un-86'ed the ELF2AOUT variable. 2019-01-02 16:08:53 +00:00
christos b89d30df28 document the elf2foo tools.
The bsd.sys.mk tools are un-prefixed, since the "right" version is installed
for the platform, as opposed to the tools ones which should be able to
co-exist.
2019-01-01 19:06:38 +00:00
christos 454e070868 - prefix elf conversion tools with their platform to avoid conflicts
- add arm-elf2aout
2018-12-31 13:31:25 +00:00
mrg 9e0c936fbc updates for xorg-server 1.20. 2018-12-31 12:45:19 +00:00
mrg 66ee4e221d updates for xorg-server 1.20. don't define stuff here for it. 2018-12-31 11:19:58 +00:00
christos b652f9ee3b binutils 2.31 for everyone! 2018-12-30 17:32:43 +00:00
christos 0e4d8abb47 Back to 2.31 for x86! Hooray :-) 2018-12-27 16:27:29 +00:00
christos 5850b2d2cf Remove extra -c. -c has been the default behavior since 2003, and
the comment why it is needed was introduced in 2001. We don't want
to duplicate -c which is set in ${COPY} because someone might want
to override that.
2018-12-26 22:57:22 +00:00
christos 71a3521168 back to binutils 227: constructors in ifconfig are broken. 2018-12-25 00:35:26 +00:00
christos 12da137914 Switch x86 to binutils 2.31.1 2018-12-24 21:51:57 +00:00
christos 427a8eb2ae Head is binutils 2.31 2018-12-03 19:15:35 +00:00
maxv e5fadd7f81 Introduce KLEAK, a new feature that can detect kernel information leaks.
It works by tainting memory sources with marker values, letting the data
travel through the kernel, and scanning the kernel<->user frontier for
these marker values. Combined with compiler instrumentation and rotation
of the markers, it is able to yield relevant results with little effort.

We taint the pools and the stack, and scan copyout/copyoutstr. KLEAK is
supported on amd64 only for now, but it is not complicated to add more
architectures (just a matter of having the address of .text, and a stack
unwinder).

A userland tool is provided, that allows to execute a command in rounds
and monitor the leaks generated all the while.

KLEAK already detected directly 12 kernel info leaks, and prompted changes
that in total fixed 25+ leaks.

Based on an idea developed jointly with Thomas Barabosch (of Fraunhofer
FKIE).
2018-12-02 21:00:13 +00:00
aymeric 531981e6f3 Prepend ${_TOOL_PREFIX} to xz, too. 2018-11-19 20:00:28 +00:00
martin 34ccfcc91f Explicitly document the incompatibility between USE_PIGZGZIP
and USE_XZ_SETS. Disable the latter if the former is enabled.
2018-11-15 09:23:50 +00:00
christos 362645e71a disorder police 2018-11-11 18:02:23 +00:00
maya 259f19b882 Provide a fallback dtc if USE_TOOLS isn't in use.
From Daniel Loffgren in PR kern/53720.
2018-11-11 08:28:35 +00:00
maya 59ba550a49 Revert part of 1.1079. MKSOFTFLOAT?=yes for mips64*.
That is most likely an accidental commit.

PR port-mips/53719
2018-11-10 22:19:33 +00:00
macallan 32b6930bcb more Xorg on iyonix building goop 2018-11-10 01:40:46 +00:00
martin fed74b7300 Remove duplicate conditional assignment in previous - pointed out by wiz@ 2018-10-06 18:52:59 +00:00
martin 8775572996 Switch amd64, sparc64 and alpha to .tar.xz sets 2018-10-06 18:47:29 +00:00
martin 0249e79129 Add defaults and documentation for USE_XZ_SETS - a new variable
controlling whether an architecture will use .tgz or tar.xz
sets.
2018-09-29 06:48:22 +00:00
christos 4cc871c9e6 add what {PROG,LIB}DPLIBS are useful for 2018-09-16 13:14:12 +00:00
christos f111c8bc02 document PROGDPLIBS 2018-09-16 13:11:48 +00:00
mrg 51f05bcba3 flip all ports to gcc.old GCC 6.4. 2018-09-05 06:54:29 +00:00