Commit Graph

6256 Commits

Author SHA1 Message Date
mlelstv f72ec5db06 Drop extra argument not used by format string. 2016-06-26 15:46:42 +00:00
mlelstv ec520c2878 fix build 2016-06-26 14:44:10 +00:00
maya 2732ba09ec Delete bpm(1)
It hasn't worked in a long time.

PR bin/51268
2016-06-25 18:05:57 +00:00
pgoyette b8fd0470b4 One more removal of a redefined symbol while loading dtrace module.
Should finish the issues with PR kern/51265
2016-06-23 06:44:52 +00:00
pgoyette df0e13d590 On NetBSD we already have strpbrk() in libkern, so we don't need to
provide another copy in the module.  Removes another 'redefined symbol'
error when loading the module.

Related to PR kern/51265
2016-06-23 05:19:42 +00:00
pgoyette 37f3aa12f4 Import fix from FreeBSD - see [1], [2] references below...
Fix DTrace's panic() action.

It would previously call into some unfinished Solaris compatibility code
and return without actually calling panic(9). The compatibility code is
unneeded, however, so just remove it and have dtrace_panic() call vpanic(9)
directly.

Fixes immediate problem in PR-51265.  However, this now reveals another
redefined symbol 'strpbrk' in the required module "solaris".


[1] https://svnweb.freebsd.org/changeset/base/281916
[2] http://lists.freebsd.org/pipermail/svn-src-head/2015-April/071019.html
2016-06-23 04:35:35 +00:00
christos 4a082de2f6 fix dup definitions in module. 2016-06-18 21:41:08 +00:00
roy f992e6532d Sync 2016-06-17 19:42:31 +00:00
skrll a38b18bd73 arm-builtins needs insn-opinit.h
I had this sitting in my tree already, but prompted by Michael Plass on
port-arm
2016-06-17 03:27:50 +00:00
agc b1a05561cd Record the tzdata version in a separate file in the share/zoneinfo directory.
The file is kept up to date by the tzdata2netbsd script
2016-06-16 15:17:56 +00:00
mlelstv ccd8c06444 Make assertion of linker_file #ifdef __FreeBSD__. Fixes DIAGNOSTIC build. 2016-06-16 06:08:06 +00:00
christos 874963f630 Harmonize the error messages about dynamic relocations. 2016-06-15 14:47:23 +00:00
ryoon 64125f9b55 Fix buld with clang, add warning option exceptions 2016-06-13 20:03:07 +00:00
christos dbe760216f small progress. 2016-06-11 23:10:01 +00:00
christos fae93e9b6d fix compilation and getdents. 2016-06-11 20:45:07 +00:00
christos 9cc7345716 More fixed from Rin Okuyama
fix waitpid, getdents, explain ptrace, cleanup redefinitions
2016-06-11 13:39:26 +00:00
wiz 2c1d82f175 Bump date for -r.
XXX: this file has no license.
2016-06-10 08:03:46 +00:00
wiz eb70e3540c Sort option descriptions. Use Mt. 2016-06-10 08:03:26 +00:00
agc 3ac25dcbc1 Add some patches which were in an older tree, from January 29 2015:
+ add a -r argument to agrep(1) and document it. This has the same
effect as the -r flag to grep(1) - perform a recursive search
through sub-directories.

+ if a match is found in a "binary" file, then do the same as grep(1)
and just print the message that a match was found in the file, without
attempting to print the match in full.
2016-06-10 05:11:17 +00:00
mrg a24efa7dea import the xorg-server 1.10 reach over tree as xorg-server.old. 2016-06-10 03:42:13 +00:00
mrg e0debda5d5 minor clean ups and use ${XORG_SERVER_SUBDIR} where necessary 2016-06-10 03:37:34 +00:00
mrg 4218af5e5e for the eabi targetted compiler, if not compiling libgcc for eabi ensure
that libgcc doesn't try to define __[CD]TOR_LIST__[].
2016-06-10 01:14:00 +00:00
mrg 36b9a4317d add missed file for ppc64 gcc5.4 mknative. 2016-06-10 01:13:05 +00:00
mrg 121c341c36 update powerpc64 info 2016-06-09 23:36:53 +00:00
mrg 2059bccd1a mknative-gcc for powerpc64 and GCC 5.4. 2016-06-09 23:30:18 +00:00
mrg 2303aa3bf1 enable checks for no dot syms on netbsd ppc64, fixes build issues
in libutil where the opd() function conflicts with the .opd section.

remove a couple of tainted defines that are handled differently now.

