| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
| |
Remove send-pr and fix up all references to it. Replace it with a
stub send-pr directing people towards the web site.
Approved by: re (gjb), bugmeister
Notes:
svn path=/releng/9.3/; revision=267911
|
| |
|
|
|
|
|
|
|
|
| |
version to 9.3.
Approved by: re (implicit)
Sponsored by: The FreeBSD Foundation
Notes:
svn path=/stable/9/; revision=265736
|
| |
|
|
|
|
|
|
|
| |
Add 9.3 to mdoc.local.
Sponsored by: The FreeBSD Foundation
Notes:
svn path=/stable/9/; revision=265734
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Add a SUBDIR_PARALLEL option to bsd.subdir.mk, to allow make to process
all the SUBDIR entries in parallel, instead of serially. Apply this
option to a selected number of Makefiles, which can greatly speed up the
build on multi-core machines, when using make -j.
This can be extended to more Makefiles later on, whenever they are
verified to work correctly with parallel building.
I tested this on a 24-core machine, with make -j48 buildworld (N = 6):
before stddev after stddev
======= ====== ======= ======
real time 1741.1 16.5 959.8 2.7
user time 12468.7 16.4 14393.0 16.8
sys time 1825.0 54.8 2110.6 22.8
(user+sys)/real 8.2 17.1
E.g. the build was approximately 45% faster in real time. On machines
with less cores, or with lower -j settings, the speedup will not be as
impressive. But at least you can now almost max out a machine with
buildworld!
Submitted by: jilles
MFC r263833:
Enable parallel building for gnu/usr.bin and usr.bin/clang too.
Notes:
svn path=/stable/9/; revision=264303
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Fix this build for clang.
MFC r259730:
To avoid having to explicitly test COMPILER_TYPE for setting
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 r259913:
For libstand and sys/boot, split off gcc-only flags into CFLAGS.gcc.
MFC r259927:
Fix pc98 build, by also forcing COMPILER_TYPE in sys/boot/pc98/boot2's
Makefile.
Pointy hat to: dim
Notes:
svn path=/stable/9/; revision=260096
|
| |
|
|
|
|
|
| |
For gnu/lib/csu, only use gcc-specific flags when compiling with gcc.
Notes:
svn path=/stable/9/; revision=259851
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
gcc: Bring updates from Google's enhanced gcc-4.2.1.
Google released and enhanced version of gcc-4.2.1 plus their local
patches for Android[1].
The patches are owned by Google and the license hasn't been changed
from the original GPLv2. We are only bringing a subset of the
available patches that may be helpful in FreeBSD, in other words,
changes specific to android are not included.
From the README.google file[1].
Patches applied to google_vendor_src_branch/gcc/gcc-4.2.1:
gcc/Makefile.in
gcc/c-common.c
gcc/c-common.h
gcc/c-opts.c
gcc/c-typeck.c
gcc/cp/typeck.c
gcc/doc/invoke.texi
gcc/flags.h
gcc/opts.c
gcc/tree-flow.h
gcc/tree-ssa-alias-warnings.c
gcc/tree-ssa-alias.c
Backport of -Wstrict-aliasing from mainline.
Silvius Rus <rus@google.com>
gcc/coverage.c:
Patch coverage_checksum_string for PR 25351.
Seongbae Park <spark@google.com>
Not yet submitted to FSF.
gcc/c-opts.c
gcc/c-ppoutput.c
gcc/c.opt
gcc/doc/cppopts.texi
libcpp/Makefile.in
libcpp/directives-only.c
libcpp/directives.c
libcpp/files.c
libcpp/include/cpplib.h
libcpp/init.c
libcpp/internal.h
libcpp/macro.c
Support for -fdirectives-only.
Ollie Wild <aaw@google.com>.
Submitted to FSF but not yet approved.
libstdc++-v3/include/ext/hashtable.h
http://b/742065
http://b/629994
Reduce min size of hashtable for hash_map, hash_set from 53 to 5
libstdc++-v3/include/ext/hashtable.h
http://b/629994
Do not iterate over buckets if hashtable is empty.
gcc/common.opt
gcc/doc/invoke.texi
gcc/flags.h
gcc/gimplify.c
gcc/opts.c
Add Saito's patch for -finstrument-functions-exclude-* options.
gcc/common.opt
gcc/doc/invoke.texi
gcc/final.c
gcc/flags.h
gcc/opts.c
gcc/testsuite/gcc.dg/Wframe-larger-than.c
Add a new flag -Wframe-larger-than- which enables a new warning
when a frame size of a function is larger than specified.
This patch hasn't been integrated into gcc mainline yet.
gcc/tree-vrp.c
Add a hack to avoid using ivopts information for pointers starting
at constant values.
Reference:
[1]
https://android.googlesource.com/toolchain/gcc/+/master/gcc-4.2.1/
Obtained from: Google Inc.
Notes:
svn path=/stable/9/; revision=259406
|
| |
|
|
|
|
|
|
|
|
| |
- Add 9.2 mdoc(7) macro.
Approved by: re (implicit)
Approved by: kib (mentor)
Notes:
svn path=/stable/9/; revision=253216
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Add a new knob WITH_DEBUG_FILES to control the building of standalone
debug files for userland programs and libraries. The "-g" debug flag
is automatically applied when WITH_DEBUG_FILES is set.
The debug files are 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.
Notes:
svn path=/stable/9/; revision=252827
|
| |
|
|
|
|
|
| |
compilation of GNUstep libobjc.
Notes:
svn path=/stable/9/; revision=252116
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
GCC: bring back experimental support for amdfam10/barcelona CPUs.
This is a revised subset of the support initially brought in in r236962
and later reverted. The collateral efects seem to have disappeared but
it is still recommended to set the CPUTYPE with caution.
While here also install AMD intrinsics header ammintrin.h
Reviewed by: jkim (ages ago)
Notes:
svn path=/stable/9/; revision=252080
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
grep: change some int types.
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.
Obtained from: NetBSD
Notes:
svn path=/stable/9/; revision=250937
|
| |
|
|
|
|
|
|
|
| |
(wrong tree)
Pointy hat: me
Notes:
svn path=/stable/9/; revision=250822
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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=/stable/9/; revision=250821
|
| |
|
|
|
|
|
|
|
| |
When gcc 4.2.0 was imported, the 3DNow intrinsics header <mm3dnow.h> was
not added to the list of intrinsics headers to install, so belatedly (5
years :) add it.
Notes:
svn path=/stable/9/; revision=250677
|
| |
|
|
| |
Notes:
svn path=/stable/9/; revision=249835
|
| |
|
|
|
|
|
|
|
|
|
|
| |
When the needed configuration update to libstdc++ was done.
we overlooked that expl hasn't been merged. This is causing
breakage in some ports.
Reported by: Diane Bruce
Reviewed by: dim
Notes:
svn path=/stable/9/; revision=249703
|
| |
|
|
|
|
|
|
|
|
|
| |
Reorder so that NO_MAN is declared before bsd.own.mk is included and thus
has an effect (not installed a g++.1 manpage over the g++.1(.gz) link
created in ../cc).
bsd.own.mk needs to be included before Makefil.inc so MK_ARM_EABI is defined
Notes:
svn path=/stable/9/; revision=248355
|
| |
|
|
|
|
|
|
| |
Regenerate libstdc++'s config.h, synchronizing it with our current
almost-C99 headers.
Notes:
svn path=/stable/9/; revision=247155
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Fix some symbol version mismatches between libstdc++ and libsupc++/libcxxrt
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 r246297:
Add several missing symbols to libcxxrt's symbol version map, and remove
a few duplicates. This should fix building world with -stdlib=libc++
after r246028.
Submitted by: Yamaya Takashi <yamayan@kbh.biglobe.ne.jp>
Notes:
svn path=/stable/9/; revision=246368
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Fix several clang warnings in libstdc++, which were exposed by the
recent atf import. These changes are purely cosmetic, no functional
change.
MFC r241959:
Fix a number of other clang warnings in libstdc++, which could appear
when building other C++ software with it. Also fix one actual bug in
libsupc++, which was exposed by such a warning. This latter fix is the
only functional change.
MFC r241960:
For building GNU libstdc++ and libsupc++, filter out libc++-specific and
-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.
Notes:
svn path=/stable/9/; revision=242347
|
| |
|
|
|
|
|
|
|
|
|
|
| |
Add support for the "&" character in usernames.
Charlie & finally has his last name.
PR: gnu/37910
Approved by: cperciva (implicit)
Notes:
svn path=/stable/9/; revision=242335
|
| |
|
|
|
|
|
| |
Pointy hat to: me
Notes:
svn path=/stable/9/; revision=241193
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
Fix pseudo checksum calculation.
This fixes ipfilter w/ network controllers that implement only
partial rx csum offloading.
PR: 106438
Obtained from: upstream
Notes:
svn path=/stable/9/; revision=241192
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Add libcxxrt's objects (prefixing them with cxxrt_ to avoid collisions)
to libc++.a and libc++_p.a, to make static linking of C++ executables
with libc++ easier. This is similar to the approach used in libstdc++.
MFC r239686:
When using -stdlib=libc++, add the correct dependency to .depend in
bsd.prog.mk.
Submitted by: Yamaya Takashi <yamayan@kbh.biglobe.ne.jp>
MFC r239695:
For building libstdc++ and libsupc++, filter out any -stdlib=libc++
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>
Notes:
svn path=/stable/9/; revision=240236
|
| |
|
|
|
|
|
| |
Approved by: re (kib)
Notes:
svn path=/stable/9/; revision=238816
|
| |
|
|
|
|
|
| |
Approved by: re (implicit)
Notes:
svn path=/stable/9/; revision=238351
|
| |
|
|
|
|
|
|
|
|
|
| |
Add missing -w to kgdb(1)'s usage().
Sponsored by: Adara Networks, Inc.
Approved by: re (kib)
Notes:
svn path=/stable/9/; revision=238283
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
The purpose of not including <sys/timeb.h> is to avoid the compiler
warning we put in <sys/timeb.h>. So this change will cause CVS to
provide its own definition of 'struct timeb'. This is only OK
because the code never calls the libc ftime(3) interface. CVS only
uses 'struct timeb' as a convenience structure -- thus it doesn't
matter how its supplied definition does or does not match the
ftime(3) ABI.
Notes:
svn path=/stable/9/; revision=237951
|
| |
|
|
|
|
|
| |
delete operators.
Notes:
svn path=/stable/9/; revision=237938
|
| |
|
|
|
|
|
| |
Enable TLS support for ARM toolchain
Notes:
svn path=/stable/9/; revision=237492
|
| |
|
|
|
|
|
|
|
|
| |
Switch sparc64 to using libcompiler_rt; since r230021 (MFC'ed to stable/9 in
r236012) we have a workaround in place allowing it to be used there and since
r235388 (MFC'ed to stable/9 in r236002) we also have usable div/mod
optimizations like libgcc has.
Notes:
svn path=/stable/9/; revision=236014
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
filter library.
It should now be possible to build applications on 9-STABLE that link against
both libc++ and libstdc++ and to test libcxxrt with libstdc++.
If you wish to test libcxxrt, please add this to your /etc/libmap.conf:
libsupc++.so.1 libcxxrt.so.1
If you wish to test libc++, add -std=libc++ to your compile and link flags for
your favourite C++ applications and / or libraries.
Notes:
svn path=/stable/9/; revision=235825
|
| |
|
|
|
|
|
|
|
| |
General mdoc(7) and typo fixes.
PR: 167696
Notes:
svn path=/stable/9/; revision=235570
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
Add src.conf option WITH_SHARED_TOOLCHAIN to enable building the
toolchain binaries as dynamically linked. Option is disabled by
default.
MFC r235152 (by imp):
Make is part of the bootstrap path, so we need to guard against this
not being defined. Otherwise we don't make a new make when the old
make is incompatible.
Notes:
svn path=/stable/9/; revision=235398
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Add a WITH_CLANG_IS_CC option for src.conf(5), disabled by default, that
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 232323:
Regenerate src.conf(5) after r232322.
MFC 232477:
In r232322, I forgot one case where a check for MK_CLANG_IS_CC was
needed, in sys/conf/kern.pre.mk. Add it now.
MFC 232522:
Fix a thinko in r232322, where gcc (and its tools) are not built during
the cross-tools stage, if CC=clang and WITH_CLANG_IS_CC is not set.
This causes no 'cc' to be installed in the temporary cross-tools tree,
making lint fall over later in the build, because it ignores ${CC} and
attempts to run 'cc' anyway.
To fix this, only skip building gcc during cross-tools, if WITHOUT_GCC
is set, or if WITH_CLANG_IS_CC is set.
Pointy hat to: dim
Notes:
svn path=/stable/9/; revision=233099
|
| |
|
|
|
|
|
| |
Adopt to new layout of struct pcb.
Notes:
svn path=/stable/9/; revision=231980
|
| |
|
|
|
|
|
|
|
| |
Upgrade gperf to 3.0.3 latest GPLv2 version
Approved by: des (mentor)
Notes:
svn path=/stable/9/; revision=230237
|
| |
|
|
|
|
|
|
| |
Define YY_NO_INPUT when building libbinutils, to prevent warnings about
unused input() functions emitted by lex.
Notes:
svn path=/stable/9/; revision=229149
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
When one attempts to compile the tree with -march=i386, which also used
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.
MFC r227538:
LLVM uses atomic operations, which are not supported on i386 and GCC
emits calls for them, rather than expanding them inline. Older FreeBSD
versions compile for i386 by default and as such we end up with
unresolved symbols when we build LLVM's TableGen utility as a build
tool on them. Add the functions that GCC emits here, but don't bother
to make them atomic. Such is not needed.
Submitted by: marcel
MFC r227636:
Revert r227538, since it doesn't compile with clang at all (it doesn't
allow the built-in operations to be redefined, at least not without
excessive force).
Instead, just disable LLVM's support for atomic operations for now.
Nothing in either clang or the tablegen tools currently depends on it.
This still allows users of head built before r198344 to upgrade to
top-of-head seamlessly.
Notes:
svn path=/stable/9/; revision=229037
|
| |
|
|
|
|
|
|
|
|
|
|
| |
* Don't give the impression that this compiler is GPLv3.
(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.
Approved by: re (kib)
Notes:
svn path=/stable/9/; revision=227128
|
| |
|
|
|
|
|
|
|
|
| |
This is a direct commit to stable/9, since the macro values are
different in head.
Approved by: re (kib)
Notes:
svn path=/stable/9/; revision=226575
|
| |
|
|
|
|
|
|
|
|
| |
used anyway, and it breaks the build, since sys/ptrace.h now includes
<machine/reg.h>
Approved by: re
Notes:
svn path=/head/; revision=225190
|
| |
|
|
|
|
|
|
|
|
|
|
| |
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
Notes:
svn path=/head/; revision=225017
|
| |
|
|
|
|
|
|
|
|
|
| |
kgdb(1).
Reviewed by: marcel
Approved by: re (kib)
MFC after: 1 week
Notes:
svn path=/head/; revision=224687
|
| |
|
|
| |
Notes:
svn path=/head/; revision=224014
|
| |
|
|
|
|
|
| |
Reviewed by: jilles, gjb
Notes:
svn path=/head/; revision=223953
|
| |
|
|
| |
Notes:
svn path=/head/; revision=222878
|
| |
|
|
| |
Notes:
svn path=/head/; revision=222854
|
| |
|
|
|
|
|
|
|
|
|
|
| |
This also replaces the local fix in r219209 that made .Ac emit
ASCII angle quotes with an official fix. In the official fix,
ASCII quotes are output when using the .Aq, .Ao and .Ac calls,
but only when nested into the .An macro.
PR: gnu/154822
Notes:
svn path=/head/; revision=222852
|