summaryrefslogtreecommitdiffstats
path: root/gnu
Commit message (Collapse)AuthorAgeFilesLines
* For building libstdc++ and libsupc++, filter out any -stdlib=libc++dim2012-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
* Dont use -Werror when building libbfd and gnu as on powerpc64 with clangrdivacky2012-08-242-0/+5
| | | | | | as there are warnings. Reviewed by: nwhitehorn
* A workaround in r238563 was for makes (notably bmake) without theru2012-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>
* Fix typo. Not a win in terms of functionality but in terms of completeness.andreast2012-08-191-1/+1
|
* Catch up with the subversion conversion and apply these build-time patches.obrien2012-08-173-85/+0
|
* Merging of projects/armv6, part 3gonzo2012-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>
* Backed out r228904, and added libstdthreads support to mdoc(7) to whereru2012-07-261-0/+1
| | | | it belongs.
* Backed out r236255, and added FreeBSD 9.1 support to mdoc(7) to whereru2012-07-261-0/+1
| | | | it belongs.
* a ";" tells make we want the shell to be usedobrien2012-07-181-1/+1
| | | | Submitted by: Simon Gerraty <sjg@juniper.net>
* After the binutils 2.17.50 import, the assembler supports AS_REL16nwhitehorn2012-07-081-1/+1
| | | | relocations.
* - Switch to BSD sort as default sort. GNU sort will still be installed asgabor2012-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
* Turn on TLS support for arm on here as it is supported since r231618/marius2012-06-142-2/+2
| | | | r231619 and working since r233106.
* Clean up some symbol versions for libsupc++ / libcxxrt.theraven2012-06-111-14/+10
| | | | | MFC after: 1 week Reviewed by: kan
* Add mangled symbols for operator new / delete on 64-bit platforms.des2012-06-051-1/+9
| | | | | Reported by: decke@ MFC after: 1 week
* Correctly export operator new / delete for things linking against libsupc++ buttheraven2012-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
* Don't recurse into libssp when MK_SSP is set to no.marcel2012-05-211-1/+5
|
* Print key value, an index, otherwise we don't know which key is allocated.davidxu2012-05-211-1/+1
|
* Build the "S" objects with the same name they get installed under.marcel2012-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.
* Switch sparc64 to using libcompiler_rt; since r230021 we have a workaroundmarius2012-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.
* - Hook up BSD sort to the build. By default, it will be installed asgabor2012-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".
* General mdoc(7) and typo fixes.gjb2012-05-105-6/+6
| | | | | | PR: 167696 Submitted by: Nobuyuki Koganemaru (kogane!jp.freebsd.org) MFC after: 3 days
* Add src.conf option WITH_SHARED_TOOLCHAIN to enable building thekib2012-04-297-2/+22
| | | | | | | | toolchain binaries as dynamically linked. Option is disabled by default. Reviewed by: ru (previous version) MFC after: 2 weeks
* Allow building a powerpc cross-kgdb.marcel2012-04-271-0/+5
|
* Revert r234356 for now, as it leads to run-time problems on 32-bitdim2012-04-231-1/+0
| | | | | | | PowerPC. Note this will break world. Reported by: andreast Pointy hat to: dim
* Replace a bare use of nm with ${NM} for easier cross compilation inimp2012-04-211-2/+2
| | | | environments where nm is spelled differently.
* Work around an issue on 32-bit PowerPC, where clang executable can getdim2012-04-161-0/+1
| | | | | | too big, causing 'relocation truncated to fit' errors at link time. Reviewed by: nwhitehorn
* Make libsupc++ build as a shared library and make libstdc++ a filter librarytheraven2012-03-313-2/+144
| | | | | | | | | for it. This allows people to swap out libsupc++ for libcxxrt easily, so we can begin the libstdc++ -> libc++ migration. Approved by: dim (mentor)
* Assume a big-endian default on MIPS and drop the "eb" suffix from MACHINE_ARCH.jmallett2012-03-295-7/+9
| | | | | | | | | | | | | | | This makes our naming scheme more closely match other systems and the expectations of much third-party software. MIPS builds which are little-endian should require and exhibit no changes. Big-endian TARGET_ARCHes must be changed: From: To: mipseb mips mipsn32eb mipsn32 mips64eb mips64 An entry has been added to UPDATING and some foot-shooting protection (complete with warnings which should become errors in the near future) to the top-level base system Makefile.
* Make default ABI for as(1) to be the same as target platform.gonzo2012-03-232-1/+11
| | | | | This change makes object files compiled with default flags by gcc and as compatible.
* Note two shortcomings of GDB on MIPS that should be addressed.jmallett2012-03-131-0/+3
|
* Add a WITH_CLANG_IS_CC option for src.conf(5), disabled by default, thatdim2012-02-294-7/+951
| | | | | | | | | | installs clang as /usr/bin/cc, /usr/bin/c++ and /usr/bin/cpp. Note this does *not* disable building and installing gcc, which will still be available as /usr/bin/gcc, /usr/bin/g++ and /usr/bin/gcpp. If you want to disable gcc completely, you must use WITHOUT_GCC. MFC after: 2 weeks
* Enable TLS support for ARM toolchaingonzo2012-02-141-2/+0
| | | | Reviewed by: cognet
* Adopt to new layout of struct pcb.kib2012-01-211-1/+1
| | | | MFC after: 1 month
* Don't include <sys/timeb.h>.ed2012-01-081-1/+1
| | | | | Including this header file causes a compilation warning. The code builds perfectly fine without this header file.
* Add missing -w to kgdb(1)'s usage().rwatson2012-01-041-1/+1
| | | | | Sponsored by: Adara Networks, Inc. MFC after: 3 days
* Define YY_NO_INPUT when building libbinutils, to prevent warnings aboutdim2011-12-161-0/+1
| | | | | | unused input() functions emitted by lex. MFC after: 1 week
* Pull up vendor changes to mdoc(7).ru2011-12-081-28/+0
|
* upgrade gperf to the last GPLv2 version (3.0.3)bapt2011-11-282-21/+23
| | | | | Reviewed by: cognet Approved by: cognet
* libodialog: Remove no longer used library.fjoe2011-11-2455-11676/+0
|
* libodialog: disconnect from the build and obsolete.fjoe2011-11-241-2/+1
|
* Use ${VAR} instead of $(VAR) consistently.fjoe2011-11-241-1/+1
|
* Rename the linker emulation name for powerpc and powerc64. This is needed thatandreast2011-11-192-3/+3
| | | | | we can also use the upstream binutils linker where we have to have a unique name for the FreeBSD emulation.
* When one attempts to compile the tree with -march=i386, which also useddim2011-11-061-1/+1
| | | | | | | | | | | to be gcc's default before r198344, calls to atomic builtins will not be expanded inline. Instead, they will be generated as calls to external functions (e.g. __sync_fetch_and_add_N), leading to linking errors later on. Put in a seatbelt that disables use of atomic builtins in libstdc++ and llvm, when tuning specifically for the real i386 CPU. This does not protect against all possible issues, but it is better than nothing.
* * Don't give the impression that this compiler is GPLv3.obrien2011-10-241-1/+1
| | | | | | (It is "well known" that GCC 4.2.2 is GPLv3.) * Don't give the impression that this compiler isn't "trustable". * Fix dependency nit.
* Update gcc's __FreeBSD__ and __FreeBSD_cc_version macros for FreeBSD 10.dim2011-10-181-2/+2
|
* - change "is is" to "is" or "it is"eadler2011-10-162-4/+4
| | | | | | | | - change "the the" to "the" Approved by: lstewart Approved by: sahil (mentor) MFC after: 3 days
* Shift head from 9.0-CURRENT to 10.0-CURRENT in preparation for releasingkensmith2011-09-261-1/+2
| | | | | | it from the 9.0-RELEASE release cycle code freeze. Approved by: re (implicit)
* Do not include <sys/ptrace.h> if we're building a cross-debugger, ptrace isn'tcognet2011-08-261-1/+1
| | | | | | | used anyway, and it breaks the build, since sys/ptrace.h now includes <machine/reg.h> Approved by: re
* Walk the zombproc list as well as the allproc list when enumerating threadsjhb2011-08-191-33/+48
| | | | | | | | | and processes in a kernel image. This allows examination of threads that have exited or are in the late stages of exiting. Tested by: avg Approved by: re (kib) MFC after: 1 week
* Compile fbsd-threads.c. Amongst others this is necessary for a workingmarius2011-08-062-0/+3
| | | | | | | | kgdb(1). Reviewed by: marcel Approved by: re (kib) MFC after: 1 week
OpenPOWER on IntegriCloud