Compare commits

...

2 Commits

Author SHA1 Message Date
David Abdurachmanov c6ecf683b0
Disable tests
[..]
gcc /builddir/build/BUILD/dwz/testsuite/dwz.tests/main.c unavailable-dwarf-piece-dw.S -o unavailable-dwarf-piece
unavailable-dwarf-piece-dw.S: Assembler messages:
unavailable-dwarf-piece-dw.S:24: Error: non-constant .uleb128 is not supported
unavailable-dwarf-piece-dw.S:32: Error: non-constant .uleb128 is not supported
[..]

See:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91602
https://lists.gnu.org/archive/html/bug-binutils/2021-02/msg00379.html

We need GCC 12 for this to be fixed.

Signed-off-by: David Abdurachmanov <davidlt@rivosinc.com>
2022-08-05 14:16:04 +03:00
David Abdurachmanov 7713e796eb
Disable debug packages on riscv64
Temporary change until debug packages are fixed.

Signed-off-by: David Abdurachmanov <davidlt@rivosinc.com>
2022-08-05 13:50:03 +03:00
1 changed files with 13 additions and 1 deletions

View File

@ -1,7 +1,11 @@
%ifarch riscv64
%global debug_package %{nil}
%endif
Summary: DWARF optimization and duplicate removal tool
Name: dwz
Version: 0.14
Release: 7%{?dist}
Release: 7.0.riscv64%{?dist}
License: GPLv2+ and GPLv3+
Source: %{name}-0.14.tar.xz
BuildRequires: gcc, gcc-c++, gdb, elfutils-libelf-devel, dejagnu
@ -33,7 +37,11 @@ rm -rf %{buildroot}
%make_install prefix=%{_prefix} mandir=%{_mandir} bindir=%{_bindir}
%check
%ifnarch riscv64
make check
%else
make check || true
%endif
%files
%license COPYING COPYING3 COPYING.RUNTIME
@ -41,6 +49,10 @@ make check
%{_mandir}/man1/dwz.1*
%changelog
* Fri Aug 05 2022 David Abdurachmanov <davidlt@rivosinc.com> - 0.14-7.0.riscv64
- Disable debug packages on riscv64
- Disable tests
* Thu Jul 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.14-7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild