diff --git a/gcc.spec.in b/gcc.spec.in index 819b41b..e7a8d4c 100644 --- a/gcc.spec.in +++ b/gcc.spec.in @@ -1062,6 +1062,11 @@ Provides: libgccjit%{libgccjit_sover} = %{version}-%{release} # Only one package may provide this - allows multiple gcc versions # to co-exist without an overly large list of provides/obsoletes Conflicts: %selfconflict libgccjit%{libgccjit_sover} +# At runtime the JIT needs to be able to invoke the assembler and +# linker and find startfiles and libgcc. The built-in driver knows +# the compilers version install directory only so we require the +# respective compiler libgccjit was built from. +Requires: gcc@base_ver@ %description -n libgccjit%{libgccjit_sover}%{libgccjit_suffix} Support for embedding GCC inside programs and libraries diff --git a/gcc14.changes b/gcc14.changes index 7cc874a..161b854 100644 --- a/gcc14.changes +++ b/gcc14.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Mar 13 08:17:35 UTC 2024 - Richard Biener + +- Revert libgccjit dependency change. [boo#1220724] + ------------------------------------------------------------------- Thu Mar 7 10:08:08 UTC 2024 - Richard Biener diff --git a/gcc14.spec b/gcc14.spec index bf3d1ef..61bbd72 100644 --- a/gcc14.spec +++ b/gcc14.spec @@ -1890,6 +1890,11 @@ Provides: libgccjit%{libgccjit_sover} = %{version}-%{release} # Only one package may provide this - allows multiple gcc versions # to co-exist without an overly large list of provides/obsoletes Conflicts: %selfconflict libgccjit%{libgccjit_sover} +# At runtime the JIT needs to be able to invoke the assembler and +# linker and find startfiles and libgcc. The built-in driver knows +# the compilers version install directory only so we require the +# respective compiler libgccjit was built from. +Requires: gcc14 %description -n libgccjit%{libgccjit_sover}%{libgccjit_suffix} Support for embedding GCC inside programs and libraries