this, with mknative-gcc as well, enables ppc64 world to build again.
2016-06-09 23:28:22 +00:00
christos ab85c28026 improve on ipfilter rules by Cy Schubert 2016-06-09 20:02:52 +00:00
christos 9f35ea3fd2 Support ipfw and ipf from FreeBSD 2016-06-09 18:59:31 +00:00
christos 32f250035b Fix syscall argument passing from Ryn Okuyama (with minor changes; hope I did
not make it worse :-)
2016-06-09 14:37:06 +00:00
christos b95d940b2e Disable glibc workaround for non linux. Rin Okuyama 2016-06-09 14:30:57 +00:00
abhinav f7b948b9bc Fix typo: processess -> processes 2016-06-09 09:01:21 +00:00
mrg a884da9efe add netbsd padding to 'struct addrinfo' copy.
eeew, this is really horrible
2016-06-09 07:38:45 +00:00
mrg 64bc63915b mknative-gcc for sparc64 and GCC 5.4 (and a bit of missed vax, too) 2016-06-09 07:37:49 +00:00
mrg ed02bbe8b6 mknative-gcc for vax and GCC 5.4. 2016-06-09 07:13:10 +00:00
mrg 4eeb3be5f4 apply -O1 more liberally for vax. fixes build. 2016-06-09 07:11:08 +00:00
mrg daaf4abadd regen (minor version updates) 2016-06-09 04:42:50 +00:00
christos 2964f15a7a Grr, gcc-5.4 creates DW_AT_typedef without DW_AT_type for HARD_REG_SET!
<1><c26b>: Abbrev Number: 4 (DW_TAG_typedef)
    <c26c>   DW_AT_name        : (indirect string, offset: 0x16e30): HARD_REG_ELT_TYPE
    <c270>   DW_AT_decl_file   : 57
    <c271>   DW_AT_decl_line   : 43
    <c272>   DW_AT_type        : <0x70>
 <1><c276>: Abbrev Number: 102 (DW_TAG_typedef)
    <c277>   DW_AT_name        : (indirect string, offset: 0x2f954): HARD_REG_SET
    <c27b>   DW_AT_decl_file   : 57
    <c27c>   DW_AT_decl_line   : 54
2016-06-08 21:32:27 +00:00
wiz 37d2826276 .Fx should only have version numbers as argument. 2016-06-08 12:48:37 +00:00
christos 968036b8b9 more -Wno-stack-protector 2016-06-08 02:27:31 +00:00
christos aa2f2c4cdd stack protector 2016-06-08 01:41:43 +00:00
christos b011f946a6 fix variable length stack allocation from upstream 2016-06-08 01:33:08 +00:00
christos 47f89c9b68 elide stack protector warning 2016-06-07 23:33:45 +00:00
christos 0668cef32e sprinke -Wno-stack-protector 2016-06-07 23:21:58 +00:00
mrg bc64ec48e6 mknative-gcc for all but sparc64, vax and sun2 and GCC 5.4. 2016-06-07 18:53:01 +00:00
christos 84692faf12 Add FreeBSD release notes (Kurt Lidl) 2016-06-07 17:31:02 +00:00
mrg bf2dc96f03 merge GCC 5.4.0. (needs mknative, may not build yet.) 2016-06-07 06:14:16 +00:00
mrg f30ff5883e import GCC 5.4.0 release. there's not a lot of new info though at
least these 135 (!) GCC PRs have been fixed by the update:

68730 69714 67550 70209 71254 70839 69737 70067 67355 67172 69239
65779 69546 70272 70421 65985 67339 67411 68309 68585 68679 68890
68949 69009 70139 70494 68162 69135 70306 68965 70297 70635 66786
69098 70347 69719 70526 70941 69400 69577 69447 65689 65886 65932
66655 68269 68789 69614 69648 69666 69764 69794 70044 70052 65726
68910 64289 68671 68835 69669 70329 71204 69355 67364 68049 68998
69323 69743 69995 69146 68651 67755 67484 68790 68907 69099 69496
69509 69516 70393 69222 69703 69939 70609 71004 71005 71036 71037
71038 68636 69013 69606 70115 70333 70430 60290 70356 69305 70024
67781 69414 69140 70510 60164 66635 67896 68106 68298 68449 68779
68921 68986 69037 69147 69194 69366 69399 69705 69917 69969 70613
71317 69268 70269 69032 65702 69219 69484 65996 66680 68283 69603
70350 67451 61397
2016-06-07 05:57:41 +00:00
martin 5de48bab33 Build fix for big endian arm, from Rin Okuyama.
Still not working, but other details still under discussion.
2016-06-06 21:06:33 +00:00
abhinav 179ece970c Fix .Xr references to troff(1), ok from wiz@ 2016-06-06 16:09:47 +00:00
abhinav c6072f2021 Fix reference to mtree(8) from mtree(1).
While there fix the .Dt, make the document title all caps.
Also, remove .Pp before .Bl.
Ok from wiz@
2016-06-06 14:45:15 +00:00
wiz 7ec21f98ea Whitespace and punctuation nits. 2016-06-06 08:22:52 +00:00
christos 5cbcac72ef Don't re-define standard types! 2016-06-05 20:09:00 +00:00
christos 86941a45f0 add glue for unimplemented platforms 2016-06-05 20:08:26 +00:00
christos e6053aea0a comment out the ones we don't have 2016-06-05 19:17:23 +00:00
christos 543c8f279f Don't play type games with size_t for NetBSD. It is either 32 bits for ILP32
or 64 bits for LP64.
2016-06-05 16:43:10 +00:00
christos 21e1e8aa49 Sync mdoc page with the one provided from upstream. 2016-06-05 16:24:34 +00:00
christos d10a0033d8 add ubsan to the build 2016-06-05 01:17:57 +00:00
christos 8511b0d02a PR/50773: Rin Okuyama: Fix single stepping on dynamically linked binaries
by skipping dynamic linker calls (from OpenBSD)
2016-06-04 16:14:29 +00:00
christos 717847f56d resolve conflicts 2016-06-03 20:39:02 +00:00
christos 42c2944020 Import ntp 4.2.8p8 2016-06-03 20:19:08 +00:00
christos 08cb3c9559 Fix compilation on non-x86 2016-06-03 15:53:18 +00:00
mrg dc051efc2d fix PR 48928: build the static libX11 properly. pull in the
ximcp, xlcDef, xlcUTF8Load, xlibi18n, and xomGeneric modules
directly.

