Commit Graph

7766 Commits

Author SHA1 Message Date
christos
0f33703f35 It is not an error if we did not find any IPv4 interfaces. It could
be the case we never have V4 interfaces (in a V6 system) so this
is bogus. The code was recently changed to ignore loopback interfaces.
If mdnsd was started too early, this means that no interfaces would
be found (since interfaces down, with no addresses, or tentative
are ignored). I put back the loopback interfaces yesterday to avoid
this error, but this seems like the left hand not knowing what the
right hand does because whoever removed the loopback interfaces
from the list, did not read the 'self discovery' comment and the
special code that deals with loopback in this file. Nevertheless,
I think it is better to ignore the loopback interfaces in the long
run, but it is ok to keep them around since the code is handling
them just fine (and works both with and without them).
2018-11-19 08:14:28 +00:00
christos
96efac35b4 Use our getifaddrs version 2018-11-18 18:58:44 +00:00
christos
73617236ff print the path of the unix socket we could not create. 2018-11-18 18:58:05 +00:00
christos
50d2c4317f NFC: Fix commit message: Include the loopback so that we don't return an
empty address list before addresses are configured.
2018-11-18 18:57:12 +00:00
christos
29fb438a54 Add a simpler version to do interface enumeration that uses getifaddrs(3) 2018-11-18 18:55:49 +00:00
riastradh
fe26b32950 Use callout_halt, not callout_stop, for FreeBSD callout_drain shim.
Callers expect callout_drain will wait for it to complete if it has
fired.
2018-11-15 05:43:57 +00:00
riastradh
c3426bd36f Need <dev/mm.h> for mm_md_direct_mapped_phys.
It turns out this code always sees __HAVE_MM_MD_DIRECT_MAPPED_PHYS as
disabled on amd64, for reasons that I shall address forthwith, but it
is enabled on aarch64 and so the MKZFS=yes build breaks.
2018-11-15 04:55:49 +00:00
riastradh
6af8fc2044 Be consistent about _KERNEL vs _HARDKERNEL in zfs.
As it happens, on x86 both _HARDKERNEL and _KERNEL get defined; see
the conditional in sys/rump/Makefile.rump that _refrains_ from
defining _RUMPKERNEL on x86.

So the only version of this code that has been tested is the one with
all of it included.  But on, e.g., aarch64, we do not get _HARDKERNEL
here, and the code fails to build because some things use the field
struct spa::spa_deadman_cycid under _KERNEL when it is declared only
under _HARDKERNEL.

If there's a reason _not_ to use this in rump -- and it's not obvious
to me why -- then all access to the field needs to agree to use
_HARDKERNEL.
2018-11-15 04:55:38 +00:00
riastradh
3c01401a94 Omit unused definition with broken cpp conditional. 2018-11-15 04:55:26 +00:00
riastradh
ec4edf7a44 Omit conflicting definition that breaks build on aarch64. 2018-11-15 04:55:17 +00:00
riastradh
30279c00db "PRIu64", not llu, to print uint64_t. 2018-11-15 04:55:06 +00:00
riastradh
44773f2a69 Define _LP64 or _ILP32 for all architectures.
Rather than write out a table for each architecture, rely on the C
compiler to define _LP64 for 64-bit ones, on the assumption that
anything not LP64 is ILP32, and on CTASSERTs to verify this
assumption so that if it's wrong it'll fail safely with a noisy build
failure.

Gives zfs half a chance of building on, e.g., powerpc.
2018-11-14 17:09:08 +00:00
hannken
975d5a9381 Re-enable {send,recv}mmsg now they are working. 2018-11-12 09:21:45 +00:00
mrg
9977f8ab49 pull across from gcc/: regen after GCC 6.5. 2018-11-11 23:14:16 +00:00
mrg
b8bf2b1845 regen after GCC 6.5. 2018-11-11 23:13:10 +00:00
mrg
cb0339e943 merge GCC 6.5.0 into gcc.old. 2018-11-11 22:49:37 +00:00
mrg
e9afa17a23 merge GCC 6.5 into gcc.old (properly this time.) 2018-11-11 20:59:07 +00:00
macallan
0210ccb23c build Xorg with nv and wsfb drivers on iyonix 2018-11-10 01:38:02 +00:00
christos
bbcc6d539d regen 2018-11-08 02:30:14 +00:00
christos
73124e42b8 delete i386 aout vec which has been removed 2018-11-08 02:30:06 +00:00
christos
7c6f6726e3 merge conflicts 2018-11-07 01:13:51 +00:00
sevan
b62e5649d3 Test for other exit cases.
It might be worth regenerating configure with modern autoconf.

Reviewed by <riastradh>
Closes PR toolchain/53314
2018-11-06 22:01:16 +00:00
christos
c1a2098819 2018-07-18 Nick Clifton <nickc@redhat.com>
2.31.1 Release point.

2018-07-18  Nick Clifton  <nickc@redhat.com>

	* (DEVO_SUPPORT): Fix typo in previous delta.
	(do_proto_toplev): Add --quiet option to configure command line.

2018-07-16  Nick Clifton  <nickc@redhat.com>

	* src-release.sh (DEVO_SUPPORT): Add test-driver and ar-lib.

2018-07-06  Sebastian Huber  <sebastian.huber@embedded-brains.de>

	* config.sub: Sync with upstream version 2018-07-03.

2018-07-05  Sebastian Huber  <sebastian.huber@embedded-brains.de>

	* config.guess: Sync with upstream version 2018-06-26.
	* config.sub: Sync with upstream version 2018-07-02.

2018-06-24  Nick Clifton  <nickc@redhat.com>

	* configure: Regenerate.

2018-06-19  Simon Marchi  <simon.marchi@ericsson.com>

	* libtool.m4: Use AC_LANG_SOURCE.
	* configure.ac: Remove AC_PREREQ, use AC_LANG_SOURCE.
	* README-maintainer-mode: Update version requirements.
	* ar-lib: New file.
	* test-driver: New file.
	* configure: Re-generate.

2018-06-18  Eric Botcazou  <ebotcazou@adacore.com>

	* Makefile.def (fortran): Add check-target-libgomp-fortran.
	* Makefile.tpl (check-target-libgomp-fortran): New phony target.
	* Makefile.in: Regenerate.

	* configure: Regenerate.

2018-06-18  Simon Marchi  <simon.marchi@ericsson.com>

	* configure.ac: Sync with GCC, remove MPX-related things.

2018-05-01  Nick Clifton  <nickc@redhat.com>

	* config.guess: Synchronize with config project master sources.
	* config.sub: Likewise.

2018-05-01  Francois H. Theron  <francois.theron@netronome.com>

	* configure.ac: Added "nfp" target.
	* configure: Regenerate.

2018-02-13  Maciej W. Rozycki  <macro@mips.com>

	* configure.ac <wasm32-*-*> (noconfigdirs): Add `ld'.
	* configure: Regenerate.

2018-01-30  Nick Clifton  <nickc@redhat.com>

	* src-release.sh (do_proto_toplev): Add patterns for more junk files
	to delete before creating the tarball.

2018-01-29  Nick Clifton  <nickc@redhat.com>

	* src-release.sh (do_proto_toplev): Strip patch remnant files from
	the sources before creating the tarball.

2018-01-13  Nick Clifton  <nickc@redhat.com>

	* src-release.sh: Update copyright notice.  Change reference to devo
	to be a reference to root.
2018-11-06 21:18:32 +00:00
mrg
c9de0e081b - make the build depend upon the BASE-VER file.
- workaround a problem only see with -O2 in ipa-inline.c: it can't
  convince itself that an integer underflow can't happen.
2018-11-06 06:17:29 +00:00
maya
79176afac1 Fix typo s/fron/from/
From dfive on freenode, thanks!
2018-11-05 17:44:09 +00:00
mrg
13795cc727 regenerate everything for GCC 6.5.
sh3eb and sh3el had a problem wtih libstdc++ i had to work around for now.
2018-11-05 08:46:31 +00:00
mrg
52c8e45302 GCC 6.5 ios_failure.cc needs to be compiled with cxx mode. 2018-11-05 08:45:32 +00:00
christos
2d24b2e817 - Introduce a new SO_RERROR socket option to explicitly turn on
receive overflow errors re-instating the default behavior to
  silently ignore them as before 2018-03-19.
- Introduce a new kern.sooptions sysctl to control the default
  behavior of socket options. Setting this to 0x4000 (SO_RERROR),
  turns on receive overflow error reporting for all sockets.
- Change dhcpcd to turn on SO_RERROR on all its sockets.

As discussed in tech-net.
2018-11-04 16:30:28 +00:00
mrg
d64c77df5f merge GCC 6.5. needs mknative as some new files appeared. 2018-11-04 00:38:12 +00:00
mrg
d79abf0858 import GCC 6.5.0. this is largely a maint release with no
particularly features listed here:

   http://gcc.gnu.org/gcc-6/changes.html

this fixes over 250 PRs in the GCC bugzilla:

   https://gcc.gnu.org/bugzilla/buglist.cgi?bug_status=RESOLVED&resolution=FIXED&target_milestone=6.5
2018-11-04 00:12:20 +00:00
christos
550b2e0609 Disable {send,recv}mmsg until we make our syscalls not have "sticky" errors. 2018-11-01 19:11:31 +00:00
kre
d4305dc776 sysctl(KERN_BOPOTIME) started returning a struct timespec in 2009.
Update to match....    We're slow but we get there eventually!

NFC for any of these programs, struct timeval and struct timespec
are the same size, and only the tv_sec field of boottime is used,
and that's unchanged.
2018-10-30 21:15:09 +00:00
martin
cd54eb5ef0 VAX does not fully populate the register move costs table, so do not
access it w/o checks.
Hack to work around PR toolchain/53176.
2018-10-29 10:22:56 +00:00
kre
b51d173ea9 Merge tzdata2018g 2018-10-27 20:27:17 +00:00
kre
81ac8e1937 Import tzdata2018g from ftp://ftp.iana.org/tz/releases/tzdata2018g.tar.gz
Summary of changes in tzdata2018g (2018-10-26 22:22:45 -0700):

    Morocco switches to permanent +01 on 2018-10-27.
2018-10-27 20:26:38 +00:00
christos
550eae4327 Avoid conflicts with "our" (the FreeBSD) nvpair/nvlist implementation by
prefixing all symbols with "opensolaris_".
2018-10-23 22:26:14 +00:00
christos
b87aa2b0b0 prefix all nv* symbols with opensolaris_ 2018-10-23 22:25:21 +00:00
christos
1f68464dbb Don't try to drop privileges twice, it produces a spurious error message
in the forked child.
2018-10-20 02:30:43 +00:00
kre
1c5f44134e Merge tzdata2018f 2018-10-19 04:32:14 +00:00
kre
8b352109c7 Import tzdata2018f from ftp://ftp.iana.org/tz/releases/tzdata2018f.tar.gz
Volgograd moves from +03 to +04 on 2018-10-28.
  Fiji ends DST 2019-01-13, not 2019-01-20.
  Most of Chile changes DST dates, effective 2019-04-06.

  Plus corrections to North Korea's 2018-05-05 and China's April 1988
  updates (getting the actual time/date of the transition correct)
  Corrections for Macau pre 1992, Japan in late 1940's - early 1950's,
  and China (Shanghai) 1940's.  The Phillipines get their timezone
  name abbreviations back.
2018-10-19 04:31:33 +00:00
christos
1ca2f79a24 fix lint fixes 2018-10-19 00:32:47 +00:00
christos
bdab9e2ddc lint fixes 2018-10-19 00:24:57 +00:00
christos
c02f7f97b6 Merge conflicts 2018-10-19 00:11:48 +00:00
christos
006f800885 2018-10-18 19:32 Christos Zoulas <christos@zoulas.com>
* release 5.35

2018-09-10  20:38  Christos Zoulas <christos@zoulas.com>

	* Add FreeBSD ELF core file support (John Baldwin)

2018-08-20  18:40  Christos Zoulas <christos@zoulas.com>

	* PR/30: Allow all parameter values to be set (don't treat 0 specially)
	* handle default annotations on the softmagic match instead at the
	  end.

2018-07-25  10:17  Christos Zoulas <christos@zoulas.com>

	* PR/23: Recognize JSON files

2018-07-25  10:17  Christos Zoulas <christos@zoulas.com>

	* PR/18: file --mime-encoding should not print mime-type

2018-07-25   8:50  Christos Zoulas <christos@zoulas.com>

	* release 5.34

2018-06-22  16:38  Christos Zoulas <christos@zoulas.com>

	* Add Quad indirect offsets

2018-05-24  14:10  Christos Zoulas <christos@zoulas.com>

	* Enable parsing of ELF dynamic sections to handle PIE better
2018-10-18 23:54:09 +00:00
he
47fdcb82ac Apply suggested fix from https://gitlab.isc.org/isc-projects/bind9/issues/589.
This would on NetBSD prevent UDP replies > 1432 bytes in size
transported over IPv4, because an IPv6 control message is applied
on an IPv4 socket, which will subsequently be refused.  Therefore,
apply that control mssage only on IPv6 sockets.
2018-10-18 14:30:54 +00:00
jmcneill
d25cdfbd09 Add acpidump, amldb, and iasl to aarch64 build. 2018-10-14 13:36:32 +00:00
christos
11fd7f0fe7 remove accidental commit debris. 2018-10-12 18:02:59 +00:00
hannken
e6977f0d42 Fix obvious typo: add missing equal sign. 2018-10-12 09:43:59 +00:00
kre
397150f671 Fix stupid edit botch in previous, pointed out by leot@ (thanks). 2018-10-09 02:53:11 +00:00
kre
4fa65b6b18 PR port-evbarm/53661
Always quote RESTARTCMD when eval'ing it.   Whatever script does it...
2018-10-09 01:28:35 +00:00