Commit Graph

4998 Commits

Author SHA1 Message Date
christos b065c82840 regen 2015-01-07 02:08:06 +00:00
christos 62254aa965 regen; backtrace support is complete 2015-01-07 02:06:59 +00:00
christos 2c904ef7c1 fix build 2015-01-07 02:06:23 +00:00
christos 7f61831388 enable lto 2015-01-07 02:06:03 +00:00
christos 0c2e46cd4b enable the rest of the languages 2015-01-07 02:05:41 +00:00
christos d5e8e308ec build lto 2015-01-07 02:02:44 +00:00
joerg 8fa1a38636 Don't bail out on the broken inline functions that use static variables. 2015-01-05 20:06:06 +00:00
gson e8e618c179 Test for ${MKDEBUG} using the same construct as in other places, so that
we get consistent behavior when the value is neither "no" nor "yes".
2015-01-05 18:51:10 +00:00
christos 152cf5a6f1 Prevent .y.c from regenerating c files from yacc.
XXX: Why are we compiling glcpp-parse.c both here and in the gallium
subdirectory?
2015-01-05 16:26:48 +00:00
mrg 0e4eb59327 sets.subr:
support machine=<xxx>, machine_arch=<xxx>, machine_cpu=<xxx> tags.

dri7: build Mesa 7 r300_dri.so for x86 platforms.
2015-01-05 03:45:31 +00:00
mrg a4ee9f7109 fix MKGCCCMDS=no, and turn it on by default for sun2. 2015-01-05 01:52:23 +00:00
joerg e0e6683d61 Map GCC_PRINTFLIKE to our __printflike. 2015-01-05 01:36:36 +00:00
joerg f4ce1f311d Make a number of clang warnings non-fatal, too many changes with little
gain.
2015-01-05 01:34:42 +00:00
mrg cf216beef9 elftosb depends upon MKCXX. 2015-01-05 00:51:50 +00:00
christos b512a7d7b5 only define yystos when needed. 2015-01-04 20:32:03 +00:00
joerg d0bbb5b61c Use a format string 2015-01-04 19:30:26 +00:00
christos 7b62ebcbd0 reduce diffs with branch, use yyname instead of yytname. 2015-01-04 18:52:04 +00:00
joerg 0b40943b07 bail is dead. 2015-01-04 18:45:17 +00:00
christos 2499986b35 Implement some more bison features (incomplete!!!)
This handles the mesa/gallium parser but the %error-verbose part needs a
little more work.
2015-01-04 01:34:20 +00:00
christos 604eca013c don't regenerate y-> 2015-01-04 01:26:31 +00:00
christos b2d4d9734a merge conflicts. 2015-01-03 23:22:52 +00:00
christos 428aa3b923 Import byacc 20141128 2015-01-03 22:58:23 +00:00
christos 46a8957adc add a clear that did not merge. 2015-01-02 23:38:45 +00:00
christos d9d66a76ab fix recursion 2015-01-02 23:27:46 +00:00
christos fa9ee4980d merge conflicts 2015-01-02 21:15:32 +00:00
christos 3c9d2f3579 Import file-5.22 2015-01-02 20:34:26 +00:00
christos 88c1089d96 Bring in 2 patches from binutils:
From Alan Modra: Wed, 3 Jul 2013 11:51:56 +0930: powerpc64 call stubs:
    This brings powerpc64 ld in line with gold regarding calls allowed to
    go via a plt call stub or toc-adjusting stub without a following nop.
    A long time ago ld allowed tail calls, but this is wrong because we'll
    return to the caller's caller with the wrong toc pointer.  I fixed
    that for shared libraries but allowed tail calls in an executable for
    some reason.  Probably just muddy thinking on my part, because there's
    no difference between an executable and a shared library regarding the
    need to restore the toc pointer.  Perhaps it was because some testcase
    failed, most likely due to the g++ issue I comment on in the patch.

From Alan Modra: 29 Aug 2014 01:22:29 +0000: PowerPC64 call lacks nop error:
    Enough people accidentally or otherwise use -mcmodel=small then wonder
    why a call that is local is behaving as if it is going via the PLT.

	* elf64-ppc.c (ppc64_elf_relocate_section): Report a different
	error for calls via a toc adjusting stub without a nop.