also, don't include bsd.lib.mk in the fragment parts for these
modules, but in the module build itself.  otherwise, bsd.lib.mk
is included before SRCS is complete and the build strangely
seems to miss parts listed.

tested using the example in the PR.
2016-06-02 22:41:26 +00:00
christos bd2adf4ebf Fix ILP32 build. 2016-06-02 19:54:38 +00:00
christos eb54ca3cf7 Use NULL instead of 0 (Pedro Giffuni) 2016-06-01 22:57:51 +00:00
christos 63a24122d2 Add ubsan (not enabled, not tested, compiling)
Update tsan (not enable, not tested, not compiling)
Merge common infrastructure.
XXX: Perhaps the common code should be made into a separate library?
Or always require asan?
2016-06-01 22:48:55 +00:00
christos d94aad05fc Put the sanitizer libraries before everything else, since it needs to be
the first shared object.
2016-06-01 22:27:49 +00:00
christos 214e23d4e1 Put back asan now it works. 2016-06-01 17:07:13 +00:00
christos 860d3f06d6 deal with rename lossage 2016-06-01 17:03:26 +00:00
christos 8c05e0f285 Don't intercept things we don't have. 2016-06-01 17:02:54 +00:00
christos 3711470d09 Handle wrapping the same way as FreeBSD does. 2016-06-01 17:02:19 +00:00
christos 294de9a807 missing space 2016-06-01 04:20:20 +00:00
christos 78fc04143a use the default offsets since gcc hardcodes them (TARGET_ASAN_SHADOW_OFFSET ->
ix86_asan_shadow_offset)
2016-06-01 04:07:51 +00:00
christos 997b5166e9 use the correct array size. 2016-06-01 04:06:15 +00:00
christos c4250a9276 zero pad syscall. 2016-06-01 01:54:06 +00:00
christos 725f9292f8 more flags. 2016-06-01 00:54:20 +00:00
christos 97989743a7 Ignore the first dlpi entry which is ourselves on NetBSD instead of having
a NULL name as on linux.
2016-06-01 00:53:35 +00:00
agc eb3f7d2486 Import tzdata2016d from ftp://ftp.iana.org/tz/releases/tzdata2016d.tar.gz
Summary of changes in tzdata2016d (2016-04-17 22:50:29 -0700):
  * America/Caracas switches from -0430 to -04 on 2016-05-01 at 02:30.
  * Asia/Magadan switches from +10 to +11 on 2016-04-24 at 02:00.
  * New zone Asia/Tomsk, split off from Asia/Novosibirsk.
  * New zone Europe/Kirov, split off from Europe/Volgograd.
  * Russia and nearby locations had daylight-saving transitions on
    1992-03-29 at 02:00 and 1992-09-27 at 03:00, instead of on
    1992-03-28 at 23:00 and 1992-09-26 at 23:00.
  * Many corrections to historical time in Kazakhstan from 1991
    through 2005.
  * Mention Internet RFCs 7808 (TZDIST) and 7809 (CalDAV time zone references).

Summary of changes in tzdata2016c (2016-03-23 00:51:27 -0700):
  * Azerbaijan no longer observes DST.
  * Chile reverts from permanent to seasonal DST.
  * Europe/Kaliningrad and Europe/Vilnius changed from +03/+04 to
    +02/+03 on 1989-03-26, not 1991-03-31.
  * Several updates and URLs for historical and proposed Russian changes.
