aboutsummaryrefslogtreecommitdiff
path: root/gnu
Commit message (Collapse)AuthorAgeFilesLines
* Install manpage version of texinfo documentation for binutilsBaptiste Daroussin2015-03-021-5/+4
| | | | Notes: svn path=/head/; revision=279529
* Install old texinfo pages in the form of mdoc(7) pagesBaptiste Daroussin2015-03-022-1/+5
| | | | Notes: svn path=/head/; revision=279520
* Add a ${CP} alias for copying files in the build.Will Andrews2015-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 Notes: svn path=/head/; revision=277273
* Add pregenerated documentation for as(1) and ld(1)Baptiste Daroussin2015-01-042-1/+14
| | | | Notes: svn path=/head/; revision=276651
* Remove gnu/ info pages to unbreak the build with MK_GCC != no, etcEnji Cooper2015-01-026-43/+0
| | | | | | | | | Reported by: Ivan Klymenko <fidaj@ukr.net> Reviewed by: bapt Differential Revision: D1412 Notes: svn path=/head/; revision=276565
* Remove info pagesBaptiste Daroussin2015-01-024-3056/+0
| | | | Notes: svn path=/head/; revision=276562
* Remove GNU texinfo from base along with all info pages.Baptiste Daroussin2015-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 Notes: svn path=/head/; revision=276551
* Cleanup up ARM *frame structures...Ian Lepore2014-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> Notes: svn path=/head/; revision=276190
* Fix build with recent binutilsBaptiste Daroussin2014-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 Notes: svn path=/head/; revision=276128
* Parallelize building gnu/usr.bin/groffEnji Cooper2014-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 Notes: svn path=/head/; revision=275866
* Remove empty generated file upon gperf failureEd Maste2014-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 Notes: svn path=/head/; revision=275804
* Add new PowerPC relocations to binutilsJustin Hibbits2014-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 Notes: svn path=/head/; revision=275718
* Skip calling CPU_ISSET for NOCPU as a short period of time we can haveDmitry Chagin2014-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 Notes: svn path=/head/; revision=275644
* Revert r274953, r274934Baptiste Daroussin2014-12-028-8/+16
| | | | | | | mandoc(1) is now able to display correctly the vanilla version Notes: svn path=/head/; revision=275433
* Build infrastructure for elftoolchain toolsEd Maste2014-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 Notes: svn path=/head/; revision=275373
* Put each SUBDIR on a separate lineEd Maste2014-11-271-3/+15
| | | | | | | | This makes it easier to review or merge changes that modify some subset of SUBDIRs. Notes: svn path=/head/; revision=275193
* Convert to LIBADDBaptiste Daroussin2014-11-2510-26/+19
| | | | | | | Reduce overlinking Notes: svn path=/head/; revision=275077
* Fix rendering of manpages with mandoc(1)Baptiste Daroussin2014-11-247-14/+7
| | | | Notes: svn path=/head/; revision=274953
* Fix rendering with mandocBaptiste Daroussin2014-11-241-2/+1
| | | | Notes: svn path=/head/; revision=274938
* Fix rendering with mandocBaptiste Daroussin2014-11-231-2/+1
| | | | Notes: svn path=/head/; revision=274935
* Fix rendering with mandocBaptiste Daroussin2014-11-231-2/+1
| | | | Notes: svn path=/head/; revision=274934
* Install mdoc(7) and man(7) from mdoc instead of the one from groffBaptiste Daroussin2014-11-231-2/+1
| | | | Notes: svn path=/head/; revision=274930
* Change kbdb's kthr::cpu field into an int, to avoid gcc warnings aboutDimitry Andric2014-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 Notes: svn path=/head/; revision=274391
* libdialog has to be linked to libncursesw and libmBaptiste Daroussin2014-11-071-0/+3
| | | | Notes: svn path=/head/; revision=274226
* Build gperf only if we're using g++ (not clang++)Ed Maste2014-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 Notes: svn path=/head/; revision=272849
* Integrate usr.bin/diff/tests from NetBSD into atf/kyua at gnu/usr.bin/diff/testsEnji Cooper2014-10-092-0/+23
| | | | | | | Sponsored by: EMC / Isilon Storage Division Notes: svn path=/head/; revision=272787
* Remove MK_ARM_EABI, the armeb issues have been fixed. The code to supportAndrew Turner2014-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 Notes: svn path=/head/; revision=272350
* Add gnugrep.1 to CLEANFILES.Glen Barber2014-08-261-0/+1
| | | | | | | | MFC after: 3 days Sponsored by: The FreeBSD Foundation Notes: svn path=/head/; revision=270668
* Add ${LIBC} to DPADD to fix "make checkdpadd"Enji Cooper2014-08-201-0/+1
| | | | | | | | | Phabric: D632 Approved by: jmmv (mentor) MFC after: 2 weeks Notes: svn path=/head/; revision=270216
* Revert r267233 for now. PIE support needs to be reworked.Bryan Drewery2014-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 Notes: svn path=/head/; revision=270168
* Rework privatelib/internallibBaptiste Daroussin2014-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 Notes: svn path=/head/; revision=269648
* Replace all uses of libncurses and libtermcap with their wide characterBrooks Davis2014-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 Notes: svn path=/head/; revision=268804
* Make MK_GNUCXX mean "build the libstdc++ and libsupc++ libraries" andWarner Losh2014-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. Notes: svn path=/head/; revision=268508
* The GNU readline library is now an INTERNALLIB - that is, it isBaptiste Daroussin2014-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 Notes: svn path=/head/; revision=268461
* Remove ia64.Marcel Moolenaar2014-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 Notes: svn path=/head/; revision=268351
* Make sure that the sub-makes for unwind.h start from the CURDIRWarner Losh2014-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. Notes: svn path=/head/; revision=267845
* Remove send-pr, the supported interface to submit bugs is now viaGavin Atkinson2014-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 Notes: svn path=/head/; revision=267486
* With the move away from GNATS, point end users to a better web pageGavin Atkinson2014-06-141-1/+1
| | | | | | | | | | detailing how to report bugs. Hat: bugmeister MFC after: 3 days Notes: svn path=/head/; revision=267483
* In preparation for ASLR [1] support add WITH_PIE to support building with -fPIE.Bryan Drewery2014-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] Notes: svn path=/head/; revision=267233
* Add Lb string for libcuse.Christian Brueffer2014-06-061-0/+1
| | | | Notes: svn path=/head/; revision=267153
* Move Nx definition to a separate block.Sergey Kandaurov2014-05-201-0/+2
| | | | | | | Noticed by: ru (a while ago) Notes: svn path=/head/; revision=266479
* Revert r261296. This removes the WITHOUT_NCURSESW option.Brooks Davis2014-05-151-12/+2
| | | | | | | | It was the wrong direction. We will instead remove use of the non-wide-character supporting libncurses. Notes: svn path=/head/; revision=266157
* Allow libstdc++ and libsupc++ to compile with clang again, after theDimitry Andric2014-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. Notes: svn path=/head/; revision=265895
* Add 9.3 to mdoc.local.Glen Barber2014-05-091-0/+1
| | | | | | | Sponsored by: The FreeBSD Foundation Notes: svn path=/head/; revision=265732
* Use src.opts.mk in preference to bsd.own.mk except where we need stuffWarner Losh2014-05-0620-19/+20
| | | | | | | from the latter. Notes: svn path=/head/; revision=265420
* Spell NO_PROFILE= as MK_PROFILE=no.Warner Losh2014-04-253-5/+7
| | | | Notes: svn path=/head/; revision=264928
* Add placeholder Kyuafiles for various top-level hierarchies.Julio Merino2014-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. Notes: svn path=/head/; revision=264741
* Add FreeBSD 10.1 to the list of recognized releases for Fx.Julio Merino2014-04-131-0/+1
| | | | | | | This version is already mentioned by 4 manual pages. Notes: svn path=/head/; revision=264412
* NO_MAN= has been deprecated in favor of MAN= for some time, go aheadWarner Losh2014-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. Notes: svn path=/head/; revision=264400
* Introduce RANLIBFLAGS to mirror ARFLAGS and add -D to both. This setsDag-Erling Smørgrav2014-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 Notes: svn path=/head/; revision=264367