summaryrefslogtreecommitdiffstats
path: root/gnu
Commit message (Collapse)AuthorAgeFilesLines
* Cleanup up ARM *frame structures...ian2014-12-241-13/+5
| | | | | | | | | | - Eliminate unused irqframe - Eliminate unused saframe - Instead of splitting r4-sp storage between the stack and switchframe, just put all the registers in switchframe and eliminate the un_32 struct. Submitted by: Svatopluk Kraus <onwahe@gmail.com>, Michal Meloun <meloun@miracle.cz>
* Fix build with recent binutilsbapt2014-12-231-0/+1
| | | | | | | | | | | Recent binutils considered the .gnu.warning.symbol section as a fatal error when run with --fatal-warnings which makes any users of "insecure" functions from libc failing to build with recent binutils. Introduce a new macro: LD_FATAL_WARNINGS=no to run ld(1) with --no-fatal-warnings for the users of "insecure" functions Differential Revision: https://reviews.freebsd.org/D1320
* Parallelize building gnu/usr.bin/groffngie2014-12-177-0/+20
| | | | | | | | | | | | This speeds up building the directory from the bootstrap-tools stage in buildworld as well as building from the subdirectory Based on a patch submitted via -arch: https://lists.freebsd.org/pipermail/freebsd-arch/2014-December/016493.html MFC after: 1 week Submitted by: Jia-Shiun Li <jiashiun@gmail.com> Sponsored by: EMC / Isilon Storage Division
* Remove empty generated file upon gperf failureemaste2014-12-151-1/+1
| | | | | | | | | | | | | | Prior to this change the build could fail as follows, if gperf is not available (or fails): - make(1) stops due to the gperf error, but an empty target file (cfns.h) is still created - the empty cfns.h is newer than the source cfns.gperf so it is not regenerated on subsequent builds - the gcc build fails (undefined reference to libc_name_p) Sponsored by: The FreeBSD Foundation MFC after: 3 days
* Add new PowerPC relocations to binutilsjhibbits2014-12-121-4/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Summary: LLVM/Clang generates relocations that our binutils doesn't understand, but newer binutils does. I got permission from the author of a series of patches to relicense them as GPLv2 for use in FreeBSD. The upstream git hashes are: ac2df442ac7901f00af15b272fc48b594b433713 2b95367962dc14f69d3c338c4d54195266e2e169 102890f04c44b64cf5cef4588267dd9f24086ac7 b7fcf6f6bb53b5027e111107f5416769cb9a5798 1d483afedd5a628dc84fb58d1d570f79fdfbfa7b 90aecf7a80c1cefeb45fc10a6cd02c8338e34b4c 3a71aa26df2a372a58e9c11ef9ba51fd0e83320a 727fc41e077139570ea8b8ddfd6c546b2a55627c With the import of clang 3.5, and a few backported patches, we should be able to move powerpc and powerpc64 to clang-as-cc soon. Test Plan: Passes make tinderbox, so no regressions. Binaries built with clang run on powerpc64. Reviewers: #committers, dim Reviewed By: dim Differential Revision: https://reviews.freebsd.org/D1297 Obtained from: Alan Modra, upstream binutils-gdb git MFC after: 3 weeks Relnotes: yes
* Skip calling CPU_ISSET for NOCPU as a short period of time we can havedchagin2014-12-091-1/+1
| | | | | | | | td_oncpu is NOCPU for thread in TDS_RUNNING state. Differential Revision: https://reviews.freebsd.org/D1283 Reviewed by: jhb MFC after: 1 Month
* Revert r274953, r274934bapt2014-12-028-8/+16
| | | | mandoc(1) is now able to display correctly the vanilla version
* Build infrastructure for elftoolchain toolsemaste2014-12-011-5/+15
| | | | | | | | | | | | | | | Set WITH_ELFTOOLCHAIN_TOOLS in src.conf to use the elftoolchain version of the following tools: * addr2line * elfcopy (strip / mcs) * nm * size * strings Reviewed by: bapt (earlier version) Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D1224
* Put each SUBDIR on a separate lineemaste2014-11-271-3/+15
| | | | | This makes it easier to review or merge changes that modify some subset of SUBDIRs.
* Convert to LIBADDbapt2014-11-2510-26/+19
| | | | Reduce overlinking
* Fix rendering of manpages with mandoc(1)bapt2014-11-247-14/+7
|
* Fix rendering with mandocbapt2014-11-241-2/+1
|
* Fix rendering with mandocbapt2014-11-231-2/+1
|
* Fix rendering with mandocbapt2014-11-231-2/+1
|
* Install mdoc(7) and man(7) from mdoc instead of the one from groffbapt2014-11-231-2/+1
|
* Change kbdb's kthr::cpu field into an int, to avoid gcc warnings aboutdim2014-11-112-2/+2
| | | | | | | | comparing it with NOCPU, which became -1 recently. While here, avoid using it for address calculations if it is negative. Reviewed by: jhb, adrian MFC after: 1 week
* libdialog has to be linked to libncursesw and libmbapt2014-11-071-0/+3
|
* Build gperf only if we're using g++ (not clang++)emaste2014-10-091-0/+2
| | | | | | | | | | | gperf is used as a build tool for g++ and is not needed for Clang architectures. Ports and third-party software that need it can use the up-to-date devel/gperf port. PR: 194103 (exp-run) Reviewed by: bapt Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D886
* Integrate usr.bin/diff/tests from NetBSD into atf/kyua at gnu/usr.bin/diff/testsngie2014-10-092-0/+23
| | | | Sponsored by: EMC / Isilon Storage Division
* Remove MK_ARM_EABI, the armeb issues have been fixed. The code to supportandrew2014-10-017-21/+9
| | | | | | | | | | | | the oabi is still in the tree, but it is expected this will be removed as developers work on surrounding code. With this commit the ARM EABI is the only supported supported ABI by FreeBSD on ARMa 32-bit processors. X-MFC after: never Relnotes: yes Differential Revision: https://reviews.freebsd.org/D876
* Add gnugrep.1 to CLEANFILES.gjb2014-08-261-0/+1
| | | | | MFC after: 3 days Sponsored by: The FreeBSD Foundation
* Add ${LIBC} to DPADD to fix "make checkdpadd"ngie2014-08-201-0/+1
| | | | | | Phabric: D632 Approved by: jmmv (mentor) MFC after: 2 weeks
* Revert r267233 for now. PIE support needs to be reworked.bdrewery2014-08-1938-75/+0
| | | | | | | | | | | | | | | | | | | | | | | | 1. 50+% of NO_PIE use is fixed by adding -fPIC to INTERNALLIB and other build-only utility libraries. 2. Another 40% is fixed by generating _pic.a variants of various libraries. 3. Some of the NO_PIE use is a bit absurd as it is disabling PIE (and ASLR) where it never would work anyhow, such as csu or loader. This suggests there may be better ways of adding support to the tree. Many of these cases can be fixed such that -fPIE will work but there is really no reason to have it in those cases. 4. Some of the uses are working around hacks done to some Makefiles that are really building libraries but have been using bsd.prog.mk because the code is cleaner. Had they been using bsd.lib.mk then NO_PIE would not have been needed. We likely do want to enable PIE by default (opt-out) for non-tree consumers (such as ports). For in-tree though we probably want to only enable PIE (opt-in) for common attack targets such as remote service daemons and setuid utilities. This is also a great performance compromise since ASLR is expected to reduce performance. As such it does not make sense to enable it in all utilities such as ls(1) that have little benefit to having it enabled. Reported by: kib
* Rework privatelib/internallibbapt2014-08-064-4/+3
| | | | | | | | | | | | | | Make sure everything linking to a privatelib and/or an internallib does it directly from the OBJDIR rather than DESTDIR. Add src.libnames.mk so bsd.libnames.mk is not polluted by libraries not existsing in final installation Introduce the LD* variable which is what ld(1) is expecting (via LDADD) to link to internal/privatelib Directly link to the .so in case of private library to avoid having to complexify LDFLAGS. Phabric: https://phabric.freebsd.org/D553 Reviewed by: imp, emaste
* Replace all uses of libncurses and libtermcap with their wide characterbrooks2014-07-175-10/+10
| | | | | | | | | | variants. This allows usable file system images (i.e. those with both a shell and an editor) to be created with only one copy of the curses library. Exp-run: antoine PR: 189842 Discussed with: bapt Sponsored by: DARPA, AFRL
* Make MK_GNUCXX mean "build the libstdc++ and libsupc++ libraries" andimp2014-07-102-7/+2
| | | | | | | nothing more. Force it to be "no" when MK_CXX is "no" to simplify usage. It no longer also means "build g++" since we no longer have a platform where that's interesting now that pc98 no longer needs clang and gcc, but not g++. pc98 now just uses clang after boot2 changes.
* The GNU readline library is now an INTERNALLIB - that is, it isbapt2014-07-099-61/+19
| | | | | | | | | | statically linked into consumers (GDB and variants) in the base system, and the shared library is no longer installed. That also allows ports to be able to use a modern version of readline PR: 162948 Reviewed by: emaste
* Remove ia64.marcel2014-07-0716-1235/+2
| | | | | | | | | | | | | | | | | This includes: o All directories named *ia64* o All files named *ia64* o All ia64-specific code guarded by __ia64__ o All ia64-specific makefile logic o Mention of ia64 in comments and documentation This excludes: o Everything under contrib/ o Everything under crypto/ o sys/xen/interface o sys/sys/elf_common.h Discussed at: BSDcan
* Make sure that the sub-makes for unwind.h start from the CURDIRimp2014-06-243-3/+3
| | | | | | (/usr/src) tree rather than the OBJDIR (/usr/obj) tree. This fixes broken incremental builds with the canonical MAKESYSPATH workaround of .../share/mk. This is a gross kludge.
* Remove send-pr, the supported interface to submit bugs is now viagavin2014-06-1416-4220/+0
| | | | | | | | | https://bugs.freebsd.org/submit/ Removing send-pr also removes one more piece of non-BSD-licensed software. Hat: bugmeister MFC after: 3 days
* With the move away from GNATS, point end users to a better web pagegavin2014-06-141-1/+1
| | | | | | | detailing how to report bugs. Hat: bugmeister MFC after: 3 days
* In preparation for ASLR [1] support add WITH_PIE to support building with -fPIE.bdrewery2014-06-0838-0/+75
| | | | | | | | | | | | | | | | This is currently an opt-in build flag. Once ASLR support is ready and stable it should changed to opt-out and be enabled by default along with ASLR. Each application Makefile uses opt-out to ensure that ASLR will be enabled by default in new directories when the system is compiled with PIE/ASLR. [2] Mark known build failures as NO_PIE for now. The only known runtime failure was rtld. [1] http://www.bsdcan.org/2014/schedule/events/452.en.html Submitted by: Shawn Webb <lattera@gmail.com> Discussed between: des@ and Shawn Webb [2]
* Add Lb string for libcuse.brueffer2014-06-061-0/+1
|
* Move Nx definition to a separate block.pluknet2014-05-201-0/+2
| | | | Noticed by: ru (a while ago)
* Revert r261296. This removes the WITHOUT_NCURSESW option.brooks2014-05-151-12/+2
| | | | | It was the wrong direction. We will instead remove use of the non-wide-character supporting libncurses.
* Allow libstdc++ and libsupc++ to compile with clang again, after thedim2014-05-112-4/+3
| | | | | bsd.*.mk infrastructure changes. Apparently, you must now modify CXXFLAGS *before* including bsd.lib.mk, or your changes will be lost.
* Add 9.3 to mdoc.local.gjb2014-05-091-0/+1
| | | | Sponsored by: The FreeBSD Foundation
* Use src.opts.mk in preference to bsd.own.mk except where we need stuffimp2014-05-0620-19/+20
| | | | from the latter.
* Spell NO_PROFILE= as MK_PROFILE=no.imp2014-04-253-5/+7
|
* Add placeholder Kyuafiles for various top-level hierarchies.jmmv2014-04-216-1/+46
| | | | | | | | | | | | This change adds tests/ directories in the source tree to create various subdirectories in /usr/tests/ and to install placeholder Kyuafiles for them. the relevant hierarchies are: cddl, etc, games, gnu and secure. The reason for this is to simplify the addition of new test programs for utilities or libraries under any of these directories. Doing so on a case by case basis is unnecessary and is quite an obscure process.
* Add FreeBSD 10.1 to the list of recognized releases for Fx.jmmv2014-04-131-0/+1
| | | | This version is already mentioned by 4 manual pages.
* NO_MAN= has been deprecated in favor of MAN= for some time, go aheadimp2014-04-1310-10/+10
| | | | | | and finish the job. ncurses is now the only Makefile in the tree that uses it since it wasn't a simple mechanical change, and will be addressed in a future commit.
* Introduce RANLIBFLAGS to mirror ARFLAGS and add -D to both. This setsdes2014-04-121-2/+2
| | | | | | | | all timestamps in static libraries to 0 so that consecutive builds from the same source, even on different machines, produce identical libraries. MFC after: 3 weeks
* It is possible that MK_GNUCXX is "yes" but MK_CXX is "no" so make sureimp2014-04-011-1/+1
| | | | MK_CXX isn't "no" before building these libraries.
* Enable parallel building for gnu/usr.bin and usr.bin/clang too.dim2014-03-271-0/+2
| | | | | MFC after: 2 weeks X-MFC-With: r263778
* Add a new ARM TARGET_ARCH, armv6hf. This is considered experimental.andrew2014-03-234-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | This targets the existing ARMv6 and ARMv7 SoCs that contain a VFP unit. This is an optional coprocessors may not be present in all devices, however it appears to be in all current SoCs we support. armv6hf targets the VFP variant of the ARM EABI and our copy of gcc is too old to support this. Because of this there are a number of WITH/WITHOUT options that are unsupported and must be left as the default value. The options and their required value are: * WITH_ARM_EABI * WITHOUT_GCC * WITHOUT_GNUCXX In addition, without an external toolchain, the following need to be left as their default: * WITH_CLANG * WITH_CLANG_IS_CC As there is a different method of passing float and double values to functions the ABI is incompatible with existing armv6 binaries. To use this a full rebuild of world is required. Because no floating point values are passed into the kernel an armv6 kernel with VFP enabled will work with an armv6hf userland and vice versa.
* Remove IPX support.glebius2014-03-142-2/+0
| | | | | | | | | | | IPX was a network transport protocol in Novell's NetWare network operating system from late 80s and then 90s. The NetWare itself switched to TCP/IP as default transport in 1998. Later, in this century the Novell Open Enterprise Server became successor of Novell NetWare. The last release that claimed to still support IPX was OES 2 in 2007. Routing equipment vendors (e.g. Cisco) discontinued support for IPX in 2011. Thus, IPX won't be supported in FreeBSD 11.0-RELEASE.
* add support for building a cross-gdb for ARM... This isn't hooked upjmg2014-02-121-0/+4
| | | | | | | to xdev yet as I don't know how to make it work properly... It also isn't heavily tested... Reviewed by: silence on -arm
* Add missing libraries here as well, so a warning is not printed when onepjd2014-02-111-0/+2
| | | | | | | tries to view their manual pages. Reported by: rwatson Explained by: pluknet
* Add definition for NetBSD 7.0, which is referenced in several manpages.pluknet2014-02-011-0/+1
| | | | | Discussed with: uqs MFC after: 5 days
OpenPOWER on IntegriCloud