Commit Graph

7303 Commits

Author SHA1 Message Date
christos
9bf6fb1f8e _LP64 64 bit types are "long" not "long long". 2018-03-04 16:44:11 +00:00
christos
ce06c661cc Fix Reproducible builds by obeying MDNS_VERSIONSTR_NODTS in all cases.
Reported by wiz@
2018-03-03 16:09:56 +00:00
mrg
d6b5ffb54c xfs and xset don't need libXfontcache. 2018-03-03 03:34:17 +00:00
christos
4824f3b241 update upstream code changes in signal handling. 2018-02-25 21:06:40 +00:00
christos
e68081c947 merge conflicts; also:
- Do the reuse-port first like MacOS/X otherwise we can't bind
- Disable SO_RECV_ANYIF hack
2018-02-25 20:04:55 +00:00
christos
200e8a27b2 import latest 2018-02-25 19:25:33 +00:00
christos
58300083f7 zero out socket structures before bind. 2018-02-25 19:22:41 +00:00
chs
eec15c920c add some flag definitions from a newer version of FreeBSD's libproc
that are needed by the new dtrace.  these don't do anything yet,
but dtrace doesn't mind.  I'll do a full resync to the latest FreeBSD
libproc / librtld_db later.
2018-02-25 18:48:39 +00:00
uwe
5a14c3e55e Add FreeBSD 11.0 and 12.0 2018-02-25 12:46:49 +00:00
mrg
924dadf563 fix some types of netbsd arm builds. 2018-02-25 01:05:09 +00:00
mrg
2e19323388 add LIBKRB5_LDADD/LIBKRB5_DPADD and their static counterparts
to bsd.prog.mk.  use them instead of hard coding various lists
of libraries for krb5.

this fixes static builds.
2018-02-25 00:16:48 +00:00
mrg
a23ad621f4 remove this obsolete file that has a lot of dated info from
about the time we started switching some ports to GCC 5.3.
2018-02-23 01:01:22 +00:00
mrg
7d1f9b1bbb regen ppc64 mknative gcc 6 files with biarch support. 2018-02-22 22:25:16 +00:00
mrg
7b8aed4e4d fix powerpc64 bi-arch support: provide a LINK_SECURE_PLT_SPEC.
with this, and mknative-gcc for it, powerpc64 builds with GCC 6.
2018-02-22 22:20:44 +00:00
mrg
da58b5e34c re-port the patch from https://gcc.gnu.org/bugzilla/attachment.cgi?id=15492.
- local HOST_WIDE_INT_CONSTANT macro same as new HOST_WIDE_INT_C macro,
  so use it instead, and remove the local macro.
- re-port the genrecog.c change which was missed in early GCC-6 port.

