summaryrefslogtreecommitdiffstats
path: root/gnu
Commit message (Collapse)AuthorAgeFilesLines
* Add FreeBSD version 11.0.pluknet2014-05-201-0/+1
| | | | This is a direct commit to stable/10.
* MFC r265732:gjb2014-05-091-0/+1
| | | | | | Add 9.3 to mdoc.local Sponsored by: The FreeBSD Foundation
* MFC r264741: Add placeholder Kyuafiles for various top-level hierarchies.jmmv2014-04-286-1/+46
| | | | This is "make tinderbox" clean.
* MFC several WITH_TESTS-related documentation fixes.jmmv2014-04-161-0/+1
| | | | | | | | | - r258014 Document WITH_TESTS src.conf(5) option. - r263089 Fix description of WITHOUT_BMAKE's purpose. - r264408 Fix test suite name in src.conf(5). - r264410 Document how to install the test suite. - r264412 Add FreeBSD 10.1 to the list of recognized releases for Fx. - r264413 Miscellaneous fixes to tests(7).
* MFC r263778:dim2014-04-091-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add a SUBDIR_PARALLEL option to bsd.subdir.mk, to allow make to process all the SUBDIR entries in parallel, instead of serially. Apply this option to a selected number of Makefiles, which can greatly speed up the build on multi-core machines, when using make -j. This can be extended to more Makefiles later on, whenever they are verified to work correctly with parallel building. I tested this on a 24-core machine, with make -j48 buildworld (N = 6): before stddev after stddev ======= ====== ======= ====== real time 1741.1 16.5 959.8 2.7 user time 12468.7 16.4 14393.0 16.8 sys time 1825.0 54.8 2110.6 22.8 (user+sys)/real 8.2 17.1 E.g. the build was approximately 45% faster in real time. On machines with less cores, or with lower -j settings, the speedup will not be as impressive. But at least you can now almost max out a machine with buildworld! Submitted by: jilles MFC r263833: Enable parallel building for gnu/usr.bin and usr.bin/clang too.
* MFH r261319,261345,261742 mdoc changes to stable/10uqs2014-03-011-0/+4
|
* MFC r261296:brooks2014-03-011-2/+12
| | | | | | | | | | | | | Merge from CheriBSD: commit c1acf022c533c5ae27e0cd556977eafe3f5959eb Author: Brooks Davis <brooks@one-eyed-alien.net> Date: Fri Jan 17 21:46:44 2014 +0000 Add an option WITHOUT_NCURSESW to suppress building and linking to libncursesw. While wide character support it useful we'd like to only need one ncurses library on embedded systems. Sponsored by: DARPA, AFRL
* MFC r261267: Add libexecinfo.pluknet2014-02-011-0/+1
|
* MFC r260874:pfg2014-01-221-3/+3
| | | | | | | | | | gcc: fix libgcc by adding the bswap builtins for all platforms. This change was missing from r258428 which attempted to add the bswap builtins to gcc. The change is also missing from the patch in gnu/155309. Found by: marcel
* MFC r257532 (by adrian):dim2013-12-304-12/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix this build for clang. MFC r259730: To avoid having to explicitly test COMPILER_TYPE for setting clang-specific or gcc-specific flags, introduce the following new variables for use in Makefiles: CFLAGS.clang CFLAGS.gcc CXXFLAGS.clang CXXFLAGS.gcc In bsd.sys.mk, these get appended to the regular CFLAGS or CXXFLAGS for the right compiler. MFC r259913: For libstand and sys/boot, split off gcc-only flags into CFLAGS.gcc. MFC r259927: Fix pc98 build, by also forcing COMPILER_TYPE in sys/boot/pc98/boot2's Makefile. Pointy hat to: dim
* MFC r259720:dim2013-12-251-4/+6
| | | | For gnu/lib/csu, only use gcc-specific flags when compiling with gcc.
* MFC r258428, r258445pfg2013-12-182-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | gcc: another round of merges from the gcc pre-43 branch. Bring The following revisions from the gcc43 branch[1]: 118360, 118361, 118363, 118576, 119820, 123906, 125246, and 125721. They all have in common that the were merged long ago into Apple's gcc and should help improve the general quality of the compiler and make it easier to bring new features from Apple's gcc42. For details please review the additions to the files: gcc/ChangeLog.gcc43 gcc/cp/ChangeLog.gcc43 (new, adds previous revisions) Fix crosscompilation (r258445 by andreast) Reference: [1] http://gcc.gnu.org/viewcvs/gcc/trunk/?pathrev=126700 Obtained from: gcc pre4.3 (GPLv2) branch MFC after: 3 weeks
* MFC rr258501, r258507;pfg2013-12-152-3/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | gcc: Bring updates from Google's enhanced gcc-4.2.1. Google released and enhanced version of gcc-4.2.1 plus their local patches for Android[1]. The patches are owned by Google and the license hasn't been changed from the original GPLv2. We are only bringing a subset of the available patches that may be helpful in FreeBSD, in other words, changes specific to android are not included. From the README.google file[1]. Patches applied to google_vendor_src_branch/gcc/gcc-4.2.1: gcc/Makefile.in gcc/c-common.c gcc/c-common.h gcc/c-opts.c gcc/c-typeck.c gcc/cp/typeck.c gcc/doc/invoke.texi gcc/flags.h gcc/opts.c gcc/tree-flow.h gcc/tree-ssa-alias-warnings.c gcc/tree-ssa-alias.c Backport of -Wstrict-aliasing from mainline. Silvius Rus <rus@google.com> gcc/coverage.c: Patch coverage_checksum_string for PR 25351. Seongbae Park <spark@google.com> Not yet submitted to FSF. gcc/c-opts.c gcc/c-ppoutput.c gcc/c.opt gcc/doc/cppopts.texi libcpp/Makefile.in libcpp/directives-only.c libcpp/directives.c libcpp/files.c libcpp/include/cpplib.h libcpp/init.c libcpp/internal.h libcpp/macro.c Support for -fdirectives-only. Ollie Wild <aaw@google.com>. Submitted to FSF but not yet approved. libstdc++-v3/include/ext/hashtable.h http://b/742065 http://b/629994 Reduce min size of hashtable for hash_map, hash_set from 53 to 5 libstdc++-v3/include/ext/hashtable.h http://b/629994 Do not iterate over buckets if hashtable is empty. gcc/common.opt gcc/doc/invoke.texi gcc/flags.h gcc/gimplify.c gcc/opts.c Add Saito's patch for -finstrument-functions-exclude-* options. gcc/common.opt gcc/doc/invoke.texi gcc/final.c gcc/flags.h gcc/opts.c gcc/testsuite/gcc.dg/Wframe-larger-than.c Add a new flag -Wframe-larger-than- which enables a new warning when a frame size of a function is larger than specified. This patch hasn't been integrated into gcc mainline yet. gcc/tree-vrp.c Add a hack to avoid using ivopts information for pointers starting at constant values. Reference: [1] https://android.googlesource.com/toolchain/gcc/+/master/gcc-4.2.1/ Obtained from: Google Inc.
* MFC r257530brooks2013-11-041-1/+6
| | | | | | | | | Reimplement r257525 such that it work with the historic FreeBSD make implementation. This fixes the toolchain and kernel-toolchain targets when building from older FreeBSD versions where make is fmake. Sponsored by: DARPA/AFRL Approved by: re (glebius)
* MFC r257268:brooks2013-10-311-1/+1
| | | | | | | | Enable the --sysroot=/foo option in ld by always building with a sysroot defined. When not building as a cross linker, the sysroot is set to "/". Exp-run by: bdrewery (ports/183206) Approved by: re (gjb)
* Revert r256095, r256120 (partial), r256121:gjb2013-10-0962-0/+25597
| | | | | | | | | | | | | | | r256095: - Add gnu/usr.bin/rcs back to the base system. r256120: - Add WITHOUT_RCS back to src.conf.5. r256121: - Remove UPDATING entry regarding gnu/usr.bin/rcs removal. Requested by: many Approved by: re (marius) Discussed with: core
* Good bye RCS. You will be missed.eadler2013-10-0762-25597/+0
| | | | | | | (devel/rcs and devel/rcs57 are available as alternatives) Approved by: core Approved by: re (hrs)
* Remove long-unused GNU ar and ranlibemaste2013-10-015-637/+1
| | | | | | | The libarchive-based replacements have been used since 2009; the GNU ones were kept to support source upgrades from FreeBSD 6. Approved by: re@ (delphij)
* Update dialog to 1.2-20130923.dteske2013-09-241-1/+1
| | | | Approved by: re (marius)
* After r255321, clang uses libc++ by default. This leads to a lot ofdim2013-09-122-0/+8
| | | | | | | | | | | errors when you enable WITH_GNUCXX to build libstdc++, since it will include C++ headers from the libc++ installation under ${WORLDTMP}, and those are not compatible with libstdc++ at all. To fix this, add -stdlib=libstdc++ to CXXFLAGS when building libstdc++ (and its companion libsupc++) with clang. Approved by: re (delphij)
* On platforms where clang is the default compiler, don't build gcc or libstdc++.theraven2013-09-062-2/+7
| | | | | | | | | | | | | | | | | | To enable them, set WITH_GCC and WITH_GNUCXX in src.conf. Make clang default to using libc++ on FreeBSD 10. Bumped __FreeBSD_version for the change. GCC is still enabled on PC98, because the PC98 bootloader requires GCC to build (or, at least, hard-codes the use of gcc into its build). Thanks to everyone who helped make the ports tree ready for this (and bapt for coordinating them all). Also to imp for reviewing this and working on the forward-porting of the changes in our gcc so that we're getting to a much better place with regard to external toolchains. Sorry to all of the people who helped who I forgot to mention by name. Reviewed by: bapt, imp, dim, ...
* Remove our hacked GNU patch.pfg2013-09-0319-4809/+0
| | | | | | | | | | | The old (2.1) GNU patch has outlived its days. The major local changes have been moved into the less restrictedly licensed patch(1) we adopted in usr.bin/ . A much newer version of GNU patch is available in the ports tree (devel/patch). Disconnect from the build and remove.
* add support to gcc for AES and PCLMUL intrinsics... This addes thejmg2013-09-033-1/+109
| | | | | | | | -maes option, but not the -mpclmul option as I ran out of bits in the 32 bit flags field... You can -D__PCLMUL__ to get this, but it won't be compatible w/ clang and modern gcc... Reviewed by: -current, -toolchain
* Drop build option switch for the older GNU patch.pfg2013-08-291-6/+0
| | | | | | | | As promised, drop the option to make the older GNU patch the default. GNU patch is still being built but something drastic may happen to it to it before Release.
* Teach libstdc++ about logl(3).pfg2013-08-131-2/+2
| | | | | | | The logl(3) family of functions were implemented in r251292. Define them in libstdc++'s configuration so they can be used. Reviewed by: dim
* Add FreeBSD 9.2 to mdoc.local.gjb2013-08-111-0/+1
|
* Part of r245761 makes "grep -D skip" broken for pipes, i.e.ache2013-08-081-5/+7
| | | | | | | echo xxx | grep -D skip xxx returns nothing. Instead of just removing added S_ISFIFO condition (originally absent in this version of grep), make it work as latest GNU version does: don't skip directories and devices if fd == STDIN_FILENO.
* Make the BSD-licensed patch the default.pfg2013-07-261-3/+3
| | | | | | | | | | | | | | | The BSD-licensed patch(1) command has matured and it's behaviour can be considered equivalent to the older version of GNU patch in the tree. The switch has been extensively tested [1] and only two ports presented regressions, which have since been fixed. For convenience a new WITH_GNU_PATCH option is available, but it will likely be removed in the near future. PR: 176313 Approved by: portmgr
* Properly handle input lines containing NUL characters such that pgets()obrien2013-07-021-1/+1
| | | | | | | accurately fills the read buffer. Callers of pgets() still mis-process the buffer contents if the read line contains NUL characters, but this at least makes pgets() accurate.
* Make it so that 'patch < FUBAR' and 'patch -i FUBAR' operate the same.obrien2013-07-021-2/+7
| | | | | | | The former makes a copy of stdin, but was not accurately putting the content of stdin into a temp file. This lead to the undercounting the number of lines in hunks containing NUL characters when reading from stdin. Thus resulting in "unexpected end of file in patch" errors.
* Bump shlib for dialog because ABI has changed when version 1.2 was importedbapt2013-06-231-1/+1
| | | | Reviewed by: kib
* Fold in frame-unwind patchemaste2013-06-172-35/+2
| | | | | After moving to svn there's no need to avoid pulling files off a vendor branch.
* lower the WARNS to 1 again until I have more time to figure out the problems ↵bapt2013-06-171-1/+1
| | | | | | with WARNS=4 Reported by: gavin
* Update dialog to 1.2-20130523bapt2013-06-173-13/+30
| | | | Level up WARNS
* Fix some missing symbols in the libsupc++ Version.maptheraven2013-06-161-0/+13
| | | | MFC after: 1 week
* Remove CVS from the base system.eadler2013-06-1513-1264/+0
| | | | | | Discussed with: many Reviewed by: peter, zi Approved by: core
* Add a new knob WITH_DEBUG_FILES to control the building of standaloneemaste2013-06-0710-24/+2
| | | | | | | | | | | | | | | | debug files for userland programs and libraries. The "-g" debug flag is automatically applied when WITH_DEBUG_FILES is set. The debug files are now named ${prog}.debug and ${shlib}.debug for consistency with other systems and documentation. In addition they are installed under /usr/lib/debug, to simplify the process of installing them if needed after a crash. Users of bsd.{prog,lib}.mk outside of the base system place the standalone debug files in a .debug subdirectory. GDB automatically searches both of these directories for standalone debug files. Thanks to everyone who contributed changes, review, and testing during development.
* gcc: install AMD intrinsics header ammintrin.hpfg2013-06-071-2/+2
| | | | | | | This file was included in the changes from r251212 and originated in the pre-GPLv3 gcc43 branch. MFC after: 2 weeks
* Adjust CFLAGS to pick up correct regex.h and posix/regex.h. Note thisjkim2013-06-062-4/+2
| | | | | | actually reverts r250860 and r250861. Reported by: gjb, tinderbox
* Connect libgnuregex 2.17 to the build.jkim2013-06-0512-11467/+51
|
* Don't look for headers outside of the source or object directories. Inmarcel2013-05-211-1/+1
| | | | | | | particular, don't use DESTDIR. Such creates an unnecessary dependency on the build machine. Obtained from: Juniper Networks, Inc.
* Don't look for headers outside of the source or object directories. Inmarcel2013-05-211-1/+1
| | | | | | | particular, don't use DESTDIR. Such creates an unnecessary dependency on the build machine. Obtained from: Juniper Networks, Inc.
* grep: change some int types.pfg2013-05-203-9/+11
| | | | | | | | | | | | | | | | Change several int variables to size_t, ssize_t, or ptrdiff_t. This should fix the bug described in CVE-2012-5667 when an input line is so long that its length cannot be stored in an int variable. This is based on NetBSD's revision which says: This change to NetBSD's version of GNU grep 2.5.1 (licenced under GPLv2) was made without direct reference to any code licenced under GPLv3. Obtained from: NetBSD MFC after: 3 days
* When gcc 4.2.0 was imported, the 3DNow intrinsics header <mm3dnow.h> wasdim2013-05-081-1/+2
| | | | | | | not added to the list of intrinsics headers to install, so belatedly (5 years :) add it. MFC after: 1 week
* Remove the Fortran directories.rpaulo2013-04-253-70/+0
|
* Fix mips64 and mipsn32 bilds by using proper register names.imp2013-04-251-0/+11
|
* Enable libcompiler-rt on MIPS.ed2013-04-201-4/+0
| | | | | | | | | Originally we disabled libcompiler-rt on MIPS and SPARC64, because of an issue where __clzdi2 and __ctzdi2 would cause endless recursion. This bug has been fixed in r230021 already, but for some reason we only switched to libcompiler-rt on SPARC64 -- not MIPS. This means we can finally use <stdatomic.h> on all our architectures.
* Add FreeBSD 8.4.pluknet2013-04-081-0/+1
| | | | MFC after: 3 days
* KGDB: Accept KLD symbol files with the ".symbols" extension.will2013-03-281-0/+1
| | | | | | | Submitted by: gibbs Approved by: ken (mentor) Sponsored by: Spectra Logic MFC after: 1 month
* KGDB: Allow modules to be loaded from the specified kernel's directory.will2013-03-281-1/+4
| | | | | | | | | | | | | | | | | | When looking up the absolute path for a kld, call find_kld_path() first. This enables locating the module in a different directory than the one stored in kernel memory. With this change, kgdb can now be run on a kernel & vmcore whose associated modules are located in the same directory as the kernel. This makes independent triaging of problems much easier. This change also does not break the normal kgdb use case where no arguments are specified; in that case kgdb loads the running kernel and its modules. Reviewed by: adrian Approved by: ken (mentor) Sponsored by: Spectra Logic MFC after: 1 month
OpenPOWER on IntegriCloud