Browse Source

Merge branch 'riscv-collab:master' into master

pull/1063/head
Shao-Ce SUN 4 years ago
committed by GitHub
parent
commit
05a435508a
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 18
      .gitmodules
  2. 1
      binutils
  3. 4
      configure
  4. 4
      configure.ac
  5. 1
      gcc
  6. 1
      riscv-binutils
  7. 1
      riscv-gcc
  8. 17
      test/allowlist/binutils/common.log
  9. 12
      test/allowlist/binutils/glibc.log
  10. 5
      test/allowlist/binutils/newlib.log
  11. 39
      test/allowlist/gcc/common.log
  12. 7
      test/allowlist/gcc/glibc.ilp32.log
  13. 24
      test/allowlist/gcc/glibc.log
  14. 7
      test/allowlist/gcc/glibc.lp64.log
  15. 4
      test/allowlist/gcc/lp64.log
  16. 5
      test/allowlist/gcc/newlib.log
  17. 1
      test/allowlist/gcc/rv64.log

18
.gitmodules

@ -1,11 +1,11 @@
[submodule "riscv-binutils"]
path = riscv-binutils
url = https://github.com/riscv-collab/riscv-binutils-gdb.git
branch = riscv-binutils-2.38
[submodule "riscv-gcc"]
path = riscv-gcc
url = https://github.com/riscv-collab/riscv-gcc.git
branch = riscv-gcc-10.2.0
[submodule "binutils"]
path = binutils
url = https://sourceware.org/git/binutils-gdb.git
branch = binutils-2_39-branch
[submodule "gcc"]
path = gcc
url = https://gcc.gnu.org/git/gcc.git
branch = releases/gcc-12.1.0
[submodule "glibc"]
path = glibc
url = https://sourceware.org/git/glibc.git
@ -23,7 +23,7 @@
branch = fsf-gdb-10.1-with-sim
[submodule "qemu"]
path = qemu
url = https://git.qemu.org/git/qemu.git
url = https://gitlab.com/qemu-project/qemu.git
[submodule "musl"]
path = musl
url = git://git.musl-libc.org/musl

1
binutils

@ -0,0 +1 @@
Subproject commit b51c2fec1da205ea3e7354cbb3e253018d64873c

4
configure

@ -3572,7 +3572,7 @@ fi
with_gcc_src=$with_gcc_src
else
with_gcc_src="\$(srcdir)/riscv-gcc"
with_gcc_src="\$(srcdir)/gcc"
fi
@ -3591,7 +3591,7 @@ fi
with_binutils_src=$with_binutils_src
else
with_binutils_src="\$(srcdir)/riscv-binutils"
with_binutils_src="\$(srcdir)/binutils"
fi

4
configure.ac

@ -235,8 +235,8 @@ AC_DEFUN([AX_ARG_WITH_SRC],
m4_popdef([opt_name])
}])
AX_ARG_WITH_SRC(gcc, riscv-gcc)
AX_ARG_WITH_SRC(binutils, riscv-binutils)
AX_ARG_WITH_SRC(gcc, gcc)
AX_ARG_WITH_SRC(binutils, binutils)
AX_ARG_WITH_SRC(newlib, newlib)
AX_ARG_WITH_SRC(glibc, glibc)
AX_ARG_WITH_SRC(musl, musl)

1
gcc

@ -0,0 +1 @@
Subproject commit 1ea978e3066ac565a1ec28a96a4d61eaf38e2726

1
riscv-binutils

@ -1 +0,0 @@
Subproject commit 20756b0fbe065a84710aa38f2457563b57546440

1
riscv-gcc

@ -1 +0,0 @@
Subproject commit 5964b5cd72721186ea2195a7be8d40cfe6554023

17
test/allowlist/binutils/common.log

@ -1,18 +1 @@
#
# Following fail cases is cause by mismatch ABI,
# because -march/-mabi didn't pass to as/ld.
#
FAIL: --gc-sections with --defsym
FAIL: --gc-sections with KEEP
FAIL: --gc-sections with __start_SECTIONNAME
FAIL: ld-plugin/lto-3r
FAIL: ld-plugin/lto-5r
FAIL: PR ld/19317 (2)
FAIL: PR ld/19317 (3)
FAIL: LTO 5 symbol
FAIL: LTO 3b
FAIL: LTO 5
#
# .align insert nop cause unexpected size.
#
FAIL: ld-scripts/size-1

12
test/allowlist/binutils/glibc.log

@ -1,15 +1,9 @@
#
# Missing a relaxation to convert PC-relative GOT references to
# local symbols to PC-relative direct references.
# local symbols to PC-relative direct references.needs a new
# relaxation and maybe a new relocation to eliminate tprel
# relocations in pie mode.
#
# This is an optimization, not a correctness issue.
#
FAIL: indirect5c dynsym
FAIL: indirect5d dynsym
#
# Similarly to the above case, needs a new relaxation and maybe a new relocation
# to eliminate tprel relocations in pie mode.
#
# This is an optimization, not a correctness issue too.
#
FAIL: Build pr22263-1

5
test/allowlist/binutils/newlib.log

@ -1,9 +1,4 @@
#
# -shared unsupported on bare-metal toolchain
#
FAIL: Build libpr23818.so
FAIL: Build libpr23958.so
#
# XXX: Unknown reason.
#
FAIL: Build pr22983

39
test/allowlist/gcc/common.log