this makes sh3 work again.
2018-02-22 07:24:19 +00:00
christos
6402a3dbee llvm detects infinite recursion, so don't infinitely recurse. 2018-02-18 23:51:20 +00:00
mrg
08873910d3 minimal basic support for ia64 and gcc6. i am not sure about the
bp part of the GetPcSpBp() port, cherry please look :-)
2018-02-16 07:59:05 +00:00
christos
a3a22b2ed2 we now has _UC_MACHINE_FP. 2018-02-15 19:02:06 +00:00
ryoon
2c4c2d277a Fix broken dig and host commands
OpenSSL 1.1 does not have GOST support, so restrict GOST support to 1.0.
2018-02-14 12:47:43 +00:00
christos
298caec6c7 need -lrt for shm_{open,close} 2018-02-14 03:37:39 +00:00
christos
4c0f6a5b74 depend on librt for shm_{open,close} 2018-02-14 02:12:35 +00:00
christos
74bd282433 Asan needs bits and pieces of ubsan now; go figure. 2018-02-14 02:12:07 +00:00
christos
d637e5b6a0 our __csa_atexit does not like NULL dso; use atexit(3) instead. 2018-02-14 02:11:22 +00:00
christos
be74da7a3a enable addr2line 2018-02-14 02:10:32 +00:00
christos
8ac5b43509 - enable netbsd
- add cast to (uptr) for _Unwind_GetIP
2018-02-14 02:10:06 +00:00
christos
ae5e37f8c6 PR/53008: Henning Petersen: Fix missing brace inside comment. 2018-02-11 15:56:25 +00:00
maya
0cca4bc316 Use bools with bool. NFCI.
From Henning Petersen in PR toolchain/53009.
(I completed for the rest of the function. Similar code exists in GCC trunk.)
2018-02-11 13:50:15 +00:00
christos
09f7d6a729 Use bsd.init.mk (instead of bsd.own.mk) consistently so that
Makefile.inc gets called before bsd.own.mk so that we get a chance
to use NOFOO easily in Makefile.inc. Use that to turn CTF off for
everything.
2018-02-11 02:12:28 +00:00
christos
d4a3515981 non-null arg. 2018-02-11 00:25:12 +00:00
christos
e8b7cd3e82 remove more unreachable code. 2018-02-10 23:46:44 +00:00
christos
4ac26a154e Convert to full recursive attr/die lookup instead of one level since gcc 6
creates indirect attributes that point to indirect attributes. The code is
smaller this way too :-)
2018-02-10 23:39:29 +00:00
christos
4a07650653 fix for OpenSSL 1.0 and 1.1 co-existance, merge conflicts. 2018-02-09 17:13:27 +00:00
christos
3fb6240442 NSD 4.1.19
Dec 11, 2017
Bugfixes
ignore fallthrough compiler warning in flex EOF rule.
Fix warnings emitted by clang for --enable-packed. Alignment is not a problem for x86_64, don't enable packed when the platform requires aligned access.
Fix spelling error in xfr-inspect.
Fix 3392: Fix regression in 4.1.18 for notify lists with ip4 and ip6 targets.
Add test for support of -Wno-address-of-packed-member for --enable-packed.

NSD 4.1.18
Nov 30, 2017
Features
xfr-inspect, it is not installed, it prints xfr files from /tmp made with 'make xfr-inspect' in the source dir.
retry timeout between sending notifies dropped from 15 to 3 sec.
NSD sends 16 notifies simultaneously.
configure --enable-packed reduces memory usage, at expense of unaligned reads. Saves about 17%.
Save memory by selectively allocate precompiled nsec3 hashes, saves about 16% memory.
make ip-transparent option work on OpenBSD.
Save about 2% memory by changing usage count size in name tree.
Fix #2871: Increase number of sockets for xfrd transfers.
Bugfixes
Fix gcc 7.1.1 warnings.
Fix writev compile warning on FreeBSD.
Fix #1446: A corrupted zone file "propagates" to good ones.
nsd-control zonestatus prints wait time between attempts, for zones that are in that waiting time.
Fix collision printout of nsec3 to print name, hash and reverse.
Fix #1567: Change crit to err log level for gettimeofday failure. Add defines for compile without syslog.
Fix crash for DS query when parent and child zones both configured in nsd.conf and parent zone has not loaded properly.

NSD 4.1.17
Jul 21, 2017
Features
zone parser parses type AVC (it has TXT format).
Fix #1272: use writev to put tcp length field with data for outgoing zone transfer requests.
Bugfixes
Fix potential null pointer in nsec3 adjustment tree.
Fix text format of deletes for CDS and CDNSKEY, single 0 to represent empty base64 or hex string.

NSD 4.1.16
Apr 25, 2017
Features
zone parser can parse acronyms for algorithms ED25519 and ED448.
Fix 1243: Option to make NSD emit really minimal responses, minimal-responses: yes in nsd.conf.
Bugfixes
Calculate new udb index after growing the array, fix from Chaofeng Liu.
Fix missing _t to _type conversion for disable-radix-tree option.
Printout serial error with hint it may be too big.
Fix 1228: OpenSSL include is not guarded with HAVE_SSL
Patch for expire state in multi-master when masters includes broken master, from Manabu Sonoda.
minor manpage fix.