2016-06-01 00:03:14 +00:00
agc 2a93c63445 Add an extra set in the instructions (to make sure that you have the
public key the data was signed with)

Take the EDITOR variable from the environment and use that, defaulting to vi,
rather than just hardcoding vi.
2016-06-01 00:02:12 +00:00
christos 33b321f304 - hack BlockingMutex
- add NetBSD procmaps
- remove old unused source
2016-05-31 21:35:11 +00:00
christos 2a35c413e0 Add procmaps for NetBSD 2016-05-31 21:34:13 +00:00
christos 0fda9a31a2 Update sources and flags (compiles but missing stuff) 2016-05-31 20:47:52 +00:00
christos 0761ebe8d9 First steps to port this to NetBSD (compiles now but missing stuff) 2016-05-31 20:47:25 +00:00
abhinav ad8c33366b Add the missing parameter "const char *pattern" to the fetchList* functions.
From Julian Fagir in PR lib/45579
2016-05-31 16:26:47 +00:00
pgoyette a47b5fd6a6 Install man-link from fonts-conf.5 --> fonts.conf.5 to deal with an
erroneous cross-ref in xclock's man-page.  suggested by wiz@.

Fixes PR xsrc/49777
2016-05-31 02:35:49 +00:00
christos e9a9a47d86 Make sure that all messages end in '\n' in make_message_rcsvalid() and
compensate for it in add_rcs_file().
2016-05-30 17:49:51 +00:00
christos 1563e28766 merge conflicts 2016-05-26 16:49:55 +00:00
christos 4f2aea9f2c Import bind 9.10.4-P1 2016-05-26 15:45:39 +00:00
prlw1 854e85e5bd Handle truncated DHCP messages, provided only the BOOTP vendor area
is truncated.  [3fd740f3ed]
OK from roy@
2016-05-26 09:09:47 +00:00
kamil 13f6226486 Fix building GCC-5.3 with GCC-6.1
Cherry-pick upstream patch:

From 1e5f1089dec3af328fd03125d6778f666d0bd4e4 Mon Sep 17 00:00:00 2001
From: edlinger <edlinger@138bc75d-0d04-0410-961f-82ee72b054a4>
Date: Thu, 25 Feb 2016 15:33:50 +0000
Subject: [PATCH] 2016-02-25  Bernd Edlinger  <bernd.edlinger@hotmail.de>

        Backported from mainline
        2016-02-19  Jakub Jelinek  <jakub@redhat.com>
                    Bernd Edlinger  <bernd.edlinger@hotmail.de>

        * Make-lang.in: Invoke gperf with -L C++.
        * cfns.gperf: Remove prototypes for hash and libc_name_p
        inlines.
        * cfns.h: Regenerated.
        * except.c (nothrow_libfn_p): Adjust.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-5-branch@233720 138bc75d-0d04-0410-961f-82ee72b054a4


Verified to work with GCC 5.3 and 6.1.
2016-05-25 20:57:34 +00:00
skrll 60330fb799 Sync and allow arm to natively build 2016-05-24 21:25:25 +00:00
christos 63ea08216d Fix armv3 segv compiling mDNS.c, from:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62254
    https://gcc.gnu.org/ml/gcc-patches/2016-02/msg01095.html
2016-05-24 15:42:17 +00:00
skrll fa15d5d3a4 More mknative re-runs 2016-05-24 13:00:00 +00:00
skrll 1afd582e81 More mknative re-run. 2016-05-24 10:46:13 +00:00
skrll 6e3cf83f8e Re-tun mknative for earm gdb 2016-05-24 09:16:56 +00:00
christos 2a2068fd64 Read and load the aux vector from a core file 2016-05-24 00:50:53 +00:00
christos 06c5bf7f1c PIE in the face! 2016-05-21 16:23:10 +00:00
christos da360e79eb Fix infinite recursion when building i386 -fPIE in
src/external/mit/xorg/lib/libxcb/xkb.

https://gcc.gnu.org/viewcvs/gcc?view=revision&revision=231599

PR debug/67355
* var-tracking.c (reverse_op): Don't add dummy zero to reverse
  ops that simplify back to the original value.
* alias.c (refs_newer_value_p): Cut off recursion for
  expressions containing the original value.
2016-05-19 20:27:36 +00:00
spz 54b54045cc Fixes for CVE-2016-0718 from upstream. 2016-05-17 23:53:02 +00:00
christos 5a6c14c844 Add RCSID's 2016-05-17 14:00:09 +00:00
christos 5b57c7ffa3 Adjust to 2.6.3. 2016-05-16 22:19:10 +00:00