Commit Graph

9282 Commits

Author SHA1 Message Date
mrg
6b90dfb69d use the generic ppc64 LINK_GCC_C_SEQUENCE_SPEC. 2020-09-07 22:21:55 +00:00
dogcow
1a71ad483f Fix build.sh tools -j1 compilation, where bfd.h wasn't generated early
enough.
2020-09-07 19:46:45 +00:00
christos
29ff04b87c Simplify to avoid packed struct alignment issue. 2020-09-07 19:37:21 +00:00
christos
625508a57b Disable an init-list-lifetime warning from gcc-9. 2020-09-07 19:05:41 +00:00
christos
09db05edfe Comment out index out of bounds debugging code. 2020-09-07 19:04:27 +00:00
mrg
2bc6576ee5 more updates:
- more arm stuff builds
- 32 bit mips builds and kernels run
- mips64el builds
- powerpc (walnut) kernels run
2020-09-07 10:42:58 +00:00
mrg
e9ae3901e6 asan_interceptors.cc needs -O1 for mipsel/mipseb. 2020-09-07 09:09:40 +00:00
mrg
d4edddf34a i can't confirm or deny that GCC 9 is wrong about parity_valid[]
having uninitialised members, but since setting up reconstruct
isn't a hot path, just zero init the whole thing to be sure.
2020-09-07 07:44:53 +00:00
mrg
4dc66dd97f various updates:
- most builds are working
- arm64, amd64, sparc, evbmips64-eb, and armv7hf-el are known to be
  stable and work
- mips64-el needs new binutils, in testing
- vax, sh3*, riscv64 and mipse[lb] builds are broken in various ways
2020-09-07 07:43:36 +00:00
mrg
3aea87db6a avoid returning stack garbage on platforms that don't have either
__lwp_gettcb_fast() or __lwp_getprivate_fast().
2020-09-07 07:10:43 +00:00
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