NSD 4.1.15
Feb 16, 2017
Bugfixes
Fix nsd-control and ipv6 only.
Squelch zone transfer error address family not supported by protocol at low verbosity levels.
Fix #1195: Fix so that NSD fails on non-compliant values for Serial.
Fix to rename _t typedefs because POSIX reserves them.
Fix that nsec3 hash collisions only reported on verbosity level 3.
2018-02-09 16:52:53 +00:00
mrg
c46c969be6 adjust the list of subdirs to elide. don't need libitm, gnattools
or gotools.
2018-02-08 19:33:26 +00:00
mrg
7e43f9ab3a update for GCC 6:
do_process has vfork() vs clobber issues
2018-02-07 06:17:07 +00:00
mrg
7dc27d93dc for now, turn off biarch support in ppc64. it ends up enabling
secureplt support for 64 bit mode, which doesn't exist (or need it.)
2018-02-07 05:34:21 +00:00
mrg
0566bffd45 regen mknative gcc 6.4 for mipsel. sort of do it for vax, ia64 and ppc64. 2018-02-07 04:13:47 +00:00
mrg
7438970f7d make this actually work:
- use ${G_OBJS} directly, it avoids issues with .c vs .cc files.
- add a method to not rm -rf .ab for inspection.
- fix and add missing depends for many things.
- use -Wno-error for mips and arm insn-recog.c, due to eg:
    insn-recog.c:10304:7: error: this decimal constant is unsigned only in ISO C90 [-Werror]
    mips.md:3474:11: error: this decimal constant is unsigned only in ISO C90 [-Werror]
2018-02-07 02:33:05 +00:00
mrg
862de77331 some more/changed files need -O1 for vax. 2018-02-07 02:32:39 +00:00
mrg
af8e9facc2 port to hppa, m68k, m68000, vax, and sh3. this should complete
our list of ports.  it's only about obtaining some pointers in
this code, really.
2018-02-07 02:32:01 +00:00
mrg
ccb67c474f handle MKPICLIB=no builds. 2018-02-07 02:30:39 +00:00
mrg
fe6746514c regen mknative-gcc 6 for:
arm armeb earm earmeb earmhf earmhfeb earmv4eb earmv6 earmv6eb
  earmv6hf earmv6hfeb earmv7 earmv7eb earmv7hf earmv7hfeb

mipsel, ppc64 and ia64 didn't work properly this time, and vax
has a problem with libstdc++.
2018-02-07 02:29:06 +00:00
mrg
acf2ba3732 fix alpha gcc 6.4 mknative. now works. 2018-02-06 23:12:35 +00:00
mrg
8c973b6499 build and install gcov-dump. 2018-02-06 23:12:01 +00:00
roy
f206af0326 Restore default paths to what they were before prior import. 2018-02-06 21:27:49 +00:00
mrg
77cfa0ba5f more mknative-gcc 6.4 for m68k, mips*, powerpc, sh*, sparc* and amd64. 2018-02-06 19:57:57 +00:00
mrg
74059485b4 regen for GCC 6.4 (no real change) 2018-02-06 09:36:34 +00:00
mrg
dff6d09fe0 port to mips and alpha. 2018-02-06 09:31:56 +00:00
mrg
d79d5e15a2 rebuild mknative GCC 6.4 for these targets:
arm armeb earmeb earmhf earmhfeb earmv4eb
	earmv6 earmv6eb earmv6hf earmv6hfeb
	earmv7 earmv7eb earmv7hf earmv7hfeb
	hppa ia64 m68000 m68k
	mips64eb mips64el mipseb mipsel
	powerpc64 sh3eb sh3el vax
2018-02-06 09:18:14 +00:00
christos
69e7f0ccfa put back all the build info in one place (Makefile.inc) 2018-02-06 03:30:18 +00:00