summaryrefslogtreecommitdiffstats
path: root/gnu
Commit message (Collapse)AuthorAgeFilesLines
* 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
* Enable the --sysroot=/foo option in ld by always building with a sysrootbrooks2013-10-281-1/+1
| | | | | | | defined. When not building as a cross linker, the sysroot is set to "/". Exp-run by: bdrewery (ports/183206) MFC after: 3 days
* Correct ld(1) manual page for --no-add-needed set as default after r253839rea2013-10-281-19/+19
| | | | | Approved by: dim MFC after: 2 weeks
* Bump OS versions in the toolchain triples to 11.0, and bump thedim2013-10-101-2/+2
| | | | | | __FreeBSD_cc_version predefined macros in clang and gcc. Approved by: re (gjb)
* Turn it all the way up to 11:gjb2013-10-101-1/+2
| | | | | | | | | | | | | - Update FreeBSD version in: - UPDATING - sys/conf/newvers.sh - Add 11.0 FreeBSD version for manual pages - Bump __FreeBSD_version to 1100000 Approved by: re (implicit) Sponsored by: The FreeBSD Foundation
* 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.
OpenPOWER on IntegriCloud