aboutsummaryrefslogtreecommitdiff
path: root/gnu
Commit message (Collapse)AuthorAgeFilesLines
...
* | | | | | | | | Pull up vendor changes up to 2014-01-29Ulrich Spörlein2014-01-311-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - move local overrides into mdoc.local - syncs us with git commit 819839b66c80e8dabe6cb24ea6319c26c9a2be14 Discussed with: ru MFC after: 2 weeks Notes: svn path=/head/; revision=261319
* | | | | | | | | Merge from CheriBSD:Brooks Davis2014-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 Notes: svn path=/head/; revision=261296
* | | | | | | | | Add libexecinfo.Sergey Kandaurov2014-01-291-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | MFC after: 3 days Notes: svn path=/head/; revision=261267
* | | | | | | | | Add FreeBSD 2.2.9 which aout(4) references.Ulrich Spörlein2014-01-281-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Discussed with: kib Notes: svn path=/head/; revision=261248
* | | | | | | | | Revision 258428 changed gcc by virtue of having _bswapsi2 _bswapdi2 inMarcel Moolenaar2014-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 Notes: svn path=/head/; revision=260874
* | | | | | | | | Replace LIBGCC by LIBCOMPILER_RT.Ed Schouten2014-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. Notes: svn path=/head/; revision=260849
* | | | | | | | | For ia64, add _bswapsi2 & _bswapdi2. The audio/flac port uses theMarcel Moolenaar2014-01-181-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | bswap32 builtin and the compiler emits a call to the libgcc function rather than generating inline code. Notes: svn path=/head/; revision=260844
* | | | | | | | | When building a cross-kgdb, suppress the registration of theMarcel Moolenaar2014-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. Notes: svn path=/head/; revision=260601
* | | | | | | | | When building a cross kgdb, link against the appropriate cross libkvm.Marcel Moolenaar2013-12-282-2/+29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Provide an implementation of ps_pglobal_lookup() for use by the cross libkvm. Notes: svn path=/head/; revision=260027
* | | | | | | | | To avoid having to explicitly test COMPILER_TYPE for settingDimitry Andric2013-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 Notes: svn path=/head/; revision=259730
* | | | | | | | | For gnu/lib/csu, only use gcc-specific flags when compiling with gcc.Dimitry Andric2013-12-221-4/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | MFC after: 3 days Notes: svn path=/head/; revision=259720
* | | | | | | | | gcc: Missing makefile changes for r258501.Pedro F. Giffuni2013-11-242-3/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | pointyhat: me Notes: svn path=/head/; revision=258507
* | | | | | | | | Fix cross compilation after r258428.Andreas Tobler2013-11-212-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Reviewed by: pfg Notes: svn path=/head/; revision=258445
* | | | | | | | | Revert r257691, r257645:Glen Barber2013-11-061-13/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Let amd64/amd64 build again. Notes: svn path=/head/; revision=257733
* | | | | | | | | Fix libgcc build with gcc after r257645, by using -Wno-static-in-inlineDimitry Andric2013-11-051-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | for clang only. Notes: svn path=/head/; revision=257691
* | | | | | | | | Quiesce warning around gcc_assert() for an inline macro that usesSean Bruno2013-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)); Notes: svn path=/head/; revision=257645
* | | | | | | | | Reimplement r257525 such that it work with the historic FreeBSD makeBrooks Davis2013-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 Notes: svn path=/head/; revision=257530
* | | | | | | | | Enable the --sysroot=/foo option in ld by always building with a sysrootBrooks Davis2013-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 Notes: svn path=/head/; revision=257268
* | | | | | | | | Correct ld(1) manual page for --no-add-needed set as default after r253839Eygene Ryabinkin2013-10-281-19/+19
| |_|_|_|_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Approved by: dim MFC after: 2 weeks Notes: svn path=/head/; revision=257239
* | | | | | | | Bump OS versions in the toolchain triples to 11.0, and bump theDimitry Andric2013-10-101-2/+2
| |_|_|_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | __FreeBSD_cc_version predefined macros in clang and gcc. Approved by: re (gjb) Notes: svn path=/head/; revision=256298
* | | | | | | Turn it all the way up to 11:Glen Barber2013-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 Notes: svn path=/head/; revision=256284
* | | | | | | Revert r256095, r256120 (partial), r256121:Glen Barber2013-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 Notes: svn path=/head/; revision=256198
* | | | | | | Good bye RCS. You will be missed.Eitan Adler2013-10-0762-25597/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (devel/rcs and devel/rcs57 are available as alternatives) Approved by: core Approved by: re (hrs) Notes: svn path=/head/; revision=256095
* | | | | | | Remove long-unused GNU ar and ranlibEd Maste2013-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) Notes: svn path=/head/; revision=255974
* | | | | | | Update dialog to 1.2-20130923.Devin Teske2013-09-241-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Approved by: re (marius) Notes: svn path=/head/; revision=255852
* | | | | | | After r255321, clang uses libc++ by default. This leads to a lot ofDimitry Andric2013-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) Notes: svn path=/head/; revision=255500
* | | | | | On platforms where clang is the default compiler, don't build gcc or libstdc++.David Chisnall2013-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, ... Notes: svn path=/head/; revision=255321
* | | | | Remove our hacked GNU patch.Pedro F. Giffuni2013-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. Notes: svn path=/head/; revision=255191
* | | | | add support to gcc for AES and PCLMUL intrinsics... This addes theJohn-Mark Gurney2013-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 Notes: svn path=/head/; revision=255185
* | | | | Drop build option switch for the older GNU patch.Pedro F. Giffuni2013-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. Notes: svn path=/head/; revision=255014
* | | | | Teach libstdc++ about logl(3).Pedro F. Giffuni2013-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 Notes: svn path=/head/; revision=254295
* | | | | Add FreeBSD 9.2 to mdoc.local.Glen Barber2013-08-111-0/+1
| | | | | | | | | | | | | | | | | | | | Notes: svn path=/head/; revision=254223
* | | | | Part of r245761 makes "grep -D skip" broken for pipes, i.e.Andrey A. Chernov2013-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. Notes: svn path=/head/; revision=254093
* | | | | Make the BSD-licensed patch the default.Pedro F. Giffuni2013-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 Notes: svn path=/head/; revision=253689
* | | | | Properly handle input lines containing NUL characters such that pgets()David E. O'Brien2013-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. Notes: svn path=/head/; revision=252513
* | | | | Make it so that 'patch < FUBAR' and 'patch -i FUBAR' operate the same.David E. O'Brien2013-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. Notes: svn path=/head/; revision=252512
* | | | | Bump shlib for dialog because ABI has changed when version 1.2 was importedBaptiste Daroussin2013-06-231-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Reviewed by: kib Notes: svn path=/head/; revision=252129
* | | | | Fold in frame-unwind patchEd Maste2013-06-172-35/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | After moving to svn there's no need to avoid pulling files off a vendor branch. Notes: svn path=/head/; revision=251858
* | | | | lower the WARNS to 1 again until I have more time to figure out the problems ↵Baptiste Daroussin2013-06-171-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | with WARNS=4 Reported by: gavin Notes: svn path=/head/; revision=251845
* | | | | Update dialog to 1.2-20130523Baptiste Daroussin2013-06-173-13/+30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Level up WARNS Notes: svn path=/head/; revision=251843
* | | | | Fix some missing symbols in the libsupc++ Version.mapDavid Chisnall2013-06-161-0/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | MFC after: 1 week Notes: svn path=/head/; revision=251820
* | | | | Remove CVS from the base system.Eitan Adler2013-06-1513-1264/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Discussed with: many Reviewed by: peter, zi Approved by: core Notes: svn path=/head/; revision=251794
* | | | | Add a new knob WITH_DEBUG_FILES to control the building of standaloneEd Maste2013-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. Notes: svn path=/head/; revision=251512
* | | | | gcc: install AMD intrinsics header ammintrin.hPedro F. Giffuni2013-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 Notes: svn path=/head/; revision=251480
* | | | | Adjust CFLAGS to pick up correct regex.h and posix/regex.h. Note thisJung-uk Kim2013-06-062-4/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | actually reverts r250860 and r250861. Reported by: gjb, tinderbox Notes: svn path=/head/; revision=251468
* | | | | Connect libgnuregex 2.17 to the build.Jung-uk Kim2013-06-0512-11467/+51
| | | | | | | | | | | | | | | | | | | | Notes: svn path=/head/; revision=251438
* | | | | Don't look for headers outside of the source or object directories. InMarcel Moolenaar2013-05-211-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | particular, don't use DESTDIR. Such creates an unnecessary dependency on the build machine. Obtained from: Juniper Networks, Inc. Notes: svn path=/head/; revision=250861
* | | | | Don't look for headers outside of the source or object directories. InMarcel Moolenaar2013-05-211-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | particular, don't use DESTDIR. Such creates an unnecessary dependency on the build machine. Obtained from: Juniper Networks, Inc. Notes: svn path=/head/; revision=250860
* | | | | grep: change some int types.Pedro F. Giffuni2013-05-203-9/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change several int variables to size_t, ssize_t, or ptrdiff_t. This should fix the bug described in CVE-2012-5667 when an input line is so long that its length cannot be stored in an int variable. This is based on NetBSD's revision which says: This change to NetBSD's version of GNU grep 2.5.1 (licenced under GPLv2) was made without direct reference to any code licenced under GPLv3. Obtained from: NetBSD MFC after: 3 days Notes: svn path=/head/; revision=250823
* | | | | When gcc 4.2.0 was imported, the 3DNow intrinsics header <mm3dnow.h> wasDimitry Andric2013-05-081-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | not added to the list of intrinsics headers to install, so belatedly (5 years :) add it. MFC after: 1 week Notes: svn path=/head/; revision=250393