2015-01-02 19:50:02 +00:00
he 53f679e766 What ISC wraps under ISC_PLATFORM_HAVEXADD appears to be 32-bit
atomic adds, and I beleive all our platforms can do that.  Therefore,
no need to conditionalize that definition under __HAVE_ATOMIC64_OPS.
2015-01-01 15:28:30 +00:00
mrg fbfbb2ece8 move xorg-server.pc's SDK_REQUIRED_MODULES into the local Makefile. 2014-12-30 22:07:21 +00:00
joerg 16af9e03ea Use positive checks for GCC 4.1. Deal with missing HAVE_GCC. 2014-12-23 20:26:30 +00:00
christos d1118a5e47 Change the conditional from >= 45 to != 4 to handle the non-gcc case. 2014-12-23 20:19:08 +00:00
christos 41cafa369b Putting () around conditionals avoids the error when the variables are
undefined, OTOH it does the wrong thing when comparing when "no".
2014-12-23 19:11:14 +00:00
christos 18053c39af Fix for gcc-4.1 2014-12-23 19:05:58 +00:00
christos 988fc89e95 fixes for gcc-4.1 2014-12-23 19:04:37 +00:00
christos de935cd2ad Fixes for gcc-4.1 2014-12-23 19:04:18 +00:00
christos 1cff2a42a0 fix for -5, MKREPRO is not always defined 2014-12-23 18:56:15 +00:00
christos 009d886c38 - consistently install symlinks (like we do for everything else)
- add missing debug libs
2014-12-23 17:50:42 +00:00
christos 931324ada5 - Don't install absolute symlinks
- Add missing debug symlinks
2014-12-23 17:49:59 +00:00
joerg 7a390569d2 myasprintf (wtf) passes down a format string, so use __printflike. 2014-12-23 15:47:32 +00:00
dennis 298eb8b514 Apply a fix, extracted from the UCB RISC-V gcc sources, for the (known)
problems with compiling atomics for the riscv64 target with gcc.  Remove
the now-unneeded workarounds for the 2 files in libasan that were formerly
failing to compile with the optimizer turned on.
2014-12-22 21:15:48 +00:00
christos 8de392a9c0 avoid shadowing of recv. 2014-12-22 04:23:58 +00:00
christos 22b6c4fc55 avoid shadowing of log2 on some platforms. 2014-12-22 04:21:47 +00:00
christos abc7bdd304 Since we've added the mdnstries keyword, we need to regenerate the
ntp_parser.[ch] files, otherwise we get syntax errors. Our yacc seems
to be producing a working parser now, so let's use it.
2014-12-20 16:52:21 +00:00
prlw1 f44489f8dc MKINET6=no build fixes
http://mail-index.netbsd.org/tech-net/2014/12/13/msg004898.html
2014-12-20 13:15:48 +00:00
uebayasi 1104d021af Fix signed vs unsigned errors. 2014-12-20 08:38:47 +00:00
christos eb7b95c740 finish import 2014-12-20 02:59:24 +00:00
christos ccbc10b41f I will let others decide if we should grow this wart... 2014-12-19 20:48:55 +00:00
christos 79fa4578d4 No, bash is not the posix shell. Why do you need the shell anyway? 2014-12-19 20:46:47 +00:00
christos ea66d79595 Merge conflicts 2014-12-19 20:43:14 +00:00
christos b8ecfcfef0 Import ntp 4.2.8 2014-12-19 20:37:31 +00:00
roy a5de07ee00 Make the building of INET optional.
As both INET and INET6 are now options, it's possible to build dhcpcd
without both. When built this way it will just report carrier events.
2014-12-19 10:59:06 +00:00
roy 5de3a50c7e Sync 2014-12-19 10:54:08 +00:00
christos 2024ec5d62 we need to handle make includes 2014-12-19 05:21:51 +00:00
christos 9a6d622ac9 - Explain what's going on a bit better
- Fix a conditional
- Don't include bsd.lib.mk if we are not building libraries
  (otherwise we end up with an empty library name that installed
   bogus library files lib.a etc.)
