363496 |
24-Jul-2020 |
dim |
Merge llvm, clang, compiler-rt, libc++, libunwind, lld, lldb and openmp 10.0.1 final (aka llvmorg-10.0.1-0-gef32c611aa2).
MFC r360702:
Merge commit 4ca2cad94 from llvm git (by Justin Hibbits):
[PowerPC] Add clang -msvr4-struct-return for 32-bit ELF
Summary:
Change the default ABI to be compatible with GCC. For 32-bit ELF targets other than Linux, Clang now returns small structs in registers r3/r4. This affects FreeBSD, NetBSD, OpenBSD. There is no change for 32-bit Linux, where Clang continues to return all structs in memory.
Add clang options -maix-struct-return (to return structs in memory) and -msvr4-struct-return (to return structs in registers) to be compatible with gcc. These options are only for PPC32; reject them on PPC64 and other targets. The options are like -fpcc-struct-return and -freg-struct-return for X86_32, and use similar code.
To actually return a struct in registers, coerce it to an integer of the same size. LLVM may optimize the code to remove unnecessary accesses to memory, and will return i32 in r3 or i64 in r3:r4.
Fixes PR#40736
Patch by George Koehler!
Reviewed By: jhibbits, nemanjai Differential Revision: https://reviews.llvm.org/D73290
Requested by: jhibbits
MFC r361410:
Merge llvm, clang, compiler-rt, libc++, libunwind, lld, lldb and openmp llvmorg-10.0.1-rc1-0-gf79cd71e145 (aka 10.0.1 rc1).
MFC r362235 (by kp):
llvm: Default to -mno-relax on RISC-V
Compiling on a RISC-V system fails with 'relocation R_RISCV_ALIGN requires unimplemented linker relaxation; recompile with -mno-relax'.
Our default linker (ld.lld) doesn't support relaxation, so default to no-relax so we don't generate object files the linker can't handle.
Reviewed by: mhorne Sponsored by: Axiado Differential Revision: https://reviews.freebsd.org/D25210
MFC r362445:
Merge llvm, clang, compiler-rt, libc++, libunwind, lld, lldb and openmp llvmorg-10.0.0-97-g6f71678ecd2 (not quite 10.0.1 rc2, as more fixes are still pending).
MFC r362587 (by cem):
Add WITH_CLANG_FORMAT option
clang-format is enabled conditional on either WITH_CLANG_EXTRAS or WITH_CLANG_FORMAT. Some sources in libclang are build conditional on either rule, and obviously the clang-format binary itself depends on the rule.
clang-format could still use a manual page.
Reviewed by: emaste Differential Revision: https://reviews.freebsd.org/D25427
MFC r362609:
Merge llvm, clang, compiler-rt, libc++, libunwind, lld, lldb and openmp llvmorg-10.0.0-129-gd24d5c8e308. Getting closer to 10.0.1-rc2.
MFC r362679:
Regenerate ReStructuredText based manpages for llvm-project tools:
* bugpoint.1 * clang.1 * llc.1 * lldb.1 * lli.1 * llvm-ar.1 * llvm-as.1 * llvm-bcanalyzer.1 * llvm-cov.1 * llvm-diff.1 * llvm-dis.1 * llvm-dwarfdump.1 * llvm-extract.1 * llvm-link.1 * llvm-mca.1 * llvm-nm.1 * llvm-pdbutil.1 * llvm-profdata.1 * llvm-symbolizer.1 * llvm-tblgen.1 * opt.1
Add newly generated manpages for:
* llvm-addr2line.1 (this is an alias of llvm-symbolizer) * llvm-cxxfilt.1 * llvm-objcopy.1 * llvm-ranlib.1 (this is an alias of llvm-ar)
Note that llvm-objdump.1 is an exception, as upstream has both a plain .1 file, and a .rst variant. These will have to be reconciled upstream first.
MFC r362680:
Follow-up to r362679, add more entries to OptionalObsoleteFiles.inc
MFC r362719:
Merge llvm, clang, compiler-rt, libc++, libunwind, lld, lldb and openmp llvmorg-10.0.1-rc2-0-g77d76b71d7d.
Also add a few more llvm utilities under WITH_CLANG_EXTRAS:
* llvm-dwp, a utility for merging DWARF 5 Split DWARF .dwo files into .dwp (DWARF package files) * llvm-size, a size(1) replacement * llvm-strings, a strings(1) replacement
MFC r362733:
Remove older llvm-ranlib.1 entry from ObsoleteFiles.inc, as it has gotten its own manpage now, and should be no longer be removed by "make delete-old".
MFC r362734:
Fix llvm-strings.1 not installing, this was a copy/paste error.
MFC r363401:
Merge llvm, clang, compiler-rt, libc++, libunwind, lld, lldb and openmp 10.0.1 final (aka llvmorg-10.0.1-0-gef32c611aa2).
There were no changes since rc2, except in the upstream regression tests, which we do not ship.
Relnotes: yes |
356775 |
16-Jan-2020 |
kevans |
MFC r356356, r356358, r356422: replace gcclibs' libssp
r356356: Provide libssp based on libc
For libssp.so, rebuild stack_protector.c with FORTIFY_SOURCE stubs that just abort built into it.
For libssp_nonshared.a, steal stack_protector_compat.c from ^/lib/libc/secure and massage it to maintain that __stack_chk_fail_local is a hidden symbol.
libssp is now built unconditionally regardless of {WITH,WITHOUT}_SSP in the build environment, and the gcclibs version has been disconnected from the build in favor of this one.
r356358: libssp: fix FORTIFY_SOURCE stub declarations
The LSB 4.1 that I referenced omitted the varargs, and I failed to catch it. The __vsnprintf_chk error was from just downright misreading the page. GCC6 caught all of these, but I had only tested GCC4.2.
r356422: Update libssp paths in various Makefile.depend* files
I've been advised that the model that uses these are fairly resilient, but we do know the proper path to use (or remove, in the case of ^/targets/...), so go ahead and update them to reflect that. |
355131 |
27-Nov-2019 |
cy |
MFC r315223, r325182:
Disconnect ipftest and ipresend from the build until it can be verified that they still work. These utilities have become out of sync with the code in the kernel and need work to bring them back into shape. Most people test on real systems or VMs on real networks.
Suggested by: glebius |
331769 |
30-Mar-2018 |
hselasky |
MFC r303505, r303506, r303512, r303513, r303646, r320418, r323082, r326169, r326563, r326649, r326716, r326764, r326765 and r329222:
RoCE/infiniband/iWarp upgrade to Linux 4.9 for kernel and userspace. This commit merges projects/bsd_rdma_4_9 to 11-stable.
Compatibility wrappers have been made for existing 11-stable ibcore APIs, including ib_reg_phys_mr(). Refer to "sys/ofed/include/rdma/ib_verbs_compat.h" for more information.
The iw_cxgb driver has not been updated and has been disconnected from the build.
Sponsored by: Mellanox Technologies
MFC r326169 and r326563: RoCE/infiniband upgrade to Linux v4.9 for kernel and userspace.
List of kernel sources used: ============================
1) kernel sources were cloned from git://github.com/torvalds/linux.git Top commit 69973b830859bc6529a7a0468ba0d80ee5117826 - tag: v4.9, linux-4.9
2) krping was cloned from https://github.com/larrystevenwise/krping Top commit 292a2f1abf0348285e678a82264740d52e4dcfe4
List of userspace sources used: ===============================
1) rdma-core was cloned from https://github.com/linux-rdma/rdma-core.git Top commit d65138ef93af30b3ea249f3a84aa6a24ba7f8a75
2) OpenSM was cloned from git://git.openfabrics.org/~halr/opensm.git Top commit 85f841cf209f791c89a075048a907020e924528d
3) libibmad was cloned from git://git.openfabrics.org/~iraweiny/libibmad.git Tag 1.3.13 with some additional patches from Mellanox.
4) infiniband-diags was cloned from git://git.openfabrics.org/~iraweiny/infiniband-diags.git Tag 1.6.7 with some additional patches from Mellanox.
NOTES: ======
1) The mthca driver has been removed from userspace. 2) All GPLv2 only sources have been removed and where applicable rewritten from scratch under a BSD license. 3) List of fully supported drivers in userspace and kernel: a) iw_cxgbe (Chelsio) b) mlx4ib (Mellanox) c) mlx5ib (Mellanox) 4) WITH_OFED=YES is still required by make in order to build OFED userspace and kernel code. 5) Full support has been added for routable RoCE, RoCE v2.
MFC r326649: Disconnect OFED after r326169 broke all DIRDEPS support for it.
MFC r326716: Correctly define the unordered_map namespace in ofed/libibnetdisc .
This should fix ofed/libibnetdisc compilation with C-compilers different from clang and GCC v4.2.1.
Submitted by: kib Sponsored by: Mellanox Technologies
MFC r326764: ofed: Remove duplicated symbols from the version file.
ld.bfd accepts multiple listing of the same symbol in the version script. lld is stricter and errors out. Since arm64 and sometimes amd64 use lld, we should correct this cosmetic issue.
Sponsored by: Mellanox Technologies Reviewed by: hselasky Differential revision: https://reviews.freebsd.org/D13329
MFC r326765: ofed: Define barriers for mips and arm.
I used the strongest barriers available on the architectures, so if the future analysis show that it is excessive, the barriers could be relaxed. Still, it is unlikely that it is meaningful to run IB on 32bit ARM or current MIPS machines, so the change is to make WITH_OFED to pass tinderbox.
Sponsored by: Mellanox Technologies Reviewed by: hselasky Differential revision: https://reviews.freebsd.org/D13329
MFC r303505: sdp: Use an mbufq for received control packets.
This is simpler than the hand-rolled queue, and fixes a use-after-free.
Sponsored by: EMC / Isilon Storage Division
MFC r303506: sdp: Destroy the PCB lock before freeing to the zone.
Sponsored by: EMC / Isilon Storage Division
MFC r303512: sdp: Use malloc(9) instead of the Linux compat layer.
SDP transmit and receive rings are always created in a sleepable context, so we can use M_WAITOK and remove error checks.
Sponsored by: EMC / Isilon Storage Division
MFC r303513: sdp: Destroy the RDMA ID after destroying the connection's queue pair.
This is the ordering documented by rdma_destroy_qp(). Also add a useful KASSERT to sdp_pcbfree().
Sponsored by: EMC / Isilon Storage Division
MFC r303646: ipoib: Bound the number of egress mbufs buffered during pathrec lookups.
In pathological situations where the master subnet manager becomes unresponsive for an extended period, we may otherwise end up queuing all of the system's mbufs while waiting for a response to a path record lookup.
This addresses the same issue as commit 1e85b806f9 in Linux.
Reviewed by: cem, ngie Sponsored by: EMC / Isilon Storage Division
MFC r329222: Import the mthca kernel side infiniband driver from Linux 4.9 and fix compilation under FreeBSD. The mthca driver was temporarily removed as part of the Linux 4.9 RoCE/infinband upgrade.
Top commit in Linux source tree: 69973b830859bc6529a7a0468ba0d80ee5117826
Sponsored by: Mellanox Technologies
MFC r320418. Note that the socket lock _is_ the same as so_rcv's lock in 11 and this is a no-op in this branch.
Sponsored by: Chelsio Communications
MFC r323082: cxgbe/iw_cxgbe: Set TCP_NODELAY before initiating connection so that t4_tom picks it up right away. This is less work than waiting for the connection to be established before applying the setting.
Sponsored by: Chelsio Communications |
331586 |
26-Mar-2018 |
hselasky |
MFC r330653: Add kernel and userspace code to dump the firmware state of supported ConnectX-4/5 devices in mlx5core.
The dump is obtained by reading a predefined register map from the non-destructive crspace, accessible by the vendor-specific PCIe capability (VSC). The dump is stored in preallocated kernel memory and managed by the mlx5tool(8), which communicates with the driver using a character device node.
The utility allows to store the dump in format <address> <value> into a file, to reset the dump content, and to manually initiate the dump.
A call to mlx5_fwdump() should be added at the places where a dump must be fetched automatically. The most likely place is right before a firmware reset request.
Submitted by: kib@ Sponsored by: Mellanox Technologies |
330478 |
05-Mar-2018 |
eadler |
MFC r325353:
chase removal of csup in r267863 from 2014.. |
329011 |
08-Feb-2018 |
kevans |
MFC r307322,r307323,r307324,r307326,r307327,r307338,r307879,r307908,r307911, r307942,r307950,r307951,r307954,r307955,r308125,r308195,r308476,r308534, r308535,r308776,r308843,r310236,r310726: Loader fixes, 2016q4
r307322: Remove /boot/boot.conf, deprecated for 16 years
r307323: Remove fetching of pInterp.
r307324: Create a new linker set, Xficl_compile_set which contains a list of functions to call to register new forth words.
r307326: In UEFI mode expose the SMBIOS anchor base address via kenv
r307327: Update i386 build of loader.efi (but leave it disabled) so that we at least build it now.
r307338: Create a pcibios-version environment FORTH word.
r307879: Preliminary support for EFI in boot loader.
r307908: Fix the build on both arm64 and when WITHOUT_FORTH is defined.
r307911: Add better comment...
r307942: Really make WITHOUT_FORTH (MK_FORTH==no) work.
r307950: Add it (Makefile.ficl) to the right place
r307951: Fix two backwards tests.
r307954: Back out the move to the loader script from -N.
r307955: LIBSTAND goes last, so put it last here too.
r308125: In loader.efi, instead of exiting directly, try to fallback.
r308195: efinet_dev_print should honor verbose option.
r308476: boot/forth spelling issue in forth word
r308534: The file_loadraw function grew an argument, update install function
r308535: Add support for LOADER_RC setting in the pkgfs manifes
r308776: loader: zfs toplevel vdev must have spa set.
r308843: loader: smbios version check is not correct
r310236: Renumber license clauses to avoid skipping #3
r310726: cdboot: add explict suffix to ambiguous or instruction
PR: 214375 |
321391 |
23-Jul-2017 |
ngie |
MFC r316603,r321214:
r316603:
META_MODE: add additional reachover relative paths to DIRDEPS_BUILD
These additional entries are being added, after their addition to the source tree.
r321214:
Update targets/pseudo/tests/Makefile.depend after recent additions/subtractions from the FreeBSD test suite.
MFC with: r316603 |
319388 |
01-Jun-2017 |
ngie |
MFC r314579,r314785:
r314579 (by np):
Add cxgbetool(8) to the base system.
Move cxgbetool from tools/tools to usr.sbin. Compile and install it on platforms where cxgbe(4) is built by default. Knobs (WITH_CXGBETOOL and WITHOUT_CXGBETOOL) have been added so that the user can override the default setting.
r314785:
Fix some trivial manlint warnings
Sentences should begin on new lines, per manlint.
Bump .Dd for the change |
318115 |
09-May-2017 |
bdrewery |
DIRDEPS_BUILD: Connect new directories.
This is a direct commit since MFCing these changes is impractical.
Sponsored by: Dell EMC Isilon |
315723 |
22-Mar-2017 |
bdrewery |
MFC r314886,r314943,r314944:
r314886: pwait: Add a -t flag to specify a timeout before exiting, and tests. r314943: Remove unneeded -x from tests. r314944: Rename some tests to end in _test. |
311188 |
03-Jan-2017 |
bdrewery |
MFC r305258:
DIRDEPS_BUILD: Build crunchide for the host. |
311183 |
03-Jan-2017 |
bdrewery |
MFC r305148:
DIRDEPS_BUILD: Add some missing dirctories to the build. |
311182 |
03-Jan-2017 |
bdrewery |
MFC r305255:
DIRDEPS_BUILD: Fix 'make bootstrap-tools' not using the proper tblgen binaries. |
311179 |
03-Jan-2017 |
bdrewery |
MFC r305244:
DIRDEPS_BUILD: Add missing crunchgen host tool. |
310618 |
26-Dec-2016 |
dim |
MFC r309124:
Upgrade our copies of clang, llvm, lldb, compiler-rt and libc++ to 3.9.0 release, and add lld 3.9.0. Also completely revamp the build system for clang, llvm, lldb and their related tools.
Please note that from 3.5.0 onwards, clang, llvm and lldb require C++11 support to build; see UPDATING for more information.
Release notes for llvm, clang and lld are available here: <http://llvm.org/releases/3.9.0/docs/ReleaseNotes.html> <http://llvm.org/releases/3.9.0/tools/clang/docs/ReleaseNotes.html> <http://llvm.org/releases/3.9.0/tools/lld/docs/ReleaseNotes.html>
Thanks to Ed Maste, Bryan Drewery, Andrew Turner, Antoine Brodin and Jan Beich for their help.
Relnotes: yes
MFC r309147:
Pull in r282174 from upstream llvm trunk (by Krzysztof Parzyszek):
[PPC] Set SP after loading data from stack frame, if no red zone is present
Follow-up to r280705: Make sure that the SP is only restored after all data is loaded from the stack frame, if there is no red zone.
This completes the fix for https://llvm.org/bugs/show_bug.cgi?id=26519.
Differential Revision: https://reviews.llvm.org/D24466
Reported by: Mark Millard PR: 214433
MFC r309149:
Pull in r283060 from upstream llvm trunk (by Hal Finkel):
[PowerPC] Refactor soft-float support, and enable PPC64 soft float
This change enables soft-float for PowerPC64, and also makes soft-float disable all vector instruction sets for both 32-bit and 64-bit modes. This latter part is necessary because the PPC backend canonicalizes many Altivec vector types to floating-point types, and so soft-float breaks scalarization support for many operations. Both for embedded targets and for operating-system kernels desiring soft-float support, it seems reasonable that disabling hardware floating-point also disables vector instructions (embedded targets without hardware floating point support are unlikely to have Altivec, etc. and operating system kernels desiring not to use floating-point registers to lower syscall cost are unlikely to want to use vector registers either). If someone needs this to work, we'll need to change the fact that we promote many Altivec operations to act on v4f32. To make it possible to disable Altivec when soft-float is enabled, hardware floating-point support needs to be expressed as a positive feature, like the others, and not a negative feature, because target features cannot have dependencies on the disabling of some other feature. So +soft-float has now become -hard-float.
Fixes PR26970.
Pull in r283061 from upstream clang trunk (by Hal Finkel):
[PowerPC] Enable soft-float for PPC64, and +soft-float -> -hard-float
Enable soft-float support on PPC64, as the backend now supports it. Also, the backend now uses -hard-float instead of +soft-float, so set the target features accordingly.
Fixes PR26970.
Reported by: Mark Millard PR: 214433
MFC r309212:
Add a few missed clang 3.9.0 files to OptionalObsoleteFiles.
MFC r309262:
Fix packaging for clang, lldb and lld 3.9.0
During the upgrade of clang/llvm etc to 3.9.0 in r309124, the PACKAGE directive in the usr.bin/clang/*.mk files got dropped accidentally.
Restore it, with a few minor changes and additions: * Correct license in clang.ucl to NCSA * Add PACKAGE=clang for clang and most of the "ll" tools * Put lldb in its own package * Put lld in its own package
Reviewed by: gjb, jmallett Differential Revision: https://reviews.freebsd.org/D8666
MFC r309656:
During the bootstrap phase, when building the minimal llvm library on PowerPC, add lib/Support/Atomic.cpp. This is needed because upstream llvm revision r271821 disabled the use of std::call_once, which causes some fallback functions from Atomic.cpp to be used instead.
Reported by: Mark Millard PR: 214902
MFC r309835:
Tentatively apply https://reviews.llvm.org/D18730 to work around gcc PR 70528 (bogus error: constructor required before non-static data member). This should fix buildworld with the external gcc package.
Reported by: https://jenkins.freebsd.org/job/FreeBSD_HEAD_amd64_gcc/
MFC r310194:
Upgrade our copies of clang, llvm, lld, lldb, compiler-rt and libc++ to 3.9.1 release.
Please note that from 3.5.0 onwards, clang, llvm and lldb require C++11 support to build; see UPDATING for more information.
Release notes for llvm, clang and lld will be available here: <http://releases.llvm.org/3.9.1/docs/ReleaseNotes.html> <http://releases.llvm.org/3.9.1/tools/clang/docs/ReleaseNotes.html> <http://releases.llvm.org/3.9.1/tools/lld/docs/ReleaseNotes.html>
Relnotes: yes |
306487 |
30-Sep-2016 |
kib |
MFC r306261: Add proccontrol(1).
MFC r306281 (by bdrewery): DIRDEPS_BUILD: Connect new directories. |
302408 |
08-Jul-2016 |
gjb |
Copy head@r302406 to stable/11 as part of the 11.0-RELEASE cycle. Prune svn:mergeinfo from the new branch, as nothing has been merged here.
Additional commits post-branch will follow.
Approved by: re (implicit) Sponsored by: The FreeBSD Foundation |
301993 |
17-Jun-2016 |
bdrewery |
Add clang-format under WITH_CLANG_EXTRAS.
Reviewed by: dim Approved by: re (gjb) Sponsored by: EMC / Isilon Storage Division Differential Revision: https://reviews.freebsd.org/D6856
|
301469 |
05-Jun-2016 |
bdrewery |
DIRDEPS_BUILD: Fix bootstrap-tools not handling CCACHE_DIR properly.
CCACHE_DIR needs to be resolved to its full path before processing legacy.meta or meta mode may see the change to the stats file.
Sponsored by: EMC / Isilon Storage Division
|
301283 |
03-Jun-2016 |
bdrewery |
DIRDEPS_BUILD: Connect new directories and update dependencies.
Sponsored by: EMC / Isilon Storage Division
|
300807 |
26-May-2016 |
bdrewery |
DIRDEPS_BUILD: Fix and hookup rescue/rescue to the build.
Sponsored by: EMC / Isilon Storage Division
|
300798 |
26-May-2016 |
bdrewery |
DIRDEPS_BUILD: Build the kernel in the same place as buildkernel would.
Sponsored by: EMC / Isilon Storage Division
|
300795 |
26-May-2016 |
bdrewery |
WITH_META_MODE: Move the kernel support to kern.pre.mk.
This allows using META_MODE directly from the kernel build directory. This also allows removing a hack from the DIRDEPS_BUILD kernel target.
Sponsored by: EMC / Isilon Storage Division
|
300138 |
18-May-2016 |
avos |
targets/Makefile: fix a typo (derrived -> derived).
|
298098 |
16-Apr-2016 |
gjb |
Final pass through bogus svn:mergeinfo removal.
Note, paths part of 'contrib' were left alone for now.
Sponsored by: The FreeBSD Foundation
|
297946 |
14-Apr-2016 |
bdrewery |
Simplify building libpam and fix libpam.a not containing the modules since r284345.
The change in r284345 moved the creation of openpam_static_modules.o to lib/libpam/static_modules but never managed to get them into libpam.a.
Move this logic to lib/libpam/static_libpam and have it create a static library for libpam.a The main lib/libpam/libpam will only create a shared library. No redundancy in compilation or installation exists in this solution.
This avoids requiring a pass with -D_NO_LIBPAM_SO_YET.
Sponsored by: EMC / Isilon Storage Division
|
297442 |
31-Mar-2016 |
bdrewery |
hosttools: Trim unneeded directories.
These should only be build tools that are in various Makefile.depend as host dependencies. Anything toolchain related is handled by toolchain and bootstrap-tools currently.
Sponsored by: EMC / Isilon Storage Division
|
297433 |
30-Mar-2016 |
bdrewery |
show-valid-targets: Indent each target 2 spaces.
Sponsored by: EMC / Isilon Storage Division
|
297430 |
30-Mar-2016 |
bdrewery |
show-valid-targets: Organize all targets by the all_machine_list.
Sponsored by: EMC / Isilon Storage Division
|
297428 |
30-Mar-2016 |
bdrewery |
Move hosttools to Makefile.depend.host so it shows under host targets in show-valid-targets.
Sponsored by: EMC / Isilon Storage Division
|
297427 |
30-Mar-2016 |
bdrewery |
show-valid-targets: Show host targets and also order all of the targets.
Sponsored by: EMC / Isilon Storage Division
|
297154 |
21-Mar-2016 |
bdrewery |
DIRDEPS_BUILD: Update dependencies.
Sponsored by: EMC / Isilon Storage Division
|
296700 |
11-Mar-2016 |
bdrewery |
META_MODE: Simplify the META_COOKIE handling to use .USE/.USEBEFORE.
Extend it to other cases of meta mode cookies so they get the proper rm cookie behavior when a .meta file detects it needs to rebuild and fails.
Sponsored by: EMC / Isilon Storage Division
|
296695 |
11-Mar-2016 |
bdrewery |
DIRDEPS_BUILD: Fix staging of share/sendmail and share/examples.
Sponsored by: EMC / Isilon Storage Division
|
296587 |
09-Mar-2016 |
bdrewery |
DIRDEPS_BUILD: Connect MK_TESTS.
Sponsored by: EMC / Isilon Storage Division
|
296550 |
08-Mar-2016 |
bdrewery |
DIRDEPS_BUILD: Update clang dependencies after r296417.
Sponsored by: EMC / Isilon Storage Division
|
296417 |
05-Mar-2016 |
dim |
Upgrade our copies of clang, llvm, lldb and compiler-rt to 3.8.0 release.
Please note that from 3.5.0 onwards, clang, llvm and lldb require C++11 support to build; see UPDATING for more information.
Release notes for llvm and clang will soon be available here: <http://llvm.org/releases/3.8.0/docs/ReleaseNotes.html> <http://llvm.org/releases/3.8.0/tools/clang/docs/ReleaseNotes.html>
Thanks to Ed Maste, Roman Divacky, Davide Italiano and Antoine Brodin for their help.
Relnotes: yes
|
296403 |
04-Mar-2016 |
bdrewery |
DIRDEPS_BUILD: Connect ofed.
Sponsored by: EMC / Isilon Storage Division
|
296127 |
26-Feb-2016 |
bdrewery |
Update dependencies.
Sponsored by: EMC / Isilon Storage Division
|
296120 |
26-Feb-2016 |
bdrewery |
Follow-up r295991: Only allow 'make destroy*' to include bsd.obj.mk.
Sponsored by: EMC / Isilon Storage Division
|
296047 |
25-Feb-2016 |
oshogbo |
Convert casperd(8) daemon to the libcasper. After calling the cap_init(3) function Casper will fork from it's original process, using pdfork(2). Forking from a process has a lot of advantages: 1. We have the same cwd as the original process. 2. The same uid, gid and groups. 3. The same MAC labels. 4. The same descriptor table. 5. The same routing table. 6. The same umask. 7. The same cpuset(1). From now services are also in form of libraries. We also removed libcapsicum at all and converts existing program using Casper to new architecture.
Discussed with: pjd, jonathan, ed, drysdale@google.com, emaste Partially reviewed by: drysdale@google.com, bdrewery Approved by: pjd (mentor) Differential Revision: https://reviews.freebsd.org/D4277
|
295992 |
24-Feb-2016 |
bdrewery |
DIRDEPS_BUILD: Allow destroy-(arch|host|stage) from top-level.
Sponsored by: EMC / Isilon Storage Division
|
295991 |
24-Feb-2016 |
bdrewery |
DIRDEPS_BUILD: Allow 'make destroy*' to work from top-level.
Sponsored by: EMC / Isilon Storage Division
|
295990 |
24-Feb-2016 |
bdrewery |
FAST_DEPEND: Skip 'make depend' for buildworld and kernel since it is auto-ran now.
Sponsored by: EMC / Isilon Storage Division
|
295979 |
24-Feb-2016 |
bdrewery |
DIRDEPS_BUILD: Add some missing build dependencies for kerberos5.
Sponsored by: EMC / Isilon Storage Division
|
295945 |
24-Feb-2016 |
sobomax |
Obsolete mkulzma(8) and geom_uncompress(4), their functionality is now provided by mkuzip(8) and geom_uzip(4) respectively.
MFC after: 1 month
|
295681 |
16-Feb-2016 |
bdrewery |
DIRDEPS_BUILD: Hookup CLANG_EXTRAS.
Sponsored by: EMC / Isilon Storage Division
|
295650 |
16-Feb-2016 |
bdrewery |
DIRDEPS_BUILD: Update dependencies.
Sponsored by: EMC / Isilon Storage Division
|
295398 |
08-Feb-2016 |
emaste |
Restore kgzldr on i386 only
I previously disconnected kgzdr based on a misunderstanding.
I'd still like to transition to supporting only the loader(8)-based boot path for handling compressed kernels, but that can follow the standard deprecation procedure.
This reverts r291113.
Requested by: dteske
|
293287 |
07-Jan-2016 |
bdrewery |
Add in DIRDEPS_BUILD support.
Sponsored by: EMC / Isilon Storage Division
|
291973 |
08-Dec-2015 |
bdrewery |
local.meta.sys.mk already defines TARGET_ARCHES_arm
|
291946 |
07-Dec-2015 |
bdrewery |
Garbage collect removed directories.
Sponsored by: EMC / Isilon Storage Division
|
291726 |
03-Dec-2015 |
bdrewery |
rescue/rescue does not yet build in meta mode.
|
291717 |
03-Dec-2015 |
bdrewery |
DIRDEPS_BUILD: Connect usr.sbin/camdd
Sponsored by: EMC / Isilon Storage Division
|
291640 |
02-Dec-2015 |
bdrewery |
META MODE: Connect MK_NAND directories.
Sponsored by: EMC / Isilon Storage Division
|
291627 |
02-Dec-2015 |
bdrewery |
Fully connect cddl/usr.sbin/plockstat.
There seems to be no reason to keep this so private.
Also add missing optional MK_CDDL files.
Sponsored by: EMC / Isilon Storage Division
|
291563 |
01-Dec-2015 |
bdrewery |
META MODE: Update dependencies with 'the-lot' and add missing directories.
This is not properly respecting WITHOUT or ARCH dependencies in target/. Doing so requires a massive effort to rework targets/ to do so. A better approach will be to either include the SUBDIR Makefiles directly and map to DIRDEPS or just dynamically lookup the SUBDIR. These lose the benefit of having a userland/lib, userland/libexec, etc, though and results in a massive package. The current implementation of targets/ is very unmaintainable.
Currently rescue/rescue and sys/modules are still not connected.
Sponsored by: EMC / Isilon Storage Division
|
291562 |
01-Dec-2015 |
bdrewery |
META MODE: Fix userland/cddl.
MK_CTF controls whether ctfmerge is ran against the binaries, not whether CTF tools should be built.
Sponsored by: EMC / Isilon Storage Division
|
291561 |
01-Dec-2015 |
bdrewery |
META MODE: Rework [bootstrapped] tools PATH support.
- Support more of the toolchain from TOOLSDIR. - This also improves 'make bootstrap-tools' to pass, for example, AS=/usr/bin/as to Makefile.inc1, which will tell cross-tools to use external toolchain support and avoid building things we won't be using in the build. - Always set the PATH to contain the staged TOOLSDIR directories when not building the bootstrap targets.
The previous version was only setting this at MAKE.LEVEL==0 and if the TOOLSDIR existed. Both of these prevented using staged tools that were built during the build though as DIRDEPS with .host dependencies, such as the fix for needing usr.bin/localedef.host in r291311. This is not a common tool so we must build and use it during the build, and need to be prepared to change PATH as soon as it appears.
This should also fix the issue of host dependencies disappearing from Makefile.depend and then reappearing due to the start of the fresh build not having the directory yet, resulting in the tools that were built not actually being used. - Only use LEGACY_TOOLS while building in Makefile.inc1. After r291317 and r291546 there is no need to add LEGACY_TOOLS into the PATH for the pseudo/targets/toolchain build. - Because the pseudo/targets/toolchain will now build its own [clang-]tblgen, the special logic in clang.build.mk is no longer needed. - LEGACY_TOOLS is no longer used outside of targets/pseudo/bootstrap-tools so is no longer passed into the environment in its build.
Sponsored by: EMC / Isilon Storage Division
|
291546 |
01-Dec-2015 |
bdrewery |
META MODE: For bootstrap-tools, don't let Makefile.inc1 build any of the toolchain.
This change prevents building of [clang-]tblgen, which is unneeded due to already being a host dependency where needed for targets/pseudo/toolchain.
Sponsored by: EMC / Isilon Storage Division
|
291540 |
30-Nov-2015 |
bdrewery |
META MODE: Fix bootstrap-tools after r291349.
Now that OBJTOP is assumed to be proper, it needs to be overridden for the bootstrap-tools phase to ensure it is not kept as the top-level OBJTOP. Otherwise the libraries were not found during the bootstrap-tools phase.
Sponsored by: EMC / Isilon Storage Division
|
291321 |
25-Nov-2015 |
bdrewery |
META MODE: Fix 'make bootstrap-tools'.
The main problem was bitrot after elftoolchain being swapped in for the GNU toolchain.
This also reworks how the list of 'host allowed' libraries is determined to only allow INTERNALLIBs, which is needed for libelftc to come in.
For usr.bin/readelf use the same hack, as libelf and libdward, to bring in the needed sys/ headers for host builds. This has not yet been a problem due to readelf not being built as a host tool in buildworld. This is possible in the meta build though when building the toolchain.
Sponsored by: EMC / Isilon Storage Division
|
291319 |
25-Nov-2015 |
bdrewery |
META MODE: Add more hosttools needed pre-universe.
Sponsored by: EMC / Isilon Storage Division
|
291317 |
25-Nov-2015 |
bdrewery |
META MODE: Need to include the LEGACY_TOOLS directories into PATH.
This is just as Makefile.inc1 does it for these phases. Otherwise some of the build tools are not found and used properly, such as 'make-roken' in the kerberos5 build on older releases.
Sponsored by: EMC / Isilon Storage Division
|
291311 |
25-Nov-2015 |
bdrewery |
META MODE: Fix 'make the-lot' with recent locale changes
Sponsored by: EMC / Isilon Storage Division
|
291309 |
25-Nov-2015 |
bdrewery |
META MODE: Avoid creating TESTS directories for bootstrap.
Sponsored by: EMC / Isilon Storage Division
|
291308 |
25-Nov-2015 |
bdrewery |
META MODE: Don't override DESTDIR to the default when building the toolchain.
For this case, the normal META MODE staging logic should be used. The BSARGS having DESTDIR= is due to Makefile.inc1 overriding DESTDIR to something when appropriate. For the toolchain stage META MODE is in charge of it, not Makefile.inc1.
At least include/, if staging it to the host stagedir, was impacted from this. Staging of include.host is not yet done.
Sponsored by: EMC / Isilon Storage Division
|
291307 |
25-Nov-2015 |
bdrewery |
META MODE: Prefer INSTALL=tools/install.sh to lessen the need for xinstall.host.
This both avoids some dependencies on xinstall.host and allows bootstrapping on older releases to work due to lack of at least 'install -l' support.
Sponsored by: EMC / Isilon Storage Division
|
291113 |
20-Nov-2015 |
emaste |
Disconnect unused kgzldr from sys/boot/i386
Sponsored by: The FreeBSD Foundation
|
291086 |
19-Nov-2015 |
bdrewery |
Remove unsupported ia64.
Sponsored by: EMC / Isilon Storage Division
|
290719 |
12-Nov-2015 |
bdrewery |
META MODE: Don't set schg flags in the stagedir for distrib-dirs.
This recently started setting /var/empty to schg after r290628.
Sponsored by: EMC / Isilon Storage Division
|
290624 |
09-Nov-2015 |
bdrewery |
Connect nmtree
|
290623 |
09-Nov-2015 |
bdrewery |
Rename usr.sbin/mtree to usr.sbin/fmtree since it is not what /usr/sbin/mtree actually is (which is usr.sbin/nmtree).
This has tricked me numerous times.
|
290494 |
07-Nov-2015 |
bapt |
Improve collation string and locales support
Merge collation support from Illumos and DragonflyBSD.
Locales are now generated with the new localedef(1) tool from CLDR POSIX files. The generated files are now identified as "BSD 1.0" format.
The libc now only read "BSD 1.0" locales definitions, all other version will be set to "C" The localedef(1) tool has been imported from Illumos and modified to use tree(3) instead of the CDDL avl(3) A set of tool created by edwin@ and extended by marino@ for dragonfly has been added to be able to generate locales and the Makefiles from the vanilla CLDR unicode databases + a universal UTF-8 charmap (by marino@) Update the locales to unicode v27 Given our regex(3) does not support multibyte (yet) it has been forced to always use locale C Remove now unused colldef(1) and mklocale(1) Finish implementing the numeric BSD extension for ctypes The number of supported locales has grown from 175 to 250 locales. Among the new locales: 6 Arabic locales (AE EG JO MA QA SA), Different variations of spanish locales. Added new 3 components locales for mn_Cyrl_MN, sr_Cyrl_RS sr_Latn_RS, zh_Hans_CN, zh_Hant_HK and zh_Hant_TW. Some aliases has been for 2 components version when possible.
Thanks: Garrett D'Amore (Illumos) who made sure all his work was done under BSD license!, Edwin Groothuis (edwin@) for the work he made on tools to be able to generate locales definition usable in freebsd sources out of vanilla CLDR definitions, John Marino (DragonflyBSD) who first merge the Illumos work into Dragonfly and spent hours tracking down bugs.
|
290113 |
28-Oct-2015 |
bdrewery |
Connect mpsutil for META MODE.
|
290102 |
28-Oct-2015 |
bapt |
Merge mpsutil(8) branch
mpsutil(8)/mprutil(8) are new utilities for managing LSI Fusion-MPT 2/3 controllers (mps(4) and mpr(4))
For now only informational commands have been implemented.
This utility has been written by scottl@ [1] and polished by myself[2]
Submitted by: scottl Discussed with: scottl Relnotes: yes Sponsored by: Netflix [1] Sponsored by: Gandi.net [2]
|
289730 |
22-Oct-2015 |
bdrewery |
Remove more disconnected libgpib items missed in r276214.
Sponsored by: EMC / Isilon Storage Division
|
288943 |
06-Oct-2015 |
dim |
Upgrade our copies of clang, llvm, lldb, compiler-rt and libc++ to 3.7.0 release.
Please note that from 3.5.0 onwards, clang, llvm and lldb require C++11 support to build; see UPDATING for more information.
Release notes for llvm and clang can be found here: <http://llvm.org/releases/3.7.0/docs/ReleaseNotes.html> <http://llvm.org/releases/3.7.0/tools/clang/docs/ReleaseNotes.html>
Thanks to Ed Maste, Andrew Turner and Antoine Brodin for their help.
Exp-run: antoine Relnotes: yes
|
288515 |
02-Oct-2015 |
bdrewery |
All the games moved to usr.bin/ in r288485.
Sponsored by: EMC / Isilon Storage Division
|
288514 |
02-Oct-2015 |
bdrewery |
Remove defunct games removed in r279150.
Sponsored by: EMC / Isilon Storage Division
|
288462 |
01-Oct-2015 |
bdrewery |
Don't create cookie until the command is all finished, it or the commands after may fail.
Sponsored by: EMC / Isilon Storage Division
|
288339 |
28-Sep-2015 |
avg |
remove unused sgsmsg utility (originally imported from opensolaris)
MFC after: 25 days
|
288251 |
26-Sep-2015 |
bdrewery |
META_MODE: Make it easier to keep the bootstrap-tools args in sync.
Sponsored by: EMC / Isilon Storage Division
|
288226 |
25-Sep-2015 |
bdrewery |
META_MODE: Remove DEP_RELDIR from Makefile.depend files.
This has not been needed since r284171 in projects/bmake.
Sponsored by: EMC / Isilon Storage Division
|
288225 |
25-Sep-2015 |
bdrewery |
Add missing SVN keywords.
Sponsored by: EMC / Isilon Storage Division
|
287989 |
19-Sep-2015 |
bdrewery |
Connect sesutil(1) and numactl(1) for META_MODE.
Sponsored by: EMC / Isilon Storage Division
|
286730 |
13-Aug-2015 |
emaste |
Roll WITHOUT_ELFTOOLCHAIN_TOOLS into WITHOUT_TOOLCHAIN
The option was added only to ease the transition from GNU Binutils to ELF Tool Chain tools, and that process is now complete (for the viable replacements). Noting the removal in UPDATING is sufficient as we have not shipped a release with the option.
Reviewed by: brooks Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D3240
|
285081 |
03-Jul-2015 |
sjg |
Updated depends
|
284482 |
16-Jun-2015 |
sjg |
Support WITH_LLDB
Remove entries from userland/gnu that conflict with toolchain
|
284424 |
15-Jun-2015 |
sjg |
Pay attention to MK_ELFTOOLCHAIN_TOOLS so we build the desired tools.
|
284369 |
14-Jun-2015 |
sjg |
We cannot build makewhatis and mandoc
|
284345 |
13-Jun-2015 |
sjg |
Add META_MODE support.
Off by default, build behaves normally. WITH_META_MODE we get auto objdir creation, the ability to start build from anywhere in the tree.
Still need to add real targets under targets/ to build packages.
Differential Revision: D2796 Reviewed by: brooks imp
|
284293 |
12-Jun-2015 |
sjg |
Reorganize targets/pseudo/userland
This target mainly exists to help check things build. Eventually targets that build real packages or images will be more important. As such move the pseudo targets that only exist for the benefit of 'userland' to under it.
|
283688 |
29-May-2015 |
sjg |
Adapt based on whether 'mk' wrapper is used.
If 'mk' is used we can expect SB_NAME to be set. Use 'mk' versions of command suggestions. Otherwise 'make' version - a bit more cumbersom.
|
283595 |
27-May-2015 |
sjg |
Merge sync of head
|
275339 |
30-Nov-2014 |
sjg |
Renamed pkgs/ targets/
|
275282 |
30-Nov-2014 |
sjg |
Rename pkgs to more generic targets (that's what they are)
Reviewed by: marcel
|
274902 |
23-Nov-2014 |
sjg |
Leverage dirdeps.mk by tweaking _DIRDEP_USE_LEVEL so we can have a 2nd stage of dependencies computed in parallel.
Reviewed by: marcel
|
274694 |
19-Nov-2014 |
sjg |
Updated/new dependencies
|
270164 |
19-Aug-2014 |
sjg |
Merge head from 7/28
|
270163 |
19-Aug-2014 |
sjg |
After we finish using src/Makefile.inc1 to bootstrap legacy tools use it to build the toolchain we actually want.
|
266264 |
16-May-2014 |
sjg |
Use Makefile.depend.host for bootstrap-tools so it automatically builds for host
|
266230 |
16-May-2014 |
sjg |
Use BTOOLSDIR
|
265801 |
10-May-2014 |
sjg |
Use src.opts.mk
|
265800 |
10-May-2014 |
sjg |
Toolchains are a pain - especially to bootstrap rather than waste time optimizing for a rare? event, leverage the targets in src/Makefile.inc1
|
265799 |
10-May-2014 |
sjg |
Prep stage tree for tests
|
265373 |
05-May-2014 |
sjg |
Leverage bsd.opts.mk
|
265330 |
04-May-2014 |
sjg |
We can now leverage bsd.opts.mk to use MK_* to control what we build.
|
256698 |
17-Oct-2013 |
sjg |
New/updated dependencies
|
256419 |
13-Oct-2013 |
sjg |
Updated dependencies
|
256401 |
12-Oct-2013 |
sjg |
Report the number of dirdeps so we can track progress.
|
248540 |
20-Mar-2013 |
sjg |
Add newline before for better formatting
|
248402 |
17-Mar-2013 |
sjg |
Add kernel and toolchains to the-lot
|
248346 |
15-Mar-2013 |
sjg |
Check if we already have all:
|
248288 |
14-Mar-2013 |
sjg |
Build kernel
|
248077 |
08-Mar-2013 |
sjg |
Always report elapsed time
|
247894 |
06-Mar-2013 |
sjg |
Use pkgs/pseudo/stage to run mtree against STAGE_OBJTOP
|
246871 |
16-Feb-2013 |
sjg |
target to build toolchain
|
246868 |
16-Feb-2013 |
sjg |
Updated dependencies
|
242818 |
09-Nov-2012 |
sjg |
Add pkgs/Makefile* and pkgs/pseudo/* so folk can test drive.
|