<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src-test2/gnu, branch release/12.0.0</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src-test2/atom?h=release%2F12.0.0</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src-test2/atom?h=release%2F12.0.0'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/'/>
<updated>2018-09-21T17:44:05Z</updated>
<entry>
<title>Disable sbrk() use in GNU tools.</title>
<updated>2018-09-21T17:44:05Z</updated>
<author>
<name>Brooks Davis</name>
<email>brooks@FreeBSD.org</email>
</author>
<published>2018-09-21T17:44:05Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=397358d9aca10667451f7667852bee2f27b617c0'/>
<id>urn:sha1:397358d9aca10667451f7667852bee2f27b617c0</id>
<content type='text'>
We're studing the possibility of deprecating sbrk().  To make it easier
we're removing unnecessicary uses in the base system.  None of these
tools require sbrk(), but they agressively prefer it for no good reason.

Reviewed by:    andrew
Approved by:	re (kib)
Sponsored by:	DARPA, AFRL
Differential Revision:  https://reviews.freebsd.org/D16141
</content>
</entry>
<entry>
<title>Update libstdc++ configuration.</title>
<updated>2018-07-16T18:53:28Z</updated>
<author>
<name>Pedro F. Giffuni</name>
<email>pfg@FreeBSD.org</email>
</author>
<published>2018-07-16T18:53:28Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=bafc3781478483b8b9c6204a5a5f806c40f99f53'/>
<id>urn:sha1:bafc3781478483b8b9c6204a5a5f806c40f99f53</id>
<content type='text'>
Its been quite a while since the last time we updated this and since then
we have grown iconv and a bunch of complex math functions.

This only applies to the platforms which still use GCC 4.2.1 in the
toolchain.

Differential Revision:	https://reviews.freebsd.org/D16289
</content>
</entry>
<entry>
<title>Teach binutils that arm64 is a 64bit architecture. This is needed to cross</title>
<updated>2018-07-06T11:50:59Z</updated>
<author>
<name>Andrew Turner</name>
<email>andrew@FreeBSD.org</email>
</author>
<published>2018-07-06T11:50:59Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=ae1dac06a24952d09eeb0863704c980a8f026aa6'/>
<id>urn:sha1:ae1dac06a24952d09eeb0863704c980a8f026aa6</id>
<content type='text'>
build from arm64 to other architectures that use binutils.

Sponsored by:	ABT Systems Ltd
</content>
</entry>
<entry>
<title>Don't use CCACHE for linking.</title>
<updated>2018-06-27T19:29:15Z</updated>
<author>
<name>Bryan Drewery</name>
<email>bdrewery@FreeBSD.org</email>
</author>
<published>2018-06-27T19:29:15Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=96a0acc4ce1cbac643c51d118db1912dd63f6bb8'/>
<id>urn:sha1:96a0acc4ce1cbac643c51d118db1912dd63f6bb8</id>
<content type='text'>
MFC after:	2 weeks
Sponsored by:	Dell EMC
</content>
</entry>
<entry>
<title>Fix GCC 4.2.1 to honor --sysroot for includes.</title>
<updated>2018-06-27T18:14:33Z</updated>
<author>
<name>John Baldwin</name>
<email>jhb@FreeBSD.org</email>
</author>
<published>2018-06-27T18:14:33Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=104f6a2dcdde64f316849b60a428066aaa73cc9c'/>
<id>urn:sha1:104f6a2dcdde64f316849b60a428066aaa73cc9c</id>
<content type='text'>
- Change the C++ directory entries to honor --sysroot if it is set.
- Don't define CROSS_INCLUDE_DIR for the cross compiler.  Instead, set
  TARGET_SYSTEM_ROOT to point to WORLDTMP and always define
  STANDARD_INCLUDE_DIR.
- Change STANDARD_INCLUDE_DIR and the C++ include directories to just
  start with "/usr" always.  The compiler will prepend the sysroot when
  doing cross-builds.  GCC_INCLUDE_DIR (which contains headers that ship
  with the compiler such as intrinsincs rather than OS-supplied headers)
  remains hardcoded to look in TOOLS_PREFIX.

Reviewed by:	bdrewery (older version)
Sponsored by:	DARPA / AFRL
Differential Revision:	https://reviews.freebsd.org/D15127
</content>
</entry>
<entry>
<title>Don't hardcode the TOOLS_PREFIX for the startfiles directories.</title>
<updated>2018-06-27T18:11:47Z</updated>
<author>
<name>John Baldwin</name>
<email>jhb@FreeBSD.org</email>
</author>
<published>2018-06-27T18:11:47Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=7cdb6a830526fb77fc1270c34145d512e3269812'/>
<id>urn:sha1:7cdb6a830526fb77fc1270c34145d512e3269812</id>
<content type='text'>
GCC 4.2 prefixes these directories with --sysroot meaning that during
buildworld they have a double sysroot.