2014-12-19 05:03:30 +00:00
mrg 5de6651586 fix build problem with radeon_*.c files. 2014-12-18 10:08:52 +00:00
mrg 9dbcad6d0b update sets and reachover makefiles for mesa 10.3.5. 2014-12-18 06:24:27 +00:00
roy a850849c48 Sync 2014-12-17 20:50:08 +00:00
mrg 5b7bfa533c switch over to the separate glu sources. 2014-12-16 06:10:12 +00:00
christos 2ef06139f8 - Don't allow bypassing file size limits with crontabs from stdin.
- Allow signals while reading the user crontab file; doing "crontab -"
  does not let you abort otherwise, and doing ^Z, kill %1 leaves turds
  in /var/cron/tabs
2014-12-15 16:45:26 +00:00
skrll 6948cee7e0 Allow i386 binary debugging on amd64 hosts. 2014-12-15 13:43:24 +00:00
mrg c85d70d977 delete tools/glsl, is hasn't been used for a while.
move Makefile.glsl into libGL.
2014-12-15 00:20:29 +00:00
christos 0c6a515324 Allow i386 binary debugging on amd64 hosts.
XXX: This should be done in mknative but how? Matt?
2014-12-14 19:59:52 +00:00
christos 977e434ff6 When debugging 32 bit binaries on a 64 bit arch in NetBSD the dynamic
linker magically converts the dynamic linker name to ld.elf_so-<32bitarch>
like ld.elf_so-i386. We do the same magic here.
2014-12-14 19:58:06 +00:00
christos f890372b86 - Add -f to allow processing non-plain files.
- Align NetBSD note printing properly
- Add handling of "PaX" notes correctly. Perhaps we should rename them
  to "NetBSD" now.
2014-12-13 18:32:59 +00:00
martin 41f1cccf8f Fix byte order selection for breakpoints: on arm the byte order for code
might differ from the generic BFD endianess.
Fixes PR toolchain/49445.
2014-12-12 20:25:35 +00:00
uebayasi 55c41203fb Don't define ISC_R_* symbols, that conflict with the newest bind. 2014-12-10 07:43:34 +00:00
christos f6799648ae merge conflicts. 2014-12-10 04:37:50 +00:00
christos ba1c350cba Import bind 9.10.1-P1 2014-12-10 03:34:22 +00:00
christos 442a409943 Import bind 9.10.1-P1 2014-12-10 03:31:12 +00:00
christos 37a454e05c Import bind 9.10.1-P1 2014-12-10 02:25:10 +00:00
roy c4df7c91c1 Sync 2014-12-09 20:21:05 +00:00
christos c549f6694c fix bogus kernel core magic entries from file HEAD. 2014-12-08 20:54:33 +00:00
mrg c6ef549192 enable __GLX_ALIGN64 on sparc*. probably more need it.
fixes crashes seen when using newer Mesa libGL.so.
2014-12-08 06:33:26 +00:00
hannken aaf5c384d9 Change zfs to vcache.
- zfs_loadvnode() is based on zfs_zget() plus zfs_znode_alloc().
2014-12-05 09:13:32 +00:00
hannken f43b9b375a Remove vnode creation from zfs_create_fs() and zfs_create_share_dir()
as a vnode is not needed here.

Inspired by FreeBSD r253603.
2014-12-05 09:12:29 +00:00
christos 765d671eef avoid macro clash. 2014-12-02 22:13:13 +00:00
aymeric 426034c57f . do not abort() if we read a zero cs or rip, or if we can't read them
. end the backtrace when encountering a soft interrupt, since they live in
  their own lwp
