summaryrefslogtreecommitdiffstats
path: root/gnu
Commit message (Collapse)AuthorAgeFilesLines
* Install manpage version of texinfo documentation for binutilsbapt2015-03-021-5/+4
|
* Install old texinfo pages in the form of mdoc(7) pagesbapt2015-03-022-1/+5
|
* Add a ${CP} alias for copying files in the build.will2015-01-161-1/+1
| | | | | | | | | | | | | | Some users build FreeBSD as non-root in Perforce workspaces. By default, Perforce sets files read-only unless they're explicitly being edited. As a result, the -f argument must be used to cp in order to override the read-only flag when copying source files to object directories. Bare use of 'cp' should be avoided in the future. Update all current users of 'cp' in the src tree. Reviewed by: emaste MFC after: 1 week Sponsored by: Spectra Logic
* Add pregenerated documentation for as(1) and ld(1)bapt2015-01-042-1/+14
|
* Remove gnu/ info pages to unbreak the build with MK_GCC != no, etcngie2015-01-026-43/+0
| | | | | | Reported by: Ivan Klymenko <fidaj@ukr.net> Reviewed by: bapt Differential Revision: D1412
* Remove info pagesbapt2015-01-024-3056/+0
|
* Remove GNU texinfo from base along with all info pages.bapt2015-01-0224-2455/+6
| | | | | | | | | To be able to info pages consider installing texinfo from ports print/texinfo or via pkg: pkg install texinfo Differential Revision: https://reviews.freebsd.org/D1409 Reviewed by: emaste, imp (previous version) Relnotes: yes
* 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
OpenPOWER on IntegriCloud