Reviewed by:	bdrewery
Sponsored by:	DARPA / AFRL
Differential Revision:	https://reviews.freebsd.org/D14780
</content>
</entry>
<entry>
<title>Rework how the ld link is handled in WORLDTMP from r322811.</title>
<updated>2018-06-20T16:10:02Z</updated>
<author>
<name>Bryan Drewery</name>
<email>bdrewery@FreeBSD.org</email>
</author>
<published>2018-06-20T16:10:02Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=d74021d65b104beb34c3a0d4c65f149dd6882876'/>
<id>urn:sha1:d74021d65b104beb34c3a0d4c65f149dd6882876</id>
<content type='text'>
LLD_BOOTSTRAP (build) is independent of LLD_IS_LD (installed) so they
should not be based on each other.

This is related to upcoming WITH_SYSTEM_LINKER work.

Reviewed by:	emaste
Sponsored by:	Dell EMC
Differential Revision:	https://reviews.freebsd.org/D15836
</content>
</entry>
<entry>
<title>objdump.1: manually apply r229046 to the rendered man page</title>
<updated>2018-06-15T17:16:27Z</updated>
<author>
<name>Ed Maste</name>
<email>emaste@FreeBSD.org</email>
</author>
<published>2018-06-15T17:16:27Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=2f9cfbc6f3a70bf32ddea1d5de902a3ce560316c'/>
<id>urn:sha1:2f9cfbc6f3a70bf32ddea1d5de902a3ce560316c</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Use a script wrapper for &lt;compress&gt;grep</title>
<updated>2018-04-25T13:23:58Z</updated>
<author>
<name>Baptiste Daroussin</name>
<email>bapt@FreeBSD.org</email>
</author>
<published>2018-04-25T13:23:58Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=612c330d85a4e48869c4f0307efe3f133969aa6c'/>
<id>urn:sha1:612c330d85a4e48869c4f0307efe3f133969aa6c</id>
<content type='text'>
Import the wrapper script from zstdgrep (written by wiz@netbsd.org)

Modify it to support more than just zstd (adding support for gzip,
lzma, xz and bzip2)

Write a simple manpage dedicated for it.

Only use that new wrapper both for gnu grep and bsd grep

Next step will be removing code related to compression format from bsdgrep

Reviewed by:	kevans
Approved by:	kevans
MFC after:	1 week
Differential Revision:	https://reviews.freebsd.org/D15193
</content>
</entry>
<entry>
<title>i386 4/4G split.</title>
<updated>2018-04-13T20:30:49Z</updated>
<author>
<name>Konstantin Belousov</name>
<email>kib@FreeBSD.org</email>
</author>
<published>2018-04-13T20:30:49Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=d86c1f0dc1b17d94a533b4d3e9228dff9cb3fb31'/>
<id>urn:sha1:d86c1f0dc1b17d94a533b4d3e9228dff9cb3fb31</id>
<content type='text'>
The change makes the user and kernel address spaces on i386
independent, giving each almost the full 4G of usable virtual addresses
except for one PDE at top used for trampoline and per-CPU trampoline
stacks, and system structures that must be always mapped, namely IDT,
GDT, common TSS and LDT, and process-private TSS and LDT if allocated.

By using 1:1 mapping for the kernel text and data, it appeared
possible to eliminate assembler part of the locore.S which bootstraps
initial page table and KPTmap.  The code is rewritten in C and moved
into the pmap_cold(). The comment in vmparam.h explains the KVA
layout.

There is no PCID mechanism available in protected mode, so each
kernel/user switch forth and back completely flushes the TLB, except
for the trampoline PTD region. The TLB invalidations for userspace
becomes trivial, because IPI handlers switch page tables. On the other
hand, context switches no longer need to reload %cr3.

copyout(9) was rewritten to use vm_fault_quick_hold().  An issue for
new copyout(9) is compatibility with wiring user buffers around sysctl
handlers. This explains two kind of locks for copyout ptes and
accounting of the vslock() calls.  The vm_fault_quick_hold() AKA slow
path, is only tried after the 'fast path' failed, which temporary
changes mapping to the userspace and copies the data to/from small
per-cpu buffer in the trampoline.  If a page fault occurs during the
copy, it is short-circuit by exception.s to not even reach C code.

The change was motivated by the need to implement the Meltdown
mitigation, but instead of KPTI the full split is done.  The i386
architecture already shows the sizing problems, in particular, it is
impossible to link clang and lld with debugging.  I expect that the
issues due to the virtual address space limits would only exaggerate
and the split gives more liveness to the platform.

Tested by: pho
Discussed with:	bde
Sponsored by:	The FreeBSD Foundation
MFC after:	1 month
Differential revision:	https://reviews.freebsd.org/D14633
</content>
</entry>
</feed>