2014-12-02 10:34:27 +00:00
dennis 937de38ba9 Work around RISC-V compiler bug in gcc 4.8.3 (at least).
Should be reconsidered if the compiler is updated.
PR toolchain/49425
2014-12-02 03:20:39 +00:00
lneto 789f0f4f81 lua(4): fixed Lua stack size 2014-11-30 19:00:46 +00:00
christos ff90272441 exrc expects 1 argument. 2014-11-27 20:00:09 +00:00
roy c1ce8e7e2b Sync 2014-11-26 16:05:14 +00:00
roy fd710a4140 Sync 2014-11-26 13:43:06 +00:00
jmcneill 6eceb7f535 Change the "mDNSPlatformRawTime went backwards" message from LogMsg to
debugf. It's not that interesting, as it is comparing the results of two
gettimeofday() calls.
2014-11-25 02:29:57 +00:00
joerg 5d029cc2d6 Replace very question pointer games to override const, mark the member
writeable when inside the guts of the library.
2014-11-23 01:47:59 +00:00
mrg eea473d2a5 regenerate mknative files for m68000 now that the build actually completes.
this includes a hack matt@ found -- remove -fPIC from libgcc's defs.mk, i
have not yet figured out how to stop confgiure adding it.
2014-11-22 19:42:11 +00:00
christos 9010cfb72a kill the dropped privs info message 2014-11-21 13:31:19 +00:00
joerg 153b8c97fc Restrict workaround to GCC 4.8 as intended. 2014-11-21 01:11:50 +00:00
joerg 06da94bf06 Merge upstream d840c081f8082e8b9e63fead5306643975a97bb3 to fix
UB as seen by a clang compiled as.
2014-11-20 21:44:56 +00:00
christos 9a89a9bc17 l in ntohl is not long! 2014-11-20 04:51:18 +00:00
christos b3a00663c5 merge conflicts 2014-11-20 03:05:03 +00:00
jmcneill 54d9119f96 compile xftrender.c to workaround a crash in XftGlyphSpecRender on earm with gcc 4.8.4 2014-11-20 02:00:19 +00:00
christos c47fd3787d Import tcpdump 4.6.2 2014-11-20 01:30:52 +00:00
christos d91862193c merge changes 2014-11-19 19:33:30 +00:00
christos 74e9dc92b2 import newest libpcap 2014-11-19 18:04:51 +00:00
wiz 971d420649 Close comment.
From Henning Petersen in PR 49403.
2014-11-19 10:37:29 +00:00
nakayama c787a50b1a Mention about -E and -c options in the BUGS section. 2014-11-18 10:38:52 +00:00
apb 1f80bef788 Import tzdata2014j from ftp://ftp.iana.org/tz/releases/tzdata2014j.tar.gz
Summary of changes in tzdata2014j (2014-11-10 17:37:11 -0800):
  * Turks & Caicos' switch from US eastern time to UTC-4 year-round
    did not occur on 2014-11-02 at 02:00.
  * Many pre-1989 time stamps have been corrected for Asia/Seoul and
    Asia/Pyongyang, based on sources for the Korean-language Wikipedia
    entry for time in Korea.
  * Some more zones have been turned into links, when they differed
    from existing zones only for older (pre-1970) time stamps.
  * Changes affecting commentary.

Summary of changes in tzdata2014i (2014-10-21 22:04:57 -0700):
  * Pacific/Fiji will observe DST from 2014-11-02 02:00 to 2015-01-18 03:00.
  * A new Zone Pacific/Bougainville, for the part of Papua New Guinea
    that plans to switch from UTC+10 to UTC+11 on 2014-12-28 at 02:00.
  * Since Belarus is not changing its clocks even though Moscow is,
    the time zone abbreviation in Europe/Minsk is changing from FET
    to its more-traditional value MSK on 2014-10-26 at 01:00.
  * The new abbreviation IDT stands for the pre-1976 use of UT+8 in
    Indochina, to distinguish it better from ICT (UT+7).
  * Many time stamps have been corrected for Asia/Ho_Chi_Minh before 1976.
    Asia/Ho_Chi_Minh has been added to zone1970.tab, to give tzselect
    users in Vietnam two choices, since north and south Vietnam
    disagreed after our 1970 cutoff.
  * Asia/Phnom_Penh and Asia/Vientiane have been turned into links, as
    they differed from existing zones only for older (pre-1970) time stamps.
  * Changes affecting commentary.
