aboutsummaryrefslogtreecommitdiff
path: root/gnu
Commit message (Collapse)AuthorAgeFilesLines
* Bump GCC FBSD_CC_VER for r312899 (-march=octeon+ support)Ed Maste2017-02-011-1/+1
| | | | | | | | | | Reported by: lidl MFC after: 1 month MFC with: r312899 Sponsored by: The FreeBSD Foundation Notes: svn path=/head/; revision=313041
* Rename LLD_AS_LD to LLD_IS_LD, for consistency with CLANG_IS_CCEd Maste2017-01-271-1/+1
| | | | | | | Reported by: Dan McGregor <dan.mcgregor usask.ca> Notes: svn path=/head/; revision=312855
* Use SRCTOP-relative paths to other directories instead of .CURDIR-relative onesEnji Cooper2017-01-201-1/+1
| | | | | | | | | | This simplifies pathing in make/displayed output MFC after: 3 weeks Sponsored by: Dell EMC Isilon Notes: svn path=/head/; revision=312514
* Enable /usr/lib32 for o32 binaries on mips64.John Baldwin2017-01-062-1/+3
| | | | | | | | | | | | | Build and install an o32 set of libraries on mips64 suitable for running o32 binaries via COMPAT_FREEBSD32. Enable COMPAT_FREEBSD32 in MALTA64. Reviewed by: jmallett, imp Sponsored by: DARPA / AFRL Differential Revision: https://reviews.freebsd.org/D9032 Notes: svn path=/head/; revision=311567
* Add WITH_LLD_AS_LD build knobEd Maste2016-11-251-0/+2
| | | | | | | | | | | | | | If set it installs LLD as /usr/bin/ld. LLD (as of version 3.9) is not capable of linking the world and kernel, but can self-host and link many substantial applications. GNU ld continues to be used for the world and kernel build, regardless of how this knob is set. It is on by default for arm64, and off for all other CPU architectures. Sponsored by: The FreeBSD Foundation Notes: svn path=/head/; revision=309142
* Add full softfloat and hardfloat support for RISC-V.Ruslan Bukin2016-11-161-1/+1
| | | | | | | | | | | Hardfloat is now default (use riscv64sf as TARGET_ARCH for softfloat). Sponsored by: DARPA, AFRL Differential Revision: https://reviews.freebsd.org/D8529 Notes: svn path=/head/; revision=308731
* Connect new LLVM-based libgcc_eh & libgcc_s to the buildEd Maste2016-11-042-41/+4
| | | | | | | | | | | | | | | Compiler-rt and LLVM's libunwind provide a suitable replacement for libgcc.a, libgcc_eh.a, and libgcc_s.so. Remove the now-unused LLVM_LIBUNWIND block from gnu/lib/libgcc. PR: 213480 [exp-run] Reviewed by: brooks, ed Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D8189 Notes: svn path=/head/; revision=308308
* Fix packaging /usr/lib{,32}/libgcc_eh{,_p}.a.Glen Barber2016-10-311-2/+2
| | | | | | | | | Reported by: woodsb02 MFC after: 3 days Sponsored by: The FreeBSD Foundation Notes: svn path=/head/; revision=308156
* Add full softfloat and hardfloat support for MIPS.Ruslan Bukin2016-10-318-10/+10
| | | | | | | | | | | | | | This adds new target architectures for hardfloat: mipselhf mipshf mips64elhf mips64hf. Tested in QEMU only. Sponsored by: DARPA, AFRL Sponsored by: HEIF5 Differential Revision: https://reviews.freebsd.org/D8376 Notes: svn path=/head/; revision=308130
* Fix a typo from a manual merge.Justin Hibbits2016-10-221-1/+1
| | | | Notes: svn path=/head/; revision=307784
* Create a new MACHINE_ARCH for Freescale PowerPC e500v2Justin Hibbits2016-10-228-8/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Summary: The Freescale e500v2 PowerPC core does not use a standard FPU. Instead, it uses a Signal Processing Engine (SPE)--a DSP-style vector processor unit, which doubles as a FPU. The PowerPC SPE ABI is incompatible with the stock powerpc ABI, so a new MACHINE_ARCH was created to deal with this. Additionaly, the SPE opcodes overlap with Altivec, so these are mutually exclusive. Taking advantage of this fact, a new file, powerpc/booke/spe.c, was created with the same function set as in powerpc/powerpc/altivec.c, so it becomes effectively a drop-in replacement. setjmp/longjmp were modified to save the upper 32-bits of the now-64-bit GPRs (upper 32-bits are only accessible by the SPE). Note: This does _not_ support the SPE in the e500v1, as the e500v1 SPE does not support double-precision floating point. Also, without a new MACHINE_ARCH it would be impossible to provide binary packages which utilize the SPE. Additionally, no work has been done to support ports, work is needed for this. This also means no newer gcc can yet be used. However, gcc's powerpc support has been refactored which would make adding a powerpcspe-freebsd target very easy. Test Plan: This was lightly tested on a RouterBoard RB800 and an AmigaOne A1222 (P1022-based) board, compiled against the new ABI. Base system utilities (/bin/sh, /bin/ls, etc) still function appropriately, the system is able to boot multiuser. Reviewed By: bdrewery, imp Relnotes: yes Differential Revision: https://reviews.freebsd.org/D5683 Notes: svn path=/head/; revision=307761
* Revert r307689Enji Cooper2016-10-211-7/+2
| | | | | | | | | | | | | | | | | | | | | The proposed change ("Fix building of llvm's unwind if gcc has been also built") breaks the build with clang/llvm. Tested with... ( export SRCCONF=/dev/null WITH_CLANG= cd gnu/lib/libgcc; make obj; make depend; make all ) MFC after: 3 days X-MFC with: r307689 Pointyhat to: bapt Reported by: Jenkins, O. Hartmann <ohartman@zedat.fu-berlin.de> Sponsored by: Dell EMC Isilon Notes: svn path=/head/; revision=307699
* Fix building of llvm's unwind if gcc has been also builtBaptiste Daroussin2016-10-201-2/+7
| | | | | | | | | | | | | when building gcc an unwind.h header is generate in the cc_tool directory which is included in the CFLAGS before the path where the llvm's unwind.h file lives Reviewed by: emaste MFC after: 3 days Differential Revision: https://reviews.freebsd.org/D7357 Notes: svn path=/head/; revision=307689
* Correct typo in r307679: the variable is MK_GNU_GREP_COMPATEd Maste2016-10-201-1/+1
| | | | Notes: svn path=/head/; revision=307683
* Build libgnuregex only if necessary for other componentsEd Maste2016-10-201-1/+5
| | | | | | | | Reviewed by: brooks Differential Revision: https://reviews.freebsd.org/D8298 Notes: svn path=/head/; revision=307679
* Remove trailing whitespace from r307674Ed Maste2016-10-201-2/+2
| | | | Notes: svn path=/head/; revision=307675
* Add knobs to make GNU diff and GNU grep optionalEd Maste2016-10-201-4/+2
| | | | | | | | | | | | | | | | | | | This is added to facilitate experiments building FreeBSD without copyleft software. If WITHOUT_GNU_DIFF is set no /usr/bin/diff or /usr/bin/diff3 will be built. If WITHOUT_GNU_GREP is set then BSD grep will be installed as /usr/bin/bsdgrep or /usr/bin/grep, depending on the WITH_BSD_GREP knob. Reviewed by: brooks (earlier) Sponsored by: The FreeBSD Foundation Differential Revision: Differential Revision: https://reviews.freebsd.org/D8288 Notes: svn path=/head/; revision=307674
* Switch gnu/usr.bin/Makefile to SUBDIR.${MK_*} optional subdir styleEd Maste2016-10-191-31/+10
| | | | Notes: svn path=/head/; revision=307659
* Put each SUBDIR on a separate line for ease of maintenanceEd Maste2016-10-191-1/+3
| | | | | | | | | Additional patches to this file are in progress, and having each SUBDIR entry on a separate line makes it easier to change the order in which the patches are reviewed, tested, and applied. Notes: svn path=/head/; revision=307656
* Switch gnu/lib/Makefile to SUBDIR.${MK_*} optional subdir styleEd Maste2016-10-191-12/+3
| | | | | | | Compound conditions are left unchanged Notes: svn path=/head/; revision=307652
* Remove GNU rcs from base.Baptiste Daroussin2016-10-1569-25317/+0
| | | | | | | | | | | GNU rcs is still available as a package: - rcs: Latest GPLv3 GNU rcs version. - rcs57: Copy of the latest version of GNU rcs (GPLv2) from base. Relnotes: yes Notes: svn path=/head/; revision=307351
* Avoid using 'head' in generating groff doc dateEd Maste2016-10-121-2/+1
| | | | | | | | | | | | | | | It may not be available in certain cross build cases. Note that this is a slight change in functionality, in that now only the first line of the source ChangeLog file is processed. This is acceptable as groff will be retired and we won't encounter a possibly-different ChangeLog format. Reported by: jhibbits Tested by: jhibbits Notes: svn path=/head/; revision=307150
* groff: use changelog date rather than file modification date in man pagesEd Maste2016-10-052-1/+11
| | | | | | | | | | | | | The source checkout date is not particularly relevant, and this makes groff man pages build reproducibly. Reviewed by: bapt MFC after: 2 weeks Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D8158 Notes: svn path=/head/; revision=306740
* Retire WITHOUT_ELFCOPY_AS_OBJCOPY optionEd Maste2016-10-031-6/+1
| | | | | | | | | | | | | | | | | In FreeBSD 11 ELF Tool Chain's elfcopy is installed as objcopy by default, with the option to switch back to GNU objcopy by setting WITHOUT_ELFCOPY_AS_OBJCOPY in make.conf. We plan to remove the outdated in-tree binutils in FreeBSD 12, so remove the temporary transition aid. Reviewed by: brooks, imp Relnotes: Yes Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D7337 Notes: svn path=/head/; revision=306649
* Don't build libdialog if WITHOUT_DIALOG is setEd Maste2016-10-031-1/+3
| | | | | | | X-MFC-With: r306375 Notes: svn path=/head/; revision=306648
* Add a WITHOUT_DIALOG src.conf(5) knobEd Maste2016-09-271-1/+2
| | | | | | | | | | | It also turns off dependencies (bsdinstall, bsdconfig, dpv, tzsetup). Reviewed by: dteske Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D7969 Notes: svn path=/head/; revision=306375
* When MAKEOBJDIRPREFIX points to a case-insensitive file system, theMarcel Moolenaar2016-09-242-8/+8
| | | | | | | | | | | | | | | | | build can break when different source files create the same target files (case-insensitivity speaking). This is the case for object files compiled with -fpic and shared libraries. The former uses an extension of ".So", and the latter an extension ".so". Rename shared object files from *.So to *.pico to match what NetBSD does. See also r305855 MFC after: 1 month Sponsored by: Bracket Computing Differential Revision: https://reviews.freebsd.org/D7906 Notes: svn path=/head/; revision=306297
* DIRDEPS_BUILD: Avoid cyclic dependency with libc++.Bryan Drewery2016-08-311-0/+4
| | | | | | | | | | | | The DIRDEPS_BUILD does not have a 'make includes' phase, so it would otherwise want libc++ to be fully built/staged before building libgcc. Using the header directly works. MFC after: 3 days Sponsored by: EMC / Isilon Storage Division Notes: svn path=/head/; revision=305145
* rename ARM's libunwind.S to to avoid conflict with llvm libunwindEd Maste2016-07-271-1/+1
| | | | | | | | | | | | | | llvm libunwind includes a libunwind.cpp, but on ARM libunwind.S is found first in .PATH. Rename the latter one, since it is not going to be updated again. Reviewed by: andrew MFC after: 3 days Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D7162 Notes: svn path=/head/; revision=303396
* Back out non-collating [a-z] ranges.Andrey A. Chernov2016-07-141-5/+0
| | | | | | | | | | | Instead of changing the whole course to another POSIX-permitted way for consistency and uniformity I decide to completely ignore missing regex fucntionality and focus on fixing bugs in what we have now, too many small obstacles we have choicing other way, counting ports. Corresponding libc changes are backed out in r302824. Notes: svn path=/head/; revision=302833
* After removing collation for [a-z] ranges in r302512, do it here too.Andrey A. Chernov2016-07-131-0/+5
| | | | | | | | | | | | | | Instead of trying to expand whole range at regcomp() stage as we do, GNU regex allocates separate ranges [start,end] set each character is checked against, so collation is possible and turned on for ranges here. When something like that will be implemented or our obsoleted regex code will be replaced to something like TRE, and in case we decide to use collation in [a-z] ranges, all changes related to r302512 can be backed out, but now we need consistency. Notes: svn path=/head/; revision=302781
* Revert r302670 and r302671 for now.Bryan Drewery2016-07-134-4/+4
| | | | | | | | MACHINE_CPUARCH smells like MACHINE except for arm64/aarch64 which has it backwards. Notes: svn path=/head/; revision=302690
* Create one list of replacements for MACHINE_CPUARCH as MACHINE_CPUARCH_SUB.Bryan Drewery2016-07-124-4/+4
| | | | | | | | | | | | | This also adds missing s/aarch64/arm64 to the sys.mk version and also adds back armv6hf for universe since it was added to the sys.mk version in r300438. MFC after: 3 days Sponsored by: EMC / Isilon Storage Division Differential Revision: https://reviews.freebsd.org/D7159 Notes: svn path=/head/; revision=302670
* libunwind: enable only the native unwinder by defaultEd Maste2016-07-081-1/+1
| | | | | | | | | | | This significantly reduces stack space requirements, and runtimes require only native unwinding. MFC after: 1 week Sponsored by: The FreeBSD Foundation Notes: svn path=/head/; revision=302456
* Spell 10.2, 10.3, 12.0 correctly in various places.Glen Barber2016-07-081-3/+3
| | | | | | | | | | Submitted by: markj Approved by: re (implicit) Pointyhat: gjb (myself) Sponsored by: The FreeBSD Foundation Notes: svn path=/head/; revision=302419
* Default manual pages to 12.0 in head, and add missing 10.xGlen Barber2016-07-081-1/+3
| | | | | | | | | | releases. Approved by: re (implicit) Sponsored by: The FreeBSD Foundation Notes: svn path=/head/; revision=302414
* Spell 1200000 correctly.Glen Barber2016-07-081-1/+1
| | | | | | | | Approved by: re (implicit) Sponsored by: The FreeBSD Foundation Notes: svn path=/head/; revision=302413
* Reflect head is now 12.0-CURRENT.Glen Barber2016-07-082-2/+3
| | | | | | | | Approved by: re (implicit) Sponsored by: The FreeBSD Foundation Notes: svn path=/head/; revision=302409
* WITH_META_MODE: Don't expect a .meta file for side-effect generated files.Bryan Drewery2016-06-151-1/+1
| | | | | | | | | | This is the same as r301285. Approved by: re (implicit) Sponsored by: EMC / Isilon Storage Division Notes: svn path=/head/; revision=301936
* Convert to new FAST_DEPEND syntax for guessed dependencies.Bryan Drewery2016-06-152-37/+35
| | | | | | | | | | | | | | | | This OBJS_DEPEND_GUESS is needed since each target gets its own .depend.target.o file but also because it is spelled .meta.target.o with WITH_META_MODE. The OBJS_DEPEND_GUESS will apply the dependency if the required file is missing. Also remove redundant .c files while here to avoid prolems with targets using .ALLSRC and getting multiple source files. Approved by: re (implicit) Sponsored by: EMC / Isilon Storage Division Notes: svn path=/head/; revision=301934
* DIRDEPS_BUILD: Update dependenciesBryan Drewery2016-06-141-0/+1
| | | | | | | | Approved by: re (gjb) Sponsored by: EMC / Isilon Storage Division Notes: svn path=/head/; revision=301891
* libsupc++: Fix typo in symbol map.Pedro F. Giffuni2016-06-081-1/+1
| | | | | | | | | | | This went mostly unnoticed with the deprecation of the GNU toolchain in tier 1 platforms. Fix it now for the rest. PR: 169901 MFC after: 3 days Notes: svn path=/head/; revision=301570
* DIRDEPS_BUILD: Update GCC dependencies.Bryan Drewery2016-06-047-4/+7
| | | | | | | Sponsored by: EMC / Isilon Storage Division Notes: svn path=/head/; revision=301402
* DIRDEPS_BUILD: Connect new directories and update dependencies.Bryan Drewery2016-06-032-0/+2
| | | | | | | Sponsored by: EMC / Isilon Storage Division Notes: svn path=/head/; revision=301283
* gcc42: Fix minor C99 parse bugConrad Meyer2016-05-271-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | DR #289[0] came down and gcc4.2.1 was on the wrong side of history. Partially revert GCC r42574 (just remove the error) to rectify the parse bug to match Clang and other compliant C99 compilers. An example declaration gcc tripped on before this fix: void foobar(int [static 1]); An example declaration gcc did not trip on before this fix: void foobar(int name[static 1]); Bump __FreeBSD_cc_version. [0]: http://www.open-std.org/JTC1/SC22/WG14/www/docs/dr_289.htm Reported by: allanjude Sponsored by: EMC / Isilon Storage Division Notes: svn path=/head/; revision=300822
* gnugrep: Update the configuration.Pedro F. Giffuni2016-05-221-2/+2
| | | | | | | | | The only effect is that it will use our native iconv(3). Relnotes: yes Notes: svn path=/head/; revision=300435
* WITH_META_MODE: Avoid rebuilds of cc_tools during target build.Bryan Drewery2016-05-211-17/+19
| | | | | | | | | This is the same as r299289 and r297997. Sponsored by: EMC / Isilon Storage Division Notes: svn path=/head/; revision=300347
* Make armv6 hard float abi by default. Kill armv6hf.Warner Losh2016-05-184-4/+4
| | | | | | | | | | Allow CPUTYPE=soft to build the current soft-float abi libraries. Add UPDATING entry to announce this. Approved by: re@ (gjb) Notes: svn path=/head/; revision=300119
* Merge ^/user/ngie/release-pkg-fix-tests to unbreak how test files are installedEnji Cooper2016-05-044-29/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | after r298107 Summary of changes: - Replace all instances of FILES/TESTS with ${PACKAGE}FILES. This ensures that namespacing is kept with FILES appropriately, and that this shouldn't need to be repeated if the namespace changes -- only the definition of PACKAGE needs to be changed - Allow PACKAGE to be overridden by callers instead of forcing it to always be `tests`. In the event we get to the point where things can be split up enough in the base system, it would make more sense to group the tests with the blocks they're a part of, e.g. byacc with byacc-tests, etc - Remove PACKAGE definitions where possible, i.e. where FILES wasn't used previously. - Remove unnecessary TESTSPACKAGE definitions; this has been elided into bsd.tests.mk - Remove unnecessary BINDIRs used previously with ${PACKAGE}FILES; ${PACKAGE}FILESDIR is now automatically defined in bsd.test.mk. - Fix installation of files under data/ subdirectories in lib/libc/tests/hash and lib/libc/tests/net/getaddrinfo - Remove unnecessary .include <bsd.own.mk>s (some opportunistic cleanup) Document the proposed changes in share/examples/tests/tests/... via examples so it's clear that ${PACKAGES}FILES is the suggested way forward in terms of replacing FILES. share/mk/bsd.README didn't seem like the appropriate method of communicating that info. MFC after: never probably X-MFC with: r298107 PR: 209114 Relnotes: yes Tested with: buildworld, installworld, checkworld; buildworld, packageworld Sponsored by: EMC / Isilon Storage Division Notes: svn path=/head/; revision=299094
* import sdiff(1) from GSoC 2012Baptiste Daroussin2016-04-294-58/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Import sdiff(1) from the diff version written by Raymond Lai, improved during GSoC 2012 by Jesse Hagewood. Compared to the version done in during that summer of code: - Remove the zlib frontend: zsdiff - Compatible output (column size and separators) with GNU sdiff Compared to GNU sdiff in ports: - The only difference is padding using spaces vs tabs Compared to OpenBSD and NetBSD import: - Implement missing options (including long options) from GNU sdiff - Improved support for the edition mode (signal handling) - Output visually compatible with GNU sdiff: size of columns While here import regression tests from NetBSD adapted to fit the output as expected by GNU sdiff Reviewed by: emaste (in part) Obtained from: OpenBSD, NetBSD, GSoC 2012 Relnotes: yes Differential Revision: https://reviews.freebsd.org/D5981 Differential Revision: https://reviews.freebsd.org/D6032 (diff with NetBSD version) Differential Revision: https://reviews.freebsd.org/D6033 (diff with OpenBSD version) Notes: svn path=/head/; revision=298823