@ -14,16 +14,29 @@ XPASS: gcc.dg/attr-alloc_size-11.c
#
FAIL: c-c++-common/spec-barrier-1.c
#
# XXX: Need review.
#
FAIL: gcc.dg/debug/dwarf2/inline5.c
#
# We're optimizing something that shouldn't be optimized.
#
XPASS: gcc.dg/graphite/pr69728.c
#
# Upstream regression, PR 90811.
# Patch under review:
# https://gcc.gnu.org/pipermail/gcc-patches/2020-April/543798.html
#
FAIL: gfortran.dg/pr45636.f90
# Upstream fail cases due to target check with 'vect_slp_v2hi_store_align' and 'vect_slp_v4hi_store_unalign'
#
FAIL: gcc.dg/Warray-bounds-48.c
FAIL: gcc.dg/Wzero-length-array-bounds-2.c
FAIL: gcc.dg/uninit-pred-9_b.c
XPASS: gcc.dg/uninit-pred-7_a.c
# Upstream regression,
# Patch by Palmer:
# https://gcc.gnu.org/pipermail/gcc-patches/2022-May/593995.html
# Discuss in:
# https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102892
FAIL: gcc.dg/analyzer/pr104308.c
FAIL: gcc.dg/pr102892-1.c
#
# Upstream fail cases due to tree dump check
#
FAIL: gcc.dg/tree-ssa/ssa-sink-18.c
#
# Upstream fixed cases
#
# By Palmer:
# https://gcc.gnu.org/git/?p=gcc.git;a=commit;h=010af1040bcf4870c8f1aac88a7b1538f622858b
FAIL: gcc.dg/debug/btf/btf-datasec-1.c
# By Jiawei:
# https://gcc.gnu.org/git/?p=gcc.git;a=commit;h=dc32901a0221a43e121591b9819b4e33bcc2fd0a
FAIL: g++.dg/opt/const7.C

7
test/allowlist/gcc/glibc.ilp32.log

@ -1,5 +1,2 @@
FAIL: gfortran.dg/matmul_15.f90 -O execution test
FAIL: gfortran.dg/ieee/ieee_2.f90
FAIL: gfortran.dg/ieee/large_2.f90
FAIL: gfortran.dg/ieee/large_3.F90
FAIL: gfortran.dg/ieee/rounding_1.f90
FAIL: c-c++-common/goacc/kernels-decompose-pr100400-1-2.c
XPASS: c-c++-common/goacc/kernels-decompose-pr100400-1-2.c

24
test/allowlist/gcc/glibc.log

@ -1,30 +1,10 @@
#
# Signal related bug, might be mismatch siginfo?
#
FAIL: g++.dg/ext/cleanup-8.C
FAIL: g++.dg/ext/cleanup-9.C
FAIL: g++.dg/ext/cleanup-10.C
FAIL: g++.dg/ext/cleanup-11.C
FAIL: gcc.dg/cleanup-8.c
FAIL: gcc.dg/cleanup-9.c
FAIL: gcc.dg/cleanup-10.c
FAIL: gcc.dg/cleanup-11.c
#
# XXX: Need review why.
#
FAIL: c-c++-common/goacc/kernels-decompose-pr100400-1-2.c
XPASS: c-c++-common/goacc/kernels-decompose-pr100400-1-2.c
FAIL: gfortran.dg/ieee/ieee_6.f90
#
# ieee_1.F90 is a QEMU bug: https://github.com/riscv/riscv-qemu/issues/64
#
FAIL: gfortran.dg/ieee/ieee_1.F90
#
# Synchronization problem.
#
FAIL: gcc.dg/tree-prof/time-profiler-2.c
#
# TLS related testcase might random fail on qemu
# But it's hard to reproduce and seems only happen on qemu.
# So put those case here for now.
#
FAIL: g++.dg/tls/thread_local4.C
FAIL: g++.dg/tls/thread_local4g.C

7
test/allowlist/gcc/glibc.lp64.log

@ -1,5 +1,2 @@
FAIL: gfortran.dg/matmul_15.f90 -O execution test
FAIL: gfortran.dg/ieee/ieee_2.f90
FAIL: gfortran.dg/ieee/large_2.f90
FAIL: gfortran.dg/ieee/large_3.F90
FAIL: gfortran.dg/ieee/rounding_1.f90
FAIL: c-c++-common/goacc/kernels-decompose-pr100400-1-2.c
XPASS: c-c++-common/goacc/kernels-decompose-pr100400-1-2.c

4
test/allowlist/gcc/lp64.log

@ -1,5 +1,5 @@
#
# fesetround not work with soft-fp
#
FAIL: gcc.dg/torture/fp-int-convert-timode-3.c
FAIL: gcc.dg/torture/fp-int-convert-timode-4.c
#FAIL: gcc.dg/torture/fp-int-convert-timode-3.c
#FAIL: gcc.dg/torture/fp-int-convert-timode-4.c

5
test/allowlist/gcc/newlib.log

@ -1,7 +1,6 @@
#
# We didn't init thread pointer in qemu nor newlib.
#
FAIL: gcc.dg/tls/pr78796.c execution test
FAIL: g++.dg/cpp2a/decomp2.C
#
# freopen with stdout not work correctly for newlib
@ -10,10 +9,6 @@ FAIL: gcc.c-torture/execute/user-printf.c
FAIL: gcc.c-torture/execute/fprintf-2.c
FAIL: gcc.c-torture/execute/printf-2.c
#
# Missing dg-require-effective-target shared
#
FAIL: g++.dg/lto/pr87906 cp_lto_pr87906_0.o-cp_lto_pr87906_1.o link, -O -fPIC -flto
#
# -lc not enough to link final executable for newlib.
#
FAIL: g++.dg/abi/pure-virtual1.C

1
test/allowlist/gcc/rv64.log

@ -1,5 +1,4 @@
#
# XXX: Need review
#
FAIL: gcc.dg/tree-ssa/pr84512.c
XPASS: gcc.dg/tree-ssa/ssa-fre-3.c

Loading…
Cancel
Save