2014-11-16 07:08:08 +00:00
nakayama 990b9f4b61 - add smbutil(1) and mount_smbfs(8) to SEE ALSO section each other.
- fix sample file path in smbutil(1).
2014-11-15 18:57:25 +00:00
nakayama 1686dd5137 Disable unused codes that causes SIGBUS or SIGSEGV if character
sets option (-E) is specified to mount_smbfs/rump_smbfs.
2014-11-15 18:55:26 +00:00
joerg 755f404f87 Remove tautologic check. 2014-11-15 01:24:53 +00:00
joerg f7673b99b4 Comment out impossible code. 2014-11-15 01:24:38 +00:00
joerg 31a77d8abb Drop pointer checks that are always true. 2014-11-15 01:15:45 +00:00
joerg 5e9c3bb2be Install cpuid.h on X86 and arm_neon.h on ARM. 2014-11-14 15:59:46 +00:00
joerg f26a5b846f LLVM switched to three component point release version, so follow here. 2014-11-14 15:56:12 +00:00
roy 3c322f3bc1 Sync 2014-11-14 12:00:54 +00:00
tron cf47292001 Fix build with "USE_SSP" set to "yes". 2014-11-11 11:30:55 +00:00
roy c38e639c09 Add RCSIDs 2014-11-07 20:51:02 +00:00
roy 3eaad260cb Sync 2014-11-07 20:43:33 +00:00
roy 32584761dd Sync 2014-11-07 20:32:04 +00:00
snj a8efcf820f a single -DHAVE_GETLINE will suffice. 2014-11-06 18:58:18 +00:00
christos 15a09d9090 adjust to newer sources 2014-11-05 18:01:16 +00:00
prlw1 4d61fdd14f Install fbpict.h
(e.g., new xf86-video-intel assumes it exists if RENDER is defined)
2014-11-05 14:30:00 +00:00
matt 549cefa5e6 Avoid using ld -x. Instead use ${OBJCOPY} ${OBJCOPYLIBFLAGS} to string
local symbols.
2014-11-02 14:54:27 +00:00
christos be13e1550a don't fail for anonymous unions. 2014-11-01 23:21:31 +00:00
justin 3cf1fc0878 Add libraries in order that they will link if static as well as dynamic 2014-10-30 21:15:13 +00:00
christos a3aed58d4c do the library stubs differently 2014-10-30 20:21:39 +00:00
christos a95701b647 handle RCSID not being defined 2014-10-30 18:44:05 +00:00
nonaka 0e71d7ed9c Add support for Intel Centrino Wireless-N 100/105/130/135/2200/2230.
From OpenBSD.
2014-10-30 13:05:58 +00:00
christos 2dd78d5dfe generate -Wconversion clean code. 2014-10-29 19:08:51 +00:00
christos b17953c29f merge conflicts 2014-10-29 18:28:36 +00:00
christos 7f71b38979 * flex version 2.5.39
** no user visible changes in this release

* version 2.5.38 released 2014-02-14

** internationalization

*** add sr translation from the translation project

*** update da, es, ko, nl, pt_BR, ro, ru, sv, tr, vi, zh_CN translations from th
e translation project

*** rename zh_tw to its proper zh_TW name
2014-10-29 18:22:45 +00:00
roy e2e4bfd1df Sync 2014-10-29 01:08:31 +00:00
roy c97a58013f Sync 2014-10-28 22:39:25 +00:00
roy 548d7cc4f4 Import openresolv-3.6.1 with the following changes:
*  Don't update when nothing has been deleted
  *  Backup resolv.conf to resolv.conf.bak when it doesn't have an openresolv
     signature
     Restore it when the new resolv.conf only has the openresolv signature
  *  Document prepend_search and prepend_nameservers
  *  Implement append_search and append_nameservers
  *  Implement replace and replace_sub to allow for keyword/value/replacement
2014-10-28 22:37:59 +00:00
christos 00e56c7477 fix rcsids. 2014-10-25 21:11:37 +00:00
christos cc935baa26 adjust to new acpica 2014-10-25 21:01:12 +00:00
christos 553f83e224 merge conflicts 2014-10-25 19:06:33 +00:00
christos 3b477d26c4 * Fixed a potential security issue in parsing option files (CVE-2014-3158).
* There is a new "stop-bits" option, which takes an argument of 1 or 2,
  indicating the number of stop bits to use for async serial ports.
* Various bug fixes.
2014-10-25 18:47:46 +00:00
christos dfce2db246 import new pppd:
* Fixed a potential security issue in parsing option files (CVE-2014-3158).
* There is a new "stop-bits" option, which takes an argument of 1 or 2,
  indicating the number of stop bits to use for async serial ports.
