aboutsummaryrefslogtreecommitdiff
path: root/gnu
Commit message (Collapse)AuthorAgeFilesLines
* Updated dependenciesSimon J. Gerraty2013-02-16105-210/+0
| | | | Notes: svn path=/projects/bmake/; revision=246868
* Sync with HEAD.David E. O'Brien2013-02-0827-43/+156
|\ | | | | | | Notes: svn path=/projects/bmake/; revision=246555
| * - Add a BSD-licensed patch, ported by Pedro F. Giffuni (pfg) fromGabor Kovesdan2013-01-291-1/+12
| | | | | | | | | | | | | | | | | | | | | | DragonflyBSD and install it as bsdpatch. WITH_BSD_PATCH makes it default and installs GNU patch as gnupatch. Submitted by: pfg Obtained from: The DragonflyBSD Project Notes: svn path=/head/; revision=246074
| * Fix some symbol version mismatches between libstdc++ and libsupc++/libcxxrtDavid Chisnall2013-01-281-0/+29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | that were causing the runtime and STL libraries to see different versions of various classes and functions when libstdc++ is used as a filter. Note: This changes the ABI for libcxxrt, but libcxxrt is currently only in -STABLE for testing and is not used by anything unless explicitly enabled by the end user. No default compiler configurations use it. libc++ will need to be recompiled after this change. make buildworld will do this automatically, but make in lib/libc++ will not necessarily work unless the new libcxxrt is installed first. PR: kern/171610, stand/175453 Reviewed by: kib MFC after: 1 week Notes: svn path=/head/; revision=246028
| * bsd.own.mk needs to be included before Makefil.inc so MK_ARM_EABI is definedAndrew Turner2013-01-251-3/+3
| | | | | | | | Notes: svn path=/head/; revision=245898
| * Reorder so that NO_MAN is declared before bsd.own.mk is included and thusBrooks Davis2013-01-241-6/+7
| | | | | | | | | | | | | | | | has an effect (not installed a g++.1 manpage over the g++.1(.gz) link created in ../cc). Notes: svn path=/head/; revision=245882
| * Import new (BSDL) device tree compiler. Now built by default, so that it can'tDavid Chisnall2013-01-221-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | be used on the host system (and not installed on the device, if required). The GPL'd one is still available if there are any devices that need it (make universe passes with it, including kernels that use fdt, but there may be some out-of-tree ones). WITH_GPL_DTC can be used to select the old one, for now. Probably won't be MFC'd, but we'll remove the GPL'd version in head after the new one has had a lot more testing and ship it in 10.0. Notes: svn path=/head/; revision=245803
| * Make "-D skip" option work with FIFO by opening file in non-blocking mode.David Xu2013-01-221-2/+6
| | | | | | | | | | | | | | | | Reviewed by: jhb Tested by: delphij Notes: svn path=/head/; revision=245761
| * Add command-line support to kgdb to allow the baudrate to be set.Adrian Chadd2013-01-211-1/+14
| | | | | | | | | | | | | | | | | | | | | | | | This allows a remote session to be specified with '-r' as well as a non-default baudrate setting using '-b'. TODO: add to the kgdb manpage. MFC after: 2 weeks Notes: svn path=/head/; revision=245705
| * Add compiler support for the ARM EABI.Andrew Turner2013-01-1716-12/+69
| | | | | | | | | | | | | | | | | | ARM EABI support is disabled by default and can be enabled by setting WITH_ARM_EABI when building, however only the kernel-toolchain target will work with this flag until the rest of the support is added. Notes: svn path=/head/; revision=245539
| * Set the correct relocation type for R_ARM_TARGET2 to R_ARM_GOT_PREL. TheAndrew Turner2013-01-062-0/+2
| | | | | | | | | | | | | | | | TARGET2 relocation is unused in the current ABI but this change is required for EABI support. Notes: svn path=/head/; revision=245101
| * Fix a dependencyAntoine Brodin2013-01-011-1/+1
| | | | | | | | Notes: svn path=/head/; revision=244933
| * Revert r241818 that updated dialog to 20120706. This turns out to horriblyNathan Whitehorn2012-12-301-16/+5
| | | | | | | | | | | | | | | | | | break mixed form dialogs in conjunction with the FreeBSD termcap, making the bsdinstall partition editor Add dialog, among other things, completely nonfunctional. This restores dialog 20110707. Notes: svn path=/head/; revision=244850
| * Get libcompiler-rt and libgcc building on ARM with clang.Andrew Turner2012-12-181-1/+8
| | | | | | | | | | | | | | | | | | | | * Don't provide clear_cache or the __sync_* functions on ARM with clang as they are provided by clang as builtin functions. * Tell clang it is aloud to compile some libgcc code using heinous GCC extensions. Notes: svn path=/head/; revision=244382
| * More correct version of prev. fix.Andrey A. Chernov2012-12-181-1/+1
| | | | | | | | Notes: svn path=/head/; revision=244377
| * Fix:Andrey A. Chernov2012-12-171-1/+1
| | | | | | | | | | | | | | | | line 11: Malformed conditional (${TARGET} == "arm" || ${TARGET_ARCH} == "powerpc64") Notes: svn path=/head/; revision=244362
| * Also remove -Werror on arm with clang as there are warnings.Andrew Turner2012-12-151-1/+1
| | | | | | | | Notes: svn path=/head/; revision=244277
| * Clean up hardcoded ar(1) flags in the tree to use the global ARFLAGS inEitan Adler2012-12-062-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | share/mk/sys.mk instead. This is part of a medium term project to permit deterministic builds of FreeBSD. Submitted by: Erik Cederstrand <erik@cederstrand.dk> Reviewed by: imp, toolchain@ Approved by: cperciva MFC after: 2 weeks Notes: svn path=/head/; revision=243933
* | Correct the r242545 sync with head@242525.David E. O'Brien2013-02-077-1594/+0
|\| | | | | | | Notes: svn path=/projects/bmake/; revision=246449
* | We need /backward too it seemsSimon J. Gerraty2012-11-081-0/+4
| | | | | | | | Notes: svn path=/projects/bmake/; revision=242796
* | Updated/new Makefile.dependSimon J. Gerraty2012-11-0816-24/+122
| | | | | | | | Notes: svn path=/projects/bmake/; revision=242788
* | Sync from headSimon J. Gerraty2012-11-0427-123/+77
|\| | | | | | | Notes: svn path=/projects/bmake/; revision=242545
| * For building GNU libstdc++ and libsupc++, filter out libc++-specific andDimitry Andric2012-10-232-2/+6
| | | | | | | | | | | | | | | | | | | | | | -std= flags above c++98 or gnu++98 from CXXFLAGS *after* including bsd.lib.mk, otherwise some additions to CXXFLAGS done in bsd.*.mk might not be preserved. MFC after: 1 week Notes: svn path=/head/; revision=241960
| * Add support for the "&" character in usernames.Eitan Adler2012-10-221-3/+8
| | | | | | | | | | | | | | | | | | | | | | | | Charlie & finally has his last name. PR: gnu/37910 Submitted by: Harry Newton <harry_newton@telinco.co.uk> Approved by: cperciva MFC after: 1 week Notes: svn path=/head/; revision=241857
| * Update dialog to 20120706: includes minor useability enhancements andNathan Whitehorn2012-10-211-5/+16
| | | | | | | | | | | | | | fixes for warnings encountered with clang. Notes: svn path=/head/; revision=241818
| * - Remove GNU sort and the WITH_GNU_SORT knobGabor Kovesdan2012-10-136-1572/+0
| | | | | | | | Notes: svn path=/head/; revision=241511
| * Add support for bmake. This includes:Marcel Moolenaar2012-10-062-3/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1. Don't do upgrade_checks when using bmake. As long as we have WITH_BMAKE, there's a bootstrap complication in ths respect. Avoid it. Make the necessary changes to have upgrade_checks work wth bmake anyway. 2. Remove the use of -E. It's not needed in our build because we use ?= for the respective variables, which means that we'll take the environment value (if any) anyway. 3. Properly declare phony targets as phony as bmake is a lot smarter (and thus agressive) about build avoidance. 4. Make sure CLEANFILES is complete and use it on .NOPATH. bmake is a lot smarter about build avoidance and should not find files we generate in the source tree. We should not have files in the repository we want to generate, but this is an easier way to cross this hurdle. 5. Have behavior under bmake the same as it is under make with respect to halting when sub-commands fail. Add "set -e" to compound commands so that bmake is informed when sub-commands fail. 6. Make sure crunchgen uses the same make as the rest of the build. This is important when the make utility isn't called make (but bmake for example). 7. While here, add support for using MAKEOBJDIR to set the object tree location. It's the second alternative bmake looks for when determining the actual object directory (= .OBJDIR). Submitted by: Simon Gerraty <sjg@juniper.net> Submitted by: John Van Horne <jvanhorne@juniper.net> Notes: svn path=/head/; revision=241298
| * For building libstdc++ and libsupc++, filter out any -stdlib=libc++Dimitry Andric2012-08-252-0/+2
| | | | | | | | | | | | | | | | | | | | | | option from CXXFLAGS, otherwise these libraries will not build. Similarly, filter out any -std=xxx options that aren't supported. Submitted by: Yamaya Takashi <yamayan@kbh.biglobe.ne.jp> MFC after: 2 weeks Notes: svn path=/head/; revision=239695
| * Dont use -Werror when building libbfd and gnu as on powerpc64 with clangRoman Divacky2012-08-242-0/+5
| | | | | | | | | | | | | | | | | | as there are warnings. Reviewed by: nwhitehorn Notes: svn path=/head/; revision=239654
| * A workaround in r238563 was for makes (notably bmake) without theRuslan Ermilov2012-08-241-5/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | internal knowledge that "cd" is a shell's built-in. Such makes may attempt to exec() "cd" that in turn will fail on systems that lack the "cd" executable. Reworked this by eliminating the root cause. Submitted by: Simon Gerraty <sjg@juniper.net> Notes: svn path=/head/; revision=239640
| * Fix typo. Not a win in terms of functionality but in terms of completeness.Andreas Tobler2012-08-191-1/+1
| | | | | | | | Notes: svn path=/head/; revision=239396
| * Catch up with the subversion conversion and apply these build-time patches.David E. O'Brien2012-08-173-85/+0
| | | | | | | | Notes: svn path=/head/; revision=239360
| * Merging of projects/armv6, part 3Oleksandr Tymoshenko2012-08-158-10/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | r238211: Support TARGET_ARCH=armv6 and TARGET_ARCH=armv6eb This adds a new TARGET_ARCH for building on ARM processors that support the ARMv6K multiprocessor extensions. In particular, these processors have better support for TLS and mutex operations. This mostly touches a lot of Makefiles to extend existing patterns for inferring CPUARCH from ARCH. It also configures: * GCC to default to arm1176jz-s * GCC to predefine __FreeBSD_ARCH_armv6__ * gas to default to ARM_ARCH_V6K * uname -p to return 'armv6' * make so that MACHINE_ARCH defaults to 'armv6' It also changes a number of headers to use the compiler __ARM_ARCH_XXX__ macros to configure processor-specific support routines. Submitted by: Tim Kientzle <kientzle@freebsd.org> Notes: svn path=/head/; revision=239272
| * Backed out r228904, and added libstdthreads support to mdoc(7) to whereRuslan Ermilov2012-07-261-0/+1
| | | | | | | | | | | | | | it belongs. Notes: svn path=/head/; revision=238799
| * Backed out r236255, and added FreeBSD 9.1 support to mdoc(7) to whereRuslan Ermilov2012-07-261-0/+1
| | | | | | | | | | | | | | it belongs. Notes: svn path=/head/; revision=238798
| * a ";" tells make we want the shell to be usedDavid E. O'Brien2012-07-181-1/+1
| | | | | | | | | | | | | | Submitted by: Simon Gerraty <sjg@juniper.net> Notes: svn path=/head/; revision=238563
| * After the binutils 2.17.50 import, the assembler supports AS_REL16Nathan Whitehorn2012-07-081-1/+1
| | | | | | | | | | | | | | relocations. Notes: svn path=/head/; revision=238255
| * - Switch to BSD sort as default sort. GNU sort will still be installed asGabor Kovesdan2012-06-271-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | "gnusort". Most of the BSD sort development work was done by Oleg Moskalenko <oleg.moskalenko@citrix.com>. - GNU grep can be set to default by setting WITH_GNU_GREP. It will cause BSD sort to be installed as "bsdsort". Portbuild tested by: linimon Notes: svn path=/head/; revision=237629
| * Turn on TLS support for arm on here as it is supported since r231618/Marius Strobl2012-06-142-2/+2
| | | | | | | | | | | | | | r231619 and working since r233106. Notes: svn path=/head/; revision=237098
| * Clean up some symbol versions for libsupc++ / libcxxrt.David Chisnall2012-06-111-14/+10
| | | | | | | | | | | | | | | | MFC after: 1 week Reviewed by: kan Notes: svn path=/head/; revision=236890
| * Add mangled symbols for operator new / delete on 64-bit platforms.Dag-Erling Smørgrav2012-06-051-1/+9
| | | | | | | | | | | | | | | | Reported by: decke@ MFC after: 1 week Notes: svn path=/head/; revision=236614
* | Sync FreeBSD's bmake branch with Juniper's internal bmake branch.Marcel Moolenaar2012-08-22124-3/+4518
|/ | | | | | | Requested by: Simon Gerraty <sjg@juniper.net> Notes: svn path=/projects/bmake/; revision=239572
* Correctly export operator new / delete for things linking against libsupc++ butDavid Chisnall2012-05-281-0/+10
| | | | | | | | | | | | | | not libstdc++. Unfortunately, it appears that libsupc++ / libstdc++ have a different idea of the type of size_t to the rest of the world, which may cause problems later on... Reported by: des MFC after: 1 week Notes: svn path=/head/; revision=236177
* Don't recurse into libssp when MK_SSP is set to no.Marcel Moolenaar2012-05-211-1/+5
| | | | Notes: svn path=/head/; revision=235727
* Print key value, an index, otherwise we don't know which key is allocated.David Xu2012-05-211-1/+1
| | | | Notes: svn path=/head/; revision=235714
* Build the "S" objects with the same name they get installed under.Marcel Moolenaar2012-05-171-4/+4
| | | | | | | | | | That is, build crtbeginS.o and crtendS.o instead of crtbegin.So and crtend.So. Remove the name substitution during install. Obtained from: Juniper Networks, Inc. Notes: svn path=/head/; revision=235566
* Switch sparc64 to using libcompiler_rt; since r230021 we have a workaroundMarius Strobl2012-05-151-1/+1
| | | | | | | | in place allowing it to be used there and since r235388 (see also r235486) we also have usable div/mod optimizations like libgcc has. Notes: svn path=/head/; revision=235487
* - Hook up BSD sort to the build. By default, it will be installed asGabor Kovesdan2012-05-111-0/+11
| | | | | | | | | "bsdsort" and GNU sort will be the default "sort". When WITH_BSD_SORT is set, BSD sort will be the default "sort" and GNU sort will be installed as "gnusort". Notes: svn path=/head/; revision=235268
* General mdoc(7) and typo fixes.Glen Barber2012-05-105-6/+6
| | | | | | | | | PR: 167696 Submitted by: Nobuyuki Koganemaru (kogane!jp.freebsd.org) MFC after: 3 days Notes: svn path=/head/; revision=235211
* Add src.conf option WITH_SHARED_TOOLCHAIN to enable building theKonstantin Belousov2012-04-297-2/+22
| | | | | | | | | | | toolchain binaries as dynamically linked. Option is disabled by default. Reviewed by: ru (previous version) MFC after: 2 weeks Notes: svn path=/head/; revision=234782