Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/external/gpl3/gcc - sanitizers are updated
details: https://anonhg.NetBSD.org/src/rev/6d9241f15b49
branches: trunk
changeset: 839067:6d9241f15b49
user: mrg <mrg%NetBSD.org@localhost>
date: Wed Feb 06 11:54:02 2019 +0000
description:
- sanitizers are updated
- add 'switched' column to port list
- update many working ports
- add a second list of cpus vs. ports that have been tested to build
remaining issues:
- eabi arm vs libgcc
- vax-gcc ICE
- ppc64-gcc ICE
- sun2 build
- ia64 libgcc
- sh3 vs. compiler_rt: udivmoddi4.c:190: undefined reference to `abort'
- x68k memswitch triggers new warnings
- sun3 bloated
- mips64* has ./usr/lib/64/libgomp.so.2 as a missing file in sets
diffstat:
external/gpl3/gcc/README.gcc7 | 149 +++++++++++++++++++++++++----------------
1 files changed, 90 insertions(+), 59 deletions(-)
diffs (182 lines):
diff -r 8f7deb2317a5 -r 6d9241f15b49 external/gpl3/gcc/README.gcc7
--- a/external/gpl3/gcc/README.gcc7 Wed Feb 06 11:05:30 2019 +0000
+++ b/external/gpl3/gcc/README.gcc7 Wed Feb 06 11:54:02 2019 +0000
@@ -1,4 +1,4 @@
-$NetBSD: README.gcc7,v 1.8 2019/02/05 14:07:24 mrg Exp $
+$NetBSD: README.gcc7,v 1.9 2019/02/06 11:54:02 mrg Exp $
new stuff (from gcc 5):
cc1objcplus
@@ -8,59 +8,55 @@
libvtv
libitm
-known todo for gcc7:
- - sanitizer file lists are not updated properly
- - pull out more stuff via mknative-gcc vs hand coded in Makefile??
-
-
-arch/feature list. anything not here has been switched already:
+arch/feature list.
tools: does build.sh tools work?
kernels: does a kernel run?
libgcc: does libgcc build?
native-gcc: does a full mknative-gcc complete?
-make release: does build.sh release complete?
+make release: does build.sh release complete?
runs: does the system boot with a full world?
atf: does atf run / compare well
+switched: has port switched? y (yes), n (no/ready), ? (not ready)
-architecture tools kernels libgcc native-gcc make release runs atf
------------- ----- ------- ------ ---------- ------------ ---- ---
-aarch64 y y y y y y ?
-alpha y y y y y y ?
-arm y y y y y y ?
-armeb y ? y y y ? ?
-earm ? ? ? ? ? ? ?
-earmeb ? ? ? ? ? ? ?
-earmhf ? ? ? ? ? ? ?
-earmhfeb ? ? ? ? ? ? ?
-earmv4 y y n[5] y ? ? ?
-earmv4eb ? ? ? ? ? ? ?
-earmv6 ? ? ? ? ? ? ?
-earmv6eb ? ? ? ? ? ? ?
-earmv6hf ? ? ? ? ? ? ?
-earmv6hfeb ? ? ? ? ? ? ?
-earmv7 ? ? ? ? ? ? ?
-earmv7eb ? ? ? ? ? ? ?
-earmv7hf ? ? ? ? ? ? ?
-earmv7hfeb ? ? ? ? ? ? ?
-hppa y n[6] y y n[7] ? ?
-i386 y y y y y y ?
-ia64 y ? ? y ? ? ?
-m68000 n[4] ? ? ? ? ? ?
-m68k y ? y y ? ? ?
-mipseb y ? ? y ? ? ?
-mipsel y ? ? y ? ? ?
-mips64eb y y y y y y ?
-mips64el y ? ? y ? ? ?
-powerpc y y y y y y ?
-powerpc64 y ? y y n[9] ? ?
-sh3eb y ? y y ? ? ?
-sh3el y ? y y ? ? ?
-sparc y y y y y y ?
-sparc64 y y y y[1] n[8] y ?
-vax y ? ? y y/n[3] ? ?
-x86_64 y y y y y y y
+architecture tools kernels libgcc native-gcc make release runs atf switched
+------------ ----- ------- ------ ---------- ------------ ---- --- --------
+aarch64 y y y y y y ? n
+alpha y y y y y y ? n
+arm y y y y y y ? n
+armeb y y y y y ? ? n
+earm y ? ? y ? ? ? ?
+earmeb y ? ? y ? ? ? ?
+earmhf y ? ? y ? ? ? ?
+earmhfeb y ? ? y ? ? ? ?
+earmv4 y y n[5] y ? ? ? ?
+earmv4eb y ? ? y ? ? ? ?
+earmv6 y ? ? y ? ? ? ?
+earmv6eb y ? ? y ? ? ? ?
+earmv6hf y ? ? y ? ? ? ?
+earmv6hfeb y ? ? y ? ? ? ?
+earmv7 y ? ? y ? ? ? ?
+earmv7eb y ? ? y ? ? ? ?
+earmv7hf y ? ? y ? ? ? ?
+earmv7hfeb y ? ? y ? ? ? ?
+hppa y y y y y ? ? n
+i386 y y y y y y ? n
+ia64 y ? ? y n[2] ? ? ?
+m68000 n[4] ? ? ? ? ? ? ?
+m68k y ? y y ? ? ? ?
+mipseb y ? ? y ? ? ? ?
+mipsel y ? ? y ? ? ? ?
+mips64eb y y y y y y ? n
+mips64el y ? ? y ? ? ? ?
+powerpc y y y y y y ? n
+powerpc64 y ? y y n[9] ? ? ?
+sh3eb y n[6] y y ? ? ? ?
+sh3el y n[6] y y ? ? ? ?
+sparc y y y y y y ? n
+sparc64 y y y y[1] y y ? ?
+vax y ? ? y y/n[3] ? ? ?
+x86_64 y y y y y y y n
--
or1k
riscv32
@@ -70,23 +66,58 @@
architecture tools kernels libgcc native-gcc make release runs atf
[1] - sparc64-gcc gets ICE at startup. because sizeof(ufast8/16/32) != sizeof(sfast8/16/32)
- -- uncommited hack to workaround it seems to work fine.
-[2]
-[3] - gcc can't be built:
+ -- commited hack to workaround it seems to work fine.
+[2] - libgcc_s.so: undefined reference to `__netf2'
+[3] - gcc can't be built:
/usr/src6/external/gpl3/gcc/dist/gcc/calls.c:1361:1: error: unrecognizable insn:
- }
- ^
- (insn 444 443 445 19 (set (reg:SI 389)
- (subreg:SI (mem:DI (plus:SI (plus:SI (mult:SI (reg:SI 387)
- (const_int 8 [0x8]))
- (reg/f:SI 17 virtual-stack-vars))
- (const_int -224 [0xffffffffffffff20])) [18 *_176+0 S8 A32]) 4)) "/usr/src6/external/gpl3/gcc/dist/gcc/wide-int.h":1817 -1
- (nil))
+ [ .. ]
/usr/src6/external/gpl3/gcc/dist/gcc/calls.c:1361:1: internal compiler error: in extract_insn, at recog.c:2311
- the rest of the world builds fine.
[4] - ar: netbsd.o: No such file or directory
[5] - libstdc++ eh_personality.cc ends up with refs to arm eabi specific functions that are in libunwind for us
-[6] - uncommited changes that need confirming.
-[7] - ramdisk fails: 32,nbmakefs: Writing inode 1562 (work/./usr/mdec/boot), bytes 229376 + 4096: No space left on device
-[8] - ramdisk fails: 32,nbmakefs: Writing inode 1026 (work/./usr/share/zoneinfo/US/Alaska), bytes 0 + 2380: No space left on device
+ -- patch dist/gcc/ginclude/unwind-arm-common.h to disable __ARM_EABI_UNWINDER__ on netbsd seems to work
+ -> nope. requires more patching, and then still _Unwind_VRS_Get/_Unwind_VRS_Set are used.
+[6] - libkern.a(udivmoddi4.o): in function `__udivmoddi4':
+ udivmoddi4.c:190: undefined reference to `abort'
[9] - /usr/src6/external/gpl3/gcc/dist/libgcc/libgcc2.c:2036:1: error: unrecognizable insn:
+
+
+CPU vs platform test table (for CPUs with multiple ports). this is "make release" or just kernels.
+values: y (yes), k (kernels only), n (failed), r (running), ? (not attempted)
+
+CPU platform list
+--- -------- ----
+ acorn32 cats epoc32 evbarm hpcarm iyonix netwinder shark zaurus
+arm: ? ? ? ? ? ? ? y ?
+earmv4: ? ? ? ? ? - ? ? -
+earm: - - - ? - ? - - ?
+
+ amiga atari cesfic hp300 luna68k mac68k mvme68k news68k next68k sun3 x68k
+m68k: y y k y y n[2] y y y n[3] n[1]
+
+ evbmips emips ews4800mips mipsco newsmips sgimips
+mipseb: ? y y r r r
+
+ evbmips algor arc cobalt hpcmips playstation2 pmax
+mipsel: ? y r ? y r ?
+
+ algor arc cobalt evbmips pmax sgimips
+mips64eb: - - - n[4] - n[4]
+mips64el: ? ? ? n[4] ?
+
+ amigappc bebox evbppc ibmnws macppc mvmeppc ofppc prep rs6000 sandpoint
+powerpc: y y y y y y y y y y
+powerpc64: - - ? - ? - ? - - -
+
+ dreamcast evbsh3 hpcsh landisk mmeye
+sh3eb: - n[4] - - ?
+sh3el: n[4] ? ? ? -
+
+[1] - memswitch.c
+ /usr/src6/usr.sbin/memswitch/memswitch.c:231:4: error: 'strncpy': specified size 4294967295 exceeds maximum object size 2147483647 [-Werror=stringop-overflow=]
+[2] - /usr/src6/sys/arch/mac68k/mac68k/intr.c:135:2: note: in expansion of macro 'memcpy'
+ /usr/src6/sys/lib/libkern/libkern.h:380:26: error: '__builtin_memcpy' writing 53 bytes into a region of size 4 overflows the destination [-Werror=stringop-overflow=]
+[3] - nbmakefs: Writing inode 4 (dir), bytes 0 + 2560: No space left on device
+[4] - ./usr/lib/64/libgomp.so.2
+ ======== end of 1 missing files ==========
+
Home |
Main Index |
Thread Index |
Old Index