* Various bug fixes.
2014-10-25 18:43:24 +00:00
christos 167c74f464 resolve conflicts 2014-10-24 18:27:12 +00:00
christos d1d9b6fefe fix conflicts 2014-10-24 18:25:14 +00:00
christos af3e43cb2b import generated man pages 2014-10-24 18:21:02 +00:00
christos 201780c4cf merge conflicts 2014-10-24 18:17:55 +00:00
christos 76e8c54297 OpenPAM Ourouparia 2014-09-12
- ENHANCE: When executing a chain, require at least one service
   function to succeed.  This mitigates fail-open scenarios caused by
   misconfigurations or missing modules.

 - ENHANCE: Make sure to overwrite buffers which may have contained an
   authentication token when they're no longer needed.

 - BUGFIX: Under certain circumstances, specifying a non-existent
   module (or misspelling the name of a module) in a policy could
   result in a fail-open scenario.  (CVE-2014-3879)

 - FEATURE: Add a search path for modules.  This was implemented in
   Nummularia but inadvertently left out of the release notes.

 - BUGFIX: The is_upper() predicate only accepted the letter A as an
   upper-case character instead of the entire A-Z range.  As a result,
   service and module names containing upper-case letters other than A
   would be rejected.
2014-10-24 18:15:36 +00:00
christos fed776c55d one more search path. 2014-10-23 23:31:26 +00:00
christos 6eb7640629 make alpha compile 2014-10-23 19:03:38 +00:00
christos 3ce54f1012 use the appropriate unwind.h header 2014-10-23 17:50:24 +00:00
christos a62fb610ef stop playing type games, and use the proper type for the placement new operator 2014-10-23 17:50:08 +00:00
christos 37db287df0 Use libdplibs 2014-10-23 12:16:25 +00:00
apb 2eedb5803b Update tzdata2netbsd for 2014i.
The NEWS file has been included in the tzdata tarball since 2014g, so
don't mention the separate NEWS URL in the prototype CVS log message.
2014-10-23 03:42:09 +00:00
apb 94442e1f49 Import tzdata2014i from ftp://ftp.iana.org/tz/releases/tzdata2014i.tar.gz
Summary of changes in tzdata2014i (2014-10-21 22:04:57 -0700):
  * Pacific/Fiji will observe DST from 2014-11-02 02:00 to 2015-01-18 03:00.
    Guess that future years will use a similar pattern.
  * A new Zone Pacific/Bougainville, for the part of Papua New Guinea
    that plans to switch from UTC+10 to UTC+11 on 2014-12-28 at 02:00.
  * Since Belarus is not changing its clocks even though Moscow is,
    the time zone abbreviation in Europe/Minsk is changing from FET
    to its more-traditional value MSK on 2014-10-26 at 01:00.
  * The new abbreviation IDT stands for the pre-1976 use of UT+8 in
    Indochina, to distinguish it better from ICT (UT+7).
  * Many time stamps have been corrected for Asia/Ho_Chi_Minh before 1976.
    Asia/Ho_Chi_Minh has been added to zone1970.tab, since
    north and south Vietnam disagreed after our 1970 cutoff.
  * Asia/Phnom_Penh and Asia/Vientiane have been turned into links, as
    they differed from existing zones only for pre-1970 time stamps.
  * Changes affecting commentary.
2014-10-23 03:37:19 +00:00
christos 9512ff2aab simplify and add more architectures. 2014-10-23 00:25:54 +00:00
christos 9b7e305c80 set the proper asan variable 2014-10-22 23:17:24 +00:00
christos c589879b35 Add build glue 2014-10-22 21:22:06 +00:00
christos 877f27642f add libasan to the build 2014-10-22 21:21:02 +00:00
christos f4169a524f more portability fixes. 2014-10-22 21:19:59 +00:00
christos 152b237a9f add undef first 2014-10-22 20:50:20 +00:00
christos 38f6727a61 Do the mcontext stuff differently so that we don't fail compilation. 2014-10-22 16:53:16 +00:00
christos df8aa0850e NetBSD supports -lasan 2014-10-22 16:52:47 +00:00
christos ff64bca229 Add libraries the statically linked address sanitizer library needs. 2014-10-22 16:52:23 +00:00