Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/external/gpl3/gcc update the status of GCC. summary: mostl...



details:   https://anonhg.NetBSD.org/src/rev/781077f3ea4b
branches:  trunk
changeset: 1020482:781077f3ea4b
user:      mrg <mrg%NetBSD.org@localhost>
date:      Tue Apr 13 08:22:40 2021 +0000

description:
update the status of GCC.  summary:  mostly looking good.

- all targets build or can be attempted
- arm64 needs __aarch64_swp1_acq in both libgcc and libkern
- earmv4 works, earmv7hf works, all arm32 builds, rest untested
- hppa, most/all m68k, alpha, and most ppc builds, none tested
- ia64 kernel runs as well as before, userland fails to build
- i386 runs, seems mostly fine except lib/libc/sys/t_ptrace_wait
  resume test is hung, and cpu-spinning in a zombie
- sun2 grew again, too large but builds besides RAMDISK not fitting
- mips seems problematic.  some kernels fail some work, userland
  has problems with both static and dynamic n32 and n64 programs
- sh3el seems ok in gxemul/landisk, sh3eb not tested
- vax seems OK in simh (same c++ exception issues)

all ports kernels have been tested to build (though perhaps with
some uncommited changes only needed for some, while most changes
are commited, about 15 are not but many ports build without them.)

diffstat:

 external/gpl3/gcc/README.gcc10 |  122 ++++++++++++++++++++++++----------------
 1 files changed, 74 insertions(+), 48 deletions(-)

diffs (171 lines):

diff -r bb04a525aa35 -r 781077f3ea4b external/gpl3/gcc/README.gcc10
--- a/external/gpl3/gcc/README.gcc10    Tue Apr 13 08:06:38 2021 +0000
+++ b/external/gpl3/gcc/README.gcc10    Tue Apr 13 08:22:40 2021 +0000
@@ -1,4 +1,4 @@
-$NetBSD: README.gcc10,v 1.2 2021/04/12 08:31:30 mrg Exp $
+$NetBSD: README.gcc10,v 1.3 2021/04/13 08:22:40 mrg Exp $
 
 
 new stuff:
@@ -21,7 +21,7 @@
 arch/feature list.
 
 tools:         does build.sh tools work?
-kernels:       does a kernel run?
+kernels:       does a kernel run?  y (yes), b (builds/ready), ? (not ready)
 libgcc:                does libgcc build?
 native-gcc:    does a full mknative-gcc complete?
 make release:  does build.sh release complete?
@@ -34,37 +34,37 @@
 ------------   -----   ------- ------  ----------      ------------    ----    ---     --------
 aarch64                y       n[3]    y       y               n               ?       ?       ?
 aarch64be      y       n       n       y               n               ?       ?       ?
-alpha          y       n       n       y               n               ?       ?       ?
-earmv4         y       n       n       y               n               ?       ?       ?
-earmv4eb       y       n       n       y               n               ?       ?       ?
-earmv5         y       n       n       y               n               ?       ?       ?
-earmv5eb       y       n       n       y               n               ?       ?       ?
-earmv5hf       y       n       n       y               n               ?       ?       ?
-earmv5hfeb     y       n       n       y               n               ?       ?       ?
-earmv6         y       n       n       y               n               ?       ?       ?
-earmv6eb       y       n       n       y               n               ?       ?       ?
-earmv6hf       y       n       n       y               n               ?       ?       ?
-earmv6hfeb     y       n       n       y               n               ?       ?       ?
-earmv7         y       n       n       y               n               ?       ?       ?
-earmv7eb       y       n       n       y               n               ?       ?       ?
-earmv7hf       y       n       n       y               n               ?       ?       ?
-earmv7hfeb     y       n       n       y               n               ?       ?       ?
-hppa           y       n       n       y               n               ?       ?       ?
-i386           y       n       n       y               n               ?       ?       ?
-ia64           y       n       n       y               n               ?       N/A     ?
-m68000         y       n       n       y               n               ?       ?       ?
-m68k           y       n       n       y               n               ?       ?       ?
-mipseb         y       n       y       y               y               ?       ?       ?
-mipsel         y       n       y       y               y               ?       ?       ?
-mips64eb       y       n       y       y               y               ?       ?       ?
-mips64el       y       n       y       y               y               ?       ?       ?
-powerpc                y       n       y       y               y               ?       ?       ?
-powerpc64      y       n       y       y               y               N/A     N/A     ?
-sh3eb          y       n       n       y               n               ?       ?       ?
-sh3el          y       n       n       y               n               ?       ?       ?
+alpha          y       b       y       y               y               ?       ?       ?
+earmv4         y       y       y       y               y               y       ?       n
+earmv4eb       y       b       y       y               n               ?       ?       ?
+earmv5         y       b       y       y               n               ?       ?       ?
+earmv5eb       y       b       y       y               n               ?       ?       ?
+earmv5hf       y       b       y       y               n               ?       ?       ?
+earmv5hfeb     y       b       y       y               n               ?       ?       ?
+earmv6         y       b       y       y               n               ?       ?       ?
+earmv6eb       y       b       y       y               n               ?       ?       ?
+earmv6hf       y       b       y       y               n               ?       ?       ?
+earmv6hfeb     y       b       y       y               n               ?       ?       ?
+earmv7         y       b       y       y               n               ?       ?       ?
+earmv7eb       y       b       y       y               n               ?       ?       ?
+earmv7hf       y       y       y       y               y               y       y       n
+earmv7hfeb     y       b       y       y               y               ?       ?       ?
+hppa           y       b       y       y               y               ?       ?       ?
+i386           y       y       y       y               y               y       ?       ?
+ia64           y       y       y       y               n[2]            ?       N/A     n
+m68000         y       b       y       y               n[1]            ?       ?       ?
+m68k           y       y       y       y               y               ?       ?       ?
+mipseb         y       b       y       y               y               ?       ?       ?
+mipsel         y       b       y       y               y               ?       ?       ?
+mips64eb       y       y       y       y               y               n[4,5]  ?       ?
+mips64el       y       b       y       y               y               ?       ?       ?
+powerpc                y       b       y       y               y               ?       ?       ?
+powerpc64      y       b       y       y               y               N/A     N/A     ?
+sh3eb          y       b       y       y               y               ?       ?       ?
+sh3el          y       y       y       y               y               y       ?       ?
 sparc          y       y       y       y               y               y       ?       ?
-sparc64                y       y       y       y               y               y       ?       ?
-vax            y       n       n       y               n               ?       ?       ?
+sparc64                y       y       y       y               y               y       y       n
+vax            y       y       y       y               y               y       n[6]    n
 x86_64         y       y       y       y               y               y       ?       ?
 riscv32                y       N/A     y       y               y               N/A     N/A     n
 riscv64                y       N/A     y       y               y               N/A     N/A     n
@@ -73,8 +73,34 @@
 ------------   -----   ------- ------  ----------      ------------    ----    ---
 architecture   tools   kernels libgcc  native-gcc      make release    runs    atf
 
+[1] - ramdisk.fs is too large, needs fixing.
+[2] - rescue fails to build:
+      /tmp//ccnNTCsS.s: Assembler messages:
+      /tmp//ccnNTCsS.s:610: Warning: .label_state outside of body region
+      /tmp//ccnNTCsS.s:611: Warning: .restore outside of body region
+      /tmp//ccnNTCsS.s: Error: 2 warnings, treating warnings as errors
 [3] - missing __aarch64_swp1_acq in kernels.
-
+[4] - edgerouter lite3 crashes early in boot:
+      [   1.0000000] u-boot bootmem desc @ 0x24108 version 3.0
+      [   1.0000000] phys segment: 0xfc000 @ 0x102000
+      [   1.0000000] adding 0xfc000 @ 0x102000 to freelist 3
+      [   1.0000000] phys segment: 0x7276000 @ 0xe8a000
+      [   1.0000000] adding 0x7276000 @ 0xe8a000 to freelist 3
+      [   1.0000000] phys segment: 0x7efa000 @ 0x8102000
+      [   1.0000000] adding 0x7efa000 @ 0x8102000 to freelist 3
+      [   1.0000000] phys segment: 0xff00000 @ 0x410000000
+      [   1.0000000] adding 0xff00000 @ 0x410000000 to freelist 0
+      [   1.0000000] pid 0(system): trap: cpu0, TLB miss (load or instr. fetch) in kernel mode
+      [   1.0000000] status=0xa3, cause=0x8, epc=0xffffffff802564d4, vaddr=0
+      [   1.0000000] tf=0x9800000000165bb0 ksp=0x9800000000165cf0 ra=0xffffffff80256470 ppl=0
+      [   1.0000000] kernel: TLB miss (load or instr. fetch) trap
+      Stopped in pid 0.0 (system) at  ffffffff802564d4:       sw      zero,16(s0)
+      0x9800000000165cf0: 0xffffffff802563+0xd8 (0xffffffff80000000,0,0,0xc000000008000000) ra 0xffffffff803edd18 sz 0
+      0x9800000000165cf0: 0xffffffff803edc+0x84 (0xffffffff80000000,0,0,0xc000000008000000) ra 0 sz 0
+    - OCTEON kernel seems OK, something in my private configuration?
+[5] - userland is broken.  some dynamic apps run on old install (ie, old
+      ld.elf_so & shlibs) but nothing in chroot runs (static or dynamic).
+[6] - vax vs c++ exceptions issue
 
 
 
@@ -84,33 +110,33 @@
 CPU            platform list
 ---            -------- ----
                acorn32         cats    epoc32  evbarm-eb       evbarm-el       hpcarm          iyonix          netwinder       shark           zaurus
-earmv4:                n               n       n       n               n               n                               n               n                
-earm:                                          n               n                               n                                               n
-earmhf:                                                n               n                                                                                
-earmv6:                                                n               n
-earmv6hf:                                      n               n
-earmv7:                                                n               n
-earmv7hf:                                      n               n
+earmv4:                k               k       k       k               k               k                               k               y                
+earm:                                          k               k                               k                                               k
+earmhf:                                                k               k                                                                                
+earmv6:                                                k               k
+earmv6hf:                                      k               k
+earmv7:                                                k               y
+earmv7hf:                                      y               k
 
                amiga           atari   cesfic  hp300           luna68k         mac68k          mvme68k         news68k         next68k         sun3    x68k
-m68k:          n               n       n       n               n               n               n               n               n               n       n
+m68k:          k               k       k       k               k               k               k               k               k               y       k
 
                evbmips         emips           ews4800mips     mipsco          newsmips        sgimips
-mipseb:                y               n               n               n               n               n
+mipseb:                y               k               k               k               y               ?
 
                evbmips         algor           arc             cobalt          hpcmips         pmax
-mipsel:                y               n               n               n               n               n
+mipsel:                y               y               y               y               y               y
 
                algor           evbmips         pmax
 mips64eb:                      y                
-mips64el:      n               y               n
+mips64el:      k               y               k
 
                amigappc        bebox   evbppc  ibmnws          macppc          mvmeppc         ofppc           prep            rs6000          sandpoint
-powerpc:       n               n       n       n               n               n               n               n               n               n
+powerpc:       k               k       k       k               y               k               k               k               k               k
 
                evbppc          macppc          ofppc
-powerpc64:     n               n[1]            n[1]
+powerpc64:     y               y               y
 
                dreamcast       evbsh3          hpcsh           landisk         mmeye
-sh3eb:                         n                                               n
-sh3el:         n               n               n               n
+sh3eb:                         k                                               y
+sh3el:         k               k               k               y



Home | Main Index | Thread Index | Old Index