Commit Graph

9272 Commits

Author SHA1 Message Date
mrg
3c4e3b4cdb avoid calling printf %s with NULL. fix idea from christos. 2020-09-07 00:48:45 +00:00
mrg
79b5664c2b update status for several ports that now mostly build (perhaps with
some uncommited changes.)
2020-09-07 00:38:14 +00:00
mrg
ec02653d43 re-gen. 2020-09-07 00:37:23 +00:00
christos
1124ae8b50 Avoid strict aliasing issue by using a separate buffer.. 2020-09-07 00:36:53 +00:00
mrg
6f8b0adf3a use GCC_NO_ADDR_OF_PACKED_MEMBER. 2020-09-07 00:24:37 +00:00
mrg
86288e60b9 apply -Wno-error=alloca-larger-than= for GCC 9. 2020-09-07 00:24:17 +00:00
mrg
3d9a34f72e fix for netbsd/mips. 2020-09-07 00:22:51 +00:00
mrg
e7ac2a8b5b apply some GCC 9 -Wno-error* 2020-09-07 00:18:25 +00:00
jakllsch
d1868e6ec7 mknative-gcc for gcc 9.3.0 and aarch64eb 2020-09-06 23:23:21 +00:00
christos
86b0983bea Stop using alloca 2020-09-06 21:49:44 +00:00
christos
be20a654c6 Adjust string sizes 2020-09-06 21:49:32 +00:00
christos
dfab1b7eb2 comment out ioctl that is only defined for the kernel 2020-09-06 17:15:09 +00:00
christos
7c502affd2 fix null argument 2020-09-06 17:06:20 +00:00
christos
a2d10af9ab fix zeroing 2020-09-06 16:44:16 +00:00
christos
5ca7119f94 Appease gcc-9 2020-09-06 16:30:41 +00:00
roy
3ace96f44a dhcpcd: Use ppoll(2) 2020-09-06 14:57:18 +00:00
roy
529fe136c2 Sync 2020-09-06 14:55:34 +00:00
roy
b4100df48f Update to dhcpcd-9.2.0 with the following changes:
* route: ensure IPv4LL routes come last in priority
 * DHCP: fix many issues with extending the last lease
 * privsep: don't read control group from config in privsep
 * privsep: only the master process responds to signals
 * privsep: use a socketpair for stderr/stdin rather than dupping /dev/null
 * privsep: right limit stdin/stderr/stdout
 * privsep: dumping a lease is now run in a sandbox
 * options: check if kernel supports INET or INET6 before enabling default
 * options: let clientid override a prior duid
 * options: allow -1 to represent infinity for requested lease time
 * dhcpcd: fix a crash initing a new interface after route overflow
2020-09-06 14:54:28 +00:00
mrg
701bf241fe note that aarch64, earm*, sh3*, sparc*, vax, and x86-64 are
slightly updated in status.  x86-64 and sparc and mips64-eb
all appear to work well enough to complete or get well into
an atf run (still going.)

note first ICE segv on sh3
2020-09-06 13:06:03 +00:00
mrg
472eadc88c re-port to netbsd/sparc*
fix build on non-constant pagesize platforms and for dkbad.
2020-09-06 10:55:16 +00:00
mrg
d2657b0349 build-hash-table.lo and build-vec.lo depend upon $HASH_TABLE_H not $GGC_H 2020-09-06 10:50:53 +00:00
mrg
d429eca4f6 use struct zero initialiser and avoid calling memset() on a pointer
of the wrong size.
2020-09-06 08:15:04 +00:00
mrg
cb93b81028 add support for new GCC 9 warnings that may be too much to fix
right now.  new address-of-packed-member and format-overflow
warnings have new GCC_NO_ADDR_OF_PACKED_MEMBER amd
GCC_NO_FORMAT_OVERFLOW variables to remove these warnings.

apply to a bunch of the tree.  mostly, these are real bugs that
should be fixed, but in many cases, only by removing the 'packed'
attribute from some structure that doesn't really need it.  (i
looked at many different ones, and while perhaps 60-80% were
already properly aligned, it wasn't clear to me that the uses
were always coming from sane data vs network alignment, so it
doesn't seem safe to remove packed without careful research for
each affect struct.)  clang already warned (and was not erroring)
for many of these cases, but gcc picked up dozens more.
2020-09-06 07:20:26 +00:00
mrg
eccee43a27 fix merge botch: netbsd doesn't want any of this. 2020-09-06 05:30:17 +00:00
mrg
4983628f40 mknative-gcc for gcc 9.3.0 and earmv5*. 2020-09-06 02:25:13 +00:00
mrg
45b0095c0d update mknative-gcc status. everything but earmv5 is done, though
few have been tested to actually build yet.
2020-09-05 23:18:49 +00:00
mrg
3d883ed1cc mknative-gcc for gcc 9.3.0 and arm, earmv[467]*, i386, mipseb, mips64*,
and powerpc64.
2020-09-05 23:13:13 +00:00
mrg
79ec32295a don't include vxworks-dummy.h twice 2020-09-05 22:41:17 +00:00
mrg
dec7c72467 mknative-gcc for gcc 9.3.0 and arm64, alpha, hppa, ia64, m68*, mipseb,
powerpc, riscv*, sh3*, sparc*, vax.

move data from README.gcc8 to README.gcc9.
2020-09-05 22:16:57 +00:00
mrg
15f8aa285a make GCC 9.3.0 build itself:
- common-target is needed before common now
- complete build-sort.o framework
- fix cyclic dep
- fix .c vs .cc issues
2020-09-05 14:24:25 +00:00
mrg
b5ca7043a9 mknative-gcc for gcc 9.3.0 and amd64.
the tree has quite a number of issues to resolve before it builds.
2020-09-05 13:41:00 +00:00
mrg
57c87668e3 work around various headers not being fully open without some
special #define being present (ie, define them.)
2020-09-05 13:36:49 +00:00
mrg
5db494bf17 fix various merge botches; we may need to re-port the ThreadLister code. 2020-09-05 13:35:55 +00:00
mrg
257335559d avoid always passing NULL to printf()-like functions 2020-09-05 13:35:24 +00:00
mrg
c4c51006fe find header files in /usr/include/gcc-9 and the gcc cpu dir. 2020-09-05 12:19:25 +00:00
mrg
fbc31b01a6 endfor not endif 2020-09-05 11:40:56 +00:00
mrg
8ecbf5f02b port reachover framework to GCC 9. 2020-09-05 09:50:15 +00:00
mrg
654d12c008 merge GCC 9.3.0. 2020-09-05 09:12:22 +00:00
mrg
181254a7b1 initial import of GCC 9.3.0. changes include:
- live patching support
- shell completion help
- generally better diagnostic output (less verbose/more useful)
- diagnostics and optimisation choices can be emitted in json
- asan memory usage reduction
- many general, and specific to switch, inter-procedure,
  profile and link-time optimisations.  from the release notes:
  "Overall compile time of Firefox 66 and LibreOffice 6.2.3 on
  an 8-core machine was reduced by about 5% compared to GCC 8.3"
- OpenMP 5.0 support
- better spell-guesser
- partial experimental support for c2x and c++2a
- c++17 is no longer experimental
- arm AAPCS GCC 6-8 structure passing bug fixed, may cause
  incompatibility (restored compat with GCC 5 and earlier.)
- openrisc support
2020-09-05 07:52:00 +00:00
jakllsch
e98c6d562d Native GCC (old) for aarch64eb 2020-09-04 02:30:44 +00:00
jakllsch
8ee653d33c Native GCC (new) for aarch64eb 2020-09-04 02:29:54 +00:00
jakllsch
998e6be0d9 Build driver-aarch64.c for both endians of aarch64 2020-09-04 02:26:57 +00:00
jakllsch
6bc7d0c5ed Regen native-binutils for aarch64eb 2020-09-04 02:24:57 +00:00
jakllsch
dbd5c7f03a Treat aarch64eb the same as aarch64, enabling aarch64eb build 2020-09-03 18:30:05 +00:00
kardel
d566b44310 remove unneeded newline in quotes variable string - keeps ntpq happy 2020-09-03 07:26:41 +00:00
riastradh
dd2199c16d Nix trailing whitespace. 2020-09-02 18:09:04 +00:00
jakllsch
5aa118c344 Teach native gmp about aarch64eb 2020-09-02 15:15:30 +00:00
jakllsch
9f4a03f995 Teach config.gcc about NetBSD aarch64eb 2020-09-02 14:13:20 +00:00
kim
54053e79bb Reflect that this is current by using ".99" in the Os version
This helps distinguising NetBSD-current pages from NetBSD-9.0 pages better
on man.netbsd.org, which is still using nroff. (Using mandoc needs more
tweaking to avoid all page footers reflecting the uname release of the
web server.)
2020-09-02 09:28:25 +00:00
christos
85da8872cb eat the sign, pointed out by uwe@ 2020-09-01 00:35:29 +00:00