summaryrefslogtreecommitdiffstats
path: root/gnu
Commit message (Collapse)AuthorAgeFilesLines
* 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
* Pull up vendor changes up to 2014-01-29uqs2014-01-311-0/+1
| | | | | | | | - move local overrides into mdoc.local - syncs us with git commit 819839b66c80e8dabe6cb24ea6319c26c9a2be14 Discussed with: ru MFC after: 2 weeks
* Merge from CheriBSD:brooks2014-01-301-2/+12
| | | | | | | | | | | | | 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. MFC after: 4 weeks Sponsored by: DARPA, AFRL
* Add libexecinfo.pluknet2014-01-291-0/+1
| | | | MFC after: 3 days
* Add FreeBSD 2.2.9 which aout(4) references.uqs2014-01-281-0/+1
| | | | Discussed with: kib
* Revision 258428 changed gcc by virtue of having _bswapsi2 _bswapdi2 inmarcel2014-01-191-4/+3
| | | | | | | libgcc, but this was not propagated to this file. Revision 260844 added them here for ia64 unbeknownst revision 258428. Fix it for all... Pointed out by: pfg
* Replace LIBGCC by LIBCOMPILER_RT.ed2014-01-181-2/+2
| | | | | We now use libcompiler_rt on all platforms now. Instead of referring directly to -lgcc and LIBGCC, use -lcompiler_rt and LIBCOMPILER_RT.
* For ia64, add _bswapsi2 & _bswapdi2. The audio/flac port uses themarcel2014-01-181-0/+1
| | | | | bswap32 builtin and the compiler emits a call to the libgcc function rather than generating inline code.
* When building a cross-kgdb, suppress the registration of themarcel2014-01-131-0/+12
| | | | | | | | | | | standard core target by declaring coreops_suppress_target with initializer. This is also happening for non-cross kgdb, by virtue of having fbsd-threads.c in libgdb and having it do the exact same thing. Since fbsd-threads.c is not included in in libgdb when building a cross debugger, we ended up with more than 1 core file targets (the standard gdb core file target and kgdb's libkvm based core file target) and this behaves the same as not having a core target at all.
* When building a cross kgdb, link against the appropriate cross libkvm.marcel2013-12-282-2/+29
| | | | | Provide an implementation of ps_pglobal_lookup() for use by the cross libkvm.
* To avoid having to explicitly test COMPILER_TYPE for settingdim2013-12-224-12/+4
| | | | | | | | | | | | | | | 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 after: 1 week
* For gnu/lib/csu, only use gcc-specific flags when compiling with gcc.dim2013-12-221-4/+6
| | | | MFC after: 3 days
* gcc: Missing makefile changes for r258501.pfg2013-11-242-3/+4
| | | | pointyhat: me
* Fix cross compilation after r258428.andreast2013-11-212-2/+2
| | | | Reviewed by: pfg
* Revert r257691, r257645:gjb2013-11-061-13/+0
| | | | Let amd64/amd64 build again.
* Fix libgcc build with gcc after r257645, by using -Wno-static-in-inlinedim2013-11-051-0/+2
| | | | for clang only.
* Quiesce warning around gcc_assert() for an inline macro that usessbruno2013-11-041-0/+11
| | | | | | | | | | a static variable. This code has been moved around in gcc, but is still in use in the latest trunk version of the compiler. gnu/lib/libgcc/../../../contrib/gcc/unwind-dw2.c:208:36: warning: static variable 'dwarf_reg_size_table' is used in an inline function with external linkage [-Wstatic-in-inline] gcc_assert (index < (int) sizeof(dwarf_reg_size_table));
* Reimplement r257525 such that it work with the historic FreeBSD makebrooks2013-11-011-1/+6
| | | | | | | | | implementation. This fixes the toolchain and kernel-toolchain targets when building from older FreeBSD versions where make is fmake. Reported by: luigi Sponsored by: DARPA/AFRL MFC after: 3 days
OpenPOWER on IntegriCloud