[PATCH] RISC-V: Add support for subword atomic loads/stores
Andrea Parri recently pointed out that we were emitting overly conservative fences for seq_cst atomic loads/stores. This adds support for the optimized fences specified in the PSABI: https://github.com/riscv-non-isa/riscv-elf-psabi-doc/blob/2092568f7896ceaa1ec0f02569b19eaa42cd51c9/riscv-atomic.adoc gcc/ChangeLog: * config/riscv/sync-rvwmo.md: Add support for subword fenced loads/stores. * config/riscv/sync-ztso.md: Ditto. * config/riscv/sync.md: Ditto. gcc/testsuite/ChangeLog: * gcc.target/riscv/amo/amo-table-a-6-load-1.c: Increase test coverage to include longs, shorts, chars, and bools. * gcc.target/riscv/amo/amo-table-a-6-load-2.c: Ditto. * gcc.target/riscv/amo/amo-table-a-6-load-3.c: Ditto. * gcc.target/riscv/amo/amo-table-a-6-store-1.c: Ditto. * gcc.target/riscv/amo/amo-table-a-6-store-2.c: Ditto. * gcc.target/riscv/amo/amo-table-a-6-store-compat-3.c: Ditto. * gcc.target/riscv/amo/amo-table-ztso-load-1.c: Ditto. * gcc.target/riscv/amo/amo-table-ztso-load-2.c: Ditto. * gcc.target/riscv/amo/amo-table-ztso-load-3.c: Ditto. * gcc.target/riscv/amo/amo-table-ztso-store-1.c: Ditto. * gcc.target/riscv/amo/amo-table-ztso-store-2.c: Ditto. * gcc.target/riscv/amo/amo-table-ztso-store-3.c: Ditto. Signed-off-by: Patrick O'Neill --- Andrea Parri's comment: https://inbox.sourceware.org/gcc-patches/ZmeXGRF+zDktFqaY@andrea/ --- gcc/config/riscv/sync-rvwmo.md| 24 gcc/config/riscv/sync-ztso.md | 20 +++ gcc/config/riscv/sync.md | 8 +-- .../riscv/amo/amo-table-a-6-load-1.c | 48 +++- .../riscv/amo/amo-table-a-6-load-2.c | 52 - .../riscv/amo/amo-table-a-6-load-3.c | 56 ++- .../riscv/amo/amo-table-a-6-store-1.c | 48 +++- .../riscv/amo/amo-table-a-6-store-2.c | 52 - .../riscv/amo/amo-table-a-6-store-compat-3.c | 56 ++- .../riscv/amo/amo-table-ztso-load-1.c | 48 +++- .../riscv/amo/amo-table-ztso-load-2.c | 48 +++- .../riscv/amo/amo-table-ztso-load-3.c | 52 - .../riscv/amo/amo-table-ztso-store-1.c| 48 +++- .../riscv/amo/amo-table-ztso-store-2.c| 48 +++- .../riscv/amo/amo-table-ztso-store-3.c| 52 - 15 files changed, 610 insertions(+), 50 deletions(-) diff --git a/gcc/config/riscv/sync-rvwmo.md b/gcc/config/riscv/sync-rvwmo.md index e639a1e2392..5db94c8c27f 100644 --- a/gcc/config/riscv/sync-rvwmo.md +++ b/gcc/config/riscv/sync-rvwmo.md @@ -47,9 +47,9 @@ ;; Atomic memory operations. (define_insn "atomic_load_rvwmo" - [(set (match_operand:GPR 0 "register_operand" "=r") - (unspec_volatile:GPR - [(match_operand:GPR 1 "memory_operand" "A") + [(set (match_operand:ANYI 0 "register_operand" "=r") + (unspec_volatile:ANYI + [(match_operand:ANYI 1 "memory_operand" "A") (match_operand:SI 2 "const_int_operand")] ;; model UNSPEC_ATOMIC_LOAD))] "!TARGET_ZTSO" @@ -59,13 +59,13 @@ if (model == MEMMODEL_SEQ_CST) return "fence\trw,rw\;" -"l\t%0,%1\;" +"\t%0,%1\;" "fence\tr,rw"; if (model == MEMMODEL_ACQUIRE) - return "l\t%0,%1\;" + return "\t%0,%1\;" "fence\tr,rw"; else - return "l\t%0,%1"; + return "\t%0,%1"; } [(set_attr "type" "multi") (set (attr "length") (const_int 12))]) @@ -73,9 +73,9 @@ ;; Implement atomic stores with conservative fences. ;; This allows us to be compatible with the ISA manual Table A.6 and Table A.7. (define_insn "atomic_store_rvwmo" - [(set (match_operand:GPR 0 "memory_operand" "=A") - (unspec_volatile:GPR - [(match_operand:GPR 1 "reg_or_0_operand" "rJ") + [(set (match_operand:ANYI 0 "memory_operand" "=A") + (unspec_volatile:ANYI + [(match_operand:ANYI 1 "reg_or_0_operand" "rJ") (match_operand:SI 2 "const_int_operand")] ;; model UNSPEC_ATOMIC_STORE))] "!TARGET_ZTSO" @@ -85,13 +85,13 @@ if (model == MEMMODEL_SEQ_CST) return "fence\trw,w\;" -"s\t%z1,%0\;" +"\t%z1,%0\;" "fence\trw,rw"; if (model == MEMMODEL_RELEASE) return "fence\trw,w\;" -"s\t%z1,%0"; +"\t%z1,%0"; else - return "s\t%z1,%0"; +
[gcc r15-1227] c++: visibility wrt concept-id as targ [PR115283]
https://gcc.gnu.org/g:b1fe718cbe0c8883af89f52e0aad3ebf913683de commit r15-1227-gb1fe718cbe0c8883af89f52e0aad3ebf913683de Author: Patrick Palka Date: Wed Jun 12 20:05:05 2024 -0400 c++: visibility wrt concept-id as targ [PR115283] Like with alias templates, it seems we don't maintain visibility flags for concepts either, so min_vis_expr_r should ignore them for now. Otherwise after r14-6789 we may incorrectly give a function template that uses a concept-id in its signature internal linkage. PR c++/115283 gcc/cp/ChangeLog: * decl2.cc (min_vis_expr_r) : Ignore concepts. gcc/testsuite/ChangeLog: * g++.dg/template/linkage5.C: New test. Reviewed-by: Jason Merrill Diff: --- gcc/cp/decl2.cc | 5 +++-- gcc/testsuite/g++.dg/template/linkage5.C | 14 ++ 2 files changed, 17 insertions(+), 2 deletions(-) diff --git a/gcc/cp/decl2.cc b/gcc/cp/decl2.cc index 7baff46a1921..6c3ef60d51f8 100644 --- a/gcc/cp/decl2.cc +++ b/gcc/cp/decl2.cc @@ -2723,9 +2723,10 @@ min_vis_expr_r (tree *tp, int */*walk_subtrees*/, void *data) break; case TEMPLATE_DECL: - if (DECL_ALIAS_TEMPLATE_P (t)) + if (DECL_ALIAS_TEMPLATE_P (t) || standard_concept_p (t)) /* FIXME: We don't maintain TREE_PUBLIC / DECL_VISIBILITY for - alias templates so we can't trust it here (PR107906). */ + alias templates so we can't trust it here (PR107906). Ditto + for concepts. */ break; t = DECL_TEMPLATE_RESULT (t); /* Fall through. */ diff --git a/gcc/testsuite/g++.dg/template/linkage5.C b/gcc/testsuite/g++.dg/template/linkage5.C new file mode 100644 index ..7e8f93f546f1 --- /dev/null +++ b/gcc/testsuite/g++.dg/template/linkage5.C @@ -0,0 +1,14 @@ +// PR c++/115283 +// { dg-final { scan-assembler "(weak|glob)\[^\n\]*_Z1fIiEv1AIX1CIT_EEE" } } +// { dg-do compile { target c++20 } } + +template +concept C = true; + +template +struct A { }; + +template +void f(A>) { } + +template void f(A);
Re: [PATCH] RISC-V: Add configure check for Zaamo/Zalrsc assembler support
On 6/12/24 16:49, Sam James wrote: Palmer Dabbelt writes: On Wed, 12 Jun 2024 16:20:26 PDT (-0700), Patrick O'Neill wrote: Binutils 2.42 and before don't support Zaamo/Zalrsc. Add a configure check to prevent emitting Zaamo/Zalrsc in the arch string when the assember does not support it. Should we just rewrite these to A when binutils doesn't support the subsets? That'd avoid a forced binutils bump, but really user should be upgrading anyway... Either way Acked-by: Palmer Dabbelt # RISC-V Reviewed-by: Palmer Dabbelt # RISC-V though I'm not suer if the configure churn is sane, it looks like a version mismatch of some sort. Hopefully someone who knows those bits better can chime in? Your instinct is right! gcc/ChangeLog: * common/config/riscv/riscv-common.cc (riscv_subset_list::to_string): Skip zaamo/zalrsc when not supported by the assembler. * config.in: Regenerate. * configure: Regenerate. * configure.ac: Add zaamo/zalrsc assmeber check. Signed-off-by: Patrick O'Neill --- Tested using newlib rv64gc with binutils tip-of-tree and 2.42. This results in calls being emitted when compiling for _zaamo_zalrsc when the assember does not support these extensions. cat amo.c void foo (int* bar, int* baz) { __atomic_add_fetch(bar, baz, __ATOMIC_RELAXED); } gcc -march=rv64id_zaamo_zalrsc -O3 amo.c results in: foo: sext.w a1,a1 li a2,0 tail__atomic_fetch_add_4 As a result there are some testsuite failures on zalrsc specific testcases and when using an old version of binutils on non-a targets. Not a cause for concern imo but worth calling out. Also testcases that check for the default isa string will fail with the old binutils since zaamo/zalrsc aren't emitted anymore. --- gcc/common/config/riscv/riscv-common.cc | 11 +++ gcc/config.in | 6 gcc/configure | 41 ++--- gcc/configure.ac| 5 +++ 4 files changed, 58 insertions(+), 5 deletions(-) diff --git a/gcc/common/config/riscv/riscv-common.cc b/gcc/common/config/riscv/riscv-common.cc index 78dfd6b1470..1dc1d9904c7 100644 --- a/gcc/common/config/riscv/riscv-common.cc +++ b/gcc/common/config/riscv/riscv-common.cc @@ -916,6 +916,7 @@ riscv_subset_list::to_string (bool version_p) const riscv_subset_t *subset; bool skip_zifencei = false; + bool skip_zaamo_zalrsc = false; bool skip_zicsr = false; bool i2p0 = false; @@ -943,6 +944,10 @@ riscv_subset_list::to_string (bool version_p) const a mistake in that binutils 2.35 supports zicsr but not zifencei. */ skip_zifencei = true; #endif +#ifndef HAVE_AS_MARCH_ZAAMO_ZALRSC + /* Skip since binutils 2.42 and earlier don't recognize zaamo/zalrsc. */ + skip_zaamo_zalrsc = true; +#endif for (subset = m_head; subset != NULL; subset = subset->next) { @@ -954,6 +959,12 @@ riscv_subset_list::to_string (bool version_p) const subset->name == "zicsr") continue; + if (skip_zaamo_zalrsc && subset->name == "zaamo") + continue; + + if (skip_zaamo_zalrsc && subset->name == "zalrsc") + continue; + /* For !version_p, we only separate extension with underline for multi-letter extension. */ if (!first && diff --git a/gcc/config.in b/gcc/config.in index e41b6dc97cd..acab3c0f126 100644 --- a/gcc/config.in +++ b/gcc/config.in @@ -629,6 +629,12 @@ #endif +/* Define if the assembler understands -march=rv*_zaamo_zalrsc. */ +#ifndef USED_FOR_TARGET +#undef HAVE_AS_MARCH_ZAAMO_ZALRSC +#endif + + /* Define if the assembler understands -march=rv*_zifencei. */ #ifndef USED_FOR_TARGET #undef HAVE_AS_MARCH_ZIFENCEI diff --git a/gcc/configure b/gcc/configure index aaf5899cc03..09b794c1225 100755 --- a/gcc/configure +++ b/gcc/configure @@ -6228,7 +6228,7 @@ else We can't simply define LARGE_OFF_T to be 9223372036854775807, since some C++ compilers masquerading as C compilers incorrectly reject 9223372036854775807. */ -#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62)) +#define LARGE_OFF_T off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31)) int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 I think you may be using patched autoconf which fixes http://bugs.debian.org/742780. The fix landed in 2.70: https://git.savannah.gnu.org/gitweb/?p=autoconf.git;a=commit;h=a1d8293f3bfa2516f9a0424e3a6e63c2f8e93c6e. Please drop those hunks. I thought I could get away with using the apt autoconf2.69 package directly ;) Thanks. I'll regenerate without those hunks for v2. Patrick && LARGE_OFF_T % 2147483647 == 1) ? 1 : -1]; @@ -6274,7 +6274,7 @@ else We can't simply define LARGE_OFF_T to be 92233720368547
[PATCH] RISC-V: Add configure check for Zaamo/Zalrsc assembler support
Binutils 2.42 and before don't support Zaamo/Zalrsc. Add a configure check to prevent emitting Zaamo/Zalrsc in the arch string when the assember does not support it. gcc/ChangeLog: * common/config/riscv/riscv-common.cc (riscv_subset_list::to_string): Skip zaamo/zalrsc when not supported by the assembler. * config.in: Regenerate. * configure: Regenerate. * configure.ac: Add zaamo/zalrsc assmeber check. Signed-off-by: Patrick O'Neill --- Tested using newlib rv64gc with binutils tip-of-tree and 2.42. This results in calls being emitted when compiling for _zaamo_zalrsc when the assember does not support these extensions. > cat amo.c void foo (int* bar, int* baz) { __atomic_add_fetch(bar, baz, __ATOMIC_RELAXED); } > gcc -march=rv64id_zaamo_zalrsc -O3 amo.c results in: foo: sext.w a1,a1 li a2,0 tail__atomic_fetch_add_4 As a result there are some testsuite failures on zalrsc specific testcases and when using an old version of binutils on non-a targets. Not a cause for concern imo but worth calling out. Also testcases that check for the default isa string will fail with the old binutils since zaamo/zalrsc aren't emitted anymore. --- gcc/common/config/riscv/riscv-common.cc | 11 +++ gcc/config.in | 6 gcc/configure | 41 ++--- gcc/configure.ac| 5 +++ 4 files changed, 58 insertions(+), 5 deletions(-) diff --git a/gcc/common/config/riscv/riscv-common.cc b/gcc/common/config/riscv/riscv-common.cc index 78dfd6b1470..1dc1d9904c7 100644 --- a/gcc/common/config/riscv/riscv-common.cc +++ b/gcc/common/config/riscv/riscv-common.cc @@ -916,6 +916,7 @@ riscv_subset_list::to_string (bool version_p) const riscv_subset_t *subset; bool skip_zifencei = false; + bool skip_zaamo_zalrsc = false; bool skip_zicsr = false; bool i2p0 = false; @@ -943,6 +944,10 @@ riscv_subset_list::to_string (bool version_p) const a mistake in that binutils 2.35 supports zicsr but not zifencei. */ skip_zifencei = true; #endif +#ifndef HAVE_AS_MARCH_ZAAMO_ZALRSC + /* Skip since binutils 2.42 and earlier don't recognize zaamo/zalrsc. */ + skip_zaamo_zalrsc = true; +#endif for (subset = m_head; subset != NULL; subset = subset->next) { @@ -954,6 +959,12 @@ riscv_subset_list::to_string (bool version_p) const subset->name == "zicsr") continue; + if (skip_zaamo_zalrsc && subset->name == "zaamo") + continue; + + if (skip_zaamo_zalrsc && subset->name == "zalrsc") + continue; + /* For !version_p, we only separate extension with underline for multi-letter extension. */ if (!first && diff --git a/gcc/config.in b/gcc/config.in index e41b6dc97cd..acab3c0f126 100644 --- a/gcc/config.in +++ b/gcc/config.in @@ -629,6 +629,12 @@ #endif +/* Define if the assembler understands -march=rv*_zaamo_zalrsc. */ +#ifndef USED_FOR_TARGET +#undef HAVE_AS_MARCH_ZAAMO_ZALRSC +#endif + + /* Define if the assembler understands -march=rv*_zifencei. */ #ifndef USED_FOR_TARGET #undef HAVE_AS_MARCH_ZIFENCEI diff --git a/gcc/configure b/gcc/configure index aaf5899cc03..09b794c1225 100755 --- a/gcc/configure +++ b/gcc/configure @@ -6228,7 +6228,7 @@ else We can't simply define LARGE_OFF_T to be 9223372036854775807, since some C++ compilers masquerading as C compilers incorrectly reject 9223372036854775807. */ -#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62)) +#define LARGE_OFF_T off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31)) int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 && LARGE_OFF_T % 2147483647 == 1) ? 1 : -1]; @@ -6274,7 +6274,7 @@ else We can't simply define LARGE_OFF_T to be 9223372036854775807, since some C++ compilers masquerading as C compilers incorrectly reject 9223372036854775807. */ -#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62)) +#define LARGE_OFF_T off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31)) int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 && LARGE_OFF_T % 2147483647 == 1) ? 1 : -1]; @@ -6298,7 +6298,7 @@ rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext We can't simply define LARGE_OFF_T to be 9223372036854775807, since some C++ compilers masquerading as C compilers incorrectly reject 9223372036854775807. */ -#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62)) +#define LARGE_OFF_T off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31)) int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 && LARGE_OFF_T
core.git: vcl/quartz
vcl/quartz/salgdi.cxx | 33 +++-- 1 file changed, 31 insertions(+), 2 deletions(-) New commits: commit 195ed184dd1552816bdebfe9c54fb6408bf91cc1 Author: Patrick Luby AuthorDate: Tue Jun 11 13:10:36 2024 -0400 Commit: Patrick Luby CommitDate: Wed Jun 12 23:02:26 2024 +0200 tdf155212 clear the cached system font list after loading a font If the system font is not cached in SalData, loading embedded fonts will be extremely slow and will trigger each frame and each of its internal subframes to reload the system font list when loading documents with embedded fonts. So instead, reenable caching of the system font list in SalData by reverting commit 3b6e9582ce43242a2304047561116bb26808408b. Then, to prevent tdf#72456 from reoccurring, clear the cached system font list after a font has been loaded or unloaded. This should cause the first frame's request to reload the cached system font list and all subsequent frames will avoid doing duplicate font reloads. Change-Id: If2a36f8c17d8e25f818275f30a19af8517478884 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/168734 Reviewed-by: Patrick Luby Tested-by: Jenkins diff --git a/vcl/quartz/salgdi.cxx b/vcl/quartz/salgdi.cxx index 8c9d3a6486dd..7ec52c32111d 100644 --- a/vcl/quartz/salgdi.cxx +++ b/vcl/quartz/salgdi.cxx @@ -217,7 +217,24 @@ static bool AddTempDevFont(const OUString& rFontFileURL) CFErrorRef error; bool success = CTFontManagerRegisterFontsForURL(rFontURL, kCTFontManagerScopeProcess, ); -if (!success) +if (success) +{ +// tdf155212 clear the cached system font list after loading a font +// If the system font is not cached in SalData, loading embedded +// fonts will be extremely slow and will trigger each frame and each +// of its internal subframes to reload the system font list when +// loading documents with embedded fonts. +// So instead, reenable caching of the system font list in SalData +// by reverting commit 3b6e9582ce43242a2304047561116bb26808408b. +// Then, to prevent tdf#72456 from reoccurring, clear the cached +// system font list after a font has been loaded or unloaded. +// This should cause the first frame's request to reload the cached +// system font list and all subsequent frames will avoid doing +// duplicate font reloads. +SalData* pSalData = GetSalData(); +pSalData->mpFontList.reset(); +} +else { CFRelease(error); } @@ -272,8 +289,20 @@ void AquaSalGraphics::GetDevFontList(vcl::font::PhysicalFontCollection* pFontCol AddLocalTempFontDirs(); +// The idea is to cache the list of system fonts once it has been generated. +// SalData seems to be a good place for this caching. However we have to +// carefully make the access to the font list thread-safe. If we register +// a font-change event handler to update the font list in case fonts have +// changed on the system we have to lock access to the list. The right +// way to do that is the solar mutex since GetDevFontList is protected +// through it as should be all event handlers + +// Related tdf#155212: the system font list needs to be cached but that +// should not cause tdf#72456 to reoccur now that the cached system font +// is cleared immediately after a font has been loaded SalData* pSalData = GetSalData(); -pSalData->mpFontList = GetCoretextFontList(); +if( !pSalData->mpFontList ) +pSalData->mpFontList = GetCoretextFontList(); // Copy all PhysicalFontFace objects contained in the SystemFontList pSalData->mpFontList->AnnounceFonts( *pFontCollection );
[Committed] Whitespace cleanup for target-supports.exp
On 6/12/24 11:46, Patrick O'Neill wrote: This patch removes trailing whitespace and replaces leading groups of 8-16 spaces with tabs. gcc/testsuite/ChangeLog: * lib/target-supports.exp: Cleanup whitespace. Signed-off-by: Patrick O'Neill --- Pre-approved here: https://inbox.sourceware.org/gcc-patches/3312c6a8-8f34-43f0-8562-99d64d502...@gmail.com/ I'll wait a half hour or so before committing. --- Committed. Patrick
[gcc r15-1221] Whitespace cleanup for target-supports.exp
https://gcc.gnu.org/g:eaff4d6714805ba2504270dfff51fca61854542d commit r15-1221-geaff4d6714805ba2504270dfff51fca61854542d Author: Patrick O'Neill Date: Wed Jun 12 11:33:11 2024 -0700 Whitespace cleanup for target-supports.exp This patch removes trailing whitespace and replaces leading groups of 8-16 spaces with tabs. gcc/testsuite/ChangeLog: * lib/target-supports.exp: Cleanup whitespace. Diff: --- gcc/testsuite/lib/target-supports.exp | 1168 - 1 file changed, 584 insertions(+), 584 deletions(-) diff --git a/gcc/testsuite/lib/target-supports.exp b/gcc/testsuite/lib/target-supports.exp index e862a8932449..e307f4e69efb 100644 --- a/gcc/testsuite/lib/target-supports.exp +++ b/gcc/testsuite/lib/target-supports.exp @@ -28,7 +28,7 @@ # If ARGS is not empty, its first element is a string that # should be added to the command line. # -# Assume by default that CONTENTS is C code. +# Assume by default that CONTENTS is C code. # Otherwise, code should contain: # "/* Assembly" for assembly code, # "// C++" for c++, @@ -39,12 +39,12 @@ # "// Go" for Go # "// Rust" for Rust # and "(* Modula-2" for Modula-2 -# If the tool is ObjC/ObjC++ then we overide the extension to .m/.mm to +# If the tool is ObjC/ObjC++ then we overide the extension to .m/.mm to # allow for ObjC/ObjC++ specific flags. proc check_compile {basename type contents args} { global tool -verbose "check_compile tool: $tool for $basename" +verbose "check_compile tool: $tool for $basename" # Save additional_sources to avoid compiling testsuite's sources # against check_compile's source. @@ -100,7 +100,7 @@ proc check_compile {basename type contents args} { global compiler_flags set save_compiler_flags $compiler_flags set lines [${tool}_target_compile $src $output $compile_type "$options"] -set compiler_flags $save_compiler_flags +set compiler_flags $save_compiler_flags file delete $src set scan_output $output @@ -280,8 +280,8 @@ proc check_configured_with { pattern } { set options [list "additional_flags=-v"] set gcc_output [${tool}_target_compile "" "" "none" $options] if { [ regexp "Configured with: \[^\n\]*$pattern" $gcc_output ] } { -verbose "Matched: $pattern" 2 -return 1 + verbose "Matched: $pattern" 2 + return 1 } verbose "Failed to match: $pattern" 2 @@ -301,19 +301,19 @@ proc check_weak_available { } { # All mips targets should support it if { [ string first "mips" $target_cpu ] >= 0 } { -return 1 + return 1 } # All AIX targets should support it if { [istarget *-*-aix*] } { -return 1 + return 1 } # All solaris2 targets should support it if { [istarget *-*-solaris2*] } { -return 1 + return 1 } # Windows targets Cygwin and MingW32 support it @@ -346,13 +346,13 @@ proc check_weak_available { } { set objformat [gcc_target_object_format] switch $objformat { -elf { return 1 } -ecoff{ return 1 } -a.out{ return 1 } + elf { return 1 } + ecoff{ return 1 } + a.out{ return 1 } mach-o { return 1 } som { return 1 } -unknown { return -1 } -default { return 0 } + unknown { return -1 } + default { return 0 } } } @@ -414,31 +414,31 @@ proc check_effective_target_vma_equals_lma { } { if [string match "" $lines] then { # No error messages -set objdump_name [find_binutils_prog objdump] -set output [remote_exec host "$objdump_name" "--section-headers --section=.data $exe"] -set output [lindex $output 1] - -remote_file build delete $exe - -# Example output of objdump: -#vma_equals_lma9059.exe: file format elf32-littlearm -# -#Sections: -#Idx Name Size VMA LMA File off Algn -# 6 .data 0558 2000 08002658 0002 2**3 -# CONTENTS, ALLOC, LOAD, DATA - -# Capture LMA and VMA columns for .data section -if ![ regexp {\d*\d+\s+\.data\s+\d+\s+(\d+)\s+(\d+)} $output dummy vma lma ] { -verbose "Could not parse objdump output" 2 -return 0 -} else { -return [string equal $vma $lma] -} + set objdump_name [find_binutils_prog objdump] + set output [remote_exec host "$objdump_name" "--section-headers --section=.data $exe"] + set output [lindex $output 1] + +
[PATCH] c++: visibility wrt concept-id as targ [PR115283]
Bootstrapped and regtested on x86_64-pc-linux-gnu, does this look OK for trunk? -- >8 -- It seems we don't maintain visibility flags for concepts either, so min_vis_expr_r should ignore them for now, otherwise after r14-6789 we incorrectly give function templates that use a concept-id in their signature internal linkage. PR c++/115283 gcc/cp/ChangeLog: * decl2.cc (min_vis_expr_r) : Ignore concepts. gcc/testsuite/ChangeLog: * g++.dg/template/linkage5.C: New test. --- gcc/cp/decl2.cc | 5 +++-- gcc/testsuite/g++.dg/template/linkage5.C | 14 ++ 2 files changed, 17 insertions(+), 2 deletions(-) create mode 100644 gcc/testsuite/g++.dg/template/linkage5.C diff --git a/gcc/cp/decl2.cc b/gcc/cp/decl2.cc index 7baff46a192..88e87ad60c6 100644 --- a/gcc/cp/decl2.cc +++ b/gcc/cp/decl2.cc @@ -2723,9 +2723,10 @@ min_vis_expr_r (tree *tp, int */*walk_subtrees*/, void *data) break; case TEMPLATE_DECL: - if (DECL_ALIAS_TEMPLATE_P (t)) + if (DECL_ALIAS_TEMPLATE_P (t) || concept_definition_p (t)) /* FIXME: We don't maintain TREE_PUBLIC / DECL_VISIBILITY for - alias templates so we can't trust it here (PR107906). */ + alias templates so we can't trust it here (PR107906). Ditto + for concepts. */ break; t = DECL_TEMPLATE_RESULT (t); /* Fall through. */ diff --git a/gcc/testsuite/g++.dg/template/linkage5.C b/gcc/testsuite/g++.dg/template/linkage5.C new file mode 100644 index 000..1dbb0beb5ea --- /dev/null +++ b/gcc/testsuite/g++.dg/template/linkage5.C @@ -0,0 +1,14 @@ +// PR c++/115283 +// { dg-final { scan-assembler "(weak|glob)\[^\n\]*_Z1fIiEv1AIX4sameIT_EEE" } } +// { dg-do compile { target c++20 } } + +template +concept same = true; + +template +struct A { }; + +template +void f(A>) { } + +template void f(A); -- 2.45.2.457.g8d94cfb545
[PATCH] Whitespace cleanup for target-supports.exp
This patch removes trailing whitespace and replaces leading groups of 8-16 spaces with tabs. gcc/testsuite/ChangeLog: * lib/target-supports.exp: Cleanup whitespace. Signed-off-by: Patrick O'Neill --- Pre-approved here: https://inbox.sourceware.org/gcc-patches/3312c6a8-8f34-43f0-8562-99d64d502...@gmail.com/ I'll wait a half hour or so before committing. --- gcc/testsuite/lib/target-supports.exp | 1168 - 1 file changed, 584 insertions(+), 584 deletions(-) diff --git a/gcc/testsuite/lib/target-supports.exp b/gcc/testsuite/lib/target-supports.exp index e862a893244..e307f4e69ef 100644 --- a/gcc/testsuite/lib/target-supports.exp +++ b/gcc/testsuite/lib/target-supports.exp @@ -28,7 +28,7 @@ # If ARGS is not empty, its first element is a string that # should be added to the command line. # -# Assume by default that CONTENTS is C code. +# Assume by default that CONTENTS is C code. # Otherwise, code should contain: # "/* Assembly" for assembly code, # "// C++" for c++, @@ -39,12 +39,12 @@ # "// Go" for Go # "// Rust" for Rust # and "(* Modula-2" for Modula-2 -# If the tool is ObjC/ObjC++ then we overide the extension to .m/.mm to +# If the tool is ObjC/ObjC++ then we overide the extension to .m/.mm to # allow for ObjC/ObjC++ specific flags. proc check_compile {basename type contents args} { global tool -verbose "check_compile tool: $tool for $basename" +verbose "check_compile tool: $tool for $basename" # Save additional_sources to avoid compiling testsuite's sources # against check_compile's source. @@ -100,7 +100,7 @@ proc check_compile {basename type contents args} { global compiler_flags set save_compiler_flags $compiler_flags set lines [${tool}_target_compile $src $output $compile_type "$options"] -set compiler_flags $save_compiler_flags +set compiler_flags $save_compiler_flags file delete $src set scan_output $output @@ -280,8 +280,8 @@ proc check_configured_with { pattern } { set options [list "additional_flags=-v"] set gcc_output [${tool}_target_compile "" "" "none" $options] if { [ regexp "Configured with: \[^\n\]*$pattern" $gcc_output ] } { -verbose "Matched: $pattern" 2 -return 1 + verbose "Matched: $pattern" 2 + return 1 } verbose "Failed to match: $pattern" 2 @@ -301,19 +301,19 @@ proc check_weak_available { } { # All mips targets should support it if { [ string first "mips" $target_cpu ] >= 0 } { -return 1 + return 1 } # All AIX targets should support it if { [istarget *-*-aix*] } { -return 1 + return 1 } # All solaris2 targets should support it if { [istarget *-*-solaris2*] } { -return 1 + return 1 } # Windows targets Cygwin and MingW32 support it @@ -346,13 +346,13 @@ proc check_weak_available { } { set objformat [gcc_target_object_format] switch $objformat { -elf { return 1 } -ecoff{ return 1 } -a.out{ return 1 } + elf { return 1 } + ecoff{ return 1 } + a.out{ return 1 } mach-o { return 1 } som { return 1 } -unknown { return -1 } -default { return 0 } + unknown { return -1 } + default { return 0 } } } @@ -414,31 +414,31 @@ proc check_effective_target_vma_equals_lma { } { if [string match "" $lines] then { # No error messages -set objdump_name [find_binutils_prog objdump] -set output [remote_exec host "$objdump_name" "--section-headers --section=.data $exe"] -set output [lindex $output 1] - -remote_file build delete $exe - -# Example output of objdump: -#vma_equals_lma9059.exe: file format elf32-littlearm -# -#Sections: -#Idx Name Size VMA LMA File off Algn -# 6 .data 0558 2000 08002658 0002 2**3 -# CONTENTS, ALLOC, LOAD, DATA - -# Capture LMA and VMA columns for .data section -if ![ regexp {\d*\d+\s+\.data\s+\d+\s+(\d+)\s+(\d+)} $output dummy vma lma ] { -verbose "Could not parse objdump output" 2 -return 0 -} else { -return [string equal $vma $lma] -} + set objdump_name [find_binutils_prog objdump] + set output [remote_exec host "$objdump_name" "--section-headers --section=.data $exe"] + set output [lindex $output 1] + + remote_file build delete $exe + + # Example output of objdump
[PATCH] c++: undeclared identifier in requires-clause [PR99678]
Bootstrapped and regtested on x86_64-pc-linux-gnu, does this look OK for trunk/14? -- >8 -- Since the terms of a requires-clause are grammatically primary-expressions rather than e.g. postfix-expressions, it seems we need to explicitly handle and diagnose the case where a term parses to bare unresolved unqualified-id, like cp_parser_postfix_expression does, since cp_parser_primary_expression doesn't do so itself. Otherwise we fail to reject the first three requires-clauses those below. Note that the only users of primary-expression in the C++ grammar are indeed postfix-expression and constraint-logical-and-expression, so it seems not so surprising that we need this special handling here. PR c++/99678 gcc/cp/ChangeLog: * parser.cc (cp_parser_constraint_primary_expression): Reject a bare unresolved unqualified-id. gcc/testsuite/ChangeLog: * g++.dg/cpp2a/concepts-requires38.C: New test. --- gcc/cp/parser.cc | 2 ++ gcc/testsuite/g++.dg/cpp2a/concepts-requires38.C | 14 ++ 2 files changed, 16 insertions(+) create mode 100644 gcc/testsuite/g++.dg/cpp2a/concepts-requires38.C diff --git a/gcc/cp/parser.cc b/gcc/cp/parser.cc index bc4a2359153..0d59f7d2690 100644 --- a/gcc/cp/parser.cc +++ b/gcc/cp/parser.cc @@ -31496,6 +31496,8 @@ cp_parser_constraint_primary_expression (cp_parser *parser, bool lambda_p) } if (pce == pce_ok) { + if (idk == CP_ID_KIND_UNQUALIFIED && identifier_p (expr)) + expr = unqualified_name_lookup_error (expr); cp_lexer_commit_tokens (parser->lexer); return finish_constraint_primary_expr (expr); } diff --git a/gcc/testsuite/g++.dg/cpp2a/concepts-requires38.C b/gcc/testsuite/g++.dg/cpp2a/concepts-requires38.C new file mode 100644 index 000..663195b79cc --- /dev/null +++ b/gcc/testsuite/g++.dg/cpp2a/concepts-requires38.C @@ -0,0 +1,14 @@ +// PR c++/99678 +// { dg-do compile { target c++20 } } + +template +void f1() requires undeclared_identifier; // { dg-error "not declared" } + +template +void f2() requires true && undeclared_identifier; // { dg-error "not declared" } + +template +void f3() requires false || undeclared_identifier; // { dg-error "not declared" } + +template +void f4() requires undeclared_identifier(T{}); // { dg-error "must be enclosed in parentheses" } -- 2.45.2.457.g8d94cfb545
[Committed] RISC-V: Amo testsuite cleanup
On 6/12/24 11:12, Jeff Law wrote: On 6/11/24 12:03 PM, Patrick O'Neill wrote: This series moves the atomic-related riscv testcases into their own folder and fixes some minor bugs/rigidity of existing testcases. This series is OK. jeff Committed, thanks. Patrick
[gcc r15-1219] RISC-V: Allow any temp register to be used in amo tests
https://gcc.gnu.org/g:439c0cc9f7f6e83b898cabbd2e34f98484b432d3 commit r15-1219-g439c0cc9f7f6e83b898cabbd2e34f98484b432d3 Author: Patrick O'Neill Date: Mon Jun 10 17:00:38 2024 -0700 RISC-V: Allow any temp register to be used in amo tests We artifically restrict the temp registers to be a[0-9]+ when other registers like t[0-9]+ are valid too. Update to make the regex accept any register for the temp value. gcc/testsuite/ChangeLog: * gcc.target/riscv/amo/amo-table-a-6-load-1.c: Update temp register regex. * gcc.target/riscv/amo/amo-table-a-6-load-2.c: Ditto. * gcc.target/riscv/amo/amo-table-a-6-load-3.c: Ditto. * gcc.target/riscv/amo/amo-table-a-6-store-1.c: Ditto. * gcc.target/riscv/amo/amo-table-a-6-store-2.c: Ditto. * gcc.target/riscv/amo/amo-table-a-6-store-compat-3.c: Ditto. * gcc.target/riscv/amo/amo-table-ztso-load-1.c: Ditto. * gcc.target/riscv/amo/amo-table-ztso-load-2.c: Ditto. * gcc.target/riscv/amo/amo-table-ztso-load-3.c: Ditto. * gcc.target/riscv/amo/amo-table-ztso-store-1.c: Ditto. * gcc.target/riscv/amo/amo-table-ztso-store-2.c: Ditto. * gcc.target/riscv/amo/amo-table-ztso-store-3.c: Ditto. Signed-off-by: Patrick O'Neill Diff: --- gcc/testsuite/gcc.target/riscv/amo/amo-table-a-6-load-1.c | 4 ++-- gcc/testsuite/gcc.target/riscv/amo/amo-table-a-6-load-2.c | 4 ++-- gcc/testsuite/gcc.target/riscv/amo/amo-table-a-6-load-3.c | 4 ++-- gcc/testsuite/gcc.target/riscv/amo/amo-table-a-6-store-1.c| 4 ++-- gcc/testsuite/gcc.target/riscv/amo/amo-table-a-6-store-2.c| 4 ++-- gcc/testsuite/gcc.target/riscv/amo/amo-table-a-6-store-compat-3.c | 4 ++-- gcc/testsuite/gcc.target/riscv/amo/amo-table-ztso-load-1.c| 4 ++-- gcc/testsuite/gcc.target/riscv/amo/amo-table-ztso-load-2.c| 4 ++-- gcc/testsuite/gcc.target/riscv/amo/amo-table-ztso-load-3.c| 4 ++-- gcc/testsuite/gcc.target/riscv/amo/amo-table-ztso-store-1.c | 4 ++-- gcc/testsuite/gcc.target/riscv/amo/amo-table-ztso-store-2.c | 4 ++-- gcc/testsuite/gcc.target/riscv/amo/amo-table-ztso-store-3.c | 4 ++-- 12 files changed, 24 insertions(+), 24 deletions(-) diff --git a/gcc/testsuite/gcc.target/riscv/amo/amo-table-a-6-load-1.c b/gcc/testsuite/gcc.target/riscv/amo/amo-table-a-6-load-1.c index 3c79035e46d6..53dd52344527 100644 --- a/gcc/testsuite/gcc.target/riscv/amo/amo-table-a-6-load-1.c +++ b/gcc/testsuite/gcc.target/riscv/amo/amo-table-a-6-load-1.c @@ -6,8 +6,8 @@ /* ** foo: -** lw\ta[0-9]+,0\(a0\) -** sw\ta[0-9]+,0\(a1\) +** lw\t[atx][0-9]+,0\(a0\) +** sw\t[atx][0-9]+,0\(a1\) ** ret */ void foo (int* bar, int* baz) diff --git a/gcc/testsuite/gcc.target/riscv/amo/amo-table-a-6-load-2.c b/gcc/testsuite/gcc.target/riscv/amo/amo-table-a-6-load-2.c index 7d74841846fa..dda0f5415156 100644 --- a/gcc/testsuite/gcc.target/riscv/amo/amo-table-a-6-load-2.c +++ b/gcc/testsuite/gcc.target/riscv/amo/amo-table-a-6-load-2.c @@ -6,9 +6,9 @@ /* ** foo: -** lw\ta[0-9]+,0\(a0\) +** lw\t[atx][0-9]+,0\(a0\) ** fence\tr,rw -** sw\ta[0-9]+,0\(a1\) +** sw\t[atx][0-9]+,0\(a1\) ** ret */ void foo (int* bar, int* baz) diff --git a/gcc/testsuite/gcc.target/riscv/amo/amo-table-a-6-load-3.c b/gcc/testsuite/gcc.target/riscv/amo/amo-table-a-6-load-3.c index ab95fa660d25..3279557fa4a9 100644 --- a/gcc/testsuite/gcc.target/riscv/amo/amo-table-a-6-load-3.c +++ b/gcc/testsuite/gcc.target/riscv/amo/amo-table-a-6-load-3.c @@ -7,9 +7,9 @@ /* ** foo: ** fence\trw,rw -** lw\ta[0-9]+,0\(a0\) +** lw\t[atx][0-9]+,0\(a0\) ** fence\tr,rw -** sw\ta[0-9]+,0\(a1\) +** sw\t[atx][0-9]+,0\(a1\) ** ret */ void foo (int* bar, int* baz) diff --git a/gcc/testsuite/gcc.target/riscv/amo/amo-table-a-6-store-1.c b/gcc/testsuite/gcc.target/riscv/amo/amo-table-a-6-store-1.c index d852fddf03de..6b05429520bf 100644 --- a/gcc/testsuite/gcc.target/riscv/amo/amo-table-a-6-store-1.c +++ b/gcc/testsuite/gcc.target/riscv/amo/amo-table-a-6-store-1.c @@ -6,8 +6,8 @@ /* ** foo: -** lw\ta[0-9]+,0\(a1\) -** sw\ta[0-9]+,0\(a0\) +** lw\t[atx][0-9]+,0\(a1\) +** sw\t[atx][0-9]+,0\(a0\) ** ret */ void foo (int* bar, int* baz) diff --git a/gcc/testsuite/gcc.target/riscv/amo/amo-table-a-6-store-2.c b/gcc/testsuite/gcc.target/riscv/amo/amo-table-a-6-store-2.c index ccb5e2af7cc1..1ad7dede931b 100644 --- a/gcc/testsuite/gcc.target/riscv/amo/amo-table-a-6-store-2.c +++ b/gcc/testsuite/gcc.target/riscv/amo/amo-table-a-6-store-2.c @@ -6,9 +6,9 @@ /* ** foo: -** lw\ta[0-9]+,0\(a1\) +** lw\t[atx][0-9]+,0\(a1\) ** fence\trw,w -** sw\ta[0-9]+,0\(a0\) +** sw\t[atx][0-9]+,0\(a0\) ** ret */ void foo (int* bar, int* baz) diff --git a/gcc/testsuite/gcc.target/riscv/amo/amo-table-a-6-store-compat-3.c b/gcc/testsuite
[gcc r15-1218] RISC-V: Fix amoadd call arguments
https://gcc.gnu.org/g:6343adcef7de1a1214c9b6dd845810aa4a0d19e5 commit r15-1218-g6343adcef7de1a1214c9b6dd845810aa4a0d19e5 Author: Patrick O'Neill Date: Mon Jun 10 16:58:12 2024 -0700 RISC-V: Fix amoadd call arguments Update __atomic_add_fetch arguments to be a pointer and value rather than two pointers. gcc/testsuite/ChangeLog: * gcc.target/riscv/amo/amo-table-a-6-amo-add-1.c: Update __atomic_add_fetch args. * gcc.target/riscv/amo/amo-table-a-6-amo-add-2.c: Ditto. * gcc.target/riscv/amo/amo-table-a-6-amo-add-3.c: Ditto. * gcc.target/riscv/amo/amo-table-a-6-amo-add-4.c: Ditto. * gcc.target/riscv/amo/amo-table-a-6-amo-add-5.c: Ditto. * gcc.target/riscv/amo/amo-table-a-6-subword-amo-add-1.c: Ditto. * gcc.target/riscv/amo/amo-table-a-6-subword-amo-add-2.c: Ditto. * gcc.target/riscv/amo/amo-table-a-6-subword-amo-add-3.c: Ditto. * gcc.target/riscv/amo/amo-table-a-6-subword-amo-add-4.c: Ditto. * gcc.target/riscv/amo/amo-table-a-6-subword-amo-add-5.c: Ditto. * gcc.target/riscv/amo/amo-table-ztso-amo-add-1.c: Ditto. * gcc.target/riscv/amo/amo-table-ztso-amo-add-2.c: Ditto. * gcc.target/riscv/amo/amo-table-ztso-amo-add-3.c: Ditto. * gcc.target/riscv/amo/amo-table-ztso-amo-add-4.c: Ditto. * gcc.target/riscv/amo/amo-table-ztso-amo-add-5.c: Ditto. * gcc.target/riscv/amo/amo-table-ztso-subword-amo-add-1.c: Ditto. * gcc.target/riscv/amo/amo-table-ztso-subword-amo-add-2.c: Ditto. * gcc.target/riscv/amo/amo-table-ztso-subword-amo-add-3.c: Ditto. * gcc.target/riscv/amo/amo-table-ztso-subword-amo-add-4.c: Ditto. * gcc.target/riscv/amo/amo-table-ztso-subword-amo-add-5.c: Ditto. * gcc.target/riscv/amo/amo-zaamo-preferred-over-zalrsc.c: Ditto. * gcc.target/riscv/amo/amo-zalrsc-amo-add-1.c: Ditto. * gcc.target/riscv/amo/amo-zalrsc-amo-add-2.c: Ditto. * gcc.target/riscv/amo/amo-zalrsc-amo-add-3.c: Ditto. * gcc.target/riscv/amo/amo-zalrsc-amo-add-4.c: Ditto. * gcc.target/riscv/amo/amo-zalrsc-amo-add-5.c: Ditto. Signed-off-by: Patrick O'Neill Diff: --- gcc/testsuite/gcc.target/riscv/amo/amo-table-a-6-amo-add-1.c | 2 +- gcc/testsuite/gcc.target/riscv/amo/amo-table-a-6-amo-add-2.c | 2 +- gcc/testsuite/gcc.target/riscv/amo/amo-table-a-6-amo-add-3.c | 2 +- gcc/testsuite/gcc.target/riscv/amo/amo-table-a-6-amo-add-4.c | 2 +- gcc/testsuite/gcc.target/riscv/amo/amo-table-a-6-amo-add-5.c | 2 +- gcc/testsuite/gcc.target/riscv/amo/amo-table-a-6-subword-amo-add-1.c | 2 +- gcc/testsuite/gcc.target/riscv/amo/amo-table-a-6-subword-amo-add-2.c | 2 +- gcc/testsuite/gcc.target/riscv/amo/amo-table-a-6-subword-amo-add-3.c | 2 +- gcc/testsuite/gcc.target/riscv/amo/amo-table-a-6-subword-amo-add-4.c | 2 +- gcc/testsuite/gcc.target/riscv/amo/amo-table-a-6-subword-amo-add-5.c | 2 +- gcc/testsuite/gcc.target/riscv/amo/amo-table-ztso-amo-add-1.c | 2 +- gcc/testsuite/gcc.target/riscv/amo/amo-table-ztso-amo-add-2.c | 2 +- gcc/testsuite/gcc.target/riscv/amo/amo-table-ztso-amo-add-3.c | 2 +- gcc/testsuite/gcc.target/riscv/amo/amo-table-ztso-amo-add-4.c | 2 +- gcc/testsuite/gcc.target/riscv/amo/amo-table-ztso-amo-add-5.c | 2 +- gcc/testsuite/gcc.target/riscv/amo/amo-table-ztso-subword-amo-add-1.c | 2 +- gcc/testsuite/gcc.target/riscv/amo/amo-table-ztso-subword-amo-add-2.c | 2 +- gcc/testsuite/gcc.target/riscv/amo/amo-table-ztso-subword-amo-add-3.c | 2 +- gcc/testsuite/gcc.target/riscv/amo/amo-table-ztso-subword-amo-add-4.c | 2 +- gcc/testsuite/gcc.target/riscv/amo/amo-table-ztso-subword-amo-add-5.c | 2 +- gcc/testsuite/gcc.target/riscv/amo/amo-zaamo-preferred-over-zalrsc.c | 2 +- gcc/testsuite/gcc.target/riscv/amo/amo-zalrsc-amo-add-1.c | 2 +- gcc/testsuite/gcc.target/riscv/amo/amo-zalrsc-amo-add-2.c | 2 +- gcc/testsuite/gcc.target/riscv/amo/amo-zalrsc-amo-add-3.c | 2 +- gcc/testsuite/gcc.target/riscv/amo/amo-zalrsc-amo-add-4.c | 2 +- gcc/testsuite/gcc.target/riscv/amo/amo-zalrsc-amo-add-5.c | 2 +- 26 files changed, 26 insertions(+), 26 deletions(-) diff --git a/gcc/testsuite/gcc.target/riscv/amo/amo-table-a-6-amo-add-1.c b/gcc/testsuite/gcc.target/riscv/amo/amo-table-a-6-amo-add-1.c index 9c2ba39789ae..2e53abf28aa2 100644 --- a/gcc/testsuite/gcc.target/riscv/amo/amo-table-a-6-amo-add-1.c +++ b/gcc/testsuite/gcc.target/riscv/amo/amo-table-a-6-amo-add-1.c @@ -10,7 +10,7 @@ ** amoadd\.w\tzero,a1,0\(a0\) ** ret */ -void foo (int* bar, int* baz) +void foo (int* bar, int baz) { __atomic_add_fetch(bar, baz, __ATOMIC_RELAXED); } diff --git a/gcc/testsuite/gcc.target/riscv/amo/amo-table-a-6-amo-add-2.c b/gcc
[gcc r15-1217] RISC-V: Move amo tests into subfolder
https://gcc.gnu.org/g:8c944f2559ff279ed7e04c2a75881c04c0c31a9b commit r15-1217-g8c944f2559ff279ed7e04c2a75881c04c0c31a9b Author: Patrick O'Neill Date: Mon Jun 10 16:32:11 2024 -0700 RISC-V: Move amo tests into subfolder There's a large number of atomic related testcases in the riscv folder. Move them into a subfolder similar to what was done for rvv testcases. gcc/testsuite/ChangeLog: * gcc.target/riscv/amo-table-a-6-amo-add-1.c: Move to... * gcc.target/riscv/amo/amo-table-a-6-amo-add-1.c: ...here. * gcc.target/riscv/amo-table-a-6-amo-add-2.c: Move to... * gcc.target/riscv/amo/amo-table-a-6-amo-add-2.c: ...here. * gcc.target/riscv/amo-table-a-6-amo-add-3.c: Move to... * gcc.target/riscv/amo/amo-table-a-6-amo-add-3.c: ...here. * gcc.target/riscv/amo-table-a-6-amo-add-4.c: Move to... * gcc.target/riscv/amo/amo-table-a-6-amo-add-4.c: ...here. * gcc.target/riscv/amo-table-a-6-amo-add-5.c: Move to... * gcc.target/riscv/amo/amo-table-a-6-amo-add-5.c: ...here. * gcc.target/riscv/amo-table-a-6-compare-exchange-1.c: Move to... * gcc.target/riscv/amo/amo-table-a-6-compare-exchange-1.c: ...here. * gcc.target/riscv/amo-table-a-6-compare-exchange-2.c: Move to... * gcc.target/riscv/amo/amo-table-a-6-compare-exchange-2.c: ...here. * gcc.target/riscv/amo-table-a-6-compare-exchange-3.c: Move to... * gcc.target/riscv/amo/amo-table-a-6-compare-exchange-3.c: ...here. * gcc.target/riscv/amo-table-a-6-compare-exchange-4.c: Move to... * gcc.target/riscv/amo/amo-table-a-6-compare-exchange-4.c: ...here. * gcc.target/riscv/amo-table-a-6-compare-exchange-5.c: Move to... * gcc.target/riscv/amo/amo-table-a-6-compare-exchange-5.c: ...here. * gcc.target/riscv/amo-table-a-6-compare-exchange-6.c: Move to... * gcc.target/riscv/amo/amo-table-a-6-compare-exchange-6.c: ...here. * gcc.target/riscv/amo-table-a-6-compare-exchange-7.c: Move to... * gcc.target/riscv/amo/amo-table-a-6-compare-exchange-7.c: ...here. * gcc.target/riscv/amo-table-a-6-fence-1.c: Move to... * gcc.target/riscv/amo/amo-table-a-6-fence-1.c: ...here. * gcc.target/riscv/amo-table-a-6-fence-2.c: Move to... * gcc.target/riscv/amo/amo-table-a-6-fence-2.c: ...here. * gcc.target/riscv/amo-table-a-6-fence-3.c: Move to... * gcc.target/riscv/amo/amo-table-a-6-fence-3.c: ...here. * gcc.target/riscv/amo-table-a-6-fence-4.c: Move to... * gcc.target/riscv/amo/amo-table-a-6-fence-4.c: ...here. * gcc.target/riscv/amo-table-a-6-fence-5.c: Move to... * gcc.target/riscv/amo/amo-table-a-6-fence-5.c: ...here. * gcc.target/riscv/amo-table-a-6-load-1.c: Move to... * gcc.target/riscv/amo/amo-table-a-6-load-1.c: ...here. * gcc.target/riscv/amo-table-a-6-load-2.c: Move to... * gcc.target/riscv/amo/amo-table-a-6-load-2.c: ...here. * gcc.target/riscv/amo-table-a-6-load-3.c: Move to... * gcc.target/riscv/amo/amo-table-a-6-load-3.c: ...here. * gcc.target/riscv/amo-table-a-6-store-1.c: Move to... * gcc.target/riscv/amo/amo-table-a-6-store-1.c: ...here. * gcc.target/riscv/amo-table-a-6-store-2.c: Move to... * gcc.target/riscv/amo/amo-table-a-6-store-2.c: ...here. * gcc.target/riscv/amo-table-a-6-store-compat-3.c: Move to... * gcc.target/riscv/amo/amo-table-a-6-store-compat-3.c: ...here. * gcc.target/riscv/amo-table-a-6-subword-amo-add-1.c: Move to... * gcc.target/riscv/amo/amo-table-a-6-subword-amo-add-1.c: ...here. * gcc.target/riscv/amo-table-a-6-subword-amo-add-2.c: Move to... * gcc.target/riscv/amo/amo-table-a-6-subword-amo-add-2.c: ...here. * gcc.target/riscv/amo-table-a-6-subword-amo-add-3.c: Move to... * gcc.target/riscv/amo/amo-table-a-6-subword-amo-add-3.c: ...here. * gcc.target/riscv/amo-table-a-6-subword-amo-add-4.c: Move to... * gcc.target/riscv/amo/amo-table-a-6-subword-amo-add-4.c: ...here. * gcc.target/riscv/amo-table-a-6-subword-amo-add-5.c: Move to... * gcc.target/riscv/amo/amo-table-a-6-subword-amo-add-5.c: ...here. * gcc.target/riscv/amo-table-ztso-amo-add-1.c: Move to... * gcc.target/riscv/amo/amo-table-ztso-amo-add-1.c: ...here. * gcc.target/riscv/amo-table-ztso-amo-add-2.c: Move to... * gcc.target/riscv/amo/amo-table-ztso-amo-add-2.c: ...here. * gcc.target/riscv/amo-table-ztso-amo-add-3.c: Move to... * gcc.target/riscv/amo/amo-table-ztso-amo-add-3.c: ...here. * gcc.target/riscv/amo-table-ztso-amo-add-4.c
Re: [PATCH] c++: ICE w/ ambig and non-strictly-viable cands [PR115239]
On Wed, 12 Jun 2024, Patrick Palka wrote: > Bootstrapped and regtested on x86_64-pc-linux-gnu, does this look OK for > trunk/14? > > -- >8 -- > > Here during overload resolution we have two strictly viable ambiguous > candidates #1 and #2, and two non-strictly viable candidates #3 and #4 > which we hold on to ever since r14-6522. These latter candidates have > an empty third arg conversion since the second arg conversion was deemed > bad. This ends up causing an ICE during joust for #3 and #4 due to this > empty arg conversion. > > We can fix this by making joust robust to empty arg conversions, but in > this situation we shouldn't need to compare #3 and #4 at all given that > we have a strictly viable candidate. To that end, this patch makes > tourney shortcut considering non-strictly viable candidates upon > encountering ambiguity between two strictly viable candidates, taking > advantage of the fact that the candidates list is sorted according to > viability via splice_viable. > > PR c++/115239 > > gcc/cp/ChangeLog: > > * call.cc (tourney): Don't consider a non-strictly viable > candidate as the champ if there was ambiguity between two > strictly viable candidates. > > gcc/testsuite/ChangeLog: > > * g++.dg/overload/error7.C: New test. > --- > gcc/cp/call.cc | 4 +++- > gcc/testsuite/g++.dg/overload/error7.C | 10 ++ > 2 files changed, 13 insertions(+), 1 deletion(-) > create mode 100644 gcc/testsuite/g++.dg/overload/error7.C > > diff --git a/gcc/cp/call.cc b/gcc/cp/call.cc > index ed68eb3c568..82c70f5c39f 100644 > --- a/gcc/cp/call.cc > +++ b/gcc/cp/call.cc > @@ -13484,9 +13484,11 @@ tourney (struct z_candidate *candidates, > tsubst_flags_t complain) > } >else > { > + z_candidate *prev_champ = *champ; > previous_worse_champ = nullptr; > champ = &(*challenger)->next; > - if (!*champ || !(*champ)->viable) > + if (!*champ || !(*champ)->viable > + || (prev_champ->viable == 1 && (*champ)->viable == -1)) > { > champ = nullptr; > break; > diff --git a/gcc/testsuite/g++.dg/overload/error7.C > b/gcc/testsuite/g++.dg/overload/error7.C > new file mode 100644 > index 000..68aaa236de4 > --- /dev/null > +++ b/gcc/testsuite/g++.dg/overload/error7.C > @@ -0,0 +1,10 @@ > +// PR c++/115239 > + > +bool foo(const char *, char *, long); // #1, strictly viable, ambig with > #2 > +bool foo(const char *, char *, unsigned); // #2, strictly viable, ambig with > #1 > +bool foo(char, char, long); // #3, non-strictly viable > +bool foo(char, char, unsigned); // #4, non-strictly viable > + > +int main() { > + foo((char *)0, (char *)0, 0); // { dg-error "ambiguous" } > +} FWIW I just realized this testcase can be simplified to: // PR c++/115239 bool foo(char *, long); // #1, strictly viable, ambig with #2 bool foo(char *, unsigned); // #2, strictly viable, ambig with #1 bool foo(char, long); // #3, non-strictly viable bool foo(char, unsigned); // #4, non-strictly viable int main() { foo((char *)0, 0); // { dg-error "ambiguous" } }
[PATCH] c++: ICE w/ ambig and non-strictly-viable cands [PR115239]
Bootstrapped and regtested on x86_64-pc-linux-gnu, does this look OK for trunk/14? -- >8 -- Here during overload resolution we have two strictly viable ambiguous candidates #1 and #2, and two non-strictly viable candidates #3 and #4 which we hold on to ever since r14-6522. These latter candidates have an empty third arg conversion since the second arg conversion was deemed bad. This ends up causing an ICE during joust for #3 and #4 due to this empty arg conversion. We can fix this by making joust robust to empty arg conversions, but in this situation we shouldn't need to compare #3 and #4 at all given that we have a strictly viable candidate. To that end, this patch makes tourney shortcut considering non-strictly viable candidates upon encountering ambiguity between two strictly viable candidates, taking advantage of the fact that the candidates list is sorted according to viability via splice_viable. PR c++/115239 gcc/cp/ChangeLog: * call.cc (tourney): Don't consider a non-strictly viable candidate as the champ if there was ambiguity between two strictly viable candidates. gcc/testsuite/ChangeLog: * g++.dg/overload/error7.C: New test. --- gcc/cp/call.cc | 4 +++- gcc/testsuite/g++.dg/overload/error7.C | 10 ++ 2 files changed, 13 insertions(+), 1 deletion(-) create mode 100644 gcc/testsuite/g++.dg/overload/error7.C diff --git a/gcc/cp/call.cc b/gcc/cp/call.cc index ed68eb3c568..82c70f5c39f 100644 --- a/gcc/cp/call.cc +++ b/gcc/cp/call.cc @@ -13484,9 +13484,11 @@ tourney (struct z_candidate *candidates, tsubst_flags_t complain) } else { + z_candidate *prev_champ = *champ; previous_worse_champ = nullptr; champ = &(*challenger)->next; - if (!*champ || !(*champ)->viable) + if (!*champ || !(*champ)->viable + || (prev_champ->viable == 1 && (*champ)->viable == -1)) { champ = nullptr; break; diff --git a/gcc/testsuite/g++.dg/overload/error7.C b/gcc/testsuite/g++.dg/overload/error7.C new file mode 100644 index 000..68aaa236de4 --- /dev/null +++ b/gcc/testsuite/g++.dg/overload/error7.C @@ -0,0 +1,10 @@ +// PR c++/115239 + +bool foo(const char *, char *, long); // #1, strictly viable, ambig with #2 +bool foo(const char *, char *, unsigned); // #2, strictly viable, ambig with #1 +bool foo(char, char, long); // #3, non-strictly viable +bool foo(char, char, unsigned); // #4, non-strictly viable + +int main() { + foo((char *)0, (char *)0, 0); // { dg-error "ambiguous" } +} -- 2.45.2.457.g8d94cfb545
Re: [Committed] RISC-V: Add basic Zaamo and Zalrsc support
On 6/12/24 04:21, Andreas Schwab wrote: On Jun 12 2024, Li, Pan2 wrote: Do we need to upgrade the binutils of the riscv-gnu-toolchain repo? Or we may have unknown prefixed ISA extension `zaamo' when building. There needs to be a configure check if binutils can grok the extension. Ack. I'll make a patch for that. In the meantime bumping binutils to tip-of-tree will resolve the build issue. Patrick
[coreboot] [coreboot - Bug #121] T520: Hangs in OS
Issue #121 has been updated by Patrick Rudolph. > I tried booting with kernel command line parameter idle=nomwait. That should make the OS use the `hlt` instruction instead of `mwait`, which is similar to package C1-state. When using `powertop` or similar tools it should show how much time it spends in specific C-states. I would expect it to draw a bit more power, but probably just ~1Watt. > not in my case (t520i, i7-3840qm) - its almost as if the freezes are more > frequent with this option 路 I would also expect it to not freeze any more, since C1-states where reported to be working fine. Quote: > As an update to the above, intel_idle.max_cstate=3 was not stable but > intel_idle.max_cstate=2 was and I haven't had any crashes in about a month. Bug #121: T520: Hangs in OS https://ticket.coreboot.org/issues/121#change-1860 * Author: Firstname Lastname * Status: In Progress * Priority: Normal * Category: chipset configuration * Start date: 2017-06-09 * Affected hardware: SNB, IVY * Affected OS: - I have been running coreboot since 2017.04.15 and have experienced hangs ever since then. It was suggested by folk on the IRC that I run memtest to check for incorrect raminit causing errors, however I have run memtest for 12 hours straight with no errors. Due to the ambiguous nature of the hangs (immediate freeze with no warning signs, audio gets stuck repeating the last 50ms or so of noise, not sure what this effect is called) I don't have much useful information other than the .config and dmesg. However one thing I can say with high confidence is that the hangs occur significantly more frequently in Linux (*buntu distros) than Windows 10. Within an hour of launching Linux a hang is likely, whereas Windows typically runs for many hours before a hang occurs. I considered this an insignificant anecdotal anomaly at first but over the course of the nearly 2 months I have been running coreboot it seems to be a solid trend. The hangs occur anywhere, typically during mere desktop usage or basic web browsing. Additionally there is another form of hang I experience where the screen goes black except for some sort of graphical corruption down the left side (http://i.imgur.com/4zWrlpX.jpg), whether this is related to the more common total freeze hangs I don't know but I figured I should include it nonetheless. These hangs only occur about 1:20 compared to the regular hangs. ---Files config (20.7 KB) dmesg.txt (57.3 KB) cbmem-raminit.txt (62 KB) lspci.txt (29.6 KB) cpuinfo.txt (3.94 KB) defconfig (1023 Bytes) defconfig (699 Bytes) -- You have received this notification because you have either subscribed to it, or are involved in it. To change your notification preferences, please click here: https://ticket.coreboot.org/my/account ___ coreboot mailing list -- coreboot@coreboot.org To unsubscribe send an email to coreboot-le...@coreboot.org
[gentoo-commits] repo/gentoo:master commit in: dev-db/citus/
commit: 58733d1f842863a5478b1b15dc369de99d19af65 Author: Patrick Lauer gentoo org> AuthorDate: Wed Jun 12 14:29:05 2024 + Commit: Patrick Lauer gentoo org> CommitDate: Wed Jun 12 16:36:19 2024 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=58733d1f dev-db/citus: update EAPI 7 -> 8 Signed-off-by: Patrick Lauer gentoo.org> dev-db/citus/citus-11.3.1.ebuild | 2 +- dev-db/citus/citus-12.0.1.ebuild | 2 +- dev-db/citus/citus-12.1.3.ebuild | 2 +- dev-db/citus/citus-12.1.4.ebuild | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/dev-db/citus/citus-11.3.1.ebuild b/dev-db/citus/citus-11.3.1.ebuild index 196628d1bd19..7218cc89d2a8 100644 --- a/dev-db/citus/citus-11.3.1.ebuild +++ b/dev-db/citus/citus-11.3.1.ebuild @@ -1,7 +1,7 @@ # Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=7 +EAPI=8 POSTGRES_COMPAT=( 13 14 15 ) diff --git a/dev-db/citus/citus-12.0.1.ebuild b/dev-db/citus/citus-12.0.1.ebuild index c3c9617e490d..d4a43681798e 100644 --- a/dev-db/citus/citus-12.0.1.ebuild +++ b/dev-db/citus/citus-12.0.1.ebuild @@ -1,7 +1,7 @@ # Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=7 +EAPI=8 POSTGRES_COMPAT=( 14 15 ) diff --git a/dev-db/citus/citus-12.1.3.ebuild b/dev-db/citus/citus-12.1.3.ebuild index 6f1052ed0c2d..7b9ed91dac47 100644 --- a/dev-db/citus/citus-12.1.3.ebuild +++ b/dev-db/citus/citus-12.1.3.ebuild @@ -1,7 +1,7 @@ # Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=7 +EAPI=8 POSTGRES_COMPAT=( 14 15 16 ) diff --git a/dev-db/citus/citus-12.1.4.ebuild b/dev-db/citus/citus-12.1.4.ebuild index 6f1052ed0c2d..7b9ed91dac47 100644 --- a/dev-db/citus/citus-12.1.4.ebuild +++ b/dev-db/citus/citus-12.1.4.ebuild @@ -1,7 +1,7 @@ # Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=7 +EAPI=8 POSTGRES_COMPAT=( 14 15 16 )
[gentoo-commits] repo/gentoo:master commit in: dev-db/timescaledb/
commit: a597a13afdee6d901dfba68eb6fbdc32a104b86d Author: Patrick Lauer gentoo org> AuthorDate: Wed Jun 12 14:45:24 2024 + Commit: Patrick Lauer gentoo org> CommitDate: Wed Jun 12 16:36:19 2024 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a597a13a dev-db/timescaledb: update EAPI 7 -> 8 Signed-off-by: Patrick Lauer gentoo.org> dev-db/timescaledb/timescaledb-2.14.2.ebuild | 2 +- dev-db/timescaledb/timescaledb-2.15.2.ebuild | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/dev-db/timescaledb/timescaledb-2.14.2.ebuild b/dev-db/timescaledb/timescaledb-2.14.2.ebuild index ec3d2f7794de..e19ac7ef1ca5 100644 --- a/dev-db/timescaledb/timescaledb-2.14.2.ebuild +++ b/dev-db/timescaledb/timescaledb-2.14.2.ebuild @@ -1,7 +1,7 @@ # Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=7 +EAPI=8 POSTGRES_COMPAT=( 13 14 15 16 ) POSTGRES_USEDEP="ssl" diff --git a/dev-db/timescaledb/timescaledb-2.15.2.ebuild b/dev-db/timescaledb/timescaledb-2.15.2.ebuild index ec3d2f7794de..e19ac7ef1ca5 100644 --- a/dev-db/timescaledb/timescaledb-2.15.2.ebuild +++ b/dev-db/timescaledb/timescaledb-2.15.2.ebuild @@ -1,7 +1,7 @@ # Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=7 +EAPI=8 POSTGRES_COMPAT=( 13 14 15 16 ) POSTGRES_USEDEP="ssl"
[gentoo-commits] repo/gentoo:master commit in: eclass/
commit: 7abcd95126ff4da8684953573eec02e2c71059cb Author: Patrick Lauer gentoo org> AuthorDate: Wed Jun 12 16:35:30 2024 + Commit: Patrick Lauer gentoo org> CommitDate: Wed Jun 12 16:36:20 2024 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7abcd951 postgres-multi.eclass: Fix annotations Signed-off-by: Patrick Lauer gentoo.org> eclass/postgres-multi.eclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eclass/postgres-multi.eclass b/eclass/postgres-multi.eclass index 52ca83b9126f..92299b8cf34c 100644 --- a/eclass/postgres-multi.eclass +++ b/eclass/postgres-multi.eclass @@ -6,7 +6,7 @@ # PostgreSQL # @AUTHOR: # Aaron W. Swenson -# @SUPPORTED_EAPIS: 7 +# @SUPPORTED_EAPIS: 7 8 # @PROVIDES: multibuild postgres # @BLURB: An eclass to build PostgreSQL-related packages against multiple slots # @DESCRIPTION:
[gentoo-commits] repo/gentoo:master commit in: eclass/
commit: 64a7bf34f31437b26886cc75cff8d5585fc50236 Author: Patrick Lauer gentoo org> AuthorDate: Wed Jun 12 14:16:14 2024 + Commit: Patrick Lauer gentoo org> CommitDate: Wed Jun 12 14:27:05 2024 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=64a7bf34 postgres-multi.eclass: Add EAPI 8 support Previously blocked by postgres.eclass, which was fixed in 304ab5e1acc056aca413ed69bc6791270502cbce Signed-off-by: Patrick Lauer gentoo.org> eclass/postgres-multi.eclass | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/eclass/postgres-multi.eclass b/eclass/postgres-multi.eclass index d93df851cd24..52ca83b9126f 100644 --- a/eclass/postgres-multi.eclass +++ b/eclass/postgres-multi.eclass @@ -1,4 +1,4 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 # @ECLASS: postgres-multi.eclass @@ -15,7 +15,7 @@ # POSTGRES_TARGETS use flags. case ${EAPI} in - 7) ;; + 7|8) ;; *) die "${ECLASS}: EAPI ${EAPI:-0} not supported" ;; esac
[gentoo-commits] repo/proj/guru:dev commit in: media-libs/opencomposite/
commit: faeed594b8af5551d56e62f6fce184b8c907ea43 Author: Patrick Nicolas laposte net> AuthorDate: Wed Jun 12 12:56:09 2024 + Commit: Patrick Nicolas laposte net> CommitDate: Wed Jun 12 12:56:09 2024 + URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=faeed594 media-libs/opencomposite: use bundled OpenXR loader Signed-off-by: Patrick Nicolas laposte.net> media-libs/opencomposite/opencomposite-.ebuild | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/media-libs/opencomposite/opencomposite-.ebuild b/media-libs/opencomposite/opencomposite-.ebuild index 66f558619..f8852cca4 100644 --- a/media-libs/opencomposite/opencomposite-.ebuild +++ b/media-libs/opencomposite/opencomposite-.ebuild @@ -41,7 +41,8 @@ src_configure() # as it does for vulkan and other similar configuration files. local mycmakeargs=( "-DCMAKE_INSTALL_PREFIX=/opt" - "-DUSE_SYSTEM_OPENXR=ON" + # Required for Proton: https://gitlab.com/znixian/OpenOVR/-/issues/416 + "-DUSE_SYSTEM_OPENXR=OFF" # FIXME: fails because GLM_ENABLE_EXPERIMENTAL is unset "-DUSE_SYSTEM_GLM=OFF" )
[clang] [llvm] [ConstantFold] Drop gep of gep fold entirely (PR #95126)
jplehr wrote: Thank you @nikic. I'll see to reproduce locally and narrow down as much as possible to provide small reproducer. https://github.com/llvm/llvm-project/pull/95126 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
[clang] [llvm] [ConstantFold] Drop gep of gep fold entirely (PR #95126)
jplehr wrote: I believe this broke our flang+openmp+offload bot: https://lab.llvm.org/staging/#/builders/140/builds/10168 Happy to help looking into it. https://github.com/llvm/llvm-project/pull/95126 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
Re: [fr-users] dans calc, pourquoi lorsqu'on insère une ligne au début d'un tableau la formule somme ne la prend pas en compte
Bonjour, Formidable, ça marche ! Merci Bonne journée Patrick Le 11/06/2024 à 22:57, LClibre a écrit : Options > Calc > Cocher la case "Étendre les références lors de l'insertion de colonnes/lignes" Est-ce que ça résoudrait votre problème ? Je procède ainsi depuis longtemps, mes formules se mettent à jour quand j'agrandis un tableau. LC -- Envoyez un mail à users+unsubscr...@fr.libreoffice.org pour vous désinscrire Les archives de la liste sont disponibles à https://listarchives.libreoffice.org/fr/users/ Privacy Policy: https://www.documentfoundation.org/privacy
core.git: Branch 'libreoffice-24-2' - sw/source
sw/source/uibase/shells/textsh1.cxx |7 ++- 1 file changed, 6 insertions(+), 1 deletion(-) New commits: commit 48acaca27e84b914d37770a75b37da264e1a96fb Author: Patrick Luby AuthorDate: Fri May 31 16:23:59 2024 -0400 Commit: Mike Kaganski CommitDate: Wed Jun 12 08:49:33 2024 +0200 tdf#160801 fix crash by delaying resetting of attributes Calling SwWrtShell::ResetAttr() will sometimes delete the current SwTextShell instance so call it after clearing the direct formatting flag. Change-Id: I43a66527cee30271447dff30f166086c6759e162 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/168304 Tested-by: Jenkins Reviewed-by: Patrick Luby (cherry picked from commit 6f4adc1274cfac30b9097411bb193bd4386969f0) Reviewed-on: https://gerrit.libreoffice.org/c/core/+/168628 Reviewed-by: Mike Kaganski diff --git a/sw/source/uibase/shells/textsh1.cxx b/sw/source/uibase/shells/textsh1.cxx index 2bf6c670e489..df26346fc23d 100644 --- a/sw/source/uibase/shells/textsh1.cxx +++ b/sw/source/uibase/shells/textsh1.cxx @@ -1041,12 +1041,17 @@ void SwTextShell::Execute(SfxRequest ) for (sal_uInt16 i = nBegin; i <= nEnd; ++i) aAttribs.insert( i ); } -rWrtSh.ResetAttr( aAttribs ); // also clear the direct formatting flag inside SwTableBox(es) if (SwFEShell* pFEShell = GetView().GetDocShell()->GetFEShell()) pFEShell->UpdateTableStyleFormatting(nullptr, true); +// tdf#160801 fix crash by delaying resetting of attributes +// Calling SwWrtShell::ResetAttr() will sometimes delete the +// current SwTextShell instance so call it after clearing the +// direct formatting flag. +rWrtSh.ResetAttr( aAttribs ); + rReq.Done(); break; }
core.git: sw/source
sw/source/uibase/shells/textsh1.cxx |7 ++- 1 file changed, 6 insertions(+), 1 deletion(-) New commits: commit 6f4adc1274cfac30b9097411bb193bd4386969f0 Author: Patrick Luby AuthorDate: Fri May 31 16:23:59 2024 -0400 Commit: Patrick Luby CommitDate: Tue Jun 11 23:18:56 2024 +0200 tdf#160801 fix crash by delaying resetting of attributes Calling SwWrtShell::ResetAttr() will sometimes delete the current SwTextShell instance so call it after clearing the direct formatting flag. Change-Id: I43a66527cee30271447dff30f166086c6759e162 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/168304 Tested-by: Jenkins Reviewed-by: Patrick Luby diff --git a/sw/source/uibase/shells/textsh1.cxx b/sw/source/uibase/shells/textsh1.cxx index a51c7f6432be..0144b01dbfaf 100644 --- a/sw/source/uibase/shells/textsh1.cxx +++ b/sw/source/uibase/shells/textsh1.cxx @@ -1049,12 +1049,17 @@ void SwTextShell::Execute(SfxRequest ) for (sal_uInt16 i = nBegin; i <= nEnd; ++i) aAttribs.insert( i ); } -rWrtSh.ResetAttr( aAttribs ); // also clear the direct formatting flag inside SwTableBox(es) if (SwFEShell* pFEShell = GetView().GetDocShell()->GetFEShell()) pFEShell->UpdateTableStyleFormatting(nullptr, true); +// tdf#160801 fix crash by delaying resetting of attributes +// Calling SwWrtShell::ResetAttr() will sometimes delete the +// current SwTextShell instance so call it after clearing the +// direct formatting flag. +rWrtSh.ResetAttr( aAttribs ); + rReq.Done(); break; }
[jira] [Commented] (DAFFODIL-2152) Add support for Scala 2.13
[ https://issues.apache.org/jira/browse/DAFFODIL-2152?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17854184#comment-17854184 ] Patrick Grandjean commented on DAFFODIL-2152: - [~mbeckerle] please let me know if you need help with this. > Add support for Scala 2.13 > -- > > Key: DAFFODIL-2152 > URL: https://issues.apache.org/jira/browse/DAFFODIL-2152 > Project: Daffodil > Issue Type: Improvement > Components: Infrastructure >Reporter: Steve Lawrence >Priority: Major > > Scala 2.13 has been released and has some nice updates: > https://github.com/scala/scala/releases/tag/v2.13.0 > We should enable cross compilation support for it. -- This message was sent by Atlassian Jira (v8.20.10#820010)
cpan compiling
d ‘_GLUfuncptr’ {aka ‘void (*)(void)’} but argument is of type ‘void (*)(GLenum, void *)’ {aka ‘void (*)(unsigned int, void *)’} 336 | GLAPI void GLAPIENTRY gluTessCallback (GLUtesselator* tess, GLenum which, _GLUfuncptr CallBackFunc); | ^~~~ tkZinc.c:9003:60: error: passing argument 3 of ‘gluTessCallback’ from incompatible pointer type [-Wincompatible-pointer-types] 9003 | gluTessCallback(ZnTesselator.tess, GLU_TESS_VERTEX_DATA, ZnTessVertex); |^~~~ || |void (*)(void *, void *) /usr/include/GL/glu.h:336:87: note: expected ‘_GLUfuncptr’ {aka ‘void (*)(void)’} but argument is of type ‘void (*)(void *, void *)’ The code violates the good practice rules, but I do not want to correct the source code. Is there away to force a compilation without -Wincompatible-pointer-types option Maybe by editing the Makefile.PL ? Thanks ==== Patrick DUPRÉ | | email: pdu...@gmx.com === -- ___ users mailing list -- users@lists.fedoraproject.org To unsubscribe send an email to users-le...@lists.fedoraproject.org Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue
Re: [PATCH v2 2/3] RISC-V: Add Zalrsc and Zaamo testsuite support
On 6/10/24 09:39, Patrick O'Neill wrote: On 6/7/24 16:04, Jeff Law wrote: On 6/3/24 3:53 PM, Patrick O'Neill wrote: Convert testsuite infrastructure to use Zalrsc and Zaamo rather than A. gcc/testsuite/ChangeLog: * gcc.target/riscv/amo-table-a-6-amo-add-1.c: Use Zaamo rather than A. * gcc.target/riscv/amo-table-a-6-amo-add-2.c: Ditto. * gcc.target/riscv/amo-table-a-6-amo-add-3.c: Ditto. * gcc.target/riscv/amo-table-a-6-amo-add-4.c: Ditto. * gcc.target/riscv/amo-table-a-6-amo-add-5.c: Ditto. * gcc.target/riscv/amo-table-a-6-compare-exchange-1.c: Use Zalrsc rather than A. * gcc.target/riscv/amo-table-a-6-compare-exchange-2.c: Ditto. * gcc.target/riscv/amo-table-a-6-compare-exchange-3.c: Ditto. * gcc.target/riscv/amo-table-a-6-compare-exchange-4.c: Ditto. * gcc.target/riscv/amo-table-a-6-compare-exchange-5.c: Ditto. * gcc.target/riscv/amo-table-a-6-compare-exchange-6.c: Ditto. * gcc.target/riscv/amo-table-a-6-compare-exchange-7.c: Ditto. * gcc.target/riscv/amo-table-a-6-subword-amo-add-1.c: Use Zaamo rather than A. * gcc.target/riscv/amo-table-a-6-subword-amo-add-2.c: Ditto. * gcc.target/riscv/amo-table-a-6-subword-amo-add-3.c: Ditto. * gcc.target/riscv/amo-table-a-6-subword-amo-add-4.c: Ditto. * gcc.target/riscv/amo-table-a-6-subword-amo-add-5.c: Ditto. * gcc.target/riscv/amo-table-ztso-amo-add-1.c: Add Zaamo option. * gcc.target/riscv/amo-table-ztso-amo-add-2.c: Ditto. * gcc.target/riscv/amo-table-ztso-amo-add-3.c: Ditto. * gcc.target/riscv/amo-table-ztso-amo-add-4.c: Ditto. * gcc.target/riscv/amo-table-ztso-amo-add-5.c: Ditto. * gcc.target/riscv/amo-table-ztso-compare-exchange-1.c: Use Zalrsc rather than A. * gcc.target/riscv/amo-table-ztso-compare-exchange-2.c: Ditto. * gcc.target/riscv/amo-table-ztso-compare-exchange-3.c: Ditto. * gcc.target/riscv/amo-table-ztso-compare-exchange-4.c: Ditto. * gcc.target/riscv/amo-table-ztso-compare-exchange-5.c: Ditto. * gcc.target/riscv/amo-table-ztso-compare-exchange-6.c: Ditto. * gcc.target/riscv/amo-table-ztso-compare-exchange-7.c: Ditto. * gcc.target/riscv/amo-table-ztso-subword-amo-add-1.c: Ditto. * gcc.target/riscv/amo-table-ztso-subword-amo-add-2.c: Ditto. * gcc.target/riscv/amo-table-ztso-subword-amo-add-3.c: Ditto. * gcc.target/riscv/amo-table-ztso-subword-amo-add-4.c: Ditto. * gcc.target/riscv/amo-table-ztso-subword-amo-add-5.c: Ditto. * lib/target-supports.exp: Add testsuite infrastructure support for Zaamo and Zalrsc. So there's a lot of whitespace changes going on in target-supports.exp that make it harder to find the real changes. There's always a bit of a judgement call for that kind of thing. This one probably goes past would generally recommend, meaning that the formatting stuff would be a separate patch. A reasonable starting point would be if you're not changing the function in question, then fixing formatting in it probably should be a distinct patch. [... snip ...] I'll split the target-supports.exp trailing whitespace removal into a separate patch after this series lands. I made the whitespace cleanup patch (trailing whitespace, leading groups of 8 spaces -> tabs) for target-supports.exp and got a diff of 584 lines. Is this still worth doing or will it be too disruptive for rebasing/other people's development? Patrick
[PATCH 3/3] RISC-V: Allow any temp register to be used in amo tests
We artifically restrict the temp registers to be a[0-9]+ when other registers like t[0-9]+ are valid too. Update to make the regex accept any register for the temp value. gcc/testsuite/ChangeLog: * gcc.target/riscv/amo/amo-table-a-6-load-1.c: Update temp register regex. * gcc.target/riscv/amo/amo-table-a-6-load-2.c: Ditto. * gcc.target/riscv/amo/amo-table-a-6-load-3.c: Ditto. * gcc.target/riscv/amo/amo-table-a-6-store-1.c: Ditto. * gcc.target/riscv/amo/amo-table-a-6-store-2.c: Ditto. * gcc.target/riscv/amo/amo-table-a-6-store-compat-3.c: Ditto. * gcc.target/riscv/amo/amo-table-ztso-load-1.c: Ditto. * gcc.target/riscv/amo/amo-table-ztso-load-2.c: Ditto. * gcc.target/riscv/amo/amo-table-ztso-load-3.c: Ditto. * gcc.target/riscv/amo/amo-table-ztso-store-1.c: Ditto. * gcc.target/riscv/amo/amo-table-ztso-store-2.c: Ditto. * gcc.target/riscv/amo/amo-table-ztso-store-3.c: Ditto. Signed-off-by: Patrick O'Neill --- gcc/testsuite/gcc.target/riscv/amo/amo-table-a-6-load-1.c | 4 ++-- gcc/testsuite/gcc.target/riscv/amo/amo-table-a-6-load-2.c | 4 ++-- gcc/testsuite/gcc.target/riscv/amo/amo-table-a-6-load-3.c | 4 ++-- gcc/testsuite/gcc.target/riscv/amo/amo-table-a-6-store-1.c| 4 ++-- gcc/testsuite/gcc.target/riscv/amo/amo-table-a-6-store-2.c| 4 ++-- .../gcc.target/riscv/amo/amo-table-a-6-store-compat-3.c | 4 ++-- gcc/testsuite/gcc.target/riscv/amo/amo-table-ztso-load-1.c| 4 ++-- gcc/testsuite/gcc.target/riscv/amo/amo-table-ztso-load-2.c| 4 ++-- gcc/testsuite/gcc.target/riscv/amo/amo-table-ztso-load-3.c| 4 ++-- gcc/testsuite/gcc.target/riscv/amo/amo-table-ztso-store-1.c | 4 ++-- gcc/testsuite/gcc.target/riscv/amo/amo-table-ztso-store-2.c | 4 ++-- gcc/testsuite/gcc.target/riscv/amo/amo-table-ztso-store-3.c | 4 ++-- 12 files changed, 24 insertions(+), 24 deletions(-) diff --git a/gcc/testsuite/gcc.target/riscv/amo/amo-table-a-6-load-1.c b/gcc/testsuite/gcc.target/riscv/amo/amo-table-a-6-load-1.c index 3c79035e46d..53dd5234452 100644 --- a/gcc/testsuite/gcc.target/riscv/amo/amo-table-a-6-load-1.c +++ b/gcc/testsuite/gcc.target/riscv/amo/amo-table-a-6-load-1.c @@ -6,8 +6,8 @@ /* ** foo: -** lw\ta[0-9]+,0\(a0\) -** sw\ta[0-9]+,0\(a1\) +** lw\t[atx][0-9]+,0\(a0\) +** sw\t[atx][0-9]+,0\(a1\) ** ret */ void foo (int* bar, int* baz) diff --git a/gcc/testsuite/gcc.target/riscv/amo/amo-table-a-6-load-2.c b/gcc/testsuite/gcc.target/riscv/amo/amo-table-a-6-load-2.c index 7d74841846f..dda0f541515 100644 --- a/gcc/testsuite/gcc.target/riscv/amo/amo-table-a-6-load-2.c +++ b/gcc/testsuite/gcc.target/riscv/amo/amo-table-a-6-load-2.c @@ -6,9 +6,9 @@ /* ** foo: -** lw\ta[0-9]+,0\(a0\) +** lw\t[atx][0-9]+,0\(a0\) ** fence\tr,rw -** sw\ta[0-9]+,0\(a1\) +** sw\t[atx][0-9]+,0\(a1\) ** ret */ void foo (int* bar, int* baz) diff --git a/gcc/testsuite/gcc.target/riscv/amo/amo-table-a-6-load-3.c b/gcc/testsuite/gcc.target/riscv/amo/amo-table-a-6-load-3.c index ab95fa660d2..3279557fa4a 100644 --- a/gcc/testsuite/gcc.target/riscv/amo/amo-table-a-6-load-3.c +++ b/gcc/testsuite/gcc.target/riscv/amo/amo-table-a-6-load-3.c @@ -7,9 +7,9 @@ /* ** foo: ** fence\trw,rw -** lw\ta[0-9]+,0\(a0\) +** lw\t[atx][0-9]+,0\(a0\) ** fence\tr,rw -** sw\ta[0-9]+,0\(a1\) +** sw\t[atx][0-9]+,0\(a1\) ** ret */ void foo (int* bar, int* baz) diff --git a/gcc/testsuite/gcc.target/riscv/amo/amo-table-a-6-store-1.c b/gcc/testsuite/gcc.target/riscv/amo/amo-table-a-6-store-1.c index d852fddf03d..6b05429520b 100644 --- a/gcc/testsuite/gcc.target/riscv/amo/amo-table-a-6-store-1.c +++ b/gcc/testsuite/gcc.target/riscv/amo/amo-table-a-6-store-1.c @@ -6,8 +6,8 @@ /* ** foo: -** lw\ta[0-9]+,0\(a1\) -** sw\ta[0-9]+,0\(a0\) +** lw\t[atx][0-9]+,0\(a1\) +** sw\t[atx][0-9]+,0\(a0\) ** ret */ void foo (int* bar, int* baz) diff --git a/gcc/testsuite/gcc.target/riscv/amo/amo-table-a-6-store-2.c b/gcc/testsuite/gcc.target/riscv/amo/amo-table-a-6-store-2.c index ccb5e2af7cc..1ad7dede931 100644 --- a/gcc/testsuite/gcc.target/riscv/amo/amo-table-a-6-store-2.c +++ b/gcc/testsuite/gcc.target/riscv/amo/amo-table-a-6-store-2.c @@ -6,9 +6,9 @@ /* ** foo: -** lw\ta[0-9]+,0\(a1\) +** lw\t[atx][0-9]+,0\(a1\) ** fence\trw,w -** sw\ta[0-9]+,0\(a0\) +** sw\t[atx][0-9]+,0\(a0\) ** ret */ void foo (int* bar, int* baz) diff --git a/gcc/testsuite/gcc.target/riscv/amo/amo-table-a-6-store-compat-3.c b/gcc/testsuite/gcc.target/riscv/amo/amo-table-a-6-store-compat-3.c index 761889f18cf..b16b2058413 100644 --- a/gcc/testsuite/gcc.target/riscv/amo/amo-table-a-6-store-compat-3.c +++ b/gcc/testsuite/gcc.target/riscv/amo/amo-table-a-6-store-compat-3.c @@ -6,9 +6,9 @@ /* ** foo: -** lw\ta[0-9]+,0\(a1\) +** lw\t[atx][0-9]+,0\(a1\) ** fence\trw,w -** sw\ta[0-9]+,0\(a0\) +** sw\t[atx][0-9]+,0\(a0
[PATCH 1/3] RISC-V: Move amo tests into subfolder
.c: ...here. * gcc.target/riscv/amo-table-ztso-compare-exchange-3.c: Move to... * gcc.target/riscv/amo/amo-table-ztso-compare-exchange-3.c: ...here. * gcc.target/riscv/amo-table-ztso-compare-exchange-4.c: Move to... * gcc.target/riscv/amo/amo-table-ztso-compare-exchange-4.c: ...here. * gcc.target/riscv/amo-table-ztso-compare-exchange-5.c: Move to... * gcc.target/riscv/amo/amo-table-ztso-compare-exchange-5.c: ...here. * gcc.target/riscv/amo-table-ztso-compare-exchange-6.c: Move to... * gcc.target/riscv/amo/amo-table-ztso-compare-exchange-6.c: ...here. * gcc.target/riscv/amo-table-ztso-compare-exchange-7.c: Move to... * gcc.target/riscv/amo/amo-table-ztso-compare-exchange-7.c: ...here. * gcc.target/riscv/amo-table-ztso-fence-1.c: Move to... * gcc.target/riscv/amo/amo-table-ztso-fence-1.c: ...here. * gcc.target/riscv/amo-table-ztso-fence-2.c: Move to... * gcc.target/riscv/amo/amo-table-ztso-fence-2.c: ...here. * gcc.target/riscv/amo-table-ztso-fence-3.c: Move to... * gcc.target/riscv/amo/amo-table-ztso-fence-3.c: ...here. * gcc.target/riscv/amo-table-ztso-fence-4.c: Move to... * gcc.target/riscv/amo/amo-table-ztso-fence-4.c: ...here. * gcc.target/riscv/amo-table-ztso-fence-5.c: Move to... * gcc.target/riscv/amo/amo-table-ztso-fence-5.c: ...here. * gcc.target/riscv/amo-table-ztso-load-1.c: Move to... * gcc.target/riscv/amo/amo-table-ztso-load-1.c: ...here. * gcc.target/riscv/amo-table-ztso-load-2.c: Move to... * gcc.target/riscv/amo/amo-table-ztso-load-2.c: ...here. * gcc.target/riscv/amo-table-ztso-load-3.c: Move to... * gcc.target/riscv/amo/amo-table-ztso-load-3.c: ...here. * gcc.target/riscv/amo-table-ztso-store-1.c: Move to... * gcc.target/riscv/amo/amo-table-ztso-store-1.c: ...here. * gcc.target/riscv/amo-table-ztso-store-2.c: Move to... * gcc.target/riscv/amo/amo-table-ztso-store-2.c: ...here. * gcc.target/riscv/amo-table-ztso-store-3.c: Move to... * gcc.target/riscv/amo/amo-table-ztso-store-3.c: ...here. * gcc.target/riscv/amo-table-ztso-subword-amo-add-1.c: Move to... * gcc.target/riscv/amo/amo-table-ztso-subword-amo-add-1.c: ...here. * gcc.target/riscv/amo-table-ztso-subword-amo-add-2.c: Move to... * gcc.target/riscv/amo/amo-table-ztso-subword-amo-add-2.c: ...here. * gcc.target/riscv/amo-table-ztso-subword-amo-add-3.c: Move to... * gcc.target/riscv/amo/amo-table-ztso-subword-amo-add-3.c: ...here. * gcc.target/riscv/amo-table-ztso-subword-amo-add-4.c: Move to... * gcc.target/riscv/amo/amo-table-ztso-subword-amo-add-4.c: ...here. * gcc.target/riscv/amo-table-ztso-subword-amo-add-5.c: Move to... * gcc.target/riscv/amo/amo-table-ztso-subword-amo-add-5.c: ...here. * gcc.target/riscv/amo-zaamo-preferred-over-zalrsc.c: Move to... * gcc.target/riscv/amo/amo-zaamo-preferred-over-zalrsc.c: ...here. * gcc.target/riscv/amo-zalrsc-amo-add-1.c: Move to... * gcc.target/riscv/amo/amo-zalrsc-amo-add-1.c: ...here. * gcc.target/riscv/amo-zalrsc-amo-add-2.c: Move to... * gcc.target/riscv/amo/amo-zalrsc-amo-add-2.c: ...here. * gcc.target/riscv/amo-zalrsc-amo-add-3.c: Move to... * gcc.target/riscv/amo/amo-zalrsc-amo-add-3.c: ...here. * gcc.target/riscv/amo-zalrsc-amo-add-4.c: Move to... * gcc.target/riscv/amo/amo-zalrsc-amo-add-4.c: ...here. * gcc.target/riscv/amo-zalrsc-amo-add-5.c: Move to... * gcc.target/riscv/amo/amo-zalrsc-amo-add-5.c: ...here. * gcc.target/riscv/inline-atomics-1.c: Move to... * gcc.target/riscv/amo/inline-atomics-1.c: ...here. * gcc.target/riscv/inline-atomics-2.c: Move to... * gcc.target/riscv/amo/inline-atomics-2.c: ...here. * gcc.target/riscv/inline-atomics-3.c: Move to... * gcc.target/riscv/amo/inline-atomics-3.c: ...here. * gcc.target/riscv/inline-atomics-4.c: Move to... * gcc.target/riscv/amo/inline-atomics-4.c: ...here. * gcc.target/riscv/inline-atomics-5.c: Move to... * gcc.target/riscv/amo/inline-atomics-5.c: ...here. * gcc.target/riscv/inline-atomics-6.c: Move to... * gcc.target/riscv/amo/inline-atomics-6.c: ...here. * gcc.target/riscv/inline-atomics-7.c: Move to... * gcc.target/riscv/amo/inline-atomics-7.c: ...here. * gcc.target/riscv/inline-atomics-8.c: Move to... * gcc.target/riscv/amo/inline-atomics-8.c: ...here. * gcc.target/riscv/pr114130.c: Move to... * gcc.target/riscv/amo/pr114130.c: ...here. * gcc.target/riscv/pr89835.c: Move to... * gcc.target/riscv/amo/pr89835.c: ...here. * gcc.target/riscv/amo/amo.exp: New file. Signed-off-by: Patrick O'Neill --- amo.exp is based off h8300.exp and I
[PATCH 2/3] RISC-V: Fix amoadd call arguments
Update __atomic_add_fetch arguments to be a pointer and value rather than two pointers. gcc/testsuite/ChangeLog: * gcc.target/riscv/amo/amo-table-a-6-amo-add-1.c: Update __atomic_add_fetch args. * gcc.target/riscv/amo/amo-table-a-6-amo-add-2.c: Ditto. * gcc.target/riscv/amo/amo-table-a-6-amo-add-3.c: Ditto. * gcc.target/riscv/amo/amo-table-a-6-amo-add-4.c: Ditto. * gcc.target/riscv/amo/amo-table-a-6-amo-add-5.c: Ditto. * gcc.target/riscv/amo/amo-table-a-6-subword-amo-add-1.c: Ditto. * gcc.target/riscv/amo/amo-table-a-6-subword-amo-add-2.c: Ditto. * gcc.target/riscv/amo/amo-table-a-6-subword-amo-add-3.c: Ditto. * gcc.target/riscv/amo/amo-table-a-6-subword-amo-add-4.c: Ditto. * gcc.target/riscv/amo/amo-table-a-6-subword-amo-add-5.c: Ditto. * gcc.target/riscv/amo/amo-table-ztso-amo-add-1.c: Ditto. * gcc.target/riscv/amo/amo-table-ztso-amo-add-2.c: Ditto. * gcc.target/riscv/amo/amo-table-ztso-amo-add-3.c: Ditto. * gcc.target/riscv/amo/amo-table-ztso-amo-add-4.c: Ditto. * gcc.target/riscv/amo/amo-table-ztso-amo-add-5.c: Ditto. * gcc.target/riscv/amo/amo-table-ztso-subword-amo-add-1.c: Ditto. * gcc.target/riscv/amo/amo-table-ztso-subword-amo-add-2.c: Ditto. * gcc.target/riscv/amo/amo-table-ztso-subword-amo-add-3.c: Ditto. * gcc.target/riscv/amo/amo-table-ztso-subword-amo-add-4.c: Ditto. * gcc.target/riscv/amo/amo-table-ztso-subword-amo-add-5.c: Ditto. * gcc.target/riscv/amo/amo-zaamo-preferred-over-zalrsc.c: Ditto. * gcc.target/riscv/amo/amo-zalrsc-amo-add-1.c: Ditto. * gcc.target/riscv/amo/amo-zalrsc-amo-add-2.c: Ditto. * gcc.target/riscv/amo/amo-zalrsc-amo-add-3.c: Ditto. * gcc.target/riscv/amo/amo-zalrsc-amo-add-4.c: Ditto. * gcc.target/riscv/amo/amo-zalrsc-amo-add-5.c: Ditto. Signed-off-by: Patrick O'Neill --- Related: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115441 --- gcc/testsuite/gcc.target/riscv/amo/amo-table-a-6-amo-add-1.c| 2 +- gcc/testsuite/gcc.target/riscv/amo/amo-table-a-6-amo-add-2.c| 2 +- gcc/testsuite/gcc.target/riscv/amo/amo-table-a-6-amo-add-3.c| 2 +- gcc/testsuite/gcc.target/riscv/amo/amo-table-a-6-amo-add-4.c| 2 +- gcc/testsuite/gcc.target/riscv/amo/amo-table-a-6-amo-add-5.c| 2 +- .../gcc.target/riscv/amo/amo-table-a-6-subword-amo-add-1.c | 2 +- .../gcc.target/riscv/amo/amo-table-a-6-subword-amo-add-2.c | 2 +- .../gcc.target/riscv/amo/amo-table-a-6-subword-amo-add-3.c | 2 +- .../gcc.target/riscv/amo/amo-table-a-6-subword-amo-add-4.c | 2 +- .../gcc.target/riscv/amo/amo-table-a-6-subword-amo-add-5.c | 2 +- gcc/testsuite/gcc.target/riscv/amo/amo-table-ztso-amo-add-1.c | 2 +- gcc/testsuite/gcc.target/riscv/amo/amo-table-ztso-amo-add-2.c | 2 +- gcc/testsuite/gcc.target/riscv/amo/amo-table-ztso-amo-add-3.c | 2 +- gcc/testsuite/gcc.target/riscv/amo/amo-table-ztso-amo-add-4.c | 2 +- gcc/testsuite/gcc.target/riscv/amo/amo-table-ztso-amo-add-5.c | 2 +- .../gcc.target/riscv/amo/amo-table-ztso-subword-amo-add-1.c | 2 +- .../gcc.target/riscv/amo/amo-table-ztso-subword-amo-add-2.c | 2 +- .../gcc.target/riscv/amo/amo-table-ztso-subword-amo-add-3.c | 2 +- .../gcc.target/riscv/amo/amo-table-ztso-subword-amo-add-4.c | 2 +- .../gcc.target/riscv/amo/amo-table-ztso-subword-amo-add-5.c | 2 +- .../gcc.target/riscv/amo/amo-zaamo-preferred-over-zalrsc.c | 2 +- gcc/testsuite/gcc.target/riscv/amo/amo-zalrsc-amo-add-1.c | 2 +- gcc/testsuite/gcc.target/riscv/amo/amo-zalrsc-amo-add-2.c | 2 +- gcc/testsuite/gcc.target/riscv/amo/amo-zalrsc-amo-add-3.c | 2 +- gcc/testsuite/gcc.target/riscv/amo/amo-zalrsc-amo-add-4.c | 2 +- gcc/testsuite/gcc.target/riscv/amo/amo-zalrsc-amo-add-5.c | 2 +- 26 files changed, 26 insertions(+), 26 deletions(-) diff --git a/gcc/testsuite/gcc.target/riscv/amo/amo-table-a-6-amo-add-1.c b/gcc/testsuite/gcc.target/riscv/amo/amo-table-a-6-amo-add-1.c index 9c2ba39789a..2e53abf28aa 100644 --- a/gcc/testsuite/gcc.target/riscv/amo/amo-table-a-6-amo-add-1.c +++ b/gcc/testsuite/gcc.target/riscv/amo/amo-table-a-6-amo-add-1.c @@ -10,7 +10,7 @@ ** amoadd\.w\tzero,a1,0\(a0\) ** ret */ -void foo (int* bar, int* baz) +void foo (int* bar, int baz) { __atomic_add_fetch(bar, baz, __ATOMIC_RELAXED); } diff --git a/gcc/testsuite/gcc.target/riscv/amo/amo-table-a-6-amo-add-2.c b/gcc/testsuite/gcc.target/riscv/amo/amo-table-a-6-amo-add-2.c index b7682a5bab4..14d6b7e4b1b 100644 --- a/gcc/testsuite/gcc.target/riscv/amo/amo-table-a-6-amo-add-2.c +++ b/gcc/testsuite/gcc.target/riscv/amo/amo-table-a-6-amo-add-2.c @@ -10,7 +10,7 @@ ** amoadd\.w\.aq\tzero,a1,0\(a0\) ** ret */ -void foo (int* bar, int* baz) +void foo (int* bar, int baz) { __atomic_add_fetch(bar, baz, __ATOMIC_ACQUIRE); } diff --git a/gcc/testsuite/gcc.target/riscv/amo/amo
[PATCH 0/3] RISC-V: Amo testsuite cleanup
This series moves the atomic-related riscv testcases into their own folder and fixes some minor bugs/rigidity of existing testcases. Patrick O'Neill (3): RISC-V: Move amo tests into subfolder RISC-V: Fix amoadd call arguments RISC-V: Allow any temp register to be used in amo tests .../riscv/{ => amo}/amo-table-a-6-amo-add-1.c | 2 +- .../riscv/{ => amo}/amo-table-a-6-amo-add-2.c | 2 +- .../riscv/{ => amo}/amo-table-a-6-amo-add-3.c | 2 +- .../riscv/{ => amo}/amo-table-a-6-amo-add-4.c | 2 +- .../riscv/{ => amo}/amo-table-a-6-amo-add-5.c | 2 +- .../amo-table-a-6-compare-exchange-1.c| 0 .../amo-table-a-6-compare-exchange-2.c| 0 .../amo-table-a-6-compare-exchange-3.c| 0 .../amo-table-a-6-compare-exchange-4.c| 0 .../amo-table-a-6-compare-exchange-5.c| 0 .../amo-table-a-6-compare-exchange-6.c| 0 .../amo-table-a-6-compare-exchange-7.c| 0 .../riscv/{ => amo}/amo-table-a-6-fence-1.c | 0 .../riscv/{ => amo}/amo-table-a-6-fence-2.c | 0 .../riscv/{ => amo}/amo-table-a-6-fence-3.c | 0 .../riscv/{ => amo}/amo-table-a-6-fence-4.c | 0 .../riscv/{ => amo}/amo-table-a-6-fence-5.c | 0 .../riscv/{ => amo}/amo-table-a-6-load-1.c| 4 +- .../riscv/{ => amo}/amo-table-a-6-load-2.c| 4 +- .../riscv/{ => amo}/amo-table-a-6-load-3.c| 4 +- .../riscv/{ => amo}/amo-table-a-6-store-1.c | 4 +- .../riscv/{ => amo}/amo-table-a-6-store-2.c | 4 +- .../{ => amo}/amo-table-a-6-store-compat-3.c | 4 +- .../amo-table-a-6-subword-amo-add-1.c | 2 +- .../amo-table-a-6-subword-amo-add-2.c | 2 +- .../amo-table-a-6-subword-amo-add-3.c | 2 +- .../amo-table-a-6-subword-amo-add-4.c | 2 +- .../amo-table-a-6-subword-amo-add-5.c | 2 +- .../{ => amo}/amo-table-ztso-amo-add-1.c | 2 +- .../{ => amo}/amo-table-ztso-amo-add-2.c | 2 +- .../{ => amo}/amo-table-ztso-amo-add-3.c | 2 +- .../{ => amo}/amo-table-ztso-amo-add-4.c | 2 +- .../{ => amo}/amo-table-ztso-amo-add-5.c | 2 +- .../amo-table-ztso-compare-exchange-1.c | 0 .../amo-table-ztso-compare-exchange-2.c | 0 .../amo-table-ztso-compare-exchange-3.c | 0 .../amo-table-ztso-compare-exchange-4.c | 0 .../amo-table-ztso-compare-exchange-5.c | 0 .../amo-table-ztso-compare-exchange-6.c | 0 .../amo-table-ztso-compare-exchange-7.c | 0 .../riscv/{ => amo}/amo-table-ztso-fence-1.c | 0 .../riscv/{ => amo}/amo-table-ztso-fence-2.c | 0 .../riscv/{ => amo}/amo-table-ztso-fence-3.c | 0 .../riscv/{ => amo}/amo-table-ztso-fence-4.c | 0 .../riscv/{ => amo}/amo-table-ztso-fence-5.c | 0 .../riscv/{ => amo}/amo-table-ztso-load-1.c | 4 +- .../riscv/{ => amo}/amo-table-ztso-load-2.c | 4 +- .../riscv/{ => amo}/amo-table-ztso-load-3.c | 4 +- .../riscv/{ => amo}/amo-table-ztso-store-1.c | 4 +- .../riscv/{ => amo}/amo-table-ztso-store-2.c | 4 +- .../riscv/{ => amo}/amo-table-ztso-store-3.c | 4 +- .../amo-table-ztso-subword-amo-add-1.c| 2 +- .../amo-table-ztso-subword-amo-add-2.c| 2 +- .../amo-table-ztso-subword-amo-add-3.c| 2 +- .../amo-table-ztso-subword-amo-add-4.c| 2 +- .../amo-table-ztso-subword-amo-add-5.c| 2 +- .../amo-zaamo-preferred-over-zalrsc.c | 2 +- .../riscv/{ => amo}/amo-zalrsc-amo-add-1.c| 2 +- .../riscv/{ => amo}/amo-zalrsc-amo-add-2.c| 2 +- .../riscv/{ => amo}/amo-zalrsc-amo-add-3.c| 2 +- .../riscv/{ => amo}/amo-zalrsc-amo-add-4.c| 2 +- .../riscv/{ => amo}/amo-zalrsc-amo-add-5.c| 2 +- gcc/testsuite/gcc.target/riscv/amo/amo.exp| 41 +++ .../riscv/{ => amo}/inline-atomics-1.c| 0 .../riscv/{ => amo}/inline-atomics-2.c| 0 .../riscv/{ => amo}/inline-atomics-3.c| 0 .../riscv/{ => amo}/inline-atomics-4.c| 0 .../riscv/{ => amo}/inline-atomics-5.c| 0 .../riscv/{ => amo}/inline-atomics-6.c| 0 .../riscv/{ => amo}/inline-atomics-7.c| 0 .../riscv/{ => amo}/inline-atomics-8.c| 0 .../gcc.target/riscv/{ => amo}/pr114130.c | 0 .../gcc.target/riscv/{ => amo}/pr89835.c | 0 73 files changed, 91 insertions(+), 50 deletions(-) rename gcc/testsuite/gcc.target/riscv/{ => amo}/amo-table-a-6-amo-add-1.c (92%) rename gcc/testsuite/gcc.target/riscv/{ => amo}/amo-table-a-6-amo-add-2.c (92%) rename gcc/testsuite/gcc.target/riscv/{ => amo}/amo-table-a-6-amo-add-3.c (92%) rename gcc/testsuite/gcc.target/riscv/{ => amo}/amo-table-a-6-amo-add-4.c (92%) rename gcc/testsuite/gcc.target/riscv/{ => amo}/amo-table-a-6-amo-add-5.c (92%) rename gcc/testsuite/gcc.target/riscv/{ => amo}/amo-table-a-6-compare-exchange-1.c (100%) rename gcc/testsuite/gcc.target/riscv/{ => amo}/amo-table-
[mou-net] RFI St. Paul area
Hi List, Will be in the St. Paul area next week and wanted to do a morning of birding. What would be the favorite places in that area? Thanks Patrick Santinello 520-604-7028 General information and guidelines for posting: https://moumn.org/listservice.html Archives: http://lists.umn.edu/archives/mou-net.html During the pandemic, the MOU encourages you to stay safe, practice social distancing, and continue to bird responsibly.
[Bug c/115441] New: Pointer/integer mismatch in __atomic_fetch-* not covered by -Wint-conversion
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115441 Bug ID: 115441 Summary: Pointer/integer mismatch in __atomic_fetch-* not covered by -Wint-conversion Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: patrick at rivosinc dot com Target Milestone: --- Testcase: void foo(int *x, int *y) { __atomic_fetch_add(x, y, __ATOMIC_SEQ_CST); } Godbolt: https://godbolt.org/z/1czvaxMTd
Re: [PATCH v3 0/3] RISC-V: Add basic Zaamo and Zalrsc support
On 6/10/24 21:32, Jeff Law wrote: On 6/10/24 6:15 PM, Andrea Parri wrote: On Mon, Jun 10, 2024 at 02:46:54PM -0700, Patrick O'Neill wrote: The A extension has been split into two parts: Zaamo and Zalrsc. This patch adds basic support by making the A extension imply Zaamo and Zalrsc. Zaamo/Zalrsc spec: https://github.com/riscv/riscv-zaamo-zalrsc/tags Ratification: https://jira.riscv.org/browse/RVS-1995 v2: Rebased and updated some testcases that rely on the ISA string. v3: Regex-ify temp registers in added testcases. Remove unintentional whitespace changes. Add riscv_{a|ztso|zaamo|zalrsc} docs to sourcebuild.texi (and move core-v bi extension doc into appropriate section). Edwin Lu (1): RISC-V: Add basic Zaamo and Zalrsc support Patrick O'Neill (2): RISC-V: Add Zalrsc and Zaamo testsuite support RISC-V: Add Zalrsc amo-op patterns While providing a proper/detailed review of the series goes above my "GCC internals" skills, I've applied the series and checked that the generated code for some atomic operations meet expectations (expecta- tions which, w/ "only Zaamo", are arguably quite low as mentioned in v2 and elsewhere): Thanks for taking the time. We realize you're not a GCC expert, but having an extra pair of eyes on the atomics is always appreciated. Tested-by: Andrea Parri Andrea P.S. Unrelated to the changes at stake, but perhaps worth mentioning: w/ and w/o these changes, the following [ ... ] I'll leave this to Patrick to decide if he wants to update. I'm always hesitant to weaken this stuff as I'm sure there's somebody, somewhere that assumes the stronger primitives. This is a great find by Andrea. At first glance it looks like we handle SI/DI cases but fall over for subword loads/stores which causes gcc to emit the overly-conservative fences: https://godbolt.org/z/68no8z98E LLVM already emits fences for subword loads/stores in line with the PSABI: https://godbolt.org/z/MGfqMv1eE I'll make a follow-up patch to bring us in line with the PSABI mappings. Patrick Jeff
[Committed] RISC-V: Add basic Zaamo and Zalrsc support
On 6/10/24 21:33, Jeff Law wrote: On 6/10/24 3:46 PM, Patrick O'Neill wrote: The A extension has been split into two parts: Zaamo and Zalrsc. This patch adds basic support by making the A extension imply Zaamo and Zalrsc. Zaamo/Zalrsc spec: https://github.com/riscv/riscv-zaamo-zalrsc/tags Ratification: https://jira.riscv.org/browse/RVS-1995 v2: Rebased and updated some testcases that rely on the ISA string. v3: Regex-ify temp registers in added testcases. Remove unintentional whitespace changes. Add riscv_{a|ztso|zaamo|zalrsc} docs to sourcebuild.texi (and move core-v bi extension doc into appropriate section). Edwin Lu (1): RISC-V: Add basic Zaamo and Zalrsc support Patrick O'Neill (2): RISC-V: Add Zalrsc and Zaamo testsuite support RISC-V: Add Zalrsc amo-op patterns gcc/common/config/riscv/riscv-common.cc | 11 +- gcc/config/riscv/arch-canonicalize | 1 + gcc/config/riscv/riscv.opt | 6 +- gcc/config/riscv/sync.md | 152 +++--- gcc/doc/sourcebuild.texi | 16 +- .../riscv/amo-table-a-6-amo-add-1.c | 2 +- .../riscv/amo-table-a-6-amo-add-2.c | 2 +- .../riscv/amo-table-a-6-amo-add-3.c | 2 +- .../riscv/amo-table-a-6-amo-add-4.c | 2 +- .../riscv/amo-table-a-6-amo-add-5.c | 2 +- .../riscv/amo-table-a-6-compare-exchange-1.c | 2 +- .../riscv/amo-table-a-6-compare-exchange-2.c | 2 +- .../riscv/amo-table-a-6-compare-exchange-3.c | 2 +- .../riscv/amo-table-a-6-compare-exchange-4.c | 2 +- .../riscv/amo-table-a-6-compare-exchange-5.c | 2 +- .../riscv/amo-table-a-6-compare-exchange-6.c | 2 +- .../riscv/amo-table-a-6-compare-exchange-7.c | 2 +- .../riscv/amo-table-a-6-subword-amo-add-1.c | 2 +- .../riscv/amo-table-a-6-subword-amo-add-2.c | 2 +- .../riscv/amo-table-a-6-subword-amo-add-3.c | 2 +- .../riscv/amo-table-a-6-subword-amo-add-4.c | 2 +- .../riscv/amo-table-a-6-subword-amo-add-5.c | 2 +- .../riscv/amo-table-ztso-amo-add-1.c | 2 +- .../riscv/amo-table-ztso-amo-add-2.c | 2 +- .../riscv/amo-table-ztso-amo-add-3.c | 2 +- .../riscv/amo-table-ztso-amo-add-4.c | 2 +- .../riscv/amo-table-ztso-amo-add-5.c | 2 +- .../riscv/amo-table-ztso-compare-exchange-1.c | 2 +- .../riscv/amo-table-ztso-compare-exchange-2.c | 2 +- .../riscv/amo-table-ztso-compare-exchange-3.c | 2 +- .../riscv/amo-table-ztso-compare-exchange-4.c | 2 +- .../riscv/amo-table-ztso-compare-exchange-5.c | 2 +- .../riscv/amo-table-ztso-compare-exchange-6.c | 2 +- .../riscv/amo-table-ztso-compare-exchange-7.c | 2 +- .../riscv/amo-table-ztso-subword-amo-add-1.c | 2 +- .../riscv/amo-table-ztso-subword-amo-add-2.c | 2 +- .../riscv/amo-table-ztso-subword-amo-add-3.c | 2 +- .../riscv/amo-table-ztso-subword-amo-add-4.c | 2 +- .../riscv/amo-table-ztso-subword-amo-add-5.c | 2 +- .../riscv/amo-zaamo-preferred-over-zalrsc.c | 17 ++ .../gcc.target/riscv/amo-zalrsc-amo-add-1.c | 19 +++ .../gcc.target/riscv/amo-zalrsc-amo-add-2.c | 19 +++ .../gcc.target/riscv/amo-zalrsc-amo-add-3.c | 19 +++ .../gcc.target/riscv/amo-zalrsc-amo-add-4.c | 19 +++ .../gcc.target/riscv/amo-zalrsc-amo-add-5.c | 19 +++ gcc/testsuite/gcc.target/riscv/attribute-15.c | 2 +- gcc/testsuite/gcc.target/riscv/attribute-16.c | 2 +- gcc/testsuite/gcc.target/riscv/attribute-17.c | 2 +- gcc/testsuite/gcc.target/riscv/attribute-18.c | 2 +- gcc/testsuite/gcc.target/riscv/pr110696.c | 2 +- .../gcc.target/riscv/rvv/base/pr114352-1.c | 4 +- .../gcc.target/riscv/rvv/base/pr114352-3.c | 8 +- gcc/testsuite/lib/target-supports.exp | 48 +- 53 files changed, 366 insertions(+), 70 deletions(-) create mode 100644 gcc/testsuite/gcc.target/riscv/amo-zaamo-preferred-over-zalrsc.c create mode 100644 gcc/testsuite/gcc.target/riscv/amo-zalrsc-amo-add-1.c create mode 100644 gcc/testsuite/gcc.target/riscv/amo-zalrsc-amo-add-2.c create mode 100644 gcc/testsuite/gcc.target/riscv/amo-zalrsc-amo-add-3.c create mode 100644 gcc/testsuite/gcc.target/riscv/amo-zalrsc-amo-add-4.c create mode 100644 gcc/testsuite/gcc.target/riscv/amo-zalrsc-amo-add-5.c This series is OK for the trunk. jeff Committed with a fixup to patch 3/3 where I added a missing -mabi=lp64d that gave rv32 targets trouble on precommit. Also fixed up the changelog for patch 1/3. I resent the committed series for the archiver. Patrick
[Committed 2/3] RISC-V: Add Zalrsc and Zaamo testsuite support
Convert testsuite infrastructure to use Zalrsc and Zaamo rather than A. gcc/ChangeLog: * doc/sourcebuild.texi: Add docs for atomic extension testsuite infra. gcc/testsuite/ChangeLog: * gcc.target/riscv/amo-table-a-6-amo-add-1.c: Use Zaamo rather than A. * gcc.target/riscv/amo-table-a-6-amo-add-2.c: Ditto. * gcc.target/riscv/amo-table-a-6-amo-add-3.c: Ditto. * gcc.target/riscv/amo-table-a-6-amo-add-4.c: Ditto. * gcc.target/riscv/amo-table-a-6-amo-add-5.c: Ditto. * gcc.target/riscv/amo-table-a-6-compare-exchange-1.c: Use Zalrsc rather than A. * gcc.target/riscv/amo-table-a-6-compare-exchange-2.c: Ditto. * gcc.target/riscv/amo-table-a-6-compare-exchange-3.c: Ditto. * gcc.target/riscv/amo-table-a-6-compare-exchange-4.c: Ditto. * gcc.target/riscv/amo-table-a-6-compare-exchange-5.c: Ditto. * gcc.target/riscv/amo-table-a-6-compare-exchange-6.c: Ditto. * gcc.target/riscv/amo-table-a-6-compare-exchange-7.c: Ditto. * gcc.target/riscv/amo-table-a-6-subword-amo-add-1.c: Use Zaamo rather than A. * gcc.target/riscv/amo-table-a-6-subword-amo-add-2.c: Ditto. * gcc.target/riscv/amo-table-a-6-subword-amo-add-3.c: Ditto. * gcc.target/riscv/amo-table-a-6-subword-amo-add-4.c: Ditto. * gcc.target/riscv/amo-table-a-6-subword-amo-add-5.c: Ditto. * gcc.target/riscv/amo-table-ztso-amo-add-1.c: Add Zaamo option. * gcc.target/riscv/amo-table-ztso-amo-add-2.c: Ditto. * gcc.target/riscv/amo-table-ztso-amo-add-3.c: Ditto. * gcc.target/riscv/amo-table-ztso-amo-add-4.c: Ditto. * gcc.target/riscv/amo-table-ztso-amo-add-5.c: Ditto. * gcc.target/riscv/amo-table-ztso-compare-exchange-1.c: Use Zalrsc rather than A. * gcc.target/riscv/amo-table-ztso-compare-exchange-2.c: Ditto. * gcc.target/riscv/amo-table-ztso-compare-exchange-3.c: Ditto. * gcc.target/riscv/amo-table-ztso-compare-exchange-4.c: Ditto. * gcc.target/riscv/amo-table-ztso-compare-exchange-5.c: Ditto. * gcc.target/riscv/amo-table-ztso-compare-exchange-6.c: Ditto. * gcc.target/riscv/amo-table-ztso-compare-exchange-7.c: Ditto. * gcc.target/riscv/amo-table-ztso-subword-amo-add-1.c: Ditto. * gcc.target/riscv/amo-table-ztso-subword-amo-add-2.c: Ditto. * gcc.target/riscv/amo-table-ztso-subword-amo-add-3.c: Ditto. * gcc.target/riscv/amo-table-ztso-subword-amo-add-4.c: Ditto. * gcc.target/riscv/amo-table-ztso-subword-amo-add-5.c: Ditto. * lib/target-supports.exp: Add testsuite infrastructure support for Zaamo and Zalrsc. Signed-off-by: Patrick O'Neill --- gcc/doc/sourcebuild.texi | 16 ++- .../riscv/amo-table-a-6-amo-add-1.c | 2 +- .../riscv/amo-table-a-6-amo-add-2.c | 2 +- .../riscv/amo-table-a-6-amo-add-3.c | 2 +- .../riscv/amo-table-a-6-amo-add-4.c | 2 +- .../riscv/amo-table-a-6-amo-add-5.c | 2 +- .../riscv/amo-table-a-6-compare-exchange-1.c | 2 +- .../riscv/amo-table-a-6-compare-exchange-2.c | 2 +- .../riscv/amo-table-a-6-compare-exchange-3.c | 2 +- .../riscv/amo-table-a-6-compare-exchange-4.c | 2 +- .../riscv/amo-table-a-6-compare-exchange-5.c | 2 +- .../riscv/amo-table-a-6-compare-exchange-6.c | 2 +- .../riscv/amo-table-a-6-compare-exchange-7.c | 2 +- .../riscv/amo-table-a-6-subword-amo-add-1.c | 2 +- .../riscv/amo-table-a-6-subword-amo-add-2.c | 2 +- .../riscv/amo-table-a-6-subword-amo-add-3.c | 2 +- .../riscv/amo-table-a-6-subword-amo-add-4.c | 2 +- .../riscv/amo-table-a-6-subword-amo-add-5.c | 2 +- .../riscv/amo-table-ztso-amo-add-1.c | 2 +- .../riscv/amo-table-ztso-amo-add-2.c | 2 +- .../riscv/amo-table-ztso-amo-add-3.c | 2 +- .../riscv/amo-table-ztso-amo-add-4.c | 2 +- .../riscv/amo-table-ztso-amo-add-5.c | 2 +- .../riscv/amo-table-ztso-compare-exchange-1.c | 2 +- .../riscv/amo-table-ztso-compare-exchange-2.c | 2 +- .../riscv/amo-table-ztso-compare-exchange-3.c | 2 +- .../riscv/amo-table-ztso-compare-exchange-4.c | 2 +- .../riscv/amo-table-ztso-compare-exchange-5.c | 2 +- .../riscv/amo-table-ztso-compare-exchange-6.c | 2 +- .../riscv/amo-table-ztso-compare-exchange-7.c | 2 +- .../riscv/amo-table-ztso-subword-amo-add-1.c | 2 +- .../riscv/amo-table-ztso-subword-amo-add-2.c | 2 +- .../riscv/amo-table-ztso-subword-amo-add-3.c | 2 +- .../riscv/amo-table-ztso-subword-amo-add-4.c | 2 +- .../riscv/amo-table-ztso-subword-amo-add-5.c | 2 +- gcc/testsuite/lib/target-supports.exp | 48 ++- 36 files changed, 95 insertions(+), 37 deletions(-) diff --git a/gcc/doc/sourcebuild.texi b/gcc/doc/sourcebuild.texi index e997dbec333..e37fb85f3b3 100644 --- a/gcc/doc/sourcebuild.texi +++ b/gcc/doc/sourcebuild.texi @@ -2513,8 +2513,17 @@ Test system
[Committed 3/3] RISC-V: Add Zalrsc amo-op patterns
All amo patterns can be represented with lrsc sequences. Add these patterns as a fallback when Zaamo is not enabled. gcc/ChangeLog: * config/riscv/sync.md (atomic_): New expand pattern. (amo_atomic_): Rename amo pattern. (atomic_fetch_): New lrsc sequence pattern. (lrsc_atomic_): New expand pattern. (amo_atomic_fetch_): Rename amo pattern. (lrsc_atomic_fetch_): New lrsc sequence pattern. (atomic_exchange): New expand pattern. (amo_atomic_exchange): Rename amo pattern. (lrsc_atomic_exchange): New lrsc sequence pattern. gcc/testsuite/ChangeLog: * gcc.target/riscv/amo-zaamo-preferred-over-zalrsc.c: New test. * gcc.target/riscv/amo-zalrsc-amo-add-1.c: New test. * gcc.target/riscv/amo-zalrsc-amo-add-2.c: New test. * gcc.target/riscv/amo-zalrsc-amo-add-3.c: New test. * gcc.target/riscv/amo-zalrsc-amo-add-4.c: New test. * gcc.target/riscv/amo-zalrsc-amo-add-5.c: New test. Signed-off-by: Patrick O'Neill --- Changes from v3: Added -mabi=lp64d to testcases. --- gcc/config/riscv/sync.md | 124 +- .../riscv/amo-zaamo-preferred-over-zalrsc.c | 17 +++ .../gcc.target/riscv/amo-zalrsc-amo-add-1.c | 19 +++ .../gcc.target/riscv/amo-zalrsc-amo-add-2.c | 19 +++ .../gcc.target/riscv/amo-zalrsc-amo-add-3.c | 19 +++ .../gcc.target/riscv/amo-zalrsc-amo-add-4.c | 19 +++ .../gcc.target/riscv/amo-zalrsc-amo-add-5.c | 19 +++ 7 files changed, 231 insertions(+), 5 deletions(-) create mode 100644 gcc/testsuite/gcc.target/riscv/amo-zaamo-preferred-over-zalrsc.c create mode 100644 gcc/testsuite/gcc.target/riscv/amo-zalrsc-amo-add-1.c create mode 100644 gcc/testsuite/gcc.target/riscv/amo-zalrsc-amo-add-2.c create mode 100644 gcc/testsuite/gcc.target/riscv/amo-zalrsc-amo-add-3.c create mode 100644 gcc/testsuite/gcc.target/riscv/amo-zalrsc-amo-add-4.c create mode 100644 gcc/testsuite/gcc.target/riscv/amo-zalrsc-amo-add-5.c diff --git a/gcc/config/riscv/sync.md b/gcc/config/riscv/sync.md index c9544176ead..4df9d0b5a5f 100644 --- a/gcc/config/riscv/sync.md +++ b/gcc/config/riscv/sync.md @@ -86,7 +86,24 @@ DONE; }) -(define_insn "atomic_" +;; AMO ops + +(define_expand "atomic_" + [(any_atomic:GPR (match_operand:GPR 0 "memory_operand");; mem location + (match_operand:GPR 1 "reg_or_0_operand")) ;; value for op + (match_operand:SI 2 "const_int_operand")];; model + "TARGET_ZAAMO || TARGET_ZALRSC" +{ + if (TARGET_ZAAMO) +emit_insn (gen_amo_atomic_ (operands[0], operands[1], + operands[2])); + else +emit_insn (gen_lrsc_atomic_ (operands[0], operands[1], +operands[2])); + DONE; +}) + +(define_insn "amo_atomic_" [(set (match_operand:GPR 0 "memory_operand" "+A") (unspec_volatile:GPR [(any_atomic:GPR (match_dup 0) @@ -98,7 +115,44 @@ [(set_attr "type" "atomic") (set (attr "length") (const_int 4))]) -(define_insn "atomic_fetch_" +(define_insn "lrsc_atomic_" + [(set (match_operand:GPR 0 "memory_operand" "+A") + (unspec_volatile:GPR + [(any_atomic:GPR (match_dup 0) +(match_operand:GPR 1 "reg_or_0_operand" "rJ")) + (match_operand:SI 2 "const_int_operand")] ;; model +UNSPEC_SYNC_OLD_OP)) + (clobber (match_scratch:GPR 3 "="))] ;; tmp_1 + "!TARGET_ZAAMO && TARGET_ZALRSC" + { +return "1:\;" + "lr.%I2\t%3, %0\;" + "\t%3, %3, %1\;" + "sc.%J2\t%3, %3, %0\;" + "bnez\t%3, 1b"; + } + [(set_attr "type" "atomic") + (set (attr "length") (const_int 16))]) + +;; AMO fetch ops + +(define_expand "atomic_fetch_" + [(match_operand:GPR 0 "register_operand") ;; old value at mem + (any_atomic:GPR (match_operand:GPR 1 "memory_operand");; mem location + (match_operand:GPR 2 "reg_or_0_operand")) ;; value for op + (match_operand:SI 3 "const_int_operand")];; model + "TARGET_ZAAMO || TARGET_ZALRSC" + { +if (TARGET_ZAAMO) + emit_insn (gen_amo_atomic_fetch_ (operands[0], operands[1], + operands[2], operands[3])); +else + emit_insn (gen_lrsc_atomic_fetch_ (operands[0], operands[1], +operands[2], operands[3])); +DONE; + }) + +(define_insn "amo_atomic_fetch_" [(set (match_operand:GPR 0 "register_operand" "=")
[Committed 1/3] RISC-V: Add basic Zaamo and Zalrsc support
From: Edwin Lu There is a proposal to split the A extension into two parts: Zaamo and Zalrsc. This patch adds basic support by making the A extension imply Zaamo and Zalrsc. Proposal: https://github.com/riscv/riscv-zaamo-zalrsc/tags gcc/ChangeLog: * common/config/riscv/riscv-common.cc: Add Zaamo and Zalrsc. * config/riscv/arch-canonicalize: Make A imply Zaamo and Zalrsc. * config/riscv/riscv.opt: Add Zaamo and Zalrsc * config/riscv/sync.md: Convert TARGET_ATOMIC to TARGET_ZAAMO and TARGET_ZALRSC. gcc/testsuite/ChangeLog: * gcc.target/riscv/attribute-15.c: Adjust expected arch string. * gcc.target/riscv/attribute-16.c: Ditto. * gcc.target/riscv/attribute-17.c: Ditto. * gcc.target/riscv/attribute-18.c: Ditto. * gcc.target/riscv/pr110696.c: Ditto. * gcc.target/riscv/rvv/base/pr114352-1.c: Ditto. * gcc.target/riscv/rvv/base/pr114352-3.c: Ditto. Signed-off-by: Edwin Lu Co-authored-by: Patrick O'Neill --- gcc/common/config/riscv/riscv-common.cc | 11 +-- gcc/config/riscv/arch-canonicalize| 1 + gcc/config/riscv/riscv.opt| 6 +++- gcc/config/riscv/sync.md | 30 +-- gcc/testsuite/gcc.target/riscv/attribute-15.c | 2 +- gcc/testsuite/gcc.target/riscv/attribute-16.c | 2 +- gcc/testsuite/gcc.target/riscv/attribute-17.c | 2 +- gcc/testsuite/gcc.target/riscv/attribute-18.c | 2 +- gcc/testsuite/gcc.target/riscv/pr110696.c | 2 +- .../gcc.target/riscv/rvv/base/pr114352-1.c| 4 +-- .../gcc.target/riscv/rvv/base/pr114352-3.c| 8 ++--- 11 files changed, 41 insertions(+), 29 deletions(-) diff --git a/gcc/common/config/riscv/riscv-common.cc b/gcc/common/config/riscv/riscv-common.cc index 88204393fde..78dfd6b1470 100644 --- a/gcc/common/config/riscv/riscv-common.cc +++ b/gcc/common/config/riscv/riscv-common.cc @@ -79,6 +79,9 @@ static const riscv_implied_info_t riscv_implied_info[] = {"f", "zicsr"}, {"d", "zicsr"}, + {"a", "zaamo"}, + {"a", "zalrsc"}, + {"zdinx", "zfinx"}, {"zfinx", "zicsr"}, {"zdinx", "zicsr"}, @@ -255,6 +258,8 @@ static const struct riscv_ext_version riscv_ext_version_table[] = {"za64rs", ISA_SPEC_CLASS_NONE, 1, 0}, {"za128rs", ISA_SPEC_CLASS_NONE, 1, 0}, {"zawrs", ISA_SPEC_CLASS_NONE, 1, 0}, + {"zaamo", ISA_SPEC_CLASS_NONE, 1, 0}, + {"zalrsc", ISA_SPEC_CLASS_NONE, 1, 0}, {"zba", ISA_SPEC_CLASS_NONE, 1, 0}, {"zbb", ISA_SPEC_CLASS_NONE, 1, 0}, @@ -1616,9 +1621,11 @@ static const riscv_ext_flag_table_t riscv_ext_flag_table[] = {"zifencei", _options::x_riscv_zi_subext, MASK_ZIFENCEI}, {"zicond", _options::x_riscv_zi_subext, MASK_ZICOND}, - {"za64rs", _options::x_riscv_za_subext, MASK_ZA64RS}, + {"za64rs", _options::x_riscv_za_subext, MASK_ZA64RS}, {"za128rs", _options::x_riscv_za_subext, MASK_ZA128RS}, - {"zawrs", _options::x_riscv_za_subext, MASK_ZAWRS}, + {"zawrs", _options::x_riscv_za_subext, MASK_ZAWRS}, + {"zaamo", _options::x_riscv_za_subext, MASK_ZAAMO}, + {"zalrsc", _options::x_riscv_za_subext, MASK_ZALRSC}, {"zba",_options::x_riscv_zb_subext, MASK_ZBA}, {"zbb",_options::x_riscv_zb_subext, MASK_ZBB}, diff --git a/gcc/config/riscv/arch-canonicalize b/gcc/config/riscv/arch-canonicalize index 8f7d040cdeb..6c10d1aa81b 100755 --- a/gcc/config/riscv/arch-canonicalize +++ b/gcc/config/riscv/arch-canonicalize @@ -40,6 +40,7 @@ LONG_EXT_PREFIXES = ['z', 's', 'h', 'x'] # IMPLIED_EXT = { "d" : ["f", "zicsr"], + "a" : ["zaamo", "zalrsc"], "f" : ["zicsr"], "zdinx" : ["zfinx", "zicsr"], "zfinx" : ["zicsr"], diff --git a/gcc/config/riscv/riscv.opt b/gcc/config/riscv/riscv.opt index 78cb1c37e69..b13e993c47a 100644 --- a/gcc/config/riscv/riscv.opt +++ b/gcc/config/riscv/riscv.opt @@ -256,7 +256,11 @@ Mask(ZICCRSE) Var(riscv_zi_subext) TargetVariable int riscv_za_subext -Mask(ZAWRS) Var(riscv_za_subext) +Mask(ZAWRS) Var(riscv_za_subext) + +Mask(ZAAMO) Var(riscv_za_subext) + +Mask(ZALRSC) Var(riscv_za_subext) Mask(ZA64RS) Var(riscv_za_subext) diff --git a/gcc/config/riscv/sync.md b/gcc/config/riscv/sync.md index 6f0b5aae08d..c9544176ead 100644 --- a/gcc/config/riscv/sync.md +++ b/gcc/config/riscv/sync.md @@ -93,7 +93,7 @@ (match_operand:GPR 1 "reg_or_0_operand" "rJ")) (match_operand:SI 2 "const_int_operand")] ;; model UNSPEC_SYNC_OLD_OP))] - "TARGET_ATOMIC" + "
[gcc r15-1186] RISC-V: Add Zalrsc amo-op patterns
https://gcc.gnu.org/g:1588983be6112561c805a50eb7a3c585865beffa commit r15-1186-g1588983be6112561c805a50eb7a3c585865beffa Author: Patrick O'Neill Date: Wed Feb 7 16:30:30 2024 -0800 RISC-V: Add Zalrsc amo-op patterns All amo patterns can be represented with lrsc sequences. Add these patterns as a fallback when Zaamo is not enabled. gcc/ChangeLog: * config/riscv/sync.md (atomic_): New expand pattern. (amo_atomic_): Rename amo pattern. (atomic_fetch_): New lrsc sequence pattern. (lrsc_atomic_): New expand pattern. (amo_atomic_fetch_): Rename amo pattern. (lrsc_atomic_fetch_): New lrsc sequence pattern. (atomic_exchange): New expand pattern. (amo_atomic_exchange): Rename amo pattern. (lrsc_atomic_exchange): New lrsc sequence pattern. gcc/testsuite/ChangeLog: * gcc.target/riscv/amo-zaamo-preferred-over-zalrsc.c: New test. * gcc.target/riscv/amo-zalrsc-amo-add-1.c: New test. * gcc.target/riscv/amo-zalrsc-amo-add-2.c: New test. * gcc.target/riscv/amo-zalrsc-amo-add-3.c: New test. * gcc.target/riscv/amo-zalrsc-amo-add-4.c: New test. * gcc.target/riscv/amo-zalrsc-amo-add-5.c: New test. Signed-off-by: Patrick O'Neill Diff: --- gcc/config/riscv/sync.md | 124 - .../riscv/amo-zaamo-preferred-over-zalrsc.c| 17 +++ .../gcc.target/riscv/amo-zalrsc-amo-add-1.c| 19 .../gcc.target/riscv/amo-zalrsc-amo-add-2.c| 19 .../gcc.target/riscv/amo-zalrsc-amo-add-3.c| 19 .../gcc.target/riscv/amo-zalrsc-amo-add-4.c| 19 .../gcc.target/riscv/amo-zalrsc-amo-add-5.c| 19 7 files changed, 231 insertions(+), 5 deletions(-) diff --git a/gcc/config/riscv/sync.md b/gcc/config/riscv/sync.md index c9544176ead5..4df9d0b5a5ff 100644 --- a/gcc/config/riscv/sync.md +++ b/gcc/config/riscv/sync.md @@ -86,7 +86,24 @@ DONE; }) -(define_insn "atomic_" +;; AMO ops + +(define_expand "atomic_" + [(any_atomic:GPR (match_operand:GPR 0 "memory_operand");; mem location + (match_operand:GPR 1 "reg_or_0_operand")) ;; value for op + (match_operand:SI 2 "const_int_operand")];; model + "TARGET_ZAAMO || TARGET_ZALRSC" +{ + if (TARGET_ZAAMO) +emit_insn (gen_amo_atomic_ (operands[0], operands[1], + operands[2])); + else +emit_insn (gen_lrsc_atomic_ (operands[0], operands[1], +operands[2])); + DONE; +}) + +(define_insn "amo_atomic_" [(set (match_operand:GPR 0 "memory_operand" "+A") (unspec_volatile:GPR [(any_atomic:GPR (match_dup 0) @@ -98,7 +115,44 @@ [(set_attr "type" "atomic") (set (attr "length") (const_int 4))]) -(define_insn "atomic_fetch_" +(define_insn "lrsc_atomic_" + [(set (match_operand:GPR 0 "memory_operand" "+A") + (unspec_volatile:GPR + [(any_atomic:GPR (match_dup 0) +(match_operand:GPR 1 "reg_or_0_operand" "rJ")) + (match_operand:SI 2 "const_int_operand")] ;; model +UNSPEC_SYNC_OLD_OP)) + (clobber (match_scratch:GPR 3 "="))] ;; tmp_1 + "!TARGET_ZAAMO && TARGET_ZALRSC" + { +return "1:\;" + "lr.%I2\t%3, %0\;" + "\t%3, %3, %1\;" + "sc.%J2\t%3, %3, %0\;" + "bnez\t%3, 1b"; + } + [(set_attr "type" "atomic") + (set (attr "length") (const_int 16))]) + +;; AMO fetch ops + +(define_expand "atomic_fetch_" + [(match_operand:GPR 0 "register_operand") ;; old value at mem + (any_atomic:GPR (match_operand:GPR 1 "memory_operand");; mem location + (match_operand:GPR 2 "reg_or_0_operand")) ;; value for op + (match_operand:SI 3 "const_int_operand")];; model + "TARGET_ZAAMO || TARGET_ZALRSC" + { +if (TARGET_ZAAMO) + emit_insn (gen_amo_atomic_fetch_ (operands[0], operands[1], + operands[2], operands[3])); +else + emit_insn (gen_lrsc_atomic_fetch_ (operands[0], operands[1], +operands[2], operands[3])); +DONE; + }) + +(define_insn "amo_atomic_fetch_" [(set (match_operand:GPR 0 "register_operand" "=") (match_operand:GPR 1 "memory_operand" "+A")) (set (match_dup 1) @@ -112,6 +166,27 @@
[gcc r15-1185] RISC-V: Add Zalrsc and Zaamo testsuite support
https://gcc.gnu.org/g:0fea902b1b5311c8b34ae8e789f1733bd8429904 commit r15-1185-g0fea902b1b5311c8b34ae8e789f1733bd8429904 Author: Patrick O'Neill Date: Mon Jun 10 14:12:40 2024 -0700 RISC-V: Add Zalrsc and Zaamo testsuite support Convert testsuite infrastructure to use Zalrsc and Zaamo rather than A. gcc/ChangeLog: * doc/sourcebuild.texi: Add docs for atomic extension testsuite infra. gcc/testsuite/ChangeLog: * gcc.target/riscv/amo-table-a-6-amo-add-1.c: Use Zaamo rather than A. * gcc.target/riscv/amo-table-a-6-amo-add-2.c: Ditto. * gcc.target/riscv/amo-table-a-6-amo-add-3.c: Ditto. * gcc.target/riscv/amo-table-a-6-amo-add-4.c: Ditto. * gcc.target/riscv/amo-table-a-6-amo-add-5.c: Ditto. * gcc.target/riscv/amo-table-a-6-compare-exchange-1.c: Use Zalrsc rather than A. * gcc.target/riscv/amo-table-a-6-compare-exchange-2.c: Ditto. * gcc.target/riscv/amo-table-a-6-compare-exchange-3.c: Ditto. * gcc.target/riscv/amo-table-a-6-compare-exchange-4.c: Ditto. * gcc.target/riscv/amo-table-a-6-compare-exchange-5.c: Ditto. * gcc.target/riscv/amo-table-a-6-compare-exchange-6.c: Ditto. * gcc.target/riscv/amo-table-a-6-compare-exchange-7.c: Ditto. * gcc.target/riscv/amo-table-a-6-subword-amo-add-1.c: Use Zaamo rather than A. * gcc.target/riscv/amo-table-a-6-subword-amo-add-2.c: Ditto. * gcc.target/riscv/amo-table-a-6-subword-amo-add-3.c: Ditto. * gcc.target/riscv/amo-table-a-6-subword-amo-add-4.c: Ditto. * gcc.target/riscv/amo-table-a-6-subword-amo-add-5.c: Ditto. * gcc.target/riscv/amo-table-ztso-amo-add-1.c: Add Zaamo option. * gcc.target/riscv/amo-table-ztso-amo-add-2.c: Ditto. * gcc.target/riscv/amo-table-ztso-amo-add-3.c: Ditto. * gcc.target/riscv/amo-table-ztso-amo-add-4.c: Ditto. * gcc.target/riscv/amo-table-ztso-amo-add-5.c: Ditto. * gcc.target/riscv/amo-table-ztso-compare-exchange-1.c: Use Zalrsc rather than A. * gcc.target/riscv/amo-table-ztso-compare-exchange-2.c: Ditto. * gcc.target/riscv/amo-table-ztso-compare-exchange-3.c: Ditto. * gcc.target/riscv/amo-table-ztso-compare-exchange-4.c: Ditto. * gcc.target/riscv/amo-table-ztso-compare-exchange-5.c: Ditto. * gcc.target/riscv/amo-table-ztso-compare-exchange-6.c: Ditto. * gcc.target/riscv/amo-table-ztso-compare-exchange-7.c: Ditto. * gcc.target/riscv/amo-table-ztso-subword-amo-add-1.c: Ditto. * gcc.target/riscv/amo-table-ztso-subword-amo-add-2.c: Ditto. * gcc.target/riscv/amo-table-ztso-subword-amo-add-3.c: Ditto. * gcc.target/riscv/amo-table-ztso-subword-amo-add-4.c: Ditto. * gcc.target/riscv/amo-table-ztso-subword-amo-add-5.c: Ditto. * lib/target-supports.exp: Add testsuite infrastructure support for Zaamo and Zalrsc. Signed-off-by: Patrick O'Neill Diff: --- gcc/doc/sourcebuild.texi | 16 +++- .../gcc.target/riscv/amo-table-a-6-amo-add-1.c | 2 +- .../gcc.target/riscv/amo-table-a-6-amo-add-2.c | 2 +- .../gcc.target/riscv/amo-table-a-6-amo-add-3.c | 2 +- .../gcc.target/riscv/amo-table-a-6-amo-add-4.c | 2 +- .../gcc.target/riscv/amo-table-a-6-amo-add-5.c | 2 +- .../riscv/amo-table-a-6-compare-exchange-1.c | 2 +- .../riscv/amo-table-a-6-compare-exchange-2.c | 2 +- .../riscv/amo-table-a-6-compare-exchange-3.c | 2 +- .../riscv/amo-table-a-6-compare-exchange-4.c | 2 +- .../riscv/amo-table-a-6-compare-exchange-5.c | 2 +- .../riscv/amo-table-a-6-compare-exchange-6.c | 2 +- .../riscv/amo-table-a-6-compare-exchange-7.c | 2 +- .../riscv/amo-table-a-6-subword-amo-add-1.c| 2 +- .../riscv/amo-table-a-6-subword-amo-add-2.c| 2 +- .../riscv/amo-table-a-6-subword-amo-add-3.c| 2 +- .../riscv/amo-table-a-6-subword-amo-add-4.c| 2 +- .../riscv/amo-table-a-6-subword-amo-add-5.c| 2 +- .../gcc.target/riscv/amo-table-ztso-amo-add-1.c| 2 +- .../gcc.target/riscv/amo-table-ztso-amo-add-2.c| 2 +- .../gcc.target/riscv/amo-table-ztso-amo-add-3.c| 2 +- .../gcc.target/riscv/amo-table-ztso-amo-add-4.c| 2 +- .../gcc.target/riscv/amo-table-ztso-amo-add-5.c| 2 +- .../riscv/amo-table-ztso-compare-exchange-1.c | 2 +- .../riscv/amo-table-ztso-compare-exchange-2.c | 2 +- .../riscv/amo-table-ztso-compare-exchange-3.c | 2 +- .../riscv/amo-table-ztso-compare-exchange-4.c | 2 +- .../riscv/amo-table-ztso-compare-exchange-5.c | 2 +- .../riscv/amo-table-ztso-compare-exchange-6.c | 2 +- .../riscv/amo-table-ztso-compare-exchange-7.c | 2
[gcc r15-1184] RISC-V: Add basic Zaamo and Zalrsc support
https://gcc.gnu.org/g:af139b3fc19fbdd7caa649bcb2cb75cc5a254143 commit r15-1184-gaf139b3fc19fbdd7caa649bcb2cb75cc5a254143 Author: Edwin Lu Date: Wed Feb 7 16:30:28 2024 -0800 RISC-V: Add basic Zaamo and Zalrsc support There is a proposal to split the A extension into two parts: Zaamo and Zalrsc. This patch adds basic support by making the A extension imply Zaamo and Zalrsc. Proposal: https://github.com/riscv/riscv-zaamo-zalrsc/tags gcc/ChangeLog: * common/config/riscv/riscv-common.cc: Add Zaamo and Zalrsc. * config/riscv/arch-canonicalize: Make A imply Zaamo and Zalrsc. * config/riscv/riscv.opt: Add Zaamo and Zalrsc * config/riscv/sync.md: Convert TARGET_ATOMIC to TARGET_ZAAMO and TARGET_ZALRSC. gcc/testsuite/ChangeLog: * gcc.target/riscv/attribute-15.c: Adjust expected arch string. * gcc.target/riscv/attribute-16.c: Ditto. * gcc.target/riscv/attribute-17.c: Ditto. * gcc.target/riscv/attribute-18.c: Ditto. * gcc.target/riscv/pr110696.c: Ditto. * gcc.target/riscv/rvv/base/pr114352-1.c: Ditto. * gcc.target/riscv/rvv/base/pr114352-3.c: Ditto. Signed-off-by: Edwin Lu Co-authored-by: Patrick O'Neill Diff: --- gcc/common/config/riscv/riscv-common.cc| 11 ++-- gcc/config/riscv/arch-canonicalize | 1 + gcc/config/riscv/riscv.opt | 6 - gcc/config/riscv/sync.md | 30 +++--- gcc/testsuite/gcc.target/riscv/attribute-15.c | 2 +- gcc/testsuite/gcc.target/riscv/attribute-16.c | 2 +- gcc/testsuite/gcc.target/riscv/attribute-17.c | 2 +- gcc/testsuite/gcc.target/riscv/attribute-18.c | 2 +- gcc/testsuite/gcc.target/riscv/pr110696.c | 2 +- .../gcc.target/riscv/rvv/base/pr114352-1.c | 4 +-- .../gcc.target/riscv/rvv/base/pr114352-3.c | 8 +++--- 11 files changed, 41 insertions(+), 29 deletions(-) diff --git a/gcc/common/config/riscv/riscv-common.cc b/gcc/common/config/riscv/riscv-common.cc index 88204393fde0..78dfd6b1470d 100644 --- a/gcc/common/config/riscv/riscv-common.cc +++ b/gcc/common/config/riscv/riscv-common.cc @@ -79,6 +79,9 @@ static const riscv_implied_info_t riscv_implied_info[] = {"f", "zicsr"}, {"d", "zicsr"}, + {"a", "zaamo"}, + {"a", "zalrsc"}, + {"zdinx", "zfinx"}, {"zfinx", "zicsr"}, {"zdinx", "zicsr"}, @@ -255,6 +258,8 @@ static const struct riscv_ext_version riscv_ext_version_table[] = {"za64rs", ISA_SPEC_CLASS_NONE, 1, 0}, {"za128rs", ISA_SPEC_CLASS_NONE, 1, 0}, {"zawrs", ISA_SPEC_CLASS_NONE, 1, 0}, + {"zaamo", ISA_SPEC_CLASS_NONE, 1, 0}, + {"zalrsc", ISA_SPEC_CLASS_NONE, 1, 0}, {"zba", ISA_SPEC_CLASS_NONE, 1, 0}, {"zbb", ISA_SPEC_CLASS_NONE, 1, 0}, @@ -1616,9 +1621,11 @@ static const riscv_ext_flag_table_t riscv_ext_flag_table[] = {"zifencei", _options::x_riscv_zi_subext, MASK_ZIFENCEI}, {"zicond", _options::x_riscv_zi_subext, MASK_ZICOND}, - {"za64rs", _options::x_riscv_za_subext, MASK_ZA64RS}, + {"za64rs", _options::x_riscv_za_subext, MASK_ZA64RS}, {"za128rs", _options::x_riscv_za_subext, MASK_ZA128RS}, - {"zawrs", _options::x_riscv_za_subext, MASK_ZAWRS}, + {"zawrs", _options::x_riscv_za_subext, MASK_ZAWRS}, + {"zaamo", _options::x_riscv_za_subext, MASK_ZAAMO}, + {"zalrsc", _options::x_riscv_za_subext, MASK_ZALRSC}, {"zba",_options::x_riscv_zb_subext, MASK_ZBA}, {"zbb",_options::x_riscv_zb_subext, MASK_ZBB}, diff --git a/gcc/config/riscv/arch-canonicalize b/gcc/config/riscv/arch-canonicalize index 8f7d040cdeb9..6c10d1aa81b5 100755 --- a/gcc/config/riscv/arch-canonicalize +++ b/gcc/config/riscv/arch-canonicalize @@ -40,6 +40,7 @@ LONG_EXT_PREFIXES = ['z', 's', 'h', 'x'] # IMPLIED_EXT = { "d" : ["f", "zicsr"], + "a" : ["zaamo", "zalrsc"], "f" : ["zicsr"], "zdinx" : ["zfinx", "zicsr"], "zfinx" : ["zicsr"], diff --git a/gcc/config/riscv/riscv.opt b/gcc/config/riscv/riscv.opt index 78cb1c37e69f..b13e993c47a2 100644 --- a/gcc/config/riscv/riscv.opt +++ b/gcc/config/riscv/riscv.opt @@ -256,7 +256,11 @@ Mask(ZICCRSE) Var(riscv_zi_subext) TargetVariable int riscv_za_subext -Mask(ZAWRS) Var(riscv_za_subext) +Mask(ZAWRS) Var(riscv_za_subext) + +Mask(ZAAMO) Var(riscv_za_subext) + +Mask(ZALRSC) Var(riscv_za_subext) Mask(ZA64RS) Var(riscv_za_subext) diff --git a/gcc/config/ris
[SR-Users] Re: topos module issue on hangup
Hello,This is the purpose of topos module to hide Via, Contact, Record-Route and Route headers.If you configure and use it properly there should not be any routing issue.Do you call record_route function in your kamailio script ?Le 11 juin 2024 14:10, Arun K R via sr-users a écrit :Hello,I am using topos module to hide Record-Route and Route header as per the requirement from carrier. But the topos module hides, contact, via and routing headers also. Due to this reason when I am getting bye from the carrier I am not able to route the bye back to the agent.Bye from Agent to carrier is working fine.Bye from carrier to my internal network interface is not routing to client through public interface. I assume this may be because Via / Contact header has been hidden and changed by the topos module with the inviteplease help me for thisThanksArun __ Kamailio - Users Mailing List - Non Commercial Discussions To unsubscribe send an email to sr-users-le...@lists.kamailio.org Important: keep the mailing list in the recipients, do not reply only to the sender! Edit mailing list options or unsubscribe:
Re: Re : [fr-users] dans calc, pourquoi lorsqu'on insère une ligne au début d'un tableau la formule somme ne la prend pas en compte
Bonjour, J'ai moi aussi été confronté à ce problème et je pense que le comportement n'est pas normal. En effet si on veut faire la somme de la ligne 2 à n, et qu'on ajoute une nouvelle ligne 2, elle devrait être prise en compte. C'est d'autant plus problématique si l'on pense bloquer le numéro de ligne en mettant un $, c'est à dire mettre B$2 et bien figurez-vous que lorsque l'on ajoute une nouvelle ligne 2, la formule est transformée en B$3 !!! alors que le $ est censé bloquer le numéro de ligne !!! Pour moi c'est un problème de conception. À vous de voir mais ce comportement n'est pas normal. bonne journée Patrick Le 11/06/2024 à 15:48, Martine Chazelas a écrit : Je suis dans le cas où j'insère une ligne au dessus de la ligne 2. La ligne 2 devient ligne 3 et la ligne 2 est nouvelle. Dans ce cas la formule ne prend pas en compte la ligne 2. Si j'interprète la réponse de Thierry et de Philippe, lorsque je crée une formule je crée une zone et j'en détermine les contours tout ce qui est extérieur à cette zone reste extérieur à cette zone. Ce qui n'est pas très intuitif mais si c'est le fonctionnement normal, la préconisation de Philippe de ne pas commencer à la ligne 2 mais de l'intégrer systématiquement dans la formule est un bon geste à acquérir pour ne pas se faire piéger comme cela m'arrive encore trop souvent. En tous les cas s'il y a une raison pour avoir choisi ce fonctionnement cela m’intéresserait de le comprendre ce qui me permettrait aussi de le mémoriser. Merci de vos réactions Martine Le 11/06/2024 à 15:30, François a écrit : Ben non, je viens de tenter le 2ème cas (/"//Tu insères une ligne au dessus (ligne 2 sélectionnée)//"/) et la ligne insérée n'est pas intégrée à la somme. ( Je reçois maintenant la réponse de Claire à Thierry, dont le message ne m'est pas parvenu. Il s'agit vraisemblablement du message 52943. ) Le 11/06/2024 à 15:07, Ocleyr2lalune a écrit : Bonjour Martine Je n'ai pas tenté (pas de calc sous la main) Mais quand tu rajoutes ta ligne en tête de liste... Tu insères une ligne en dessous (ligne 1 sélectionnée) Ou Tu insères une ligne au dessus (ligne 2 sélectionnée) Intuitivement, il me semble que la plage est automatiquement actualisée (ou devrait) dans le 2e cas. Pas dans le 1er. Claire Le 11 juin 2024, 09:25, à 09:25, Thierry Jeanneret a écrit: Bonjour, Si votre formule comprend les cellules de B2:B50, elle ne "voit" pas la cellule B1, ni d'ailleurs aucune de celles en-dehors de l'étendue fixée. Pour ajouter une ligne en-haut du tableau, il faut modifier votre formule pour que la nouvelle cellule soit comprise dans l'étendue. Ici, B1:B50. Ensuite, il faut ajouter des lignes en-dessous de la cellule B1. Comme les nouvelles lignes sont comprises dans l'intervalle de la formule, Calc gérera le recalcul de l'étendue et fera la somme sur B1:B51. En remarque générale, il est préférable de fixer le début d'une formule sur la première cellule d'une ligne ou colonne, justement pour ne pas se faire avoir par ce mécanisme. En espérant vous être utile, Thierry Le mar. 11 juin 2024 à 08:32, Martine Chazelas <[martine.chaze...@free.fr](mailto:Le mar. 11 juin 2024 à 08:32, Martine Chazelas < a écrit : Bonjour, Cela fait plusieurs fois que je me fais piéger avec des sommes dans un tableau Calc. J'ai un tableau avec 50 lignes. A la 51 ligne, je programme une Sommes(B2:B50) de la colonne B par exemple. Cela fonctionne sans difficulté. J'ai besoin à un moment donné de rajouter une ligne non pas au milieu du tableau mais au début. J'ai une nouvelle ligne 2 avec de nouveaux chiffres et les informations qui étaient en ligne 2 se retrouvent en ligne 3. Cependant j'ai toujours besoin de que ma somme prenne en compte cette nouvelle ligne. Je m'attend donc à ce que la somme devienne automatiquement Somme(B2:B51). Ce n'est pas ce qui arrive. La formule devient Somme(B3:B51). Alors que si j'ajoute une ligne n'importe où au sein du tableau je n'ai pas de difficulté la formule se modifie correctement. Est-ce un comportement normal et si oui pourquoi. Je me suis fait déjà piégé plusieurs fois. Maintenant j'y fais un peu plus attention mais cela m'arrive encore. Merci d'avance pour vos lumières Martine Chazelas -- Envoyez un mail àusers+unsubscr...@fr.libreoffice.org pour vous désinscrire Les archives de la liste sont disponibles à https://listarchives.libreoffice.org/fr/users/ Privacy Policy:https://www.documentfoundation.org/privacy -- Envoyez un mail àusers+unsubscr...@fr.libreoffice.org pour vous désinscrire Les archives de la liste sont disponibles à https://listarchives.libreoffice.org/fr/users/ Privacy Policy:https://www.documentfoundation.org/privacy -- Envoyez un mail à users+unsubscr...@fr.libreoffice.org pour vous désinscrire Les archives de la liste sont disponibles à https://listarchives.libreoffice.org/fr/users/ Privacy Policy: https://www.documentfoundation.org/privacy
[gentoo-commits] repo/proj/guru:dev commit in: media-libs/opencomposite/
commit: 0e0a94b9be564b2ee5577cb3ee13c22271ea11ff Author: Patrick Nicolas laposte net> AuthorDate: Tue Jun 11 06:46:18 2024 + Commit: Patrick Nicolas laposte net> CommitDate: Tue Jun 11 06:47:51 2024 + URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=0e0a94b9 media-libs/opencomposite: update DEPEND Signed-off-by: Patrick Nicolas laposte.net> media-libs/opencomposite/opencomposite-.ebuild | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/media-libs/opencomposite/opencomposite-.ebuild b/media-libs/opencomposite/opencomposite-.ebuild index f17d70443..66f558619 100644 --- a/media-libs/opencomposite/opencomposite-.ebuild +++ b/media-libs/opencomposite/opencomposite-.ebuild @@ -12,7 +12,6 @@ if [[ ${PV} == ]]; then inherit git-r3 EGIT_REPO_URI="https://gitlab.com/znixian/OpenOVR.git; EGIT_BRANCH="openxr" - KEYWORDS="" else KEYWORDS="~amd64" fi @@ -23,11 +22,10 @@ SLOT="0" DEPEND=" dev-lang/python dev-util/vulkan-headers + media-libs/libglvnd[X] media-libs/openxr-loader - virtual/opengl " RDEPEND="${DEPEND}" -BDEPEND="" PATCHES=( "${FILESDIR}/0001-Add-install-target.patch"
[gentoo-commits] proj/netifrc:master commit in: net/
commit: 7f323cf374035ac1c871f13d6a6ad29bb97bc930 Author: Andrey Volkov ekb-info ru> AuthorDate: Tue Sep 28 13:40:27 2021 + Commit: Patrick McLean gentoo org> CommitDate: Fri May 24 05:51:45 2024 + URL:https://gitweb.gentoo.org/proj/netifrc.git/commit/?id=7f323cf3 Add missing wireguard_depend program Signed-off-by: Andrey Volkov ekb-info.ru> net/wireguard.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net/wireguard.sh b/net/wireguard.sh index f6ca69e..301836d 100644 --- a/net/wireguard.sh +++ b/net/wireguard.sh @@ -5,7 +5,7 @@ wireguard_depend() { - program wg + program ip wg before interface }
[gentoo-commits] proj/netifrc:master commit in: net/
commit: 9ef4fb84a7c1848c067f89f5510f448fb04c5c7a Author: Andrey Volkov ekb-info ru> AuthorDate: Tue Sep 28 13:43:52 2021 + Commit: Patrick McLean gentoo org> CommitDate: Fri May 24 05:51:59 2024 + URL:https://gitweb.gentoo.org/proj/netifrc.git/commit/?id=9ef4fb84 Add type_${IFVAR}=wireguard for arbitrary wireguard interface names Signed-off-by: Andrey Volkov ekb-info.ru> net/wireguard.sh | 11 +-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/net/wireguard.sh b/net/wireguard.sh index 301836d..269c8f0 100644 --- a/net/wireguard.sh +++ b/net/wireguard.sh @@ -9,9 +9,15 @@ wireguard_depend() before interface } +_is_wireguard() { + is_interface_type wireguard +} + wireguard_pre_start() { - [ "${IFACE#wg}" != "$IFACE" ] || return 0 + local wireguard= + eval wireguard=\$type_${IFVAR} + [ "${wireguard}" = "wireguard" -o "${IFACE#wg}" != "$IFACE" ] || return 0 ip link delete dev "$IFACE" type wireguard 2>/dev/null ebegin "Creating WireGuard interface $IFACE" @@ -35,6 +41,7 @@ wireguard_pre_start() e=$? if [ $e -eq 0 ]; then eend $e + set_interface_type wireguard return $e fi fi @@ -45,7 +52,7 @@ wireguard_pre_start() wireguard_post_stop() { - [ "${IFACE#wg}" != "$IFACE" ] || return 0 + _is_wireguard || [ "${IFACE#wg}" != "$IFACE" ] || return 0 ebegin "Removing WireGuard interface $IFACE" ip link delete dev "$IFACE" type wireguard
[gentoo-commits] proj/netifrc:master commit in: doc/
commit: d01b0a6b187d8909ad11b328c557ecdc29431d04 Author: Andrey Volkov ekb-info ru> AuthorDate: Tue Sep 28 14:21:58 2021 + Commit: Patrick McLean gentoo org> CommitDate: Fri May 24 05:51:59 2024 + URL:https://gitweb.gentoo.org/proj/netifrc.git/commit/?id=d01b0a6b Append wireguard docs at net.example with arbitrary interface name example Signed-off-by: Andrey Volkov ekb-info.ru> doc/net.example.Linux.in | 4 1 file changed, 4 insertions(+) diff --git a/doc/net.example.Linux.in b/doc/net.example.Linux.in index 84e4b1c..143dc9d 100644 --- a/doc/net.example.Linux.in +++ b/doc/net.example.Linux.in @@ -1350,6 +1350,10 @@ # # Wireguard can also be configured by passing explicit settings #wireguard_wg0="private-key /path/to/whatever listen-port 1234 peer ABCDEF= endpoint 1.2.3.4:2468" +# +# You must specify wireguard interface type to use arbitrary interface names +#wireguard_site1="/path/to/site1.conf" +#type_site1="wireguard" # Network namespace support # If an interface is configured with a network namespace, it will be moved
[PATCH v3 1/3] RISC-V: Add basic Zaamo and Zalrsc support
From: Edwin Lu There is a proposal to split the A extension into two parts: Zaamo and Zalrsc. This patch adds basic support by making the A extension imply Zaamo and Zalrsc. Proposal: https://github.com/riscv/riscv-zaamo-zalrsc/tags gcc/ChangeLog: * common/config/riscv/riscv-common.cc: Add Zaamo and Zalrsc. * config/riscv/arch-canonicalize: Make A imply Zaamo and Zalrsc. * config/riscv/riscv.opt: Add Zaamo and Zalrsc * config/riscv/sync.md: Convert TARGET_ATOMIC to TARGET_ZAAMO and TARGET_ZALRSC. gcc/testsuite/ChangeLog: * gcc.target/riscv/attribute-15.c: Adjust expected arch string. * gcc.target/riscv/attribute-16.c: Ditto. * gcc.target/riscv/attribute-17.c: Ditto. * gcc.target/riscv/attribute-18.c: Ditto. * gcc.target/riscv/pr110696.c: Ditto. Signed-off-by: Edwin Lu Co-authored-by: Patrick O'Neill --- gcc/common/config/riscv/riscv-common.cc | 11 +-- gcc/config/riscv/arch-canonicalize| 1 + gcc/config/riscv/riscv.opt| 6 +++- gcc/config/riscv/sync.md | 30 +-- gcc/testsuite/gcc.target/riscv/attribute-15.c | 2 +- gcc/testsuite/gcc.target/riscv/attribute-16.c | 2 +- gcc/testsuite/gcc.target/riscv/attribute-17.c | 2 +- gcc/testsuite/gcc.target/riscv/attribute-18.c | 2 +- gcc/testsuite/gcc.target/riscv/pr110696.c | 2 +- .../gcc.target/riscv/rvv/base/pr114352-1.c| 4 +-- .../gcc.target/riscv/rvv/base/pr114352-3.c| 8 ++--- 11 files changed, 41 insertions(+), 29 deletions(-) diff --git a/gcc/common/config/riscv/riscv-common.cc b/gcc/common/config/riscv/riscv-common.cc index 88204393fde..78dfd6b1470 100644 --- a/gcc/common/config/riscv/riscv-common.cc +++ b/gcc/common/config/riscv/riscv-common.cc @@ -79,6 +79,9 @@ static const riscv_implied_info_t riscv_implied_info[] = {"f", "zicsr"}, {"d", "zicsr"}, + {"a", "zaamo"}, + {"a", "zalrsc"}, + {"zdinx", "zfinx"}, {"zfinx", "zicsr"}, {"zdinx", "zicsr"}, @@ -255,6 +258,8 @@ static const struct riscv_ext_version riscv_ext_version_table[] = {"za64rs", ISA_SPEC_CLASS_NONE, 1, 0}, {"za128rs", ISA_SPEC_CLASS_NONE, 1, 0}, {"zawrs", ISA_SPEC_CLASS_NONE, 1, 0}, + {"zaamo", ISA_SPEC_CLASS_NONE, 1, 0}, + {"zalrsc", ISA_SPEC_CLASS_NONE, 1, 0}, {"zba", ISA_SPEC_CLASS_NONE, 1, 0}, {"zbb", ISA_SPEC_CLASS_NONE, 1, 0}, @@ -1616,9 +1621,11 @@ static const riscv_ext_flag_table_t riscv_ext_flag_table[] = {"zifencei", _options::x_riscv_zi_subext, MASK_ZIFENCEI}, {"zicond", _options::x_riscv_zi_subext, MASK_ZICOND}, - {"za64rs", _options::x_riscv_za_subext, MASK_ZA64RS}, + {"za64rs", _options::x_riscv_za_subext, MASK_ZA64RS}, {"za128rs", _options::x_riscv_za_subext, MASK_ZA128RS}, - {"zawrs", _options::x_riscv_za_subext, MASK_ZAWRS}, + {"zawrs", _options::x_riscv_za_subext, MASK_ZAWRS}, + {"zaamo", _options::x_riscv_za_subext, MASK_ZAAMO}, + {"zalrsc", _options::x_riscv_za_subext, MASK_ZALRSC}, {"zba",_options::x_riscv_zb_subext, MASK_ZBA}, {"zbb",_options::x_riscv_zb_subext, MASK_ZBB}, diff --git a/gcc/config/riscv/arch-canonicalize b/gcc/config/riscv/arch-canonicalize index 8f7d040cdeb..6c10d1aa81b 100755 --- a/gcc/config/riscv/arch-canonicalize +++ b/gcc/config/riscv/arch-canonicalize @@ -40,6 +40,7 @@ LONG_EXT_PREFIXES = ['z', 's', 'h', 'x'] # IMPLIED_EXT = { "d" : ["f", "zicsr"], + "a" : ["zaamo", "zalrsc"], "f" : ["zicsr"], "zdinx" : ["zfinx", "zicsr"], "zfinx" : ["zicsr"], diff --git a/gcc/config/riscv/riscv.opt b/gcc/config/riscv/riscv.opt index 78cb1c37e69..b13e993c47a 100644 --- a/gcc/config/riscv/riscv.opt +++ b/gcc/config/riscv/riscv.opt @@ -256,7 +256,11 @@ Mask(ZICCRSE) Var(riscv_zi_subext) TargetVariable int riscv_za_subext -Mask(ZAWRS) Var(riscv_za_subext) +Mask(ZAWRS) Var(riscv_za_subext) + +Mask(ZAAMO) Var(riscv_za_subext) + +Mask(ZALRSC) Var(riscv_za_subext) Mask(ZA64RS) Var(riscv_za_subext) diff --git a/gcc/config/riscv/sync.md b/gcc/config/riscv/sync.md index 6f0b5aae08d..c9544176ead 100644 --- a/gcc/config/riscv/sync.md +++ b/gcc/config/riscv/sync.md @@ -93,7 +93,7 @@ (match_operand:GPR 1 "reg_or_0_operand" "rJ")) (match_operand:SI 2 "const_int_operand")] ;; model UNSPEC_SYNC_OLD_OP))] - "TARGET_ATOMIC" + "TARGET_ZAAMO" "amo.%A2\tzero,%z1,%0" [(set_attr "type" "atomic") (set (att
[PATCH v3 0/3] RISC-V: Add basic Zaamo and Zalrsc support
The A extension has been split into two parts: Zaamo and Zalrsc. This patch adds basic support by making the A extension imply Zaamo and Zalrsc. Zaamo/Zalrsc spec: https://github.com/riscv/riscv-zaamo-zalrsc/tags Ratification: https://jira.riscv.org/browse/RVS-1995 v2: Rebased and updated some testcases that rely on the ISA string. v3: Regex-ify temp registers in added testcases. Remove unintentional whitespace changes. Add riscv_{a|ztso|zaamo|zalrsc} docs to sourcebuild.texi (and move core-v bi extension doc into appropriate section). Edwin Lu (1): RISC-V: Add basic Zaamo and Zalrsc support Patrick O'Neill (2): RISC-V: Add Zalrsc and Zaamo testsuite support RISC-V: Add Zalrsc amo-op patterns gcc/common/config/riscv/riscv-common.cc | 11 +- gcc/config/riscv/arch-canonicalize| 1 + gcc/config/riscv/riscv.opt| 6 +- gcc/config/riscv/sync.md | 152 +++--- gcc/doc/sourcebuild.texi | 16 +- .../riscv/amo-table-a-6-amo-add-1.c | 2 +- .../riscv/amo-table-a-6-amo-add-2.c | 2 +- .../riscv/amo-table-a-6-amo-add-3.c | 2 +- .../riscv/amo-table-a-6-amo-add-4.c | 2 +- .../riscv/amo-table-a-6-amo-add-5.c | 2 +- .../riscv/amo-table-a-6-compare-exchange-1.c | 2 +- .../riscv/amo-table-a-6-compare-exchange-2.c | 2 +- .../riscv/amo-table-a-6-compare-exchange-3.c | 2 +- .../riscv/amo-table-a-6-compare-exchange-4.c | 2 +- .../riscv/amo-table-a-6-compare-exchange-5.c | 2 +- .../riscv/amo-table-a-6-compare-exchange-6.c | 2 +- .../riscv/amo-table-a-6-compare-exchange-7.c | 2 +- .../riscv/amo-table-a-6-subword-amo-add-1.c | 2 +- .../riscv/amo-table-a-6-subword-amo-add-2.c | 2 +- .../riscv/amo-table-a-6-subword-amo-add-3.c | 2 +- .../riscv/amo-table-a-6-subword-amo-add-4.c | 2 +- .../riscv/amo-table-a-6-subword-amo-add-5.c | 2 +- .../riscv/amo-table-ztso-amo-add-1.c | 2 +- .../riscv/amo-table-ztso-amo-add-2.c | 2 +- .../riscv/amo-table-ztso-amo-add-3.c | 2 +- .../riscv/amo-table-ztso-amo-add-4.c | 2 +- .../riscv/amo-table-ztso-amo-add-5.c | 2 +- .../riscv/amo-table-ztso-compare-exchange-1.c | 2 +- .../riscv/amo-table-ztso-compare-exchange-2.c | 2 +- .../riscv/amo-table-ztso-compare-exchange-3.c | 2 +- .../riscv/amo-table-ztso-compare-exchange-4.c | 2 +- .../riscv/amo-table-ztso-compare-exchange-5.c | 2 +- .../riscv/amo-table-ztso-compare-exchange-6.c | 2 +- .../riscv/amo-table-ztso-compare-exchange-7.c | 2 +- .../riscv/amo-table-ztso-subword-amo-add-1.c | 2 +- .../riscv/amo-table-ztso-subword-amo-add-2.c | 2 +- .../riscv/amo-table-ztso-subword-amo-add-3.c | 2 +- .../riscv/amo-table-ztso-subword-amo-add-4.c | 2 +- .../riscv/amo-table-ztso-subword-amo-add-5.c | 2 +- .../riscv/amo-zaamo-preferred-over-zalrsc.c | 17 ++ .../gcc.target/riscv/amo-zalrsc-amo-add-1.c | 19 +++ .../gcc.target/riscv/amo-zalrsc-amo-add-2.c | 19 +++ .../gcc.target/riscv/amo-zalrsc-amo-add-3.c | 19 +++ .../gcc.target/riscv/amo-zalrsc-amo-add-4.c | 19 +++ .../gcc.target/riscv/amo-zalrsc-amo-add-5.c | 19 +++ gcc/testsuite/gcc.target/riscv/attribute-15.c | 2 +- gcc/testsuite/gcc.target/riscv/attribute-16.c | 2 +- gcc/testsuite/gcc.target/riscv/attribute-17.c | 2 +- gcc/testsuite/gcc.target/riscv/attribute-18.c | 2 +- gcc/testsuite/gcc.target/riscv/pr110696.c | 2 +- .../gcc.target/riscv/rvv/base/pr114352-1.c| 4 +- .../gcc.target/riscv/rvv/base/pr114352-3.c| 8 +- gcc/testsuite/lib/target-supports.exp | 48 +- 53 files changed, 366 insertions(+), 70 deletions(-) create mode 100644 gcc/testsuite/gcc.target/riscv/amo-zaamo-preferred-over-zalrsc.c create mode 100644 gcc/testsuite/gcc.target/riscv/amo-zalrsc-amo-add-1.c create mode 100644 gcc/testsuite/gcc.target/riscv/amo-zalrsc-amo-add-2.c create mode 100644 gcc/testsuite/gcc.target/riscv/amo-zalrsc-amo-add-3.c create mode 100644 gcc/testsuite/gcc.target/riscv/amo-zalrsc-amo-add-4.c create mode 100644 gcc/testsuite/gcc.target/riscv/amo-zalrsc-amo-add-5.c -- 2.34.1
[PATCH v3 3/3] RISC-V: Add Zalrsc amo-op patterns
All amo patterns can be represented with lrsc sequences. Add these patterns as a fallback when Zaamo is not enabled. gcc/ChangeLog: * config/riscv/sync.md (atomic_): New expand pattern. (amo_atomic_): Rename amo pattern. (atomic_fetch_): New lrsc sequence pattern. (lrsc_atomic_): New expand pattern. (amo_atomic_fetch_): Rename amo pattern. (lrsc_atomic_fetch_): New lrsc sequence pattern. (atomic_exchange): New expand pattern. (amo_atomic_exchange): Rename amo pattern. (lrsc_atomic_exchange): New lrsc sequence pattern. gcc/testsuite/ChangeLog: * gcc.target/riscv/amo-zaamo-preferred-over-zalrsc.c: New test. * gcc.target/riscv/amo-zalrsc-amo-add-1.c: New test. * gcc.target/riscv/amo-zalrsc-amo-add-2.c: New test. * gcc.target/riscv/amo-zalrsc-amo-add-3.c: New test. * gcc.target/riscv/amo-zalrsc-amo-add-4.c: New test. * gcc.target/riscv/amo-zalrsc-amo-add-5.c: New test. Signed-off-by: Patrick O'Neill --- rv64imfdc_zalrsc has the same testsuite results as rv64imafdc after this patch is applied. --- v3 Changelog: Use more flexible regex for temp register. --- gcc/config/riscv/sync.md | 124 +- .../riscv/amo-zaamo-preferred-over-zalrsc.c | 17 +++ .../gcc.target/riscv/amo-zalrsc-amo-add-1.c | 19 +++ .../gcc.target/riscv/amo-zalrsc-amo-add-2.c | 19 +++ .../gcc.target/riscv/amo-zalrsc-amo-add-3.c | 19 +++ .../gcc.target/riscv/amo-zalrsc-amo-add-4.c | 19 +++ .../gcc.target/riscv/amo-zalrsc-amo-add-5.c | 19 +++ 7 files changed, 231 insertions(+), 5 deletions(-) create mode 100644 gcc/testsuite/gcc.target/riscv/amo-zaamo-preferred-over-zalrsc.c create mode 100644 gcc/testsuite/gcc.target/riscv/amo-zalrsc-amo-add-1.c create mode 100644 gcc/testsuite/gcc.target/riscv/amo-zalrsc-amo-add-2.c create mode 100644 gcc/testsuite/gcc.target/riscv/amo-zalrsc-amo-add-3.c create mode 100644 gcc/testsuite/gcc.target/riscv/amo-zalrsc-amo-add-4.c create mode 100644 gcc/testsuite/gcc.target/riscv/amo-zalrsc-amo-add-5.c diff --git a/gcc/config/riscv/sync.md b/gcc/config/riscv/sync.md index c9544176ead..4df9d0b5a5f 100644 --- a/gcc/config/riscv/sync.md +++ b/gcc/config/riscv/sync.md @@ -86,7 +86,24 @@ DONE; }) -(define_insn "atomic_" +;; AMO ops + +(define_expand "atomic_" + [(any_atomic:GPR (match_operand:GPR 0 "memory_operand");; mem location + (match_operand:GPR 1 "reg_or_0_operand")) ;; value for op + (match_operand:SI 2 "const_int_operand")];; model + "TARGET_ZAAMO || TARGET_ZALRSC" +{ + if (TARGET_ZAAMO) +emit_insn (gen_amo_atomic_ (operands[0], operands[1], + operands[2])); + else +emit_insn (gen_lrsc_atomic_ (operands[0], operands[1], +operands[2])); + DONE; +}) + +(define_insn "amo_atomic_" [(set (match_operand:GPR 0 "memory_operand" "+A") (unspec_volatile:GPR [(any_atomic:GPR (match_dup 0) @@ -98,7 +115,44 @@ [(set_attr "type" "atomic") (set (attr "length") (const_int 4))]) -(define_insn "atomic_fetch_" +(define_insn "lrsc_atomic_" + [(set (match_operand:GPR 0 "memory_operand" "+A") + (unspec_volatile:GPR + [(any_atomic:GPR (match_dup 0) +(match_operand:GPR 1 "reg_or_0_operand" "rJ")) + (match_operand:SI 2 "const_int_operand")] ;; model +UNSPEC_SYNC_OLD_OP)) + (clobber (match_scratch:GPR 3 "="))] ;; tmp_1 + "!TARGET_ZAAMO && TARGET_ZALRSC" + { +return "1:\;" + "lr.%I2\t%3, %0\;" + "\t%3, %3, %1\;" + "sc.%J2\t%3, %3, %0\;" + "bnez\t%3, 1b"; + } + [(set_attr "type" "atomic") + (set (attr "length") (const_int 16))]) + +;; AMO fetch ops + +(define_expand "atomic_fetch_" + [(match_operand:GPR 0 "register_operand") ;; old value at mem + (any_atomic:GPR (match_operand:GPR 1 "memory_operand");; mem location + (match_operand:GPR 2 "reg_or_0_operand")) ;; value for op + (match_operand:SI 3 "const_int_operand")];; model + "TARGET_ZAAMO || TARGET_ZALRSC" + { +if (TARGET_ZAAMO) + emit_insn (gen_amo_atomic_fetch_ (operands[0], operands[1], + operands[2], operands[3])); +else + emit_insn (gen_lrsc_atomic_fetch_ (operands[0], operands[1], +operands[2], operands[3])); +DONE; + }) + +(define_insn &quo
[PATCH v3 2/3] RISC-V: Add Zalrsc and Zaamo testsuite support
Convert testsuite infrastructure to use Zalrsc and Zaamo rather than A. gcc/ChangeLog: * doc/sourcebuild.texi: Add docs for atomic extension testsuite infra. gcc/testsuite/ChangeLog: * gcc.target/riscv/amo-table-a-6-amo-add-1.c: Use Zaamo rather than A. * gcc.target/riscv/amo-table-a-6-amo-add-2.c: Ditto. * gcc.target/riscv/amo-table-a-6-amo-add-3.c: Ditto. * gcc.target/riscv/amo-table-a-6-amo-add-4.c: Ditto. * gcc.target/riscv/amo-table-a-6-amo-add-5.c: Ditto. * gcc.target/riscv/amo-table-a-6-compare-exchange-1.c: Use Zalrsc rather than A. * gcc.target/riscv/amo-table-a-6-compare-exchange-2.c: Ditto. * gcc.target/riscv/amo-table-a-6-compare-exchange-3.c: Ditto. * gcc.target/riscv/amo-table-a-6-compare-exchange-4.c: Ditto. * gcc.target/riscv/amo-table-a-6-compare-exchange-5.c: Ditto. * gcc.target/riscv/amo-table-a-6-compare-exchange-6.c: Ditto. * gcc.target/riscv/amo-table-a-6-compare-exchange-7.c: Ditto. * gcc.target/riscv/amo-table-a-6-subword-amo-add-1.c: Use Zaamo rather than A. * gcc.target/riscv/amo-table-a-6-subword-amo-add-2.c: Ditto. * gcc.target/riscv/amo-table-a-6-subword-amo-add-3.c: Ditto. * gcc.target/riscv/amo-table-a-6-subword-amo-add-4.c: Ditto. * gcc.target/riscv/amo-table-a-6-subword-amo-add-5.c: Ditto. * gcc.target/riscv/amo-table-ztso-amo-add-1.c: Add Zaamo option. * gcc.target/riscv/amo-table-ztso-amo-add-2.c: Ditto. * gcc.target/riscv/amo-table-ztso-amo-add-3.c: Ditto. * gcc.target/riscv/amo-table-ztso-amo-add-4.c: Ditto. * gcc.target/riscv/amo-table-ztso-amo-add-5.c: Ditto. * gcc.target/riscv/amo-table-ztso-compare-exchange-1.c: Use Zalrsc rather than A. * gcc.target/riscv/amo-table-ztso-compare-exchange-2.c: Ditto. * gcc.target/riscv/amo-table-ztso-compare-exchange-3.c: Ditto. * gcc.target/riscv/amo-table-ztso-compare-exchange-4.c: Ditto. * gcc.target/riscv/amo-table-ztso-compare-exchange-5.c: Ditto. * gcc.target/riscv/amo-table-ztso-compare-exchange-6.c: Ditto. * gcc.target/riscv/amo-table-ztso-compare-exchange-7.c: Ditto. * gcc.target/riscv/amo-table-ztso-subword-amo-add-1.c: Ditto. * gcc.target/riscv/amo-table-ztso-subword-amo-add-2.c: Ditto. * gcc.target/riscv/amo-table-ztso-subword-amo-add-3.c: Ditto. * gcc.target/riscv/amo-table-ztso-subword-amo-add-4.c: Ditto. * gcc.target/riscv/amo-table-ztso-subword-amo-add-5.c: Ditto. * lib/target-supports.exp: Add testsuite infrastructure support for Zaamo and Zalrsc. Signed-off-by: Patrick O'Neill --- v3 Changelog: Add docs for atomic related testsuite infra (riscv_a, etc.). --- gcc/doc/sourcebuild.texi | 16 ++- .../riscv/amo-table-a-6-amo-add-1.c | 2 +- .../riscv/amo-table-a-6-amo-add-2.c | 2 +- .../riscv/amo-table-a-6-amo-add-3.c | 2 +- .../riscv/amo-table-a-6-amo-add-4.c | 2 +- .../riscv/amo-table-a-6-amo-add-5.c | 2 +- .../riscv/amo-table-a-6-compare-exchange-1.c | 2 +- .../riscv/amo-table-a-6-compare-exchange-2.c | 2 +- .../riscv/amo-table-a-6-compare-exchange-3.c | 2 +- .../riscv/amo-table-a-6-compare-exchange-4.c | 2 +- .../riscv/amo-table-a-6-compare-exchange-5.c | 2 +- .../riscv/amo-table-a-6-compare-exchange-6.c | 2 +- .../riscv/amo-table-a-6-compare-exchange-7.c | 2 +- .../riscv/amo-table-a-6-subword-amo-add-1.c | 2 +- .../riscv/amo-table-a-6-subword-amo-add-2.c | 2 +- .../riscv/amo-table-a-6-subword-amo-add-3.c | 2 +- .../riscv/amo-table-a-6-subword-amo-add-4.c | 2 +- .../riscv/amo-table-a-6-subword-amo-add-5.c | 2 +- .../riscv/amo-table-ztso-amo-add-1.c | 2 +- .../riscv/amo-table-ztso-amo-add-2.c | 2 +- .../riscv/amo-table-ztso-amo-add-3.c | 2 +- .../riscv/amo-table-ztso-amo-add-4.c | 2 +- .../riscv/amo-table-ztso-amo-add-5.c | 2 +- .../riscv/amo-table-ztso-compare-exchange-1.c | 2 +- .../riscv/amo-table-ztso-compare-exchange-2.c | 2 +- .../riscv/amo-table-ztso-compare-exchange-3.c | 2 +- .../riscv/amo-table-ztso-compare-exchange-4.c | 2 +- .../riscv/amo-table-ztso-compare-exchange-5.c | 2 +- .../riscv/amo-table-ztso-compare-exchange-6.c | 2 +- .../riscv/amo-table-ztso-compare-exchange-7.c | 2 +- .../riscv/amo-table-ztso-subword-amo-add-1.c | 2 +- .../riscv/amo-table-ztso-subword-amo-add-2.c | 2 +- .../riscv/amo-table-ztso-subword-amo-add-3.c | 2 +- .../riscv/amo-table-ztso-subword-amo-add-4.c | 2 +- .../riscv/amo-table-ztso-subword-amo-add-5.c | 2 +- gcc/testsuite/lib/target-supports.exp | 48 ++- 36 files changed, 95 insertions(+), 37 deletions(-) diff --git a/gcc/doc/sourcebuild.texi b/gcc/doc/sourcebuild.texi index e997dbec333..e37fb85f3b3 100644 --- a/gcc/doc
[ovirt-users] Can't access (ping) other 10G interface on host from Hosted Engine
Hello community. I am using the edge version of the Ovirt installation and hosts with Rocky 9. One of my tasks was to partition the networks in the cluster. To make the networks work more properly in Ovirt, I divided the network into VLANs. VLAN 2 is for “ovirtmgmt” network, VLAN 3 is for “gluster-net”, VLAN - 4 is for “migration”. I configured routing between VLANs. Each host has a 10G NIC for the gluster network, and two 1G Bonded NICs for the management network. In the cluster settings, I switched the gluster network to the configured VLAN3 in ovirt. Before that I configured a gluster network for each host via Ovirt, attached it to the 10G interface, assigned static IPs and synchronized the networks. Then I tried to connect bricks and create volume through Ovirt panel, but I got an error to access IP from VLAN3. I pinged HOST1 <---> HOST2 <---> HOST3 and the gluster network pings perfectly in either direction from any host. But the problem is that Hosted Engine can't ping the gluster IP from the 10G interface on any host. Consequently, Hosted Engine does not see the configured IP on the second 10G interface of the host. Only the first interface in the VLAN2 subnet is pinged. What can be the problem? In my eyes this is a pretty common solution that is used everywhere. Thank for any help ___ Users mailing list -- users@ovirt.org To unsubscribe send an email to users-le...@ovirt.org Privacy Statement: https://www.ovirt.org/privacy-policy.html oVirt Code of Conduct: https://www.ovirt.org/community/about/community-guidelines/ List Archives: https://lists.ovirt.org/archives/list/users@ovirt.org/message/GLJPL7OMIIJ3C7DPWRIJFG5VGAR27SZE/
[PATCH] arm: fsl: imx8mn_bsh_smm_s2: Migrate to OF_UPSTREAM
Migrate imx8mn_bsh_smm_s2 and imx8mn_bsh_smm_s2pro boards to OF_UPSTREAM. Signed-off-by: Patrick Barsanti Tested-by: Michael Trimarchi --- Note that the patch was tested by Michael on the s2 board by applying patch [1] before it, which fixes ddr timings. The board otherwise doesn't boot. Links: - [1] https://lore.kernel.org/u-boot/20240610063842.192786-1-mich...@amarulasolutions.com/ arch/arm/dts/Makefile | 2 - arch/arm/dts/imx8mn-bsh-smm-s2-common.dtsi | 426 - arch/arm/dts/imx8mn-bsh-smm-s2.dts | 48 --- arch/arm/dts/imx8mn-bsh-smm-s2pro.dts | 170 arch/arm/mach-imx/imx8m/Kconfig| 2 + configs/imx8mn_bsh_smm_s2_defconfig| 2 +- configs/imx8mn_bsh_smm_s2pro_defconfig | 2 +- 7 files changed, 4 insertions(+), 648 deletions(-) delete mode 100644 arch/arm/dts/imx8mn-bsh-smm-s2-common.dtsi delete mode 100644 arch/arm/dts/imx8mn-bsh-smm-s2.dts delete mode 100644 arch/arm/dts/imx8mn-bsh-smm-s2pro.dts diff --git a/arch/arm/dts/Makefile b/arch/arm/dts/Makefile index f77a80b7dd..1196ab040a 100644 --- a/arch/arm/dts/Makefile +++ b/arch/arm/dts/Makefile @@ -925,8 +925,6 @@ dtb-$(CONFIG_ARCH_IMX8M) += \ imx8mm-phg.dtb \ imx8mm-phyboard-polis-rdk.dtb \ imx8mm-phygate-tauri-l.dtb \ - imx8mn-bsh-smm-s2.dtb \ - imx8mn-bsh-smm-s2pro.dtb \ imx8mq-cm.dtb \ imx8mn-var-som-symphony.dtb \ imx8mq-mnt-reform2.dtb \ diff --git a/arch/arm/dts/imx8mn-bsh-smm-s2-common.dtsi b/arch/arm/dts/imx8mn-bsh-smm-s2-common.dtsi deleted file mode 100644 index c11895d9d5..00 --- a/arch/arm/dts/imx8mn-bsh-smm-s2-common.dtsi +++ /dev/null @@ -1,426 +0,0 @@ -// SPDX-License-Identifier: GPL-2.0+ -/* - * Copyright 2021 Collabora Ltd. - * Copyright 2021 BSH Hausgeraete GmbH - */ - -/dts-v1/; - -#include "imx8mn.dtsi" - -/ { - chosen { - stdout-path = - }; - - fec_supply: fec-supply-en { - compatible = "regulator-fixed"; - vin-supply = <_reg>; - regulator-name = "tja1101_en"; - regulator-min-microvolt = <330>; - regulator-max-microvolt = <330>; - gpio = < 20 GPIO_ACTIVE_HIGH>; - enable-active-high; - }; - - usdhc2_pwrseq: usdhc2-pwrseq { - compatible = "mmc-pwrseq-simple"; - pinctrl-names = "default"; - pinctrl-0 = <_usdhc2_pwrseq>; - reset-gpios = < 27 GPIO_ACTIVE_LOW>; - }; -}; - -_0 { - cpu-supply = <_reg>; -}; - -_1 { - cpu-supply = <_reg>; -}; - -_2 { - cpu-supply = <_reg>; -}; - -_3 { - cpu-supply = <_reg>; -}; - - { - pinctrl-names = "default"; - pinctrl-0 = <_espi2>; - status = "okay"; -}; - - { - pinctrl-names = "default"; - pinctrl-0 = <_fec1>; - phy-mode = "rmii"; - phy-handle = <>; - phy-supply = <_supply>; - fsl,magic-packet; - status = "okay"; - - mdio { - #address-cells = <1>; - #size-cells = <0>; - - ethphy0: ethernet-phy@0 { - compatible = "ethernet-phy-ieee802.3-c22"; - reg = <0>; - reset-gpios = < 29 GPIO_ACTIVE_LOW>; - reset-assert-us = <20>; - reset-deassert-us = <2000>; - }; - }; -}; - - { - clock-frequency = <40>; - pinctrl-names = "default"; - pinctrl-0 = <_i2c1>; - status = "okay"; - - bd71847: pmic@4b { - compatible = "rohm,bd71847"; - reg = <0x4b>; - pinctrl-names = "default"; - pinctrl-0 = <_pmic>; - interrupt-parent = <>; - interrupts = <3 IRQ_TYPE_LEVEL_LOW>; - rohm,reset-snvs-powered; - - #clock-cells = <0>; - clocks = <_32k 0>; - clock-output-names = "clk-32k-out"; - - regulators { - buck1_reg: BUCK1 { - /* PMIC_BUCK1 - VDD_SOC */ - regulator-name = "buck1"; - regulator-min-microvolt = <70>; - regulator-max-microvolt = <130>; - regulator-boot-on; - regulator-always-on; - regulator-ramp-delay = <1250>; - }; - - buck2_reg: BUCK2
[ceph-users] Re: MDS crashes to damaged metadata
You could try manually deleting the files from the directory fragments, using `rados` commands. Make sure to flush your MDS journal first and take the fs offline (`ceph fs fail`). On Tue, Jun 4, 2024 at 8:50 AM Stolte, Felix wrote: > > Hi Patrick, > > it has been a year now and we did not have a single crash since upgrading to > 16.2.13. We still have the 19 corrupted files which are reported by 'damage > ls‘. Is it now possible to delete the corrupted files without taking the > filesystem offline? > > Am 22.05.2023 um 20:23 schrieb Patrick Donnelly : > > Hi Felix, > > On Sat, May 13, 2023 at 9:18 AM Stolte, Felix wrote: > > Hi Patrick, > > we have been running one daily snapshot since december and our cephfs crashed > 3 times because of this https://tracker.ceph.com/issues/38452 > > We currentliy have 19 files with corrupt metadata found by your > first-damage.py script. We isolated the these files from access by users and > are waiting for a fix before we remove them with your script (or maybe a new > way?) > > No other fix is anticipated at this time. Probably one will be > developed after the cause is understood. > > Today we upgraded our cluster from 16.2.11 and 16.2.13. After Upgrading the > mds servers, cluster health went to ERROR MDS_DAMAGE. 'ceph tells mds 0 > damage ls‘ is showing me the same files as your script (initially only a > part, after a cephfs scrub all of them). > > This is expected. Once the dentries are marked damaged, the MDS won't > allow operations on those files (like those triggering tracker > #38452). > > I noticed "mds: catch damage to CDentry’s first member before persisting > (issue#58482, pr#50781, Patrick Donnelly)“ in the change logs for 16.2.13 > and like to ask you the following questions: > > a) can we repair the damaged files online now instead of bringing down the > whole fs and using the python script? > > Not yet. > > b) should we set one of the new mds options in our specific case to avoid our > fileserver crashing because of the wrong snap ids? > > Have your MDS crashed or just marked the dentries damaged? If you can > reproduce a crash with detailed logs (debug_mds=20), that would be > incredibly helpful. > > c) will your patch prevent wrong snap ids in the future? > > It will prevent persisting the damage. > > > -- > Patrick Donnelly, Ph.D. > He / Him / His > Red Hat Partner Engineer > IBM, Inc. > GPG: 19F28A586F808C2402351B93C3301A3E258DD79D > > > mit freundlichem Gruß > Felix Stolte > > IT-Services > mailto: f.sto...@fz-juelich.de > Tel: 02461-619243 > > - > - > Forschungszentrum Juelich GmbH > 52425 Juelich > Sitz der Gesellschaft: Juelich > Eingetragen im Handelsregister des Amtsgerichts Dueren Nr. HR B 3498 > Vorsitzender des Aufsichtsrats: MinDir Stefan Müller > Geschäftsführung: Prof. Dr. Astrid Lambrecht (Vorsitzende), > Karsten Beneke (stellv. Vorsitzender), Dr. Ir. Pieter Jansens > - > ----- > > ___ > ceph-users mailing list -- ceph-users@ceph.io > To unsubscribe send an email to ceph-users-le...@ceph.io -- Patrick Donnelly, Ph.D. He / Him / His Red Hat Partner Engineer IBM, Inc. GPG: 19F28A586F808C2402351B93C3301A3E258DD79D ___ ceph-users mailing list -- ceph-users@ceph.io To unsubscribe send an email to ceph-users-le...@ceph.io
Re: [a11y] LibreOffice Calc exposes 2^31 children, freezes on `GetChildren`
> On Jun 10, 2024, at 10:37 AM, Michael Meeks > wrote: > > My attempts to encourage people to expose only the visible (or near visible) > items in the past were not that productive; but I still firmly believe this > is the only sensible way to do this. FWIW, on macOS asks for the full array of cells and so LibreOffice's macOS accessibility code returns an array of all cells only if the total rows times columns is less than 1000. Otherwise, it returns an array containing only the visible cells. Also, when querying for selected children, the code returns an array with only the first 1000 selected cells. Patrick
Re: [BVARC] 2816
(*if the /former)/ On 6/10/2024 12:32 PM, Ravi Patrick Ratnala via BVARC wrote: I guess I should've clarified that the rumor was that the previously published schedule you linked to (Kendleton-Shreveport on 6/17) had changed (Laredo-Kendleton on 6/17). So what I'm looking for is confirmation that the rumor is either correct or incorrect, and if the latter, what the new schedule in fact is. On 6/10/2024 12:13 PM, Jeffrey Carson wrote: Quick google. CPKC sets new return schedule for No. 2816, Steam Tour train - Trains <https://www.trains.com/trn/news-reviews/news-wire/cpkc-sets-new-return-schedule-for-no-2816-steam-tour-train/> CPKC sets new return schedule for No. 2816, Steam Tour train - Trains CALGARY, Alberta — CPKC has released a revised schedule for the return trip of Canadian Pacific 4-6-4 No. 2816 a... <https://www.trains.com/trn/news-reviews/news-wire/cpkc-sets-new-return-schedule-for-no-2816-steam-tour-train/> On Monday, June 10, 2024 at 12:03:51 PM CDT, Ravi Patrick Ratnala via BVARC wrote: Hey Chris, Nope, unfortunately all I have is that one /unconfirmed /rumor of Laredo-Kendleton on June 17th. I posted the question hoping someone else could confirm and/or provide more information. 73, N5OL On 6/9/2024 7:17 AM, Chris Medlin wrote: Hi ravi, do you have a complete schedule of when it might be where along the path? I have friends scattered along the path as far north as Chicago and even into canada and would love to give them an educated guess scheduling time. Chris/AC5CM Typos brought to you by iPhone On Jun 5, 2024, at 17:15, Ravi Patrick Ratnala via BVARC <mailto:bvarc@bvarc.org> wrote: I'm hearing a rumor that the 2816 will be coming back through Houston on her way home, with the Laredo-to-Kendleton leg occurring on June 17th. I would assume the Houston pass-through would occur the following day. Can anyone confirm this? Also, I am sad to report that the 2816 was involved in a tragedy yesterday. A lady was trying to get a selfie with the train as it passed through Hidalgo, Mexico. She was struck by the locomotive and killed instantly. Prayers for her family. Stay SAFE, brothers and sisters. 73 de Ravi, N5OL On 5/25/2024 5:37 PM, Jimmy Vance via BVARC wrote: I'm surprised thee is not more of a crowd at Tower 26 On 5/25/2024 5:20 PM, john Parmalee via BVARC wrote: Keep me posted at 5:20. I’m sitting in a parking lot in Memorial Park with a pretty good view of the track. Sent from the all new AOL app for iOS <https://apps.apple.com/us/app/aol-news-email-weather-video/id646100661> On Saturday, May 25, 2024, 4:46 PM, Chris Medlin via BVARC <mailto:bvarc@bvarc.org> wrote: I see the map on the website. Its close to lake charles now. Any idea when it might be coming thru sugar land? So i can help to communicate to family who may want to bring their kids up. Typos brought to you by iPhone On May 25, 2024, at 12:59, Donovan Balli via BVARC <mailto:bvarc@bvarc.org> wrote: https://www.cpkcr.com/en/community/final-spike-steam-train/#steam-train-route <https://www.cpkcr.com/en/community/final-spike-steam-train/#steam-train-route> About halfway from Shreveport to Beaumont, as of 1 PM. On 5/25/2024 12:33 PM, Jonathan Guthrie, KA8KPN via BVARC wrote: I heard it was going to leave Beaumont about 12:50 this afternoon. On 5/25/24 00:22, Robert Polinski via BVARC wrote: I hope to have an update in the AM. Last notice I got was it leaves Shreveport at noon tomorrow, arrive Kendleton sat evening. Spend all Sunday there and leave to Victoria 8 am. The route shows it going thru the Amtrak Depot, witch should be late in the afternoon Sat. Robert KD5YVQ *From:* BVARC <mailto:bvarc-boun...@bvarc.org> *On Behalf Of *Suggs, Marvin (KTRK-TV) via BVARC *Sent:* Friday, May 24, 2024 10:34 PM *To:* BRAZOS VALLEY AMATEUR RADIO CLUB <mailto:bvarc@bvarc.org> *Cc:* Suggs, Marvin (KTRK-TV) <mailto:marvin.su...@abc.com> *Subject:* Re: [BVARC] 2618 Any Ham Steam train chasers? What frequency? I’ll monitor 146.940 and UP Glidden Sub 160.770 MHZ. Thanks Marvin N5RKW Sent from my iPhone On May 15, 2024, at 12:25 AM, Suggs, Marvin (KTRK-TV) mailto:marvin.su...@abc.com>> wrote: Thanks Robert! They built a pretty impressive intermodal facility in Kendleton. Glidden sub comms on 160.770. Marvin N5RKW Sent from my iPhone On May 14, 2024, at 10:52 PM, Robert Polinski via BVARC mailto:bvarc@bvarc.org>> wrote: *This Message is From an External Sender* Caution: Do not click links or open attachments unless you recognize the sender and know the content is s
Re: [BVARC] 2816
I guess I should've clarified that the rumor was that the previously published schedule you linked to (Kendleton-Shreveport on 6/17) had changed (Laredo-Kendleton on 6/17). So what I'm looking for is confirmation that the rumor is either correct or incorrect, and if the latter, what the new schedule in fact is. On 6/10/2024 12:13 PM, Jeffrey Carson wrote: Quick google. CPKC sets new return schedule for No. 2816, Steam Tour train - Trains <https://www.trains.com/trn/news-reviews/news-wire/cpkc-sets-new-return-schedule-for-no-2816-steam-tour-train/> CPKC sets new return schedule for No. 2816, Steam Tour train - Trains CALGARY, Alberta — CPKC has released a revised schedule for the return trip of Canadian Pacific 4-6-4 No. 2816 a... <https://www.trains.com/trn/news-reviews/news-wire/cpkc-sets-new-return-schedule-for-no-2816-steam-tour-train/> On Monday, June 10, 2024 at 12:03:51 PM CDT, Ravi Patrick Ratnala via BVARC wrote: Hey Chris, Nope, unfortunately all I have is that one /unconfirmed /rumor of Laredo-Kendleton on June 17th. I posted the question hoping someone else could confirm and/or provide more information. 73, N5OL On 6/9/2024 7:17 AM, Chris Medlin wrote: Hi ravi, do you have a complete schedule of when it might be where along the path? I have friends scattered along the path as far north as Chicago and even into canada and would love to give them an educated guess scheduling time. Chris/AC5CM Typos brought to you by iPhone On Jun 5, 2024, at 17:15, Ravi Patrick Ratnala via BVARC <mailto:bvarc@bvarc.org> wrote: I'm hearing a rumor that the 2816 will be coming back through Houston on her way home, with the Laredo-to-Kendleton leg occurring on June 17th. I would assume the Houston pass-through would occur the following day. Can anyone confirm this? Also, I am sad to report that the 2816 was involved in a tragedy yesterday. A lady was trying to get a selfie with the train as it passed through Hidalgo, Mexico. She was struck by the locomotive and killed instantly. Prayers for her family. Stay SAFE, brothers and sisters. 73 de Ravi, N5OL On 5/25/2024 5:37 PM, Jimmy Vance via BVARC wrote: I'm surprised thee is not more of a crowd at Tower 26 On 5/25/2024 5:20 PM, john Parmalee via BVARC wrote: Keep me posted at 5:20. I’m sitting in a parking lot in Memorial Park with a pretty good view of the track. Sent from the all new AOL app for iOS <https://apps.apple.com/us/app/aol-news-email-weather-video/id646100661> On Saturday, May 25, 2024, 4:46 PM, Chris Medlin via BVARC <mailto:bvarc@bvarc.org> wrote: I see the map on the website. Its close to lake charles now. Any idea when it might be coming thru sugar land? So i can help to communicate to family who may want to bring their kids up. Typos brought to you by iPhone On May 25, 2024, at 12:59, Donovan Balli via BVARC <mailto:bvarc@bvarc.org> wrote: https://www.cpkcr.com/en/community/final-spike-steam-train/#steam-train-route <https://www.cpkcr.com/en/community/final-spike-steam-train/#steam-train-route> About halfway from Shreveport to Beaumont, as of 1 PM. On 5/25/2024 12:33 PM, Jonathan Guthrie, KA8KPN via BVARC wrote: I heard it was going to leave Beaumont about 12:50 this afternoon. On 5/25/24 00:22, Robert Polinski via BVARC wrote: I hope to have an update in the AM. Last notice I got was it leaves Shreveport at noon tomorrow, arrive Kendleton sat evening. Spend all Sunday there and leave to Victoria 8 am. The route shows it going thru the Amtrak Depot, witch should be late in the afternoon Sat. Robert KD5YVQ *From:* BVARC <mailto:bvarc-boun...@bvarc.org> *On Behalf Of *Suggs, Marvin (KTRK-TV) via BVARC *Sent:* Friday, May 24, 2024 10:34 PM *To:* BRAZOS VALLEY AMATEUR RADIO CLUB <mailto:bvarc@bvarc.org> *Cc:* Suggs, Marvin (KTRK-TV) <mailto:marvin.su...@abc.com> *Subject:* Re: [BVARC] 2618 Any Ham Steam train chasers? What frequency? I’ll monitor 146.940 and UP Glidden Sub 160.770 MHZ. Thanks Marvin N5RKW Sent from my iPhone On May 15, 2024, at 12:25 AM, Suggs, Marvin (KTRK-TV) mailto:marvin.su...@abc.com>> wrote: Thanks Robert! They built a pretty impressive intermodal facility in Kendleton. Glidden sub comms on 160.770. Marvin N5RKW Sent from my iPhone On May 14, 2024, at 10:52 PM, Robert Polinski via BVARC mailto:bvarc@bvarc.org>> wrote: *This Message is From an External Sender* Caution: Do not click links or open attachments unless you recognize the sender and know the content is safe. I will keep you informed as the date gets closer. I am a subc
Re: [BVARC] 2816
Hey Chris, Nope, unfortunately all I have is that one /unconfirmed /rumor of Laredo-Kendleton on June 17th. I posted the question hoping someone else could confirm and/or provide more information. 73, N5OL On 6/9/2024 7:17 AM, Chris Medlin wrote: Hi ravi, do you have a complete schedule of when it might be where along the path? I have friends scattered along the path as far north as Chicago and even into canada and would love to give them an educated guess scheduling time. Chris/AC5CM Typos brought to you by iPhone On Jun 5, 2024, at 17:15, Ravi Patrick Ratnala via BVARC wrote: I'm hearing a rumor that the 2816 will be coming back through Houston on her way home, with the Laredo-to-Kendleton leg occurring on June 17th. I would assume the Houston pass-through would occur the following day. Can anyone confirm this? Also, I am sad to report that the 2816 was involved in a tragedy yesterday. A lady was trying to get a selfie with the train as it passed through Hidalgo, Mexico. She was struck by the locomotive and killed instantly. Prayers for her family. Stay SAFE, brothers and sisters. 73 de Ravi, N5OL On 5/25/2024 5:37 PM, Jimmy Vance via BVARC wrote: I'm surprised thee is not more of a crowd at Tower 26 On 5/25/2024 5:20 PM, john Parmalee via BVARC wrote: Keep me posted at 5:20. I’m sitting in a parking lot in Memorial Park with a pretty good view of the track. Sent from the all new AOL app for iOS <https://apps.apple.com/us/app/aol-news-email-weather-video/id646100661> On Saturday, May 25, 2024, 4:46 PM, Chris Medlin via BVARC wrote: I see the map on the website. Its close to lake charles now. Any idea when it might be coming thru sugar land? So i can help to communicate to family who may want to bring their kids up. Typos brought to you by iPhone On May 25, 2024, at 12:59, Donovan Balli via BVARC wrote: https://www.cpkcr.com/en/community/final-spike-steam-train/#steam-train-route <https://www.cpkcr.com/en/community/final-spike-steam-train/#steam-train-route> About halfway from Shreveport to Beaumont, as of 1 PM. On 5/25/2024 12:33 PM, Jonathan Guthrie, KA8KPN via BVARC wrote: I heard it was going to leave Beaumont about 12:50 this afternoon. On 5/25/24 00:22, Robert Polinski via BVARC wrote: I hope to have an update in the AM. Last notice I got was it leaves Shreveport at noon tomorrow, arrive Kendleton sat evening. Spend all Sunday there and leave to Victoria 8 am. The route shows it going thru the Amtrak Depot, witch should be late in the afternoon Sat. Robert KD5YVQ *From:* BVARC <mailto:bvarc-boun...@bvarc.org> *On Behalf Of *Suggs, Marvin (KTRK-TV) via BVARC *Sent:* Friday, May 24, 2024 10:34 PM *To:* BRAZOS VALLEY AMATEUR RADIO CLUB <mailto:bvarc@bvarc.org> *Cc:* Suggs, Marvin (KTRK-TV) <mailto:marvin.su...@abc.com> *Subject:* Re: [BVARC] 2618 Any Ham Steam train chasers? What frequency? I’ll monitor 146.940 and UP Glidden Sub 160.770 MHZ. Thanks Marvin N5RKW Sent from my iPhone On May 15, 2024, at 12:25 AM, Suggs, Marvin (KTRK-TV) mailto:marvin.su...@abc.com>> wrote: Thanks Robert! They built a pretty impressive intermodal facility in Kendleton. Glidden sub comms on 160.770. Marvin N5RKW Sent from my iPhone On May 14, 2024, at 10:52 PM, Robert Polinski via BVARC mailto:bvarc@bvarc.org>> wrote: *This Message is From an External Sender* Caution: Do not click links or open attachments unless you recognize the sender and know the content is safe. I will keep you informed as the date gets closer. I am a subcontractor for UP and they will keep me advised as they enter UP trackage. After it passes thru Rosenburg about 2 Miles it enters CPKC trackage. About 15-20 years ago KCS bought the Victoria sub from SP (UP). The track went to Wharton but had been removed completely Bare grass, from Wharton to Victoria. KCS re-laid the track and now runs that line. Robert *From:* BVARC mailto:bvarc-boun...@bvarc.org>> *On Behalf Of *Suggs, Marvin (KTRK-TV) via BVARC *Sent:* Tuesday, May 14, 2024 9:51 PM *To:* BRAZOS VALLEY AMATEUR RADIO CLUB mailto:bvarc@bvarc.org>> *Cc:* Suggs, Marvin (KTRK-TV) mailto:marvin.su...@abc.com>> *Subject:* Re: [BVARC] 2618 Any idea what time it’ll cross the BRAZOS River at Richmond? Sent from my iPhone On May 14, 2024, at 9:58 AM, John Parmalee via BVARC mailto:bvarc@bvarc.org>> wrote:
Re: [PATCH v2 2/3] RISC-V: Add Zalrsc and Zaamo testsuite support
On 6/7/24 16:04, Jeff Law wrote: On 6/3/24 3:53 PM, Patrick O'Neill wrote: Convert testsuite infrastructure to use Zalrsc and Zaamo rather than A. gcc/testsuite/ChangeLog: * gcc.target/riscv/amo-table-a-6-amo-add-1.c: Use Zaamo rather than A. * gcc.target/riscv/amo-table-a-6-amo-add-2.c: Ditto. * gcc.target/riscv/amo-table-a-6-amo-add-3.c: Ditto. * gcc.target/riscv/amo-table-a-6-amo-add-4.c: Ditto. * gcc.target/riscv/amo-table-a-6-amo-add-5.c: Ditto. * gcc.target/riscv/amo-table-a-6-compare-exchange-1.c: Use Zalrsc rather than A. * gcc.target/riscv/amo-table-a-6-compare-exchange-2.c: Ditto. * gcc.target/riscv/amo-table-a-6-compare-exchange-3.c: Ditto. * gcc.target/riscv/amo-table-a-6-compare-exchange-4.c: Ditto. * gcc.target/riscv/amo-table-a-6-compare-exchange-5.c: Ditto. * gcc.target/riscv/amo-table-a-6-compare-exchange-6.c: Ditto. * gcc.target/riscv/amo-table-a-6-compare-exchange-7.c: Ditto. * gcc.target/riscv/amo-table-a-6-subword-amo-add-1.c: Use Zaamo rather than A. * gcc.target/riscv/amo-table-a-6-subword-amo-add-2.c: Ditto. * gcc.target/riscv/amo-table-a-6-subword-amo-add-3.c: Ditto. * gcc.target/riscv/amo-table-a-6-subword-amo-add-4.c: Ditto. * gcc.target/riscv/amo-table-a-6-subword-amo-add-5.c: Ditto. * gcc.target/riscv/amo-table-ztso-amo-add-1.c: Add Zaamo option. * gcc.target/riscv/amo-table-ztso-amo-add-2.c: Ditto. * gcc.target/riscv/amo-table-ztso-amo-add-3.c: Ditto. * gcc.target/riscv/amo-table-ztso-amo-add-4.c: Ditto. * gcc.target/riscv/amo-table-ztso-amo-add-5.c: Ditto. * gcc.target/riscv/amo-table-ztso-compare-exchange-1.c: Use Zalrsc rather than A. * gcc.target/riscv/amo-table-ztso-compare-exchange-2.c: Ditto. * gcc.target/riscv/amo-table-ztso-compare-exchange-3.c: Ditto. * gcc.target/riscv/amo-table-ztso-compare-exchange-4.c: Ditto. * gcc.target/riscv/amo-table-ztso-compare-exchange-5.c: Ditto. * gcc.target/riscv/amo-table-ztso-compare-exchange-6.c: Ditto. * gcc.target/riscv/amo-table-ztso-compare-exchange-7.c: Ditto. * gcc.target/riscv/amo-table-ztso-subword-amo-add-1.c: Ditto. * gcc.target/riscv/amo-table-ztso-subword-amo-add-2.c: Ditto. * gcc.target/riscv/amo-table-ztso-subword-amo-add-3.c: Ditto. * gcc.target/riscv/amo-table-ztso-subword-amo-add-4.c: Ditto. * gcc.target/riscv/amo-table-ztso-subword-amo-add-5.c: Ditto. * lib/target-supports.exp: Add testsuite infrastructure support for Zaamo and Zalrsc. So there's a lot of whitespace changes going on in target-supports.exp that make it harder to find the real changes. There's always a bit of a judgement call for that kind of thing. This one probably goes past would generally recommend, meaning that the formatting stuff would be a separate patch. A reasonable starting point would be if you're not changing the function in question, then fixing formatting in it probably should be a distinct patch. You probably should update the docs in sourcebuild.texi for the new target-supports tests. So OK for the trunk (including the whitespace fixes) with a suitable change to sourcebuild.texi. Sorry about that - the whitespace changes snuck in when resolving a merge conflict and were unintentional. I'll post a v3 with the sourcebuild.texi changes and patch 3/3 changes later today. I'll split the target-supports.exp trailing whitespace removal into a separate patch after this series lands. Patrick jeff
[clang] [llvm] [Offload][CUDA] Allow CUDA kernels to use LLVM/Offload (PR #94549)
jplehr wrote: Should the NFCI changes (like initializing struct fields) be put into a separate PR? https://github.com/llvm/llvm-project/pull/94549 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
[clang] [llvm] [Offload][CUDA] Allow CUDA kernels to use LLVM/Offload (PR #94549)
@@ -1199,7 +1244,9 @@ llvm::Function *CGNVCUDARuntime::finalizeModule() { } return nullptr; } - if (CGM.getLangOpts().OffloadingNewDriver && RelocatableDeviceCode) + if (CGM.getLangOpts().OffloadViaLLVM) +createOffloadingEntries(); + else if (CGM.getLangOpts().OffloadingNewDriver && RelocatableDeviceCode) jplehr wrote: Is this calling the same target in both cases? Why is it distinguished? https://github.com/llvm/llvm-project/pull/94549 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
[gcc r14-10301] c++: lambda in pack expansion [PR115378]
https://gcc.gnu.org/g:ff8105b4910f7dbee326cb36b01c16ac9bf10c4b commit r14-10301-gff8105b4910f7dbee326cb36b01c16ac9bf10c4b Author: Patrick Palka Date: Fri Jun 7 12:12:30 2024 -0400 c++: lambda in pack expansion [PR115378] Here find_parameter_packs_r is incorrectly treating the 'auto' return type of a lambda as a parameter pack due to Concepts-TS specific logic added in r6-4517, leading to confusion later when expanding the pattern. Since we intend on removing Concepts TS support soon anyway, this patch fixes this by restricting the problematic logic with flag_concepts_ts. Doing so revealed that add_capture was relying on this logic to set TEMPLATE_TYPE_PARAMETER_PACK for the 'auto' type of an pack expansion init-capture, which we now need to do explicitly. PR c++/115378 gcc/cp/ChangeLog: * lambda.cc (lambda_capture_field_type): Set TEMPLATE_TYPE_PARAMETER_PACK on the auto type of an init-capture pack expansion. * pt.cc (find_parameter_packs_r) : Restrict TEMPLATE_TYPE_PARAMETER_PACK promotion with flag_concepts_ts. gcc/testsuite/ChangeLog: * g++.dg/cpp1y/decltype-auto-103497.C: Adjust expected diagnostic. * g++.dg/template/pr95672.C: Likewise. * g++.dg/cpp2a/lambda-targ5.C: New test. Reviewed-by: Jason Merrill (cherry picked from commit 5c761395402a730535983a5e49ef1775561ebc61) Diff: --- gcc/cp/lambda.cc | 3 ++- gcc/cp/pt.cc | 2 +- gcc/testsuite/g++.dg/cpp1y/decltype-auto-103497.C | 2 +- gcc/testsuite/g++.dg/cpp2a/lambda-targ5.C | 15 +++ gcc/testsuite/g++.dg/template/pr95672.C | 2 +- 5 files changed, 20 insertions(+), 4 deletions(-) diff --git a/gcc/cp/lambda.cc b/gcc/cp/lambda.cc index 4b1f9391fee..5b5e31c141e 100644 --- a/gcc/cp/lambda.cc +++ b/gcc/cp/lambda.cc @@ -223,7 +223,8 @@ lambda_capture_field_type (tree expr, bool explicit_init_p, outermost CV qualifiers of EXPR. */ type = build_reference_type (type); if (uses_parameter_packs (expr)) - /* Stick with 'auto' even if the type could be deduced. */; + /* Stick with 'auto' even if the type could be deduced. */ + TEMPLATE_TYPE_PARAMETER_PACK (auto_node) = true; else type = do_auto_deduction (type, expr, auto_node); } diff --git a/gcc/cp/pt.cc b/gcc/cp/pt.cc index d3f61e90422..c7aee66f068 100644 --- a/gcc/cp/pt.cc +++ b/gcc/cp/pt.cc @@ -3942,7 +3942,7 @@ find_parameter_packs_r (tree *tp, int *walk_subtrees, void* data) parameter pack (14.6.3), or the type-specifier-seq of a type-id that is a pack expansion, the invented template parameter is a template parameter pack. */ - if (ppd->type_pack_expansion_p && is_auto (t) + if (flag_concepts_ts && ppd->type_pack_expansion_p && is_auto (t) && TEMPLATE_TYPE_LEVEL (t) != 0) TEMPLATE_TYPE_PARAMETER_PACK (t) = true; if (TEMPLATE_TYPE_PARAMETER_PACK (t)) diff --git a/gcc/testsuite/g++.dg/cpp1y/decltype-auto-103497.C b/gcc/testsuite/g++.dg/cpp1y/decltype-auto-103497.C index cedd661710c..4162361d14f 100644 --- a/gcc/testsuite/g++.dg/cpp1y/decltype-auto-103497.C +++ b/gcc/testsuite/g++.dg/cpp1y/decltype-auto-103497.C @@ -1,7 +1,7 @@ // PR c++/103497 // { dg-do compile { target c++14 } } -void foo(decltype(auto)... args); // { dg-error "cannot declare a parameter with .decltype.auto.." } +void foo(decltype(auto)... args); // { dg-error "contains no parameter packs" } int main() { foo(); diff --git a/gcc/testsuite/g++.dg/cpp2a/lambda-targ5.C b/gcc/testsuite/g++.dg/cpp2a/lambda-targ5.C new file mode 100644 index 000..efd4bb45d58 --- /dev/null +++ b/gcc/testsuite/g++.dg/cpp2a/lambda-targ5.C @@ -0,0 +1,15 @@ +// PR c++/115378 +// { dg-do compile { target c++20 } } + +struct tt {}; + +template +constexpr auto __counter = 1; + +template +using _as_base = tt; + +template +struct env : _as_base>... {}; + +env t; diff --git a/gcc/testsuite/g++.dg/template/pr95672.C b/gcc/testsuite/g++.dg/template/pr95672.C index c752b4a2c08..d97b8db2e97 100644 --- a/gcc/testsuite/g++.dg/template/pr95672.C +++ b/gcc/testsuite/g++.dg/template/pr95672.C @@ -1,3 +1,3 @@ // PR c++/95672 // { dg-do compile { target c++14 } } -struct g_class : decltype (auto) ... { }; // { dg-error "invalid use of pack expansion" } +struct g_class : decltype (auto) ... { }; // { dg-error "contains no parameter packs" }
[gentoo-commits] repo/gentoo:master commit in: dev-db/timescaledb/
commit: 7f5346efe53f497d7700b1472a1bee17c8977147 Author: Patrick Lauer gentoo org> AuthorDate: Mon Jun 10 12:30:37 2024 + Commit: Patrick Lauer gentoo org> CommitDate: Mon Jun 10 12:31:12 2024 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7f5346ef dev-db/timescaledb: add 2.15.2, remove old Signed-off-by: Patrick Lauer gentoo.org> dev-db/timescaledb/Manifest| 3 +- dev-db/timescaledb/timescaledb-2.15.0.ebuild | 67 -- ...edb-2.14.0.ebuild => timescaledb-2.15.2.ebuild} | 0 3 files changed, 1 insertion(+), 69 deletions(-) diff --git a/dev-db/timescaledb/Manifest b/dev-db/timescaledb/Manifest index 3990ebaa2357..230b785bcbd6 100644 --- a/dev-db/timescaledb/Manifest +++ b/dev-db/timescaledb/Manifest @@ -1,3 +1,2 @@ -DIST timescaledb-2.14.0.tar.gz 7316149 BLAKE2B d646e20d56ced87f3b95a7a58ed30bcbeec571b1042b64c2fef4f8521248db2142f54cb45d2afbbeb902e451823615fde1bb0259b421350928c146634db9c4d5 SHA512 75a66a51de313fa1beb4a576181888dbe742ffa0325b5813b5b12749c9fc97705eaa030186e424a360ee20745226768a679632182c079117586c5e4a5c108236 DIST timescaledb-2.14.2.tar.gz 7319288 BLAKE2B aa6d56939a4647f9276743cabece77c33760e7f9d451b90aaa03c9391fcfad94afcd315b65c0c589c7188073884bf7ab65f9c796e35f634b8704f334ffa4ac34 SHA512 5a7ab4df5d89b83d423be5d6770098ab0303b22e29166afd3ab91ac2199571df20e33ec9f40bfa90ddf44829571fe696f311d81d27b46d569f2d75e75970e4f9 -DIST timescaledb-2.15.0.tar.gz 7428047 BLAKE2B 6806def8ec01213b81d545817048af569a7b43ab88397e51d25dea680780e7764d9ec0bd638cb9deca6a7492d9a2b0e792adcc46a794cacde83d62c23c09dd83 SHA512 fe2ccc0baa4ec39773a9258142fd287f4ff3c296a39bc19daa75d30a5e3755efc4aa902c00e4e1030f4d5203b95c31c0493a5eb78aed6a26d8226930d1e2aef8 +DIST timescaledb-2.15.2.tar.gz 7440309 BLAKE2B eedec0a989ed216704d14b840ed2113e335dd5594a74f4c20e3aa369dade97f0566d777484758bb7e270720155b2b20a029e6922fb3a141a1346f7d68df2777c SHA512 956f828a282638945037a5c7a8eaf39a1698de5e40ab89b8a60af5a4e5585fdf17eeeafc34e90f03df4a13bbe95466245babb09845a2020f65c77183fccce78e diff --git a/dev-db/timescaledb/timescaledb-2.15.0.ebuild b/dev-db/timescaledb/timescaledb-2.15.0.ebuild deleted file mode 100644 index ec3d2f7794de.. --- a/dev-db/timescaledb/timescaledb-2.15.0.ebuild +++ /dev/null @@ -1,67 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -POSTGRES_COMPAT=( 13 14 15 16 ) -POSTGRES_USEDEP="ssl" - -inherit postgres-multi cmake - -DESCRIPTION="Open-source time-series SQL database" -HOMEPAGE="https://www.timescale.com/; -SRC_URI="https://github.com/timescale/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" - -IUSE="proprietary-extensions" -LICENSE="POSTGRESQL Apache-2.0 proprietary-extensions? ( timescale )" - -KEYWORDS="~amd64" - -SLOT=0 - -RESTRICT="test" - -DEPEND="${POSTGRES_DEP}" -RDEPEND="${DEPEND}" - -CMAKE_IN_SOURCE_BUILD=yes -CMAKE_BUILD_TYPE="RelWithDebInfo" -BUILD_DIR=${WORKDIR}/${P} - -src_prepare() { - postgres-multi_src_prepare - postgres-multi_foreach cmake_src_prepare -} - -timescale_configure() { - local CMAKE_USE_DIR=$BUILD_DIR - local mycmakeargs=( "-DPG_CONFIG=/usr/bin/pg_config${MULTIBUILD_VARIANT}" "-DREGRESS_CHECKS=OFF" ) - - # licensing is tied to features, this useflag disables the non-apache2 licensed bits - if ! use proprietary-extensions ; then - mycmakeargs+=("-DAPACHE_ONLY=ON") - fi - cmake_src_configure -} - -src_configure() { - postgres-multi_foreach timescale_configure -} - -timescale_src_compile() { - local CMAKE_USE_DIR=$BUILD_DIR - cmake_src_compile -} - -src_compile() { - postgres-multi_foreach timescale_src_compile -} - -timescale_src_install() { - local CMAKE_USE_DIR=$BUILD_DIR - cmake_src_install -} - -src_install() { - postgres-multi_foreach timescale_src_install -} diff --git a/dev-db/timescaledb/timescaledb-2.14.0.ebuild b/dev-db/timescaledb/timescaledb-2.15.2.ebuild similarity index 100% rename from dev-db/timescaledb/timescaledb-2.14.0.ebuild rename to dev-db/timescaledb/timescaledb-2.15.2.ebuild
[gentoo-commits] repo/gentoo:master commit in: dev-db/citus/
commit: e126340a84e9ca39b32944ca03a1a15f6b384af2 Author: Patrick Lauer gentoo org> AuthorDate: Mon Jun 10 12:26:25 2024 + Commit: Patrick Lauer gentoo org> CommitDate: Mon Jun 10 12:31:12 2024 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e126340a dev-db/citus: drop 12.1.2 Signed-off-by: Patrick Lauer gentoo.org> dev-db/citus/Manifest| 1 - dev-db/citus/citus-12.1.2.ebuild | 35 --- 2 files changed, 36 deletions(-) diff --git a/dev-db/citus/Manifest b/dev-db/citus/Manifest index 54eae775cf56..293f142610bd 100644 --- a/dev-db/citus/Manifest +++ b/dev-db/citus/Manifest @@ -1,5 +1,4 @@ DIST citus-11.3.1.tar.gz 6623462 BLAKE2B ef07fb1e6cf0dd3f49600c3befcb300d47244393dd3bbe01450a8cb7bdb40adf1b7c6d7cf473ac80c466fc5dd4d6e0f5a62d1a587804d74011dda65731431028 SHA512 481d74cdf0e8de86b918fc73ed72f988f42679a827a39e7d89e2d0ebb0447d629dbaf323099dc97e886ea3012539200831f580bfe0cf3a12ef1f3a7bfe3fab42 DIST citus-12.0.1.tar.gz 6740395 BLAKE2B ca004f8026d94c1ed70c9c7450726287aff415c13b80b93d25a19fbae9a79cbbeaec51521fc7922d5574c75bddb9537d42d656121ca586f4512afe773be5bf76 SHA512 db9b882c63ef6ab848a85d547390d4fc61b97056485dcc8fa51c289a302b78d0de959e29c27a91c494fd3e20491f6a96e96436d8766d02b2770f0e375b94564e -DIST citus-12.1.2.tar.gz 6897486 BLAKE2B 6cbd65cf0cefc5bbe4abcedbeaece8c9a123a05d0d6b812d95cea69153843fd187ff67ce0e99e19758f43569b7e38379294c3c1551f7751ffcb5a6d025800f1a SHA512 00ca6d7053c91671c894bb2afec25ba2a38aae50b6f363a1e63e08e4f3016e43739c9a48b20d93afecb5cc0f2d886fd12318dd8f54f67c052baca2d421882828 DIST citus-12.1.3.tar.gz 6905546 BLAKE2B 6ece3bb20dfdad3d9413a17dc4b9177ae3cb8829e692b37bd226c60cbb1fa1e827e9de6f833d31c65835ab040593e0cc5fe4b6b0c8b0314306313cd88533e622 SHA512 2bcd5fa83e4fa56b90a3a3873229d3c5a294a0483d031d04ebd9602132883dc54485ca0907b867cd545f9b131a5f8cdeecb2e7e500b46d87f01aa5d5a34ff16f DIST citus-12.1.4.tar.gz 6906485 BLAKE2B cb5ed7c53449c7497693cfff69f360e43ab10acc7ac8b7a7be9bcb4e7440dbdd0bd2a85bbbac25e62b43be3040301e11180e1c797b9f6c7a56fbdad2b0cd4bf3 SHA512 c4f7cd8f6f2f72b66de17ae529590518d5c62654d6e1393a4c7b2f1d8b2f9c70e7d4e1f07aef3434272f84edc92d299a0c9df00934b1f065a0997c6fc5274913 diff --git a/dev-db/citus/citus-12.1.2.ebuild b/dev-db/citus/citus-12.1.2.ebuild deleted file mode 100644 index 6f1052ed0c2d.. --- a/dev-db/citus/citus-12.1.2.ebuild +++ /dev/null @@ -1,35 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -POSTGRES_COMPAT=( 14 15 16 ) - -inherit postgres-multi - -DESCRIPTION="Open-source postgresql extension for clustering/multi-node setups" -HOMEPAGE="https://www.citusdata.com/; - -MY_PV="${PV/beta0/beta}" -SRC_URI="https://github.com/citusdata/citus/archive/refs/tags/v${MY_PV}.tar.gz -> ${P}.tar.gz" - -S="${WORKDIR}/${PN}-${MY_PV}" - -IUSE="" -LICENSE="POSTGRESQL AGPL-3" - -KEYWORDS="~amd64" - -SLOT=0 - -RESTRICT="test" - -DEPEND="${POSTGRES_DEP} - app-arch/lz4 - app-arch/zstd - " -RDEPEND="${DEPEND}" - -src_configure() { - postgres-multi_foreach econf -}
[gentoo-commits] repo/gentoo:master commit in: dev-db/citus/
commit: 3cb56545bab909c97693d09249b7c3bb5b444a35 Author: Patrick Lauer gentoo org> AuthorDate: Mon Jun 10 12:26:02 2024 + Commit: Patrick Lauer gentoo org> CommitDate: Mon Jun 10 12:31:11 2024 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3cb56545 dev-db/citus: add 12.1.4 Signed-off-by: Patrick Lauer gentoo.org> dev-db/citus/Manifest| 1 + dev-db/citus/citus-12.1.4.ebuild | 35 +++ 2 files changed, 36 insertions(+) diff --git a/dev-db/citus/Manifest b/dev-db/citus/Manifest index ba05405e6711..54eae775cf56 100644 --- a/dev-db/citus/Manifest +++ b/dev-db/citus/Manifest @@ -2,3 +2,4 @@ DIST citus-11.3.1.tar.gz 6623462 BLAKE2B ef07fb1e6cf0dd3f49600c3befcb300d4724439 DIST citus-12.0.1.tar.gz 6740395 BLAKE2B ca004f8026d94c1ed70c9c7450726287aff415c13b80b93d25a19fbae9a79cbbeaec51521fc7922d5574c75bddb9537d42d656121ca586f4512afe773be5bf76 SHA512 db9b882c63ef6ab848a85d547390d4fc61b97056485dcc8fa51c289a302b78d0de959e29c27a91c494fd3e20491f6a96e96436d8766d02b2770f0e375b94564e DIST citus-12.1.2.tar.gz 6897486 BLAKE2B 6cbd65cf0cefc5bbe4abcedbeaece8c9a123a05d0d6b812d95cea69153843fd187ff67ce0e99e19758f43569b7e38379294c3c1551f7751ffcb5a6d025800f1a SHA512 00ca6d7053c91671c894bb2afec25ba2a38aae50b6f363a1e63e08e4f3016e43739c9a48b20d93afecb5cc0f2d886fd12318dd8f54f67c052baca2d421882828 DIST citus-12.1.3.tar.gz 6905546 BLAKE2B 6ece3bb20dfdad3d9413a17dc4b9177ae3cb8829e692b37bd226c60cbb1fa1e827e9de6f833d31c65835ab040593e0cc5fe4b6b0c8b0314306313cd88533e622 SHA512 2bcd5fa83e4fa56b90a3a3873229d3c5a294a0483d031d04ebd9602132883dc54485ca0907b867cd545f9b131a5f8cdeecb2e7e500b46d87f01aa5d5a34ff16f +DIST citus-12.1.4.tar.gz 6906485 BLAKE2B cb5ed7c53449c7497693cfff69f360e43ab10acc7ac8b7a7be9bcb4e7440dbdd0bd2a85bbbac25e62b43be3040301e11180e1c797b9f6c7a56fbdad2b0cd4bf3 SHA512 c4f7cd8f6f2f72b66de17ae529590518d5c62654d6e1393a4c7b2f1d8b2f9c70e7d4e1f07aef3434272f84edc92d299a0c9df00934b1f065a0997c6fc5274913 diff --git a/dev-db/citus/citus-12.1.4.ebuild b/dev-db/citus/citus-12.1.4.ebuild new file mode 100644 index ..6f1052ed0c2d --- /dev/null +++ b/dev-db/citus/citus-12.1.4.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +POSTGRES_COMPAT=( 14 15 16 ) + +inherit postgres-multi + +DESCRIPTION="Open-source postgresql extension for clustering/multi-node setups" +HOMEPAGE="https://www.citusdata.com/; + +MY_PV="${PV/beta0/beta}" +SRC_URI="https://github.com/citusdata/citus/archive/refs/tags/v${MY_PV}.tar.gz -> ${P}.tar.gz" + +S="${WORKDIR}/${PN}-${MY_PV}" + +IUSE="" +LICENSE="POSTGRESQL AGPL-3" + +KEYWORDS="~amd64" + +SLOT=0 + +RESTRICT="test" + +DEPEND="${POSTGRES_DEP} + app-arch/lz4 + app-arch/zstd + " +RDEPEND="${DEPEND}" + +src_configure() { + postgres-multi_foreach econf +}
[gentoo-commits] repo/proj/guru:dev commit in: media-libs/opencomposite/
commit: 7c38a3b29624f23ffb2fc840f3c46d73226045a4 Author: Patrick Nicolas laposte net> AuthorDate: Mon Jun 10 11:52:48 2024 + Commit: Patrick Nicolas laposte net> CommitDate: Mon Jun 10 11:52:57 2024 + URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=7c38a3b2 media-libs/opencomposite: fix LICENSE, dependencies Signed-off-by: Patrick Nicolas laposte.net> media-libs/opencomposite/opencomposite-.ebuild | 12 ++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/media-libs/opencomposite/opencomposite-.ebuild b/media-libs/opencomposite/opencomposite-.ebuild index 0140cc7f5..f17d70443 100644 --- a/media-libs/opencomposite/opencomposite-.ebuild +++ b/media-libs/opencomposite/opencomposite-.ebuild @@ -17,10 +17,15 @@ else KEYWORDS="~amd64" fi -LICENSE="GPL-3 Apache-2 MIT" +LICENSE="GPL-3 Apache-2.0 MIT" SLOT="0" -DEPEND="" +DEPEND=" + dev-lang/python + dev-util/vulkan-headers + media-libs/openxr-loader + virtual/opengl +" RDEPEND="${DEPEND}" BDEPEND="" @@ -38,6 +43,9 @@ src_configure() # as it does for vulkan and other similar configuration files. local mycmakeargs=( "-DCMAKE_INSTALL_PREFIX=/opt" + "-DUSE_SYSTEM_OPENXR=ON" + # FIXME: fails because GLM_ENABLE_EXPERIMENTAL is unset + "-DUSE_SYSTEM_GLM=OFF" ) cmake_src_configure }
Re: Boot hangs on recent kernels
On Mon, 2024-06-10 at 11:30 +0200, Klaus-Peter Schrage via users wrote: > That was no problem > until recent kernels which, as Barry stated, require that resume= > refers to a physical partition. That's not strictly true. You can arrange to resume to a BTRFS subvolume. My boot params include: resume=UUID=8e1f7af4-c0bf-434e-b1c4-a9af2c810d56 resume_offset=413818937 It does require some manual setting up however. poc -- ___ users mailing list -- users@lists.fedoraproject.org To unsubscribe send an email to users-le...@lists.fedoraproject.org Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue
Re: cyr_deliver not deleting messages from file system - what am I doing wrong?
The first thing that comes to mind is to make sure that Thunderbird has actually compacted the folders. If you run this, do you get the expected number of messages? unexpunge -l user.ton|grep UID|wc -l Change UID to Expg and remove "wc -l" in the above command to see when the messages were expunged. On 6/10/24 05:34, Binarus wrote: Dear all, on one my Cyrus imapd installations, I am running out of disk space. Solving the problem the right way will take some days, so I decided to delete about 100,000 messages as a first measure (those messages definitely don't need to be kept any longer). I have used Thunderbird to delete those messages (of course, I have not moved them to trash, but have really deleted them), and afterwards have used cyrdump to verify that they actually are flagged as deleted. To finally free up the space on the disk, I wanted to use cyr_expire. However, the output of /usr/lib/cyrus/bin/cyr_expire -D 60s -E 60s -X 60s -v only told me that nothing happened (last lines of the very lengthy output, empty lines partly omitted): ... cleaning up expunged messages in user.ton cleaning up expunged messages in user.ton.Drafts cleaning up expunged messages in user.ton.Junk cleaning up expunged messages in user.ton.Sent cleaning up expunged messages in user.ton.Trash Expired 0 and expunged 0 out of 293918 messages from 3867 mailboxes Removing deleted mailboxes older than 0.00 days Removed 0 deleted mailboxes Of course, after having deleted the messages in Thunderbird, I have waited several minutes before I have issued the command mentioned above. Does anybody have an idea why cyr_expire refuses to purge the deleted messages? I have to add that no MUA or other client was connected to the server when I have issued the command. The Cyrus imapd version is 3.2.3, the OS is Debian 11.9 / amd64. Thank you very much in advance, Binarus -- Cyrus: Info Permalink: https://cyrus.topicbox.com/groups/info/Te8b9eb9ffbec5936-Ma3330bcdf28dea671dc8c3b6 Delivery options: https://cyrus.topicbox.com/groups/info/subscription begin:vcard fn:Patrick Boutilier n:Boutilier;Patrick org:;Nova Scotia Department of Education and Early Childhood Development adr:;;2021 Brunswick Street;Halifax;NS;B3K 2Y5;Canada email;internet:bouti...@ednet.ns.ca title:WAN Communications Specialist tel;work:902-424-6800 tel;fax:902-424-0874 x-mozilla-html:FALSE version:2.1 end:vcard
[gentoo-commits] repo/proj/guru:dev commit in: media-libs/opencomposite/, media-libs/opencomposite/files/
commit: 2b156da89fdf2447885882a7a90dd167394dfbd6 Author: Patrick Nicolas laposte net> AuthorDate: Mon Jun 10 08:45:54 2024 + Commit: Patrick Nicolas laposte net> CommitDate: Mon Jun 10 08:46:51 2024 + URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=2b156da8 media-libs/opencomposite: new package, add Signed-off-by: Patrick Nicolas laposte.net> .../files/0001-Add-install-target.patch| 19 media-libs/opencomposite/files/openvrpaths.vrpath | 4 ++ media-libs/opencomposite/metadata.xml | 11 + media-libs/opencomposite/opencomposite-.ebuild | 57 ++ 4 files changed, 91 insertions(+) diff --git a/media-libs/opencomposite/files/0001-Add-install-target.patch b/media-libs/opencomposite/files/0001-Add-install-target.patch new file mode 100644 index 0..d4f5d7b00 --- /dev/null +++ b/media-libs/opencomposite/files/0001-Add-install-target.patch @@ -0,0 +1,19 @@ +diff --git a/CMakeLists.txt b/CMakeLists.txt +index 5956a67..3f0fda1 100644 +--- a/CMakeLists.txt b/CMakeLists.txt +@@ -528,3 +528,11 @@ set_target_properties(OCOVR PROPERTIES + get_target_property(output_dir OCOVR LIBRARY_OUTPUT_DIRECTORY) + add_custom_command(TARGET OCOVR + PRE_LINK COMMAND ${CMAKE_COMMAND} -E make_directory ${output_dir}) ++ ++# Installation ++include(GNUInstallDirs) ++install(TARGETS OCOVR ++ LIBRARY ++ DESTINATION "${PROJECT_NAME}/${VRCLIENT_DIR}" ++ COMPONENT Runtime ++) +-- +2.45.2 + diff --git a/media-libs/opencomposite/files/openvrpaths.vrpath b/media-libs/opencomposite/files/openvrpaths.vrpath new file mode 100644 index 0..89991d9bf --- /dev/null +++ b/media-libs/opencomposite/files/openvrpaths.vrpath @@ -0,0 +1,4 @@ +{ + "runtime" : ["/opt/OpenComposite"], + "version" : 1 +} diff --git a/media-libs/opencomposite/metadata.xml b/media-libs/opencomposite/metadata.xml new file mode 100644 index 0..ecba23c2d --- /dev/null +++ b/media-libs/opencomposite/metadata.xml @@ -0,0 +1,11 @@ + +https://www.gentoo.org/dtd/metadata.dtd;> + + + patricknico...@laposte.net + Patrick Nicolas + + + znixian/OpenOVR + + diff --git a/media-libs/opencomposite/opencomposite-.ebuild b/media-libs/opencomposite/opencomposite-.ebuild new file mode 100644 index 0..0140cc7f5 --- /dev/null +++ b/media-libs/opencomposite/opencomposite-.ebuild @@ -0,0 +1,57 @@ +# Copyright 2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit cmake + +DESCRIPTION="OpenVR over OpenXR compatibility layer" +HOMEPAGE="https://gitlab.com/znixian/OpenOVR; + +if [[ ${PV} == ]]; then + inherit git-r3 + EGIT_REPO_URI="https://gitlab.com/znixian/OpenOVR.git; + EGIT_BRANCH="openxr" + KEYWORDS="" +else + KEYWORDS="~amd64" +fi + +LICENSE="GPL-3 Apache-2 MIT" +SLOT="0" + +DEPEND="" +RDEPEND="${DEPEND}" +BDEPEND="" + +PATCHES=( + "${FILESDIR}/0001-Add-install-target.patch" +) + +src_configure() +{ + # Installing to /usr would not work with Steam bacause pressure vessel + # sandbox mounts /usr as /run/host/usr and openvr path would point to a + # non-existing location. + # + # Pressure vessel would need to be fixed and patch the location + # as it does for vulkan and other similar configuration files. + local mycmakeargs=( + "-DCMAKE_INSTALL_PREFIX=/opt" + ) + cmake_src_configure +} + +src_install() +{ + cmake_src_install + + insinto /opt/OpenComposite + doins "${FILESDIR}/openvrpaths.vrpath" +} + +pkg_postinst() +{ + elog "For applications to use OpenComposite, symlink" + elog "~/.config/openvr/openvrpaths.vrpath to /opt/OpenComposite/openvrpaths.vrpath." +}
Re: [RBW] WTB SCAMMER ALERT - gran09861@gmail
I often think that, given the trouble many criminals seem to take to make a shady buck, it might be easier just to get a job. On Sun, Jun 9, 2024 at 12:30 PM M G wrote: > It’s almost funny how deep into the weeds a scammer has to get when > they’re chasing down photos of steel bike frames (total geek niche), of > specific old sub-label bike frames (sub-level niche!) of odd non-mainstream > geek’s geek label (sub-sub-sub-niche)….etc…. [however one would associate > Herons with Rivs, etc]. (PS — i’d take any Heron or original Riv i came > across….just….because, well, ya never know when you might NEED another one!) > -- You received this message because you are subscribed to the Google Groups "RBW Owners Bunch" group. To unsubscribe from this group and stop receiving emails from it, send an email to rbw-owners-bunch+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/rbw-owners-bunch/CALuTfgvZv26mv6BV0EU4fDz%3DRNzzYx2umQZ365DEddbjPQwOcg%40mail.gmail.com.
[PATCH 0/2] LVM Cachevol and Integrity volumes break entire LVM VG
In an effort to solve https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1061168 for myself, I implemented basic support for cachevol and integrity volumes in LVM. This is just an extension of the cachepool support that already existed, and just like that support, I ignore all of the metadata and just go for the data. This obviously means that writing to "writeback" cachepools, and any raidintegrity volumes will cause corruption as before, but as grub only reads files, I think that should be fine. Without these patches, a system with /boot on a LV with cachevol or integrity volumes will fail to boot These patches are also available attached and at https://github.com/byteit101/grub2/commits/grub-lvmintegrity/ Patrick Plenefisch (2): disk/lvm: Make cache_lv more generic as ignored_feature_lv lvm: Add support for cachevol and integrity lv grub-core/disk/diskfilter.c | 6 +- grub-core/disk/lvm.c| 264 ++-- 2 files changed, 134 insertions(+), 136 deletions(-) -- 2.39.2 From 9033f31a42958d0dd95e70ac5cb5b66caa5d Mon Sep 17 00:00:00 2001 From: Patrick Plenefisch Date: Sun, 18 Feb 2024 18:29:43 -0500 Subject: [PATCH 1/2] disk/lvm: Make cache_lv more generic as ignored_feature_lv This patch isn't necessary by itself, but when combined with the next patch it enhances readability as ignored_features_lv is then used for multiple types of extra LV's, not just cache LV's Signed-off-by: Patrick Plenefisch --- grub-core/disk/lvm.c | 179 +++ 1 file changed, 77 insertions(+), 102 deletions(-) diff --git a/grub-core/disk/lvm.c b/grub-core/disk/lvm.c index 794248540..10bc965a4 100644 --- a/grub-core/disk/lvm.c +++ b/grub-core/disk/lvm.c @@ -34,12 +34,11 @@ GRUB_MOD_LICENSE ("GPLv3+"); -struct cache_lv +struct ignored_feature_lv { struct grub_diskfilter_lv *lv; - char *cache_pool; char *origin; - struct cache_lv *next; + struct ignored_feature_lv *next; }; @@ -105,30 +104,29 @@ grub_lvm_check_flag (const char *p, const char *str, const char *flag) } static void -grub_lvm_free_cache_lvs (struct cache_lv *cache_lvs) +grub_lvm_free_ignored_feature_lvs (struct ignored_feature_lv *ignored_feature_lvs) { - struct cache_lv *cache; + struct ignored_feature_lv *ignored_feature; - while ((cache = cache_lvs)) + while ((ignored_feature = ignored_feature_lvs)) { - cache_lvs = cache_lvs->next; + ignored_feature_lvs = ignored_feature_lvs->next; - if (cache->lv) + if (ignored_feature->lv) { unsigned int i; - for (i = 0; i < cache->lv->segment_count; ++i) - if (cache->lv->segments) - grub_free (cache->lv->segments[i].nodes); - grub_free (cache->lv->segments); - grub_free (cache->lv->fullname); - grub_free (cache->lv->idname); - grub_free (cache->lv->name); + for (i = 0; i < ignored_feature->lv->segment_count; ++i) + if (ignored_feature->lv->segments) + grub_free (ignored_feature->lv->segments[i].nodes); + grub_free (ignored_feature->lv->segments); + grub_free (ignored_feature->lv->fullname); + grub_free (ignored_feature->lv->idname); + grub_free (ignored_feature->lv->name); } - grub_free (cache->lv); - grub_free (cache->origin); - grub_free (cache->cache_pool); - grub_free (cache); + grub_free (ignored_feature->lv); + grub_free (ignored_feature->origin); + grub_free (ignored_feature); } } @@ -325,7 +323,7 @@ grub_lvm_detect (grub_disk_t disk, if (! vg) { - struct cache_lv *cache_lvs = NULL; + struct ignored_feature_lv *ignored_feature_lvs = NULL; /* First time we see this volume group. We've to create the whole volume group structure. */ @@ -810,105 +808,82 @@ grub_lvm_detect (grub_disk_t disk, else if (grub_memcmp (p, "cache\"", sizeof ("cache\"") - 1) == 0) { - struct cache_lv *cache = NULL; + struct ignored_feature_lv *ignored_feature = NULL; char *p2, *p3; grub_size_t sz; - cache = grub_zalloc (sizeof (*cache)); - if (!cache) - goto cache_lv_fail; - cache->lv = grub_zalloc (sizeof (*cache->lv)); - if (!cache->lv) - goto cache_lv_fail; - grub_memcpy (cache->lv, lv, sizeof (*cache->lv)); + ignored_feature = grub_zalloc (sizeof (*ignored_feature)); + if (!ignored_feature) + goto ignored_feature_lv_fail; + ignored_feature->lv = grub_zalloc (sizeof (*ignored_feature->lv)); + if (!ignored_feature->lv) + goto ignored_feature_lv_fail; + grub_memcpy (ignored_feature->lv, lv, sizeof (*ignored_feature->lv)); if (lv->fullname) { - cache->lv->fullname = grub_strdup (lv->fullname); - if (!cache->lv-&g
[PATCH 2/2] lvm: Add support for cachevol and integrity lv
lv matching must be done after processing the ignored feature indirections, as integrity volumes & caches may have several levels of indirection that the segments must be shifted through. pv matching must be completely finished before validating a volume, otherwise referenced raid stripes may not have pv data applied yet Signed-off-by: Patrick Plenefisch --- grub-core/disk/diskfilter.c | 6 ++- grub-core/disk/lvm.c| 85 +++-- 2 files changed, 57 insertions(+), 34 deletions(-) diff --git a/grub-core/disk/diskfilter.c b/grub-core/disk/diskfilter.c index 21e239511..dc3bd943b 100644 --- a/grub-core/disk/diskfilter.c +++ b/grub-core/disk/diskfilter.c @@ -966,8 +966,6 @@ grub_diskfilter_vg_register (struct grub_diskfilter_vg *vg) for (lv = vg->lvs; lv; lv = lv->next) { - grub_err_t err; - /* RAID 1 and single-disk RAID 0 don't use a chunksize but code assumes one so set one. */ for (i = 0; i < lv->segment_count; i++) @@ -979,6 +977,10 @@ grub_diskfilter_vg_register (struct grub_diskfilter_vg *vg) && lv->segments[i].stripe_size == 0) lv->segments[i].stripe_size = 64; } +} + for (lv = vg->lvs; lv; lv = lv->next) +{ + grub_err_t err; err = validate_lv(lv); if (err) diff --git a/grub-core/disk/lvm.c b/grub-core/disk/lvm.c index 10bc965a4..17e225596 100644 --- a/grub-core/disk/lvm.c +++ b/grub-core/disk/lvm.c @@ -805,13 +805,27 @@ grub_lvm_detect (grub_disk_t disk, seg->nodes[seg->node_count - 1].name = tmp; } } + /* Cache and integrity LVs have extra parts that + * we can ignore for our read-only access */ else if (grub_memcmp (p, "cache\"", - sizeof ("cache\"") - 1) == 0) + sizeof ("cache\"") - 1) == 0 + || grub_memcmp (p, "cache+CACHE_USES_CACHEVOL\"", + sizeof ("cache+CACHE_USES_CACHEVOL\"") - 1) == 0 + || grub_memcmp (p, "integrity\"", + sizeof ("integrity\"") - 1) == 0) { struct ignored_feature_lv *ignored_feature = NULL; char *p2, *p3; grub_size_t sz; +#ifdef GRUB_UTIL + p2 = grub_strchr (p, '"'); + if (p2) +*p2 = '\0'; + grub_util_info ("Ignoring extra metadata type '%s' for %s", p, lv->name); + if (p2) +*p2 ='"'; +#endif ignored_feature = grub_zalloc (sizeof (*ignored_feature)); if (!ignored_feature) @@ -892,7 +906,7 @@ grub_lvm_detect (grub_disk_t disk, char *p2; p2 = grub_strchr (p, '"'); if (p2) -*p2 = 0; +*p2 = '\0'; grub_util_info ("unknown LVM type %s", p); if (p2) *p2 ='"'; @@ -936,36 +950,6 @@ grub_lvm_detect (grub_disk_t disk, } } - /* Match lvs. */ - { -struct grub_diskfilter_lv *lv1; -struct grub_diskfilter_lv *lv2; -for (lv1 = vg->lvs; lv1; lv1 = lv1->next) - for (i = 0; i < lv1->segment_count; i++) -for (j = 0; j < lv1->segments[i].node_count; j++) - { -if (vg->pvs) - for (pv = vg->pvs; pv; pv = pv->next) -{ - if (! grub_strcmp (pv->name, - lv1->segments[i].nodes[j].name)) -{ - lv1->segments[i].nodes[j].pv = pv; - break; -} -} -if (lv1->segments[i].nodes[j].pv == NULL) - for (lv2 = vg->lvs; lv2; lv2 = lv2->next) -{ - if (lv1 == lv2) -continue; - if (grub_strcmp (lv2->name, - lv1->segments[i].nodes[j].name) == 0) -lv1->segments[i].nodes[j].lv = lv2; -} - } - - } { struct ignored_feature_lv *ignored_feature; @@ -1014,9 +998,46 @@ grub_lvm_detect (grub_disk_t disk, ignored_feature->lv = NULL; } } + else + { + +#ifdef GRUB_UTIL + grub_util_info ("Couldn't find LVM part of ignored feature on %s", ignored_feature->origin); +#endif + } } } + /* Match lvs. Must be done after cache and integrity are found */ + { +struct grub_diskfilter_lv *lv1; +struct grub_diskfilter_lv *lv2; +for (lv1 = vg->lvs; lv1; lv1 = lv1->next) + for (i = 0; i < lv1->segment_count; i++) +for (j = 0; j < lv1->segments[i].node_count; j++) + { +if (vg->pvs) + for (pv = vg->pvs; pv; pv = pv->
[PATCH 1/2] disk/lvm: Make cache_lv more generic as ignored_feature_lv
This patch isn't necessary by itself, but when combined with the next patch it enhances readability as ignored_features_lv is then used for multiple types of extra LV's, not just cache LV's Signed-off-by: Patrick Plenefisch --- grub-core/disk/lvm.c | 179 +++ 1 file changed, 77 insertions(+), 102 deletions(-) diff --git a/grub-core/disk/lvm.c b/grub-core/disk/lvm.c index 794248540..10bc965a4 100644 --- a/grub-core/disk/lvm.c +++ b/grub-core/disk/lvm.c @@ -34,12 +34,11 @@ GRUB_MOD_LICENSE ("GPLv3+"); -struct cache_lv +struct ignored_feature_lv { struct grub_diskfilter_lv *lv; - char *cache_pool; char *origin; - struct cache_lv *next; + struct ignored_feature_lv *next; }; @@ -105,30 +104,29 @@ grub_lvm_check_flag (const char *p, const char *str, const char *flag) } static void -grub_lvm_free_cache_lvs (struct cache_lv *cache_lvs) +grub_lvm_free_ignored_feature_lvs (struct ignored_feature_lv *ignored_feature_lvs) { - struct cache_lv *cache; + struct ignored_feature_lv *ignored_feature; - while ((cache = cache_lvs)) + while ((ignored_feature = ignored_feature_lvs)) { - cache_lvs = cache_lvs->next; + ignored_feature_lvs = ignored_feature_lvs->next; - if (cache->lv) + if (ignored_feature->lv) { unsigned int i; - for (i = 0; i < cache->lv->segment_count; ++i) -if (cache->lv->segments) - grub_free (cache->lv->segments[i].nodes); - grub_free (cache->lv->segments); - grub_free (cache->lv->fullname); - grub_free (cache->lv->idname); - grub_free (cache->lv->name); + for (i = 0; i < ignored_feature->lv->segment_count; ++i) +if (ignored_feature->lv->segments) + grub_free (ignored_feature->lv->segments[i].nodes); + grub_free (ignored_feature->lv->segments); + grub_free (ignored_feature->lv->fullname); + grub_free (ignored_feature->lv->idname); + grub_free (ignored_feature->lv->name); } - grub_free (cache->lv); - grub_free (cache->origin); - grub_free (cache->cache_pool); - grub_free (cache); + grub_free (ignored_feature->lv); + grub_free (ignored_feature->origin); + grub_free (ignored_feature); } } @@ -325,7 +323,7 @@ grub_lvm_detect (grub_disk_t disk, if (! vg) { - struct cache_lv *cache_lvs = NULL; + struct ignored_feature_lv *ignored_feature_lvs = NULL; /* First time we see this volume group. We've to create the whole volume group structure. */ @@ -810,105 +808,82 @@ grub_lvm_detect (grub_disk_t disk, else if (grub_memcmp (p, "cache\"", sizeof ("cache\"") - 1) == 0) { - struct cache_lv *cache = NULL; + struct ignored_feature_lv *ignored_feature = NULL; char *p2, *p3; grub_size_t sz; - cache = grub_zalloc (sizeof (*cache)); - if (!cache) -goto cache_lv_fail; - cache->lv = grub_zalloc (sizeof (*cache->lv)); - if (!cache->lv) -goto cache_lv_fail; - grub_memcpy (cache->lv, lv, sizeof (*cache->lv)); + ignored_feature = grub_zalloc (sizeof (*ignored_feature)); + if (!ignored_feature) +goto ignored_feature_lv_fail; + ignored_feature->lv = grub_zalloc (sizeof (*ignored_feature->lv)); + if (!ignored_feature->lv) +goto ignored_feature_lv_fail; + grub_memcpy (ignored_feature->lv, lv, sizeof (*ignored_feature->lv)); if (lv->fullname) { - cache->lv->fullname = grub_strdup (lv->fullname); - if (!cache->lv->fullname) -goto cache_lv_fail; + ignored_feature->lv->fullname = grub_strdup (lv->fullname); + if (!ignored_feature->lv->fullname) +goto ignored_feature_lv_fail; } if (lv->idname) { - cache->lv->idname = grub_strdup (lv->idname); - if (!cache->lv->idname) -goto cache_lv_fail; + ignored_feature->lv->idname = grub_strdup (lv->idname); + if (!ignored_feature->lv->idname) +goto ignored_feature_lv_fail; } if (lv->name) { - cache->lv->name = grub_strdup (lv->name); - if (!cache->lv->name) -goto cache_lv_fail; + ignored_feature->lv->name = grub_strdup (lv->name); + if (!ignored_feature->lv->name) +goto ignored_feature_lv_fail; }
[gentoo-commits] repo/gentoo:master commit in: sys-apps/syd/
commit: 8004dbfc628928e45c0371489495af38d666ead3 Author: Patrick Lauer gentoo org> AuthorDate: Sun Jun 9 18:15:22 2024 + Commit: Patrick Lauer gentoo org> CommitDate: Sun Jun 9 18:16:10 2024 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8004dbfc sys-apps/syd: add 3.21.2 Signed-off-by: Patrick Lauer gentoo.org> sys-apps/syd/Manifest | 4 + sys-apps/syd/syd-3.21.2.ebuild | 335 + 2 files changed, 339 insertions(+) diff --git a/sys-apps/syd/Manifest b/sys-apps/syd/Manifest index dd7c00373f8d..36c3301aeb49 100644 --- a/sys-apps/syd/Manifest +++ b/sys-apps/syd/Manifest @@ -180,8 +180,11 @@ DIST rand_xorshift-0.3.0.crate 9121 BLAKE2B 56c29e159c0beb9c751429130e84e4666f90 DIST redox_syscall-0.5.1.crate 22536 BLAKE2B b7766fcf35dd865fc98495f60da54ca9a6b4cff007f4323d1c63de5d1152766aa5517139b5ec50afca39d934360c701a180c4516feccbc2600085d5d72dabd2a SHA512 0952b5f4f79f2cff04b4c21d964df7b56bc0cbff8d8a2a9a7d38ba66fd69cbd0fb004cd3d8ac6feadde8d9590858cd7e1763da7e4a5de840cdef42b1b6f1e460 DIST redox_users-0.4.5.crate 15514 BLAKE2B 9fc9d9c4875ed711efb75fb08f345b5f4f0667717d37710143742e48251a709c53760bcbc31ce13e6432672f9417be429c38c2e77a6b786887841714290a1194 SHA512 7a25cc91c9d1bfe537f20b83255990681d136ced5aaa7aa0cdb1b1fc024ba36aa1fb75c335c768a85ee078019a9ca2460efd911cad8ae6fe8b0385fb171aa4b4 DIST regex-1.10.4.crate 253191 BLAKE2B 08bdb925efbea1ee9f885a89ec6b4692e39d7b17039f788e5b3c1dbfb7847d4f53b67f0c61e4085af7ef4901e67e33ea94948668bf706fef19b4102a06ef0447 SHA512 88ef121a51759f418d5dc01607a6e02651bd00343dae92962c02a80f30343d3f079a0375457780ce46bf205ca38f279b03989154638199fe2fcede10554bf21b +DIST regex-1.10.5.crate 253805 BLAKE2B 9f5418b577209051640c3614a98b15604a1e71144763a6f00caa7757f0ff67fd833a7d14fe9d6acef96386a2a4eb60cf5d490472e73fd62ca8bb0e78d4f9f125 SHA512 177fddb001e14281510e34070f88f8e5167278a46f1d93d9286d9606b7673346f504e4064d7ad53558e6988a400c728e33b663ab398fee12ae23fba7158da5fb DIST regex-automata-0.4.6.crate 617565 BLAKE2B 8f1e2a3cc1d2d50478776281d2bf10164ef441dcf7127994f4a0341ec40588ec8dc1c07fdf9f670da9e61a7753551500b80314df130370b61d2c03c2b2e3135a SHA512 b288e1facae2612f73d3de3fe9fd1af13d337107004f990263abe6277b31b948478ad9c2b807dcafa73fa565e48bdf2113139f5ca67eb73165b7d29e2ee5c9f1 +DIST regex-automata-0.4.7.crate 617582 BLAKE2B 6295d866706b623b2025fdc0c407086fec15053229d708713d0ec165bd526ba25e7468d0009625cbbbc21d20345f0af2eea10addf6de633e8e6a02dddced67b8 SHA512 b19d00d64bb8cd833cfb35fabb162b9481716f4b7f6035c1c8f1de4e0f90e00823d006e057aa3505aeda48c9e1802e61173c4a2878891129a3a918727e43b0d3 DIST regex-syntax-0.8.3.crate 347497 BLAKE2B 9ac2f63098ffa3fff51fe2bc0bcf9ef164cf9389a909a3f0cb668d2598e7ca65d573e47d571ee2e6bba3a1a96ef7c298b8d681e1ef89c8c53b7d590e0e22839b SHA512 925f7bcc50d94c65d34fcc770c6e58dd5b8a045541c0109e77b8efe842eef4c110087ac9c0f86c7c3022ed013abbc5c0a187d796dce292ad5361a0cdf7153d76 +DIST regex-syntax-0.8.4.crate 347577 BLAKE2B 400323cdad2a7daa8d4006e4dd7a7b1234704df0f80ca0f4bb19447f8f1d270053bc8aa613e48291ab3a78c7eb02d7afec57bfc8d966a48b372a4c80de9b120c SHA512 10719c138d9aa304106fcbf77da0b01645d1b6fbc621abb639dbd43ed5fc3dbd22aaad8b86df55a60e7b2b4fc347b6f41419131d7b047273e146073250d892ed DIST rs_hasher_ctx-0.1.3.crate 9896 BLAKE2B 16e3250944c9836bd36d94327605c664fc4f059287b244c5aab74963acc436f076e27378e70a5ab9db47152fda741f8a5392e60712d4e37082f72aada8647299 SHA512 93b8668712639e945f6246edfbec5e62e3472a827821c2685da43ae1a9a38b7f29aca5432cff12f0233d0960f72e4cfb1c39628f1968810ea6332bfb75551c3c DIST rs_internal_hasher-0.1.3.crate 10707 BLAKE2B b5c9cc3033363d0c14452d8712427e466daab7763250b2f32df261ace2bb85da4e4f4062390fd59adb85107de7cb7a6471bb8f8640bd85caddceee2b97138232 SHA512 b016ee365d9a6b73b51dc07b32b0a21a08e93a5993d82f773bf480ae1b470448db357e9bceb6db2e57af8c6269cda43b3b9734f5f58c21c44064527a18c0380f DIST rs_internal_state-0.1.3.crate 19150 BLAKE2B 18f53dcc99d430cff8b923cb7e183aa8b2afe7affb50e7d1a0ce465b28e18413689f9e477185fcb3756557c6d736167073d2e0b5bb9f47456eeaf91447f3d8c7 SHA512 82853d1fc636d2523b011abdcc3e4e49c6c0d88c7498a1bb96867495cd4e82947866b5f8eb9457823bbea0fae64082762ba9656378a99614ea03fe92181cf39d @@ -218,6 +221,7 @@ DIST strum_macros-0.26.2.crate 27056 BLAKE2B c9df13a91dd08f8bba0dfeec4fc03b59cd7 DIST strum_macros-0.26.4.crate 27531 BLAKE2B 7f7d57c957a1591054288fcae6590a5e669fba1b47d8f1a52371ce60fd84f91fdb430e48cc7edbb5fc72914be5ce12af29758b653680da3f4177339b31206750 SHA512 77a17ce47d5e8fe8a89cb6aa6c3ca5d5c2625aea0f93456f05a9994238cd3b08b3f7c6a45e9b3db21bca8fb5759f505f15cc111ac84acbbb34d59cdae8307b0b DIST syd-3.20.0.tar.gz 762148 BLAKE2B 9b904d4ccb4161bf5c5ee0e056b2e0e042e9c180356b7a18570527559a7c4ff62ed3161680842681cea4f1fe7368ef6bbee611a956f2b1e5486b4aff35f1fb51 SHA512 cf0ed7f79b3c77b563b2da7be10486bb47ad070a69fe3998240dd7a7906fc6ca95aeba4b69c879564abfe6196239b34edae4b8da1f329261a5d4577798d686f9 DIST syd-3.21.1.tar.gz 73350
[gentoo-commits] repo/gentoo:master commit in: sys-apps/syd/
commit: 7e490ceca5b457cd8c5b2d9df1346960746def12 Author: Patrick Lauer gentoo org> AuthorDate: Sun Jun 9 18:15:58 2024 + Commit: Patrick Lauer gentoo org> CommitDate: Sun Jun 9 18:16:10 2024 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7e490cec sys-apps/syd: drop 3.21.1 Signed-off-by: Patrick Lauer gentoo.org> sys-apps/syd/Manifest | 1 - sys-apps/syd/syd-3.21.1.ebuild | 335 - 2 files changed, 336 deletions(-) diff --git a/sys-apps/syd/Manifest b/sys-apps/syd/Manifest index 36c3301aeb49..21f2f0d8fa0e 100644 --- a/sys-apps/syd/Manifest +++ b/sys-apps/syd/Manifest @@ -220,7 +220,6 @@ DIST strum-0.26.2.crate 7189 BLAKE2B 7582fe304551e98b121d3a386af22bc022d7d11323b DIST strum_macros-0.26.2.crate 27056 BLAKE2B c9df13a91dd08f8bba0dfeec4fc03b59cd74eafaace7d2d228b8636264a9ea11137d0be741a936f7290e09525586818726000f07ed84a5ae711b89d61f52e89e SHA512 519bc654adcf131d85d1ef83f62be2429f7472df25cf962fdc1cf5070d33c39dfe71f08fbf296df9b85fdfcda95cf2fea27e8e52e9ae93de27bb8fc4a5b55dd1 DIST strum_macros-0.26.4.crate 27531 BLAKE2B 7f7d57c957a1591054288fcae6590a5e669fba1b47d8f1a52371ce60fd84f91fdb430e48cc7edbb5fc72914be5ce12af29758b653680da3f4177339b31206750 SHA512 77a17ce47d5e8fe8a89cb6aa6c3ca5d5c2625aea0f93456f05a9994238cd3b08b3f7c6a45e9b3db21bca8fb5759f505f15cc111ac84acbbb34d59cdae8307b0b DIST syd-3.20.0.tar.gz 762148 BLAKE2B 9b904d4ccb4161bf5c5ee0e056b2e0e042e9c180356b7a18570527559a7c4ff62ed3161680842681cea4f1fe7368ef6bbee611a956f2b1e5486b4aff35f1fb51 SHA512 cf0ed7f79b3c77b563b2da7be10486bb47ad070a69fe3998240dd7a7906fc6ca95aeba4b69c879564abfe6196239b34edae4b8da1f329261a5d4577798d686f9 -DIST syd-3.21.1.tar.gz 733506 BLAKE2B 5dcd1b628c317cf353b2a10b790dcdca41563d4d1e850fbfaf57a3442e88684110e7de2999388fa4e57565e2a99d5b4ac08e52405db38c51f6390cd1f43be5ed SHA512 411ab13a70a6952cbed6b8db5437ff6c67ae7558dd94bb534ebc98a93ff7f6e114a8395fee23170071a36b339b21cc3fc5943a0d663cdb0dde0fcee75260559f DIST syd-3.21.2.tar.gz 735910 BLAKE2B 6aa99f590201479b8d1239eab3ca960deeeb662b82ba69848ba2839547fe400c40e1d6d3748fbe2741a2cf2e46edc8cc20824ccea4b7aeaf7a929b4d35236f88 SHA512 87b037f54e565ea65d8397df3e4b9d7c286d5784910051bf29dffef2ca5a3cdc80590887119db1556ea1a642be49b54b14ebfbcde583db3ccee7dbc4959eca54 DIST syn-1.0.109.crate 237611 BLAKE2B e827445d00c79a8eeb91eacde472f1987addd6ce9e1df95d7abf6446a77ff4173a8006845f3ae71c1da47193cfb72e0ead9a6d6bad2573be12c17e90735d9ad9 SHA512 12816b9e8cf984024b2fbce9f0ae14cf94d4d2c06f08cc54fb793ce78770bb4cc1288eb7df0ba5e8e937756e1e8e295c53fe07a0c5dde1ea8ddba03b6203b37d DIST syn-2.0.66.crate 264855 BLAKE2B 5029091b2cfa88e5c739be913a647dc9492696398c09b891f84089350e6f09baafd9935b81e0f3519d5465eff2e1822ef6cdc96c15d6a40d1b6b8dd2f9e7d073 SHA512 60a617bfd37d74c52e4d4d63ef0a27a2f9b982469a6926922f2f6e96754a0c66affb0847b9a44d505c053cbd788b97e998efb8d1e558ea00ae4a0b7f15bed9b0 diff --git a/sys-apps/syd/syd-3.21.1.ebuild b/sys-apps/syd/syd-3.21.1.ebuild deleted file mode 100644 index 6b19060e17f9.. --- a/sys-apps/syd/syd-3.21.1.ebuild +++ /dev/null @@ -1,335 +0,0 @@ -# Copyright 2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -RESTRICT="test" # fails with sandbox - -CRATES=" - addr2line@0.22.0 - adler@1.0.2 - ahash@0.8.11 - aho-corasick@1.1.3 - allocator-api2@0.2.18 - android-tzdata@0.1.1 - android_system_properties@0.1.5 - anes@0.1.6 - anstream@0.6.14 - anstyle-parse@0.2.4 - anstyle-query@1.1.0 - anstyle-wincon@3.0.3 - anstyle@1.0.7 - anyhow@1.0.86 - argv@0.1.11 - autocfg@1.3.0 - backtrace@0.3.72 - bitflags@1.3.2 - bitflags@2.5.0 - bstr@1.9.1 - bumpalo@3.16.0 - byteorder@1.5.0 - caps@0.5.5 - cast@0.3.0 - cc@1.0.99 - cfg-if@1.0.0 - cfg_aliases@0.2.1 - chrono@0.4.38 - ciborium-io@0.2.2 - ciborium-ll@0.2.2 - ciborium@0.2.2 - clap@4.5.6 - clap_builder@4.5.6 - clap_derive@4.5.5 - clap_lex@0.7.1 - colorchoice@1.0.1 - const-hex@1.12.0 - core-foundation-sys@0.8.6 - cpufeatures@0.2.12 - crc32fast@1.4.2 - criterion-plot@0.5.0 - criterion@0.5.1 - crossbeam-channel@0.5.13 - crossbeam-deque@0.8.5 - crossbeam-epoch@0.9.18 - crossbeam-queue@0.3.11 - crossbeam-utils@0.8.20 - crossbeam@0.8.4 - crunchy@0.2.2 - cty@0.2.2 - darling@0.20.9 - darling_core@0.20.9 - darling_macro@0.20.9 - derive_builder@0.20.0 - derive_builder_core@0.20.0 - derive_builder_macro@0.20.0 - dirs-sys@0.4.1 - dirs@5.0.1 - either@1.12.0 - env_filter@0.1.0 - env_logger@0.11.3 - equivalent@1.0.1 - errno@0.3.9 - fastrand@2.1.0 - fixedbitset@0.4.2 - fixedbitset@0.5
[ovirt-users] Re: Unable to access the oVirt Manager console and are also unable to connect via SSH
Hello. Could you try to connect to engine using "hosted-engine --console" command? ___ Users mailing list -- users@ovirt.org To unsubscribe send an email to users-le...@ovirt.org Privacy Statement: https://www.ovirt.org/privacy-policy.html oVirt Code of Conduct: https://www.ovirt.org/community/about/community-guidelines/ List Archives: https://lists.ovirt.org/archives/list/users@ovirt.org/message/UBT7YOLWOGXDGLMPRJ5OYDJPKBQ4O4DE/
[ovirt-users] HCI Gluster Hosted Engine unexpected behavior
Hey, everybody. I have 3 hosts on which Gluster replica 3 volume called “engine” is deployed. When I try to put 2 of the 3 hosts into maintenance mode, my deployment crashes. I originally expected that with replica 3 I could shut down 2 of the hosts and everything would work. However, I saw that the default for Gluster is quorum server not allowing more than one host to be disabled. But even after disabling the quorum and verifying that the Gluster disk is available with one host enabled, Hosted Engine still does not access the storage. Who can explain me then the point of using replica 3 if I can't disable 2 hosts and is there any way to fix this behavior? ___ Users mailing list -- users@ovirt.org To unsubscribe send an email to users-le...@ovirt.org Privacy Statement: https://www.ovirt.org/privacy-policy.html oVirt Code of Conduct: https://www.ovirt.org/community/about/community-guidelines/ List Archives: https://lists.ovirt.org/archives/list/users@ovirt.org/message/QP5JE2SMNENYH4LAHY3IKU4TCC3YPBHR/
[gentoo-commits] repo/gentoo:master commit in: sys-apps/syd/
commit: 5b59d798bf36d0097527d8b2003c7d673ead66dc Author: Patrick Lauer gentoo org> AuthorDate: Sun Jun 9 05:51:08 2024 + Commit: Patrick Lauer gentoo org> CommitDate: Sun Jun 9 05:51:45 2024 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5b59d798 sys-apps/syd: drop 3.21.0 Signed-off-by: Patrick Lauer gentoo.org> sys-apps/syd/Manifest | 1 - sys-apps/syd/syd-3.21.0.ebuild | 335 - 2 files changed, 336 deletions(-) diff --git a/sys-apps/syd/Manifest b/sys-apps/syd/Manifest index 76a26f8b86aa..dd7c00373f8d 100644 --- a/sys-apps/syd/Manifest +++ b/sys-apps/syd/Manifest @@ -217,7 +217,6 @@ DIST strum-0.26.2.crate 7189 BLAKE2B 7582fe304551e98b121d3a386af22bc022d7d11323b DIST strum_macros-0.26.2.crate 27056 BLAKE2B c9df13a91dd08f8bba0dfeec4fc03b59cd74eafaace7d2d228b8636264a9ea11137d0be741a936f7290e09525586818726000f07ed84a5ae711b89d61f52e89e SHA512 519bc654adcf131d85d1ef83f62be2429f7472df25cf962fdc1cf5070d33c39dfe71f08fbf296df9b85fdfcda95cf2fea27e8e52e9ae93de27bb8fc4a5b55dd1 DIST strum_macros-0.26.4.crate 27531 BLAKE2B 7f7d57c957a1591054288fcae6590a5e669fba1b47d8f1a52371ce60fd84f91fdb430e48cc7edbb5fc72914be5ce12af29758b653680da3f4177339b31206750 SHA512 77a17ce47d5e8fe8a89cb6aa6c3ca5d5c2625aea0f93456f05a9994238cd3b08b3f7c6a45e9b3db21bca8fb5759f505f15cc111ac84acbbb34d59cdae8307b0b DIST syd-3.20.0.tar.gz 762148 BLAKE2B 9b904d4ccb4161bf5c5ee0e056b2e0e042e9c180356b7a18570527559a7c4ff62ed3161680842681cea4f1fe7368ef6bbee611a956f2b1e5486b4aff35f1fb51 SHA512 cf0ed7f79b3c77b563b2da7be10486bb47ad070a69fe3998240dd7a7906fc6ca95aeba4b69c879564abfe6196239b34edae4b8da1f329261a5d4577798d686f9 -DIST syd-3.21.0.tar.gz 732770 BLAKE2B 27b74fe269d2c63de18e946fa2acac469f6bb54a80ccfd11dd20e5476abb6e50f39a5f4c69b39ce999f9721dbdf975fde9823ce385b83678a8d2e4d1cc9d5074 SHA512 35e96a05bbfad0f0e83c183ffd5c23cd9a3381a676f467af823fc4865e05bfdc93e6005b94edace22c09282d8ba61a16c3477bee8bf457d8095bc3ca0bac967f DIST syd-3.21.1.tar.gz 733506 BLAKE2B 5dcd1b628c317cf353b2a10b790dcdca41563d4d1e850fbfaf57a3442e88684110e7de2999388fa4e57565e2a99d5b4ac08e52405db38c51f6390cd1f43be5ed SHA512 411ab13a70a6952cbed6b8db5437ff6c67ae7558dd94bb534ebc98a93ff7f6e114a8395fee23170071a36b339b21cc3fc5943a0d663cdb0dde0fcee75260559f DIST syn-1.0.109.crate 237611 BLAKE2B e827445d00c79a8eeb91eacde472f1987addd6ce9e1df95d7abf6446a77ff4173a8006845f3ae71c1da47193cfb72e0ead9a6d6bad2573be12c17e90735d9ad9 SHA512 12816b9e8cf984024b2fbce9f0ae14cf94d4d2c06f08cc54fb793ce78770bb4cc1288eb7df0ba5e8e937756e1e8e295c53fe07a0c5dde1ea8ddba03b6203b37d DIST syn-2.0.66.crate 264855 BLAKE2B 5029091b2cfa88e5c739be913a647dc9492696398c09b891f84089350e6f09baafd9935b81e0f3519d5465eff2e1822ef6cdc96c15d6a40d1b6b8dd2f9e7d073 SHA512 60a617bfd37d74c52e4d4d63ef0a27a2f9b982469a6926922f2f6e96754a0c66affb0847b9a44d505c053cbd788b97e998efb8d1e558ea00ae4a0b7f15bed9b0 diff --git a/sys-apps/syd/syd-3.21.0.ebuild b/sys-apps/syd/syd-3.21.0.ebuild deleted file mode 100644 index c39e1dc7ca0f.. --- a/sys-apps/syd/syd-3.21.0.ebuild +++ /dev/null @@ -1,335 +0,0 @@ -# Copyright 2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -RESTRICT="test" # fails with sandbox - -CRATES=" - addr2line@0.22.0 - adler@1.0.2 - ahash@0.8.11 - aho-corasick@1.1.3 - allocator-api2@0.2.18 - android-tzdata@0.1.1 - android_system_properties@0.1.5 - anes@0.1.6 - anstream@0.6.14 - anstyle-parse@0.2.4 - anstyle-query@1.1.0 - anstyle-wincon@3.0.3 - anstyle@1.0.7 - anyhow@1.0.86 - argv@0.1.11 - autocfg@1.3.0 - backtrace@0.3.72 - bitflags@1.3.2 - bitflags@2.5.0 - bstr@1.9.1 - bumpalo@3.16.0 - byteorder@1.5.0 - caps@0.5.5 - cast@0.3.0 - cc@1.0.99 - cfg-if@1.0.0 - cfg_aliases@0.2.1 - chrono@0.4.38 - ciborium-io@0.2.2 - ciborium-ll@0.2.2 - ciborium@0.2.2 - clap@4.5.6 - clap_builder@4.5.6 - clap_derive@4.5.5 - clap_lex@0.7.1 - colorchoice@1.0.1 - const-hex@1.12.0 - core-foundation-sys@0.8.6 - cpufeatures@0.2.12 - crc32fast@1.4.2 - criterion-plot@0.5.0 - criterion@0.5.1 - crossbeam-channel@0.5.13 - crossbeam-deque@0.8.5 - crossbeam-epoch@0.9.18 - crossbeam-queue@0.3.11 - crossbeam-utils@0.8.20 - crossbeam@0.8.4 - crunchy@0.2.2 - cty@0.2.2 - darling@0.20.9 - darling_core@0.20.9 - darling_macro@0.20.9 - derive_builder@0.20.0 - derive_builder_core@0.20.0 - derive_builder_macro@0.20.0 - dirs-sys@0.4.1 - dirs@5.0.1 - either@1.12.0 - env_filter@0.1.0 - env_logger@0.11.3 - equivalent@1.0.1 - errno@0.3.9 - fastrand@2.1.0 - fixedbitset@0.4.2 - fixedbitset@0.5
[gentoo-commits] repo/gentoo:master commit in: sys-apps/syd/
commit: 20abed36d6e584210c95c05f09c19aaaf17129b5 Author: Patrick Lauer gentoo org> AuthorDate: Sun Jun 9 05:50:48 2024 + Commit: Patrick Lauer gentoo org> CommitDate: Sun Jun 9 05:51:45 2024 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=20abed36 sys-apps/syd: add 3.21.1 Signed-off-by: Patrick Lauer gentoo.org> sys-apps/syd/Manifest | 2 + sys-apps/syd/syd-3.21.1.ebuild | 335 + 2 files changed, 337 insertions(+) diff --git a/sys-apps/syd/Manifest b/sys-apps/syd/Manifest index b4428e51f6de..76a26f8b86aa 100644 --- a/sys-apps/syd/Manifest +++ b/sys-apps/syd/Manifest @@ -218,6 +218,7 @@ DIST strum_macros-0.26.2.crate 27056 BLAKE2B c9df13a91dd08f8bba0dfeec4fc03b59cd7 DIST strum_macros-0.26.4.crate 27531 BLAKE2B 7f7d57c957a1591054288fcae6590a5e669fba1b47d8f1a52371ce60fd84f91fdb430e48cc7edbb5fc72914be5ce12af29758b653680da3f4177339b31206750 SHA512 77a17ce47d5e8fe8a89cb6aa6c3ca5d5c2625aea0f93456f05a9994238cd3b08b3f7c6a45e9b3db21bca8fb5759f505f15cc111ac84acbbb34d59cdae8307b0b DIST syd-3.20.0.tar.gz 762148 BLAKE2B 9b904d4ccb4161bf5c5ee0e056b2e0e042e9c180356b7a18570527559a7c4ff62ed3161680842681cea4f1fe7368ef6bbee611a956f2b1e5486b4aff35f1fb51 SHA512 cf0ed7f79b3c77b563b2da7be10486bb47ad070a69fe3998240dd7a7906fc6ca95aeba4b69c879564abfe6196239b34edae4b8da1f329261a5d4577798d686f9 DIST syd-3.21.0.tar.gz 732770 BLAKE2B 27b74fe269d2c63de18e946fa2acac469f6bb54a80ccfd11dd20e5476abb6e50f39a5f4c69b39ce999f9721dbdf975fde9823ce385b83678a8d2e4d1cc9d5074 SHA512 35e96a05bbfad0f0e83c183ffd5c23cd9a3381a676f467af823fc4865e05bfdc93e6005b94edace22c09282d8ba61a16c3477bee8bf457d8095bc3ca0bac967f +DIST syd-3.21.1.tar.gz 733506 BLAKE2B 5dcd1b628c317cf353b2a10b790dcdca41563d4d1e850fbfaf57a3442e88684110e7de2999388fa4e57565e2a99d5b4ac08e52405db38c51f6390cd1f43be5ed SHA512 411ab13a70a6952cbed6b8db5437ff6c67ae7558dd94bb534ebc98a93ff7f6e114a8395fee23170071a36b339b21cc3fc5943a0d663cdb0dde0fcee75260559f DIST syn-1.0.109.crate 237611 BLAKE2B e827445d00c79a8eeb91eacde472f1987addd6ce9e1df95d7abf6446a77ff4173a8006845f3ae71c1da47193cfb72e0ead9a6d6bad2573be12c17e90735d9ad9 SHA512 12816b9e8cf984024b2fbce9f0ae14cf94d4d2c06f08cc54fb793ce78770bb4cc1288eb7df0ba5e8e937756e1e8e295c53fe07a0c5dde1ea8ddba03b6203b37d DIST syn-2.0.66.crate 264855 BLAKE2B 5029091b2cfa88e5c739be913a647dc9492696398c09b891f84089350e6f09baafd9935b81e0f3519d5465eff2e1822ef6cdc96c15d6a40d1b6b8dd2f9e7d073 SHA512 60a617bfd37d74c52e4d4d63ef0a27a2f9b982469a6926922f2f6e96754a0c66affb0847b9a44d505c053cbd788b97e998efb8d1e558ea00ae4a0b7f15bed9b0 DIST tabwriter-1.4.0.crate 9951 BLAKE2B 8833c5a7f37749268187e60d95b07262e77c461ab868cd934e58031703dc0c9ea83b8757e681747900dc07eb5c8e41e589d9c37568b66ca25c95f0fbf07c8a8c SHA512 066846124e3beee816f76ed3a59fb224593537ce5807aa472fbcd0cb98f638dba6801d171b6d1026e56b6eaae6f2e873d64c190c97bbd8d6ffeffc82f3b4d52f @@ -238,6 +239,7 @@ DIST unicode-ident-1.0.12.crate 42168 BLAKE2B 4cede03c08758ccd6bf53a0d0057d7542d DIST unicode-width-0.1.12.crate 24062 BLAKE2B 61afd22353d46a8a77519af9b3580d75dafc7965967f7724cb740f1ee199c7742b3549ad6c67776b876dbda5b8f27c634431f68517e29a72ade1622da9fde446 SHA512 0bafd7a69bdf49c849e7c063ebf0487eca8a76244e3bc18c9a5f4609465dc0e5d482daceb6a9a6f4125b801bf7063cb8225fdb55173e5dc55e7bf278300df1b4 DIST unicode-width-0.1.13.crate 457228 BLAKE2B 757c4da5fa090369a26130b08440c2348f1cd1c0dfbb6770dd75b65eba797eaa65f5d683f0c2862cced06124d46a89b4825af0d990f6adc2df8709b8ef291665 SHA512 9781d6dab2c6343e8c28ec66b50cb4293261bb2114e122fa80ad2facdb23020f5b621c38030193b918669e58adf143808e5ab4c507c18beb6dc61e97b2e296f4 DIST utf8parse-0.2.1.crate 13435 BLAKE2B a1c111d7ffc60690f2aaa86f034c66ba1abe4e126f1774a4377d41eba3269369862f57515af387ea785d69a8adf46338b5e53761b5ee6f4f4380473f4d9cab0a SHA512 51fba8f1e7eb74b7020fd831e30a67fc8353ac2ee07335c8c3374a5570ac8117f165f6905d4b7f0360095b7b5ed3e739001d02a8cc3c89195baf2cd679136050 +DIST utf8parse-0.2.2.crate 13499 BLAKE2B 095b5d219ab8ff04c06fd6303e03d913ae36a57845f0b2ca3217a40e31a54cb0fb5ecedbde165d28f5f60f1553d8252986d7098fa83befc84a7cb20bf3b76144 SHA512 f3dbf78fe924f1dc3cf9498b6e43fb10174699463f31091a7a8136d8f31ec84fc00e80e3d8551b7e86257e8b3573cfddb56fc0de797fdb2cde0e962a8f239266 DIST valuable-0.1.0.crate 27718 BLAKE2B ef5ded994c9a6dd302bed27f0d757447b0c86dfefa499c1ef0d25c3a6745ce61cfa2c926826534c9f605f9b89b4a19f91f06f94ae7c03f1ddc4c58fab3ae58bb SHA512 a97f65db1f1c5049a276dbb0e45e25c6fc6ce9d27ac1fcd77c945324cd8216ef60344065c79799ca04e338455e4f7422c44078eea32d5fc359dd0211ee7eb387 DIST version_check-0.9.4.crate 14895 BLAKE2B fa1fa4008af165bfc1fdbe560488afd9d232cfafee94104fbcc4cbc52f234849bff9ddfa88109a1ac682f6d9c1d86b0459893d223f64e65adc08966aaf93dc89 SHA512 b172dc9a3759a4a683ffc39b9a40b03b9974b626a088217de87090466cef695226557c226cf3e469b2b25ee7297b7eb0d7719878cab42457f80146a81943c0c8 DIST walkdir-2.5.0.crate 2395
update
Hello, I update a machine by dnf system-upgrade download --releasever=40 However, I had to run dnf system-upgrade download --releasever=40 --allowerasing But I forgot to save the list of files which had to be removed. Can I recover the list of files which have been erased? Thanks === Patrick DUPRÉ | | email: pdu...@gmx.com === -- ___ users mailing list -- users@lists.fedoraproject.org To unsubscribe send an email to users-le...@lists.fedoraproject.org Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue
[gentoo-commits] repo/gentoo:master commit in: sys-apps/syd/
commit: 334e7ac76ea7179939d1a925a7d9b3fa08146afd Author: Patrick Lauer gentoo org> AuthorDate: Sat Jun 8 06:22:36 2024 + Commit: Patrick Lauer gentoo org> CommitDate: Sat Jun 8 06:23:31 2024 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=334e7ac7 sys-apps/syd: drop 3.19.0 Signed-off-by: Patrick Lauer gentoo.org> sys-apps/syd/Manifest | 21 --- sys-apps/syd/syd-3.19.0.ebuild | 326 - 2 files changed, 347 deletions(-) diff --git a/sys-apps/syd/Manifest b/sys-apps/syd/Manifest index 176d81a7f4ac..b4428e51f6de 100644 --- a/sys-apps/syd/Manifest +++ b/sys-apps/syd/Manifest @@ -1,4 +1,3 @@ -DIST addr2line-0.21.0.crate 40807 BLAKE2B 9796b9a1177a299797902b7f64247d81d63d3f7e0dcc1256990628e84c5f92e3094ee8d753d9b72187b9aaa73b7ca67c0217899f2226ebd1076f8d25b458475b SHA512 afde7660dda30dee240e79df1fb5b92d4572520bf17a134ef3765e2a077af9e13713952d52e27fae420109b40f6e24dbce1056687dbcbead858ffc21cc7dc69b DIST addr2line-0.22.0.crate 39156 BLAKE2B 3fbb55f6cacbb177d06359bcd39885247a9eeef96d95ffac0dfd1d45ed394dcd1e9e069c02c71a9ffca0b69e3a974e4d96bc3385470ee39c87d7a30ea7914303 SHA512 b334f51bd369348b4446805b4f624ec9b4cc8eefcc53ceb57b523ff55bf018d1dfe23259daf48d1878170ad4fcb44181d4738456eb5e35ede6932ff29686268e DIST adler-1.0.2.crate 12778 BLAKE2B a1dc17786adae945ac09d3525e609ed944e6465690787bbb831a1b9d53793cba1989793d0a5606d5d23ee20d36457923d451b1b3530c9ec7072a487aa3e55bbd SHA512 7ab190d31890fc05b0b55d8e2c6527a505e06793d5496be0b3831e0513412f9ba97f8148f6f68ed0770fa9cd980a5092d885e058becf1d5506b7c74b82674aa1 DIST ahash-0.8.11.crate 43607 BLAKE2B 7dff8e41798ba25df8c4827ff414a182bb25da4825f0119a74916fe775db5445b87be8fc87f7c7f98d3b5053e1d47546f98873de1a942d36e5f308a3fb7dd620 SHA512 47d211b2422de0b381dfe32229faa346406eb7a22dff867dc04c22389609a8671ce3218e662000c49891a06c259d82e0ff4413740f007729d80e097a6c3f0d9d @@ -16,7 +15,6 @@ DIST anstyle-wincon-3.0.3.crate 12179 BLAKE2B 37793975a05ad60bb2b670c208db11c5cd DIST anyhow-1.0.86.crate 46741 BLAKE2B 21b1f3acd1c1b659e6e9a53693178de67c806d7dbad30dedea0fb7078b2388baa196d1e7240a7dc88ed9dc93ee4c00bca8e608dad1b6bfb5bfa4f4c5ab51f0d3 SHA512 3853da32a2c53d73969bb29a1e622f3a6d5832ddc6bc8eedb76394b392f983aa3fcb1f542933e238841486106f0f38e9a2400c12c7699baba0ebe1d8193a DIST argv-0.1.11.crate 8683 BLAKE2B 44344e0f3678b159b64d06287d58508479831dc0bd7b044a1ccaebfffdd9023508da5d86f3e6d8af8579cf5351f6c8963581af978ca46bb0b87a37c1802e67d8 SHA512 011e8d5333b305387d7667bbcd4d3e694fb73d16ba4c51a10969d5dae7a7a4286f8583c160949fc2724c56c7d47c618813d0dd55c42665c8c2d1cccfcaf414a3 DIST autocfg-1.3.0.crate 16524 BLAKE2B 7d5a03853d6b4f0da08d8e139fb200da21e47fa7e50d1956270d0ff0cc496f660f8f800122c95eee9ba98d9210ab200c3010b782097483d12d6be4ac0df0e7c9 SHA512 a5570b955d57a7183ba148b335837dc5af24b202e80681027536d33fe2822509ba644fc70c29f018c893285ced2bf6774f44ca6c59f7c7e2226d5349cf7c3635 -DIST backtrace-0.3.71.crate 86553 BLAKE2B 15ed93574fb9e8e28d5ad901bb1f94013b5fec7a79aa96d17f13f6f11a02d29a274ec14ce51a9f515574839aa41232e5aaf6e6fa3ad9c0483591055bd0a78c8a SHA512 5d9307757349e860fb4cab7e9ba1c9d0f1faf49ebcd935ba879b85fed2a9812786c7458abb59a742842a0796fc29ce9921cf575792402486ecdbd9a2568cdd89 DIST backtrace-0.3.72.crate 87877 BLAKE2B c4b4736cb9728e3c1b1d9035528abfd9b989b7fc42b7a2d68eb8fe802084f888d281624233dbd942c08024b35affee6488bb7ea859d8faea65f2ec191c250a56 SHA512 b0bb4759b56cf0953d933b1fdd4b597d10ba1e6c0f7fd4b6504647f9c996644cbf6b473e49a8ef4b85828cfd05ffd68c3e9356b509812c0935f15f1a6dbf0018 DIST bitflags-1.3.2.crate 23021 BLAKE2B eb990bb27b2bdeb66fd7212ce582cb36e1c616debbac85df642d0c82b25439e6bf9b1e811fac76b59e58ea3c1bbea6170d03a61e8f9a395e4334a0e2e2987eda SHA512 3c698f757b5cc62f815f9a1cce365c3d2dd88e4db71f331dff8bba86c2865f755b81cb4c9bfc59bd86b7643b0943f9e09a7c4f8ad75eb2ab0e714803d0129f62 DIST bitflags-2.5.0.crate 43821 BLAKE2B 2d2a78b0a19dcb39580e6f73ed6c468b0626043010b34661084944c83561fe49db24bee1ab57fd692d57617be6506d529e095aea27b753a77e26d0b1ebf7ed78 SHA512 75d7a89e53e5e7582591932bc430e6a1db7ed0f914ded6dbcf957125be52975598df7fee14ef816f66544432ef0505f0a081f3794d17138ec429e283fe14fcf9 @@ -25,11 +23,9 @@ DIST bumpalo-3.16.0.crate 85677 BLAKE2B 08da17b757931d2910e0299df53eb62731aa8c4e DIST byteorder-1.5.0.crate 23288 BLAKE2B 7f85a7948406844070a2c8202e0bd52f73b3dfc7c666a97046128044eb9352195afb80e2bf894c0742ad109e4473339de1365d09591de70dfec6c8c02a8e1453 SHA512 96caf981177f6ded9f27f025922cb94eb0cd9de5303bd91680099912d922092e77b7361efa70011e84f1595e443193e4f1b354443b9980c123f6ae573b236f7f DIST caps-0.5.5.crate 17575 BLAKE2B 77d788f936eb36c2f4776ee719cdc138dac4b840ce632190f34ed26e705175209f9905c71d96d54f0c69f4c6d25f0a203a4d490f2034c330480bedd5ffab149e SHA512 866312aa0f3847dc2779570d1466aaae00945d78a2f5f3b05a833c67a2abd04c0380715f61dce79814845e4e57321adde67fea97f99dca56a970c6e6f80aa029 DIST cast-0.3.0.crate 1145
[gentoo-commits] repo/gentoo:master commit in: sys-apps/syd/
commit: 6e1c6eb3ba4d7cb2136b35cf7592760ede14cfdf Author: Patrick Lauer gentoo org> AuthorDate: Sat Jun 8 06:22:15 2024 + Commit: Patrick Lauer gentoo org> CommitDate: Sat Jun 8 06:23:31 2024 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6e1c6eb3 sys-apps/syd: add 3.21.0 Signed-off-by: Patrick Lauer gentoo.org> sys-apps/syd/Manifest | 13 ++ sys-apps/syd/syd-3.21.0.ebuild | 335 + 2 files changed, 348 insertions(+) diff --git a/sys-apps/syd/Manifest b/sys-apps/syd/Manifest index 6f4adef64615..176d81a7f4ac 100644 --- a/sys-apps/syd/Manifest +++ b/sys-apps/syd/Manifest @@ -11,6 +11,7 @@ DIST anstream-0.6.14.crate 29160 BLAKE2B 1120895a51ed7a285c5d5a03d2f7e26dc956d95 DIST anstyle-1.0.7.crate 15709 BLAKE2B 872e0ed09e7e94c6f6b812349e39f949aff4d7cbb87744ab26fe49f57a7d330e0f79447213374f7f862ea276aab2dd1077dc8df3f7c5f34079ef30c4d17eeeba SHA512 e20d49f7d148e03f7b127be7802e0b6b7a2b05720614d46c2ade5e440ce322b44ddd3a9239b897886faa03ed1cb30f947ee27d3811fa83dffba10b3975eba7ed DIST anstyle-parse-0.2.4.crate 23069 BLAKE2B e80bd81e351326a38b3f559020a2430ac37293e61b6b6309b37bbb8bdb78ec11ca9c0fd270098af5e5ffb2f5660cfbfda949d20fd2efd336ed1c143215b2 SHA512 c1dac475df77d090a4d2041ba40ff418abe66e93e4ddda54653bf024fb4995e431166684343509a2337bc813fe06f362d3df8a1d7d05d177cec1a488bcb9942a DIST anstyle-query-1.0.3.crate 9742 BLAKE2B cfcba0a2773f07b9292279afd70832c5d4eb441ed61bcacdbeeda9184c63b7e01af70a8744d6efceb7f74a2c2dfa5672b873255cc1d273bd6a2d3d7ee08c2d2b SHA512 38637f49e547836a4958d9f528cb270abfc81c5ca644d6d43b0f3aaef8c6f1301a8bc30a23afec5e71722c3afe7eb0f48f9fdea88b73e36f597b74531da84226 +DIST anstyle-query-1.1.0.crate 9832 BLAKE2B de106e289c874bca806214e275647415bdd02e2878f3a80e7d337cfbcdb755d8c182b2879371f00f5cad97cdf68224ac11ca41cc89ad7ab3929f854a9f9e76a6 SHA512 321ddfa7b090142116c96bc8c70d81cec3e816922249ae0f07389e2d1b62c8b40636675ccfdfd23d52e29c162ae7d929637dfc7d697dafb79e596d04eb8cd90b DIST anstyle-wincon-3.0.3.crate 12179 BLAKE2B 37793975a05ad60bb2b670c208db11c5cda8a2a456242cd118748709d0a220b541b6f088676eccd19870cfb8f910d4aa1e7764393785a6db0531af4a3ffc8047 SHA512 55217c65fc9ec674e5b4dd70716a221bd108b507dce9baaeb542f0e0a47027ec7fe61f9cd3cccfda43e4a4cd785b42f13400daf89884c32d3768e48bdff2d179 DIST anyhow-1.0.86.crate 46741 BLAKE2B 21b1f3acd1c1b659e6e9a53693178de67c806d7dbad30dedea0fb7078b2388baa196d1e7240a7dc88ed9dc93ee4c00bca8e608dad1b6bfb5bfa4f4c5ab51f0d3 SHA512 3853da32a2c53d73969bb29a1e622f3a6d5832ddc6bc8eedb76394b392f983aa3fcb1f542933e238841486106f0f38e9a2400c12c7699baba0ebe1d8193a DIST argv-0.1.11.crate 8683 BLAKE2B 44344e0f3678b159b64d06287d58508479831dc0bd7b044a1ccaebfffdd9023508da5d86f3e6d8af8579cf5351f6c8963581af978ca46bb0b87a37c1802e67d8 SHA512 011e8d5333b305387d7667bbcd4d3e694fb73d16ba4c51a10969d5dae7a7a4286f8583c160949fc2724c56c7d47c618813d0dd55c42665c8c2d1cccfcaf414a3 @@ -26,6 +27,7 @@ DIST caps-0.5.5.crate 17575 BLAKE2B 77d788f936eb36c2f4776ee719cdc138dac4b840ce63 DIST cast-0.3.0.crate 11452 BLAKE2B fe6e0589fa436cda32342d7beaabe4003afdbdf1d7c5db7e8748adf23b1b2cdcdd286235837c735d2143f29e692c152a5d56fb0458a54961e4dea303b2cb SHA512 4a3e19bc1e9e5ecc03aaef9bcdce01624ac0e6858c065fa1c41693db0ac172b9735ce872064561347cd9e79f00a274129011f6e4ccf9e61d960c8bb684b6d396 DIST cc-1.0.97.crate 76951 BLAKE2B ec2e65797dfe13223b64f28bf6d143e00362f8bdd14e4df3d16ec2c5b68b8c603968f8cf6e7ede95b527ef16a748775bf247e8bf11010a326bbac4b296d72eb5 SHA512 119d1769530ec2fcc643b9b4a0f2a45db6f0772e4df882b832f961824bbb41d101d4a507573b4e05b4627d647fa823e81bc66dafdde40146878616af96b24143 DIST cc-1.0.98.crate 76780 BLAKE2B 64124ebdda70b211b6fde8c02d256d97d57fc3a0db433371bad896c06e36caaa5f938074d92ca82724b34fde06bc10af63c7fdde8f52ac50a3ea6e3329d18d93 SHA512 dfeb194266a4a9cf2ddf69fe20f8e20a72a0a9c2f72b1ea578fd48dae5b0c3589f501068ca24e0da7b3691860cd8c05247c803f3ef2f338d56eef8b1f4f4fbd2 +DIST cc-1.0.99.crate 76961 BLAKE2B d615f647bc5e4f7f580f878fc41baee172e9513f1157d421c491c36af2ca330dde2a6ddd4238c03aae27feed5e8cc042f4b790d7b145952a8676ac553f72e356 SHA512 2f6c9a0869b3b636b011390efade0085ed5fe616ecb33ff586c948779b9c9bea9169cb1c31441b0aeb63dbaa35cdb76b6e67ace38d561e2c150e06853a2b1757 DIST cfg-if-1.0.0.crate 7934 BLAKE2B e99a5589c11d79d77a4537b34ce0a45d37b981c123b79b807cea836c89fc3926d693458893baca2882448d3d44e3f64e06141f6d916b748daa10b8cc1ae16d1b SHA512 0fb16a8882fd30e86b62c5143b1cb18ab564e84e75bd1f28fd12f24ffdc4a42e0d2e012a99abb606c12efe3c11061ff5bf8e24ab053e550ae083f7d90f6576ff DIST cfg_aliases-0.1.1.crate 6009 BLAKE2B 6acfae9a89d3479f7ce1f0b5dbb13bfe27c006b936a96685606a61a06f69d17ab754a8a0d96c54213f758281c2fb32ac74d03a34e0f836dc7e438387955aac37 SHA512 238828445c5b48ca41ff88825af0a1ad30494e423bb6f89b6d5e4d26042afaa1ceb0e32041f7cddd79c3e15c6c82a1ddb9469c4b63a1ac52d4bcc1174900f880 DIST cfg_aliases-0.2.1.crate 635
GNU Privacy Handbook typo
Hi, I was reading the gnupg documentation and although I’m not an English native, I believe there is a “tiny” typo in this page https://www.gnupg.org/gph/en/manual/x334.html In the first paragraph: (…) By personally checking the fingerprint you can be sure that the key really does belong to him, and since you have signed they key, (..) I believe it should be “their key” instead of “they key” Also, according to https://www.gnupg.org/gph/en/manual/book1.html bug reports concerning the GNU Privacy Handbook should be sent to Mike Ashley (), however e-mails sent to that given address bounce, which is why I'm reporting here. Best, Patrick ___ Gnupg-users mailing list Gnupg-users@gnupg.org https://lists.gnupg.org/mailman/listinfo/gnupg-users
[gcc r15-1103] c++: lambda in pack expansion [PR115378]
https://gcc.gnu.org/g:5c761395402a730535983a5e49ef1775561ebc61 commit r15-1103-g5c761395402a730535983a5e49ef1775561ebc61 Author: Patrick Palka Date: Fri Jun 7 12:12:30 2024 -0400 c++: lambda in pack expansion [PR115378] Here find_parameter_packs_r is incorrectly treating the 'auto' return type of a lambda as a parameter pack due to Concepts-TS specific logic added in r6-4517, leading to confusion later when expanding the pattern. Since we intend on removing Concepts TS support soon anyway, this patch fixes this by restricting the problematic logic with flag_concepts_ts. Doing so revealed that add_capture was relying on this logic to set TEMPLATE_TYPE_PARAMETER_PACK for the 'auto' type of an pack expansion init-capture, which we now need to do explicitly. PR c++/115378 gcc/cp/ChangeLog: * lambda.cc (lambda_capture_field_type): Set TEMPLATE_TYPE_PARAMETER_PACK on the auto type of an init-capture pack expansion. * pt.cc (find_parameter_packs_r) : Restrict TEMPLATE_TYPE_PARAMETER_PACK promotion with flag_concepts_ts. gcc/testsuite/ChangeLog: * g++.dg/cpp1y/decltype-auto-103497.C: Adjust expected diagnostic. * g++.dg/template/pr95672.C: Likewise. * g++.dg/cpp2a/lambda-targ5.C: New test. Reviewed-by: Jason Merrill Diff: --- gcc/cp/lambda.cc | 3 ++- gcc/cp/pt.cc | 2 +- gcc/testsuite/g++.dg/cpp1y/decltype-auto-103497.C | 2 +- gcc/testsuite/g++.dg/cpp2a/lambda-targ5.C | 15 +++ gcc/testsuite/g++.dg/template/pr95672.C | 2 +- 5 files changed, 20 insertions(+), 4 deletions(-) diff --git a/gcc/cp/lambda.cc b/gcc/cp/lambda.cc index 630cc4eade1..0770417810e 100644 --- a/gcc/cp/lambda.cc +++ b/gcc/cp/lambda.cc @@ -223,7 +223,8 @@ lambda_capture_field_type (tree expr, bool explicit_init_p, outermost CV qualifiers of EXPR. */ type = build_reference_type (type); if (uses_parameter_packs (expr)) - /* Stick with 'auto' even if the type could be deduced. */; + /* Stick with 'auto' even if the type could be deduced. */ + TEMPLATE_TYPE_PARAMETER_PACK (auto_node) = true; else type = do_auto_deduction (type, expr, auto_node); } diff --git a/gcc/cp/pt.cc b/gcc/cp/pt.cc index abbba7c6746..607753ae6b7 100644 --- a/gcc/cp/pt.cc +++ b/gcc/cp/pt.cc @@ -3940,7 +3940,7 @@ find_parameter_packs_r (tree *tp, int *walk_subtrees, void* data) parameter pack (14.6.3), or the type-specifier-seq of a type-id that is a pack expansion, the invented template parameter is a template parameter pack. */ - if (ppd->type_pack_expansion_p && is_auto (t) + if (flag_concepts_ts && ppd->type_pack_expansion_p && is_auto (t) && TEMPLATE_TYPE_LEVEL (t) != 0) TEMPLATE_TYPE_PARAMETER_PACK (t) = true; if (TEMPLATE_TYPE_PARAMETER_PACK (t)) diff --git a/gcc/testsuite/g++.dg/cpp1y/decltype-auto-103497.C b/gcc/testsuite/g++.dg/cpp1y/decltype-auto-103497.C index cedd661710c..4162361d14f 100644 --- a/gcc/testsuite/g++.dg/cpp1y/decltype-auto-103497.C +++ b/gcc/testsuite/g++.dg/cpp1y/decltype-auto-103497.C @@ -1,7 +1,7 @@ // PR c++/103497 // { dg-do compile { target c++14 } } -void foo(decltype(auto)... args); // { dg-error "cannot declare a parameter with .decltype.auto.." } +void foo(decltype(auto)... args); // { dg-error "contains no parameter packs" } int main() { foo(); diff --git a/gcc/testsuite/g++.dg/cpp2a/lambda-targ5.C b/gcc/testsuite/g++.dg/cpp2a/lambda-targ5.C new file mode 100644 index 000..efd4bb45d58 --- /dev/null +++ b/gcc/testsuite/g++.dg/cpp2a/lambda-targ5.C @@ -0,0 +1,15 @@ +// PR c++/115378 +// { dg-do compile { target c++20 } } + +struct tt {}; + +template +constexpr auto __counter = 1; + +template +using _as_base = tt; + +template +struct env : _as_base>... {}; + +env t; diff --git a/gcc/testsuite/g++.dg/template/pr95672.C b/gcc/testsuite/g++.dg/template/pr95672.C index c752b4a2c08..d97b8db2e97 100644 --- a/gcc/testsuite/g++.dg/template/pr95672.C +++ b/gcc/testsuite/g++.dg/template/pr95672.C @@ -1,3 +1,3 @@ // PR c++/95672 // { dg-do compile { target c++14 } } -struct g_class : decltype (auto) ... { }; // { dg-error "invalid use of pack expansion" } +struct g_class : decltype (auto) ... { }; // { dg-error "contains no parameter packs" }
[PATCH] c++: lambda in pack expansion [PR115378]
Bootstrapped and regtested on x86_64-pc-linux-gnu, does this look OK for trunk/14? -- >8 -- Here find_parameter_packs_r is incorrectly treating the 'auto' return type of a lambda as a parameter pack due to Concepts-TS specific logic added in r6-4517, leading to confusion later when expanding the pattern. Since we intend on removing Concepts TS support soon anyway, this patch fixes this by restricting the problematic logic with flag_concepts_ts. Doing so revealed that add_capture was relying on this logic to set TEMPLATE_TYPE_PARAMETER_PACK for the 'auto' type of an init-capture pack expansion, which we now need to do explicitly. PR c++/115378 gcc/cp/ChangeLog: * lambda.cc (lambda_capture_field_type): Set TEMPLATE_TYPE_PARAMETER_PACK on the auto type of an init-capture pack expansion. * pt.cc (find_parameter_packs_r) : Restrict TEMPLATE_TYPE_PARAMETER_PACK promotion with flag_concepts_ts. gcc/testsuite/ChangeLog: * g++.dg/cpp1y/decltype-auto-103497.C: Adjust expected diagnostic. * g++.dg/template/pr95672.C: Likewise. * g++.dg/cpp2a/lambda-targ5.C: New test. --- gcc/cp/lambda.cc | 3 ++- gcc/cp/pt.cc | 2 +- gcc/testsuite/g++.dg/cpp1y/decltype-auto-103497.C | 2 +- gcc/testsuite/g++.dg/cpp2a/lambda-targ5.C | 15 +++ gcc/testsuite/g++.dg/template/pr95672.C | 2 +- 5 files changed, 20 insertions(+), 4 deletions(-) create mode 100644 gcc/testsuite/g++.dg/cpp2a/lambda-targ5.C diff --git a/gcc/cp/lambda.cc b/gcc/cp/lambda.cc index 630cc4eade1..0770417810e 100644 --- a/gcc/cp/lambda.cc +++ b/gcc/cp/lambda.cc @@ -223,7 +223,8 @@ lambda_capture_field_type (tree expr, bool explicit_init_p, outermost CV qualifiers of EXPR. */ type = build_reference_type (type); if (uses_parameter_packs (expr)) - /* Stick with 'auto' even if the type could be deduced. */; + /* Stick with 'auto' even if the type could be deduced. */ + TEMPLATE_TYPE_PARAMETER_PACK (auto_node) = true; else type = do_auto_deduction (type, expr, auto_node); } diff --git a/gcc/cp/pt.cc b/gcc/cp/pt.cc index dfce1b3c359..6ee27d6fa16 100644 --- a/gcc/cp/pt.cc +++ b/gcc/cp/pt.cc @@ -3940,7 +3940,7 @@ find_parameter_packs_r (tree *tp, int *walk_subtrees, void* data) parameter pack (14.6.3), or the type-specifier-seq of a type-id that is a pack expansion, the invented template parameter is a template parameter pack. */ - if (ppd->type_pack_expansion_p && is_auto (t) + if (flag_concepts_ts && ppd->type_pack_expansion_p && is_auto (t) && TEMPLATE_TYPE_LEVEL (t) != 0) TEMPLATE_TYPE_PARAMETER_PACK (t) = true; if (TEMPLATE_TYPE_PARAMETER_PACK (t)) diff --git a/gcc/testsuite/g++.dg/cpp1y/decltype-auto-103497.C b/gcc/testsuite/g++.dg/cpp1y/decltype-auto-103497.C index cedd661710c..4162361d14f 100644 --- a/gcc/testsuite/g++.dg/cpp1y/decltype-auto-103497.C +++ b/gcc/testsuite/g++.dg/cpp1y/decltype-auto-103497.C @@ -1,7 +1,7 @@ // PR c++/103497 // { dg-do compile { target c++14 } } -void foo(decltype(auto)... args); // { dg-error "cannot declare a parameter with .decltype.auto.." } +void foo(decltype(auto)... args); // { dg-error "contains no parameter packs" } int main() { foo(); diff --git a/gcc/testsuite/g++.dg/cpp2a/lambda-targ5.C b/gcc/testsuite/g++.dg/cpp2a/lambda-targ5.C new file mode 100644 index 000..efd4bb45d58 --- /dev/null +++ b/gcc/testsuite/g++.dg/cpp2a/lambda-targ5.C @@ -0,0 +1,15 @@ +// PR c++/115378 +// { dg-do compile { target c++20 } } + +struct tt {}; + +template +constexpr auto __counter = 1; + +template +using _as_base = tt; + +template +struct env : _as_base>... {}; + +env t; diff --git a/gcc/testsuite/g++.dg/template/pr95672.C b/gcc/testsuite/g++.dg/template/pr95672.C index c752b4a2c08..d97b8db2e97 100644 --- a/gcc/testsuite/g++.dg/template/pr95672.C +++ b/gcc/testsuite/g++.dg/template/pr95672.C @@ -1,3 +1,3 @@ // PR c++/95672 // { dg-do compile { target c++14 } } -struct g_class : decltype (auto) ... { }; // { dg-error "invalid use of pack expansion" } +struct g_class : decltype (auto) ... { }; // { dg-error "contains no parameter packs" } -- 2.45.2.409.g7b0defb391
Bug#1071235: transition: qt6-base 6.6.2
Hej, Am Donnerstag, 6. Juni 2024, 09:49:59 CEST schrieb Emilio Pozuelo Monfort: [...] > Sounds like we're in good shape. You can go ahead. All Qt packages have been uploaded, so you can start with the binNUMs soon. -- Med vänliga hälsningar Patrick Franz
Bug#1071235: transition: qt6-base 6.6.2
Hej, Am Donnerstag, 6. Juni 2024, 09:49:59 CEST schrieb Emilio Pozuelo Monfort: [...] > Sounds like we're in good shape. You can go ahead. All Qt packages have been uploaded, so you can start with the binNUMs soon. -- Med vänliga hälsningar Patrick Franz
Re: boot in read only
It is fixed, the autorelabel did not started. > > > > On 6 Jun 2024, at 12:51, Patrick Dupre via users > > wrote: > > > > I am trying to understand why I boot in a read-only mode > > One reason is when there are problems with the file system. > Check dmesg for logs about the disk to confirm. > > Barry > -- ___ users mailing list -- users@lists.fedoraproject.org To unsubscribe send an email to users-le...@lists.fedoraproject.org Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue
[Bug target/115375] New: [15 Regression] RISCV scan failures since 2024-05-04
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115375 Bug ID: 115375 Summary: [15 Regression] RISCV scan failures since 2024-05-04 Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: patrick at rivosinc dot com Target Milestone: --- Commit range: https://github.com/gcc-mirror/gcc/compare/4d207044195b97ecb27c72a7dc987eb8b86644a0...00fb385a25a7fbaa9c7060ddd5f41a8c3b1548d1 Good: r15-1003-g4d207044195 Bad: r15-1010-g00fb385a25a Regressions: FAIL: gcc.dg/vect/costmodel/riscv/rvv/dynamic-lmul8-8.c scan-assembler-not csrr FAIL: gcc.dg/vect/costmodel/riscv/rvv/dynamic-lmul8-9.c scan-assembler-not csrr FAIL: gcc.dg/vect/costmodel/riscv/rvv/dynamic-lmul8-9.c scan-tree-dump-times vect "Maximum lmul = 8" 2 FAIL: gcc.target/riscv/rvv/autovec/cond/cond_widen_reduc-2.c scan-assembler-times \\tvfwredusum\\.vs\\tv[0-9]+,v[0-9]+,v[0-9]+,v0\\.t 3 FAIL: gcc.target/riscv/rvv/autovec/cond/cond_widen_reduc-2.c scan-assembler-times \\tvsext\\.vf4\\tv[0-9]+,v[0-9]+,v0\\.t 2 FAIL: gcc.target/riscv/rvv/autovec/cond/cond_widen_reduc-2.c scan-assembler-times \\tvsext\\.vf8\\tv[0-9]+,v[0-9]+,v0\\.t 1 FAIL: gcc.target/riscv/rvv/autovec/cond/cond_widen_reduc-2.c scan-assembler-times \\tvwredsum\\.vs\\tv[0-9]+,v[0-9]+,v[0-9]+,v0\\.t 3 FAIL: gcc.target/riscv/rvv/autovec/cond/cond_widen_reduc-2.c scan-assembler-times \\tvwredsumu\\.vs\\tv[0-9]+,v[0-9]+,v[0-9]+,v0\\.t 3 FAIL: gcc.target/riscv/rvv/autovec/cond/cond_widen_reduc-2.c scan-assembler-times \\tvzext\\.vf4\\tv[0-9]+,v[0-9]+,v0\\.t 2 FAIL: gcc.target/riscv/rvv/autovec/cond/cond_widen_reduc-2.c scan-assembler-times \\tvzext\\.vf8\\tv[0-9]+,v[0-9]+,v0\\.t 1 FAIL: gcc.target/riscv/rvv/autovec/pr112399.c -O3 -ftree-vectorize check-function-bodies foo FAIL: gcc.target/riscv/rvv/base/pr112431-42.c scan-assembler-not csrr Relevant postcommit issue: https://github.com/patrick-rivos/gcc-postcommit-ci/issues/1056 >From the precommit: https://github.com/ewlu/gcc-precommit-ci/issues/1669 it looks like this was probably caused by this series: r15-1005-g0592000aeed Avoid inserting after a GIMPLE_COND with SLP and early break r15-1006-gd93353e6423 Do single-lane SLP discovery for reductions Might just need to update the scans since these are all riscv/* testcases.
[Bug target/115373] [15 Regression] RISCV slp-cond-2-big-array.c slp-cond-2.c scan-tree-dump fails since r15-859-geaaa4b88038
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115373 --- Comment #1 from Patrick O'Neill --- Relevant postcommit issue: https://github.com/patrick-rivos/gcc-postcommit-ci/issues/999
[Bug target/115373] New: [15 Regression] RISCV slp-cond-2-big-array.c slp-cond-2.c scan-tree-dump fails since r15-859-geaaa4b88038
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115373 Bug ID: 115373 Summary: [15 Regression] RISCV slp-cond-2-big-array.c slp-cond-2.c scan-tree-dump fails since r15-859-geaaa4b88038 Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: patrick at rivosinc dot com Target Milestone: --- Commit range (2 possible commits): r15-858-g65aa46ffc3b r15-859-geaaa4b88038 < 99.9% sure it's this one since it updated the test expectations Regressed: FAIL: gcc.dg/vect/slp-cond-2-big-array.c -flto -ffat-lto-objects scan-tree-dump-times vect "vectorizing stmts using SLP" 4 FAIL: gcc.dg/vect/slp-cond-2-big-array.c scan-tree-dump-times vect "vectorizing stmts using SLP" 4 FAIL: gcc.dg/vect/slp-cond-2.c -flto -ffat-lto-objects scan-tree-dump-times vect "vectorizing stmts using SLP" 4 FAIL: gcc.dg/vect/slp-cond-2.c scan-tree-dump-times vect "vectorizing stmts using SLP" 4 Debug output: gcc.dg/vect/slp-cond-2-big-array.c -flto -ffat-lto-objects : pattern found 3 times FAIL: gcc.dg/vect/slp-cond-2-big-array.c -flto -ffat-lto-objects scan-tree-dump-times vect "vectorizing stmts using SLP" 4 gcc.dg/vect/slp-cond-2-big-array.c: pattern found 3 times FAIL: gcc.dg/vect/slp-cond-2-big-array.c scan-tree-dump-times vect "vectorizing stmts using SLP" 4 gcc.dg/vect/slp-cond-2.c -flto -ffat-lto-objects : pattern found 3 times FAIL: gcc.dg/vect/slp-cond-2.c -flto -ffat-lto-objects scan-tree-dump-times vect "vectorizing stmts using SLP" 4 gcc.dg/vect/slp-cond-2.c: pattern found 3 times FAIL: gcc.dg/vect/slp-cond-2.c scan-tree-dump-times vect "vectorizing stmts using SLP" 4
[Bug target/115372] [15 Regression] RISCV pr97428.c scan-tree-dump-times after r15-812-gc71886f2ca2
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115372 --- Comment #1 from Patrick O'Neill --- debug output: gcc.target/riscv/rvv/autovec/struct/struct_vect-4.c: vsseg3e64\\.v found 0 times FAIL: gcc.target/riscv/rvv/autovec/struct/struct_vect-4.c scan-assembler-times vsseg3e64\\.v 8 gcc.target/riscv/rvv/autovec/struct/struct_vect-4.c: vsseg5e64\\.v found 0 times FAIL: gcc.target/riscv/rvv/autovec/struct/struct_vect-4.c scan-assembler-times vsseg5e64\\.v 4 gcc.target/riscv/rvv/autovec/struct/struct_vect-4.c: vsseg7e64\\.v found 0 times FAIL: gcc.target/riscv/rvv/autovec/struct/struct_vect-4.c scan-assembler-times vsseg7e64\\.v 4 gcc.dg/vect/pr97428.c -flto -ffat-lto-objects : pattern found 0 times FAIL: gcc.dg/vect/pr97428.c -flto -ffat-lto-objects scan-tree-dump-times vect "vectorizing stmts using SLP" 1 gcc.dg/vect/pr97428.c: pattern found 0 times FAIL: gcc.dg/vect/pr97428.c scan-tree-dump-times vect "vectorizing stmts using SLP" 1
[Bug target/115372] New: [15 Regression] RISCV pr97428.c scan-tree-dump-times after r15-812-gc71886f2ca2
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115372 Bug ID: 115372 Summary: [15 Regression] RISCV pr97428.c scan-tree-dump-times after r15-812-gc71886f2ca2 Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: patrick at rivosinc dot com Target Milestone: --- r15-812-gc71886f2ca2 regressed: FAIL: gcc.target/riscv/rvv/autovec/struct/struct_vect-4.c scan-assembler-times vsseg3e64\\.v 8 FAIL: gcc.target/riscv/rvv/autovec/struct/struct_vect-4.c scan-assembler-times vsseg5e64\\.v 4 FAIL: gcc.target/riscv/rvv/autovec/struct/struct_vect-4.c scan-assembler-times vsseg7e64\\.v 4 FAIL: gcc.dg/vect/pr97428.c -flto -ffat-lto-objects scan-tree-dump-times vect "vectorizing stmts using SLP" 1 FAIL: gcc.dg/vect/pr97428.c scan-tree-dump-times vect "vectorizing stmts using SLP" 1 These might just require updating the test expectations. Relevant postcommit link: https://github.com/patrick-rivos/gcc-postcommit-ci/issues/980
[PHP-DEV] PHP 8.1.29 Released!
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 The PHP development team announces the immediate availability of PHP 8.1.29. This is a security release that addresses CVE-2024-4577, CVE-2024-5458 and CVE-2024-5585. All PHP 8.1 users are encouraged to upgrade to this version. For source downloads of PHP 8.1.29 please visit our downloads page. Windows binaries can be found on the PHP for Windows site. The list of changes is recorded in the ChangeLog. Release Announcement: <https://php.net/releases/8_1_29.php> Downloads:<https://php.net/downloads> Windows downloads:<https://windows.php.net/download#php-8.1> Changelog:<https://php.net/ChangeLog-8.php#8.1.29> Release Manifest: <https://gist.github.com/ramsey/6893aa92d20d89635d22c51b469857c4> Many thanks to all the contributors and supporters! Patrick Allaert, Ben Ramsey & Joe Watkins php-8.1.29.tar.bz2 SHA256 hash: 87a60313263f2f533f180e719272ca5e47cd9884d4ec3c93720198eaffae0827 PGP signature: - -BEGIN PGP SIGNATURE- iQIzBAABCAAdFiEEObZBND2MEEsrFG3D+cOdwLlphUQFAmZgAzUACgkQ+cOdwLlp hURFUw//YEAoR2VwOHpyhva18e11ImoyLK5N4r1GCwdYEHWnJgNeJzkQDpCNP3jw PtFrJFEKCz1s7opVv/Wptf8N9i80QtI/mHT0P0r+S+TBfrnwzertgzHC7IXcc1Mr FCfsM0YicPaVFrXxAARyLl7BRxOLfmxTnTuH0YVKOFR4UCGuWjOCwgpvU2h8ICmE RQpBrq0ZR1eFt3qig+G2QN9tyGwKGMKyHde3MksfzMK8NLf4Tu69tp6IBPuTj76B 76a83W65/GG+l7ORKTLbnjRHyLEQ0u9svEQoGtHTtANm/rAZdpzqjPsQVUeafFq2 tQNz3qMNQGklzGCfOWTM9Vn7IfTmGWyq98Iw8qEPftxtavlXP+4PR/oimpzIl66m jlOVwiLyKz680YKc43HRbu+LS/46+S6da2963RH9CvBPRWSev5nC0ACHbIgHqzjj zMFlmp4V5V0XeOe2qei/8SA3t1bSs3Eq6qKk20KDE/EoRZV+Fc3M2ij++mfjP2W5 YbQhcRO2W9gtqBmLfLMw7Lv3NY7IYksyQjwN8edPw/VR1leYTeCH2+FSK56+MQuD Ew5s8fYS2A5S8pom29zj3dezwNbLoxNnhw6NjI2sAitoMx8J+SaQF4piwKzl1igZ rTwP2tYTuvXSzsJtsmtD9Alhxb7JnU34+NsiA/gciK26jSZEsMs= =zNwO - -END PGP SIGNATURE- php-8.1.29.tar.gz SHA256 hash: 8b2609bf1d3173aa38269a9af21532c65f730aadd3051f9aae011eea9e246de5 PGP signature: - -BEGIN PGP SIGNATURE- iQIzBAABCAAdFiEEObZBND2MEEsrFG3D+cOdwLlphUQFAmZgAzUACgkQ+cOdwLlp hUTkPw//ZUbLRCLE4Wy7p1txtjs+Vgl1ZK622dcPYl5F0Kz87Ycftbz/lIrOXFq/ n15KTWKhASbgbOhEW4NPTn1wmopHJGRW/EXA6JNYqUySIOhMwwUlaY1MPTnjI+ay OwtroKKMt0Do/b73l/urRgGbhKqqb9GYaCed7tysVtLvCcHa2SL4kiFjYHabQFKs Y/kxhOWnaGbwHeZN4FEHQEF5frjDxrHzGxzETrmc7BoDiTT2FfrO2xSLmL90k/W3 NTftmw30kw5iopk1BW9nzn7BMYPdjEIBZD0aEaZ1X19GZ/aThXLXHtFR6YOZhYTJ pWyjPz6Vq6cGhLUA1dtxBat5DDAKwM/txW2k4jfcGZdW37Qbc1uzS6pl/wSugIwq Z9SJp7DGX3MaEQx6WyKlMd89oInQQP/3LLLXbaW0EPp6mKDYScokNDbotvlbMgUs nKEpFDup9B8NpQOyjj9yEifu337eKiB94299NGgYHokyDqwNZpGxQp3uGcYAI3PC qdmpCnK8crcnRf3fdEfkbVDIDcvEj9P+BNBCQe+0jkJ+MQRE+cSAr89oCeGYran+ iIegoAgjNxildPZ3qzGBQ2XlSaFqlckvW/1J9JL2ecfqASMQJRfqh+VcygGl5SNb Rl87SpsnzEoT29AkMmFmq7JBATsMGLPPcYPQ0pwKgAC9VwDw2fE= =9dB+ - -END PGP SIGNATURE- php-8.1.29.tar.xz SHA256 hash: 24af60581d4284baba2ace9ca6d646f72facbd3e3c2dd2acc7fe6f903536 PGP signature: - -BEGIN PGP SIGNATURE- iQIzBAABCAAdFiEEObZBND2MEEsrFG3D+cOdwLlphUQFAmZgAzUACgkQ+cOdwLlp hUQuBQ//aXhOIXcCE5eNTtFFfMgM4xyVteKm7zTVD6kJL+ibaMTDznqCEwNzcsvY pqMm+otJydCZyfSj0gUe9LvbnoUTFNXI7UZ5HvHfZPHnG6ntRAMgXMA8+jYRaJ31 ll6DaamGwQtbXuKurovI2Y53K1UVsc39bo71viBgnmwCS/vQWQ4se+7nChGOxjgZ D2fZD87ytsDAY0UHRld8RLS1RAI7YTX7+I8dLBunSwvlOeNxNKKhoIuxfAii2zug DRsAZ/bGYw632a2jhcOjNVA1c6qlzyTcYlqj7K3etvdVNc0InsqveVQkqXzmEijN +FQ2ssp1LRm8zXf9UWLi8fWZ16pIqT9BdDY4LXoHjXGxENHMMUFnI+HDXWuyjS08 JzKVymxaUnKCOkFmkrGIiFCftHFhPPvrTIsADam4gmyoBBBMhcyEWEoaE0ppM+Br nEVCOCsfHyRpjUy1JaeqV4Js95+XRHrgTrbAlEMI4HGspPATYHXyJTRr9SIyxL1p EeWzD7mJkGvV4dow2WJk2grhwVlgcQW0fzv3PCdvFXPnaBfPU8ufFXoqm6dxKwlc 6gZM9QipN5s4dqY+hjXZzRMJOAcZRdjKposQoPmpYTzZzbVSKJvb78SgO8Zd6Q4n kqRK6oB59KGJZHdUnrJbs0goHuYT2apuA0DJryMAk3k3cB9nyTY= =X0Js - -END PGP SIGNATURE- -BEGIN PGP SIGNATURE- Version: FlowCrypt Email Encryption 8.5.4 Comment: Seamlessly send and receive encrypted email wsFzBAEBCgAnBYJmYc8BCZAZn53+9v+6/RYhBPH2kiOPvBZm5aXM1Bmfnf72 /7r9AABc3Q//fQnidNaBgWmj+LN+TiBqOskrJi+i61StQ8GZoDlQPR1u0qTu A2Hbqql3WpmjA3gXr2Us5ztrCFEotao4W3tmtMn3UIjTKhDI8/kL9yM+S2W+ NPuNtr+vzj7mz08fMY+p0Pd7MuoFinmLsd/ziilsUVoL3crj6xlOkvu6sE7H 9S+g4QTdgMpr8++VvltYBbXaa0aP0TmD0s2qoOsandNcO3qOihgM8OJ/o2bV DXSVCzbTcOFp8M8z50bqRz81rDHy/gWaRcruEjV70t8vi5+tSL617AHklfxi Lj2ZLq7S2MLY8IsEWv5mua3m9EvEJM/NFFfhJjQAcARLEVN6bqy9HImg0v00 fM0/Eop5se8c6GhCaawRDeyxpWTUpkxm5RgHVpnycK3GApPzNIqrJpvCnimg K0ibBPCynedU2BF0vPqrBbtc7SSD5oCrGf8ExdxhJgHtev3Cm19v3zXIRJU0 uoitjgURr92G7bLZuyhbbzAVObrkERi86uTARUxh/Cu+h1vVw8jKQkhaK4CN aa6Gcrh/067raWAonoxlLHUU3POmQsUFSgeHzbZwVjwpdG4PaOah7GUwuTVf 5fp7ASHTTcGS+lkiQPAXLETUWoKf38GORwh1rym90pJC6myifRiswYqeuGag xe7fE40qtvcN91gOrykyo9A+jtNOVYhUJFk= =LxC4 -END PGP SIGNATURE-
[PHP-WEBMASTER] [web-php] master: Announce PHP 8.1.29
Author: Patrick Allaert (patrickallaert) Date: 2024-06-06T16:18:00+02:00 Commit: https://github.com/php/web-php/commit/4b8c358cfafcdeab8a05662741ee94b89cb0a81f Raw diff: https://github.com/php/web-php/commit/4b8c358cfafcdeab8a05662741ee94b89cb0a81f.diff Announce PHP 8.1.29 Changed paths: A archive/entries/2024-06-06-1.xml A releases/8_1_29.php M ChangeLog-8.php M archive/archive.xml M include/releases.inc M include/version.inc Diff: diff --git a/ChangeLog-8.php b/ChangeLog-8.php index f4793a1667..0f4abab968 100644 --- a/ChangeLog-8.php +++ b/ChangeLog-8.php @@ -2444,6 +2444,30 @@ + +Version 8.1.29 + +CGI: + + Fixed bug GHSA-3qgc-jrrr-25jv (Bypass of CVE-2012-1823, Argument Injection in PHP-CGI). (CVE-2024-4577) + +Filter: + + Fixed bug GHSA-w8qr-v226-r27w (Filter bypass in filter_var FILTER_VALIDATE_URL). (CVE-2024-5458) + +OpenSSL: + + The openssl_private_decrypt function in PHP, when using PKCS1 padding (OPENSSL_PKCS1_PADDING, which is the default), is vulnerable to the Marvin Attack unless it is used with an OpenSSL version that includes the changes from this pull request: https://github.com/openssl/openssl/pull/13817 (rsa_pkcs1_implicit_rejection). These changes are part of OpenSSL 3.2 and have also been backported to stable versions of various Linux distributions, as well as to the PHP builds provided for Windows since the previous release. All distributors and builders should ensure that this version is used to prevent PHP from being vulnerable. + +Standard: + + Fixed bug GHSA-9fcc-425m-g385 (Bypass of CVE-2024-1874). (CVE-2024-5585) + + + + + + Version 8.1.28 diff --git a/archive/archive.xml b/archive/archive.xml index 1f45981dd3..122cbeea98 100644 --- a/archive/archive.xml +++ b/archive/archive.xml @@ -9,6 +9,7 @@ http://php.net/contact php-webmaster@lists.php.net + diff --git a/archive/entries/2024-06-06-1.xml b/archive/entries/2024-06-06-1.xml new file mode 100644 index 00..fafd20583d --- /dev/null +++ b/archive/entries/2024-06-06-1.xml @@ -0,0 +1,21 @@ + +http://www.w3.org/2005/Atom;> + PHP 8.1.29 Released! + https://www.php.net/archive/2024.php#2024-06-06-1 + 2024-06-06T14:12:51+00:00 + 2024-06-06T14:12:51+00:00 + https://www.php.net/index.php#2024-06-06-1; rel="alternate" type="text/html"/> + https://www.php.net/archive/2024.php#2024-06-06-1; rel="via" type="text/html"/> + + + +http://www.w3.org/1999/xhtml;>The PHP development team announces the immediate availability of PHP 8.1.29. This is a security release. + +All PHP 8.1 users are encouraged to upgrade to this version. + +For source downloads of PHP 8.1.29 please visit our https://www.php.net/downloads.php;>downloads page, +Windows source and binaries can be found on https://windows.php.net/download/;>windows.php.net/download/. +The list of changes is recorded in the https://www.php.net/ChangeLog-8.php#8.1.29;>ChangeLog. + + + diff --git a/include/releases.inc b/include/releases.inc index 5a60e354c6..e18d82f252 100644 --- a/include/releases.inc +++ b/include/releases.inc @@ -2,6 +2,43 @@ $OLDRELEASES = array ( 8 => array ( +'8.1.28' => +array ( + 'announcement' => + array ( +'English' => '/releases/8_1_28.php', + ), + 'tags' => + array ( +0 => 'security', + ), + 'date' => '11 Apr 2024', + 'source' => + array ( +0 => +array ( + 'filename' => 'php-8.1.28.tar.gz', + 'name' => 'PHP 8.1.28 (tar.gz)', + 'sha256' => 'a2a9d853f4a4c9ff8631da5dc3a6cec5ab083ef37a214877b0240dcfcdfdefea', + 'date' => '11 Apr 2024', +), +1 => +array ( + 'filename' => 'php-8.1.28.tar.bz2', + 'name' => 'PHP 8.1.28 (tar.bz2)', + 'sha256' => '8be450096e0153c47d75384e7dd595cc897f1d53ce0060708ce9589bcc3141ee', + 'date' => '11 Apr 2024', +), +2 => +array ( + 'filename' => 'php-8.1.28.tar.xz', + 'name' => 'PHP 8.1.28 (tar.xz)', + 'sha256' => '95d0b2e9466108fd750dab5c30a09e5c67f5ad2cb3b1ffb3625a038a755ad080', + 'date' => '11 Apr 2024', +), + ), + 'museum' => false, +), '8.3.6' => array ( 'announcement' => diff --git a/include/version.inc b/include/version.inc index 36668f9fc2..2297269620 100644 --- a/include/version.inc +++ b/include/version.inc @@ -44,13 +44,13 @@ $RELEASES = (function () { /* PHP 8.1 Release */ $data['8.1'] = [ -'version' => '8.1.28', -'date' => '11 Apr 2024', +'version' => '8.1.29', +'date' => '06 Jun 2024', 'tags' => ['security'], // Set to ['security'] for security releases. 'sha256' => [ -'tar.gz' =>
Re: Console consumer crashing
I never resolved this, but it was near the end of an engagement so it got punted. Is this something anyone else can reproduce? I worry that some prior use of kafka has interfered. I tried wiping out zookeeper and /tmp/kafka_logs ... is there anywhere else that could be retaining something that is causing this? (it looks kind of like something gets written with the wrong format, like maybe an old version read a new or vice-versa, but I'm just guessing there) Founder, Chief Architect, Needham Software LLC Commiter & PMC member Apache Solr & Apache Lucene 508-333-5312 https://www.needhamsoftware.com On Wed, May 29, 2024 at 12:09 PM Patrick G. Heck wrote: > Hi folks, > > I was troubleshooting a program trying to receive a kafka message (local > kafka, for development), and decided I needed to verify kafka itself was > happy. So I created a topic named 'fubar' and started the consumer > listening to it. Then I started the console producer in another terminal > window and typed in foo and it appeared nicely on the consumer > terminal. Then I typed bar and got this: > > NS2-MacBook-Pro:kafka_2.13-3.7.0 gus$ bin/kafka-console-consumer.sh > --bootstrap-server localhost:9092 --topic fubar --from-beginning > > foo > > [2024-05-29 11:56:07,183] ERROR Error processing message, terminating > consumer process: (kafka.tools.ConsoleConsumer$) > > org.apache.kafka.common.protocol.types.SchemaException: Buffer underflow > while parsing response for request with header RequestHeader(apiKey=FETCH, > apiVersion=16, clientId=console-consumer, correlationId=608, > headerVersion=2) > > at > org.apache.kafka.clients.NetworkClient.parseResponse(NetworkClient.java:758) > > at > org.apache.kafka.clients.NetworkClient.handleCompletedReceives(NetworkClient.java:929) > > at org.apache.kafka.clients.NetworkClient.poll(NetworkClient.java:594) > > at > org.apache.kafka.clients.consumer.internals.ConsumerNetworkClient.poll(ConsumerNetworkClient.java:281) > > at > org.apache.kafka.clients.consumer.internals.ConsumerNetworkClient.poll(ConsumerNetworkClient.java:252) > > at > org.apache.kafka.clients.consumer.internals.LegacyKafkaConsumer.pollForFetches(LegacyKafkaConsumer.java:686) > > at > org.apache.kafka.clients.consumer.internals.LegacyKafkaConsumer.poll(LegacyKafkaConsumer.java:617) > > at > org.apache.kafka.clients.consumer.internals.LegacyKafkaConsumer.poll(LegacyKafkaConsumer.java:590) > > at > org.apache.kafka.clients.consumer.KafkaConsumer.poll(KafkaConsumer.java:874) > > at > kafka.tools.ConsoleConsumer$ConsumerWrapper.receive(ConsoleConsumer.scala:473) > > at kafka.tools.ConsoleConsumer$.process(ConsoleConsumer.scala:103) > > at kafka.tools.ConsoleConsumer$.run(ConsoleConsumer.scala:77) > > at kafka.tools.ConsoleConsumer$.main(ConsoleConsumer.scala:54) > > at kafka.tools.ConsoleConsumer.main(ConsoleConsumer.scala) > > Caused by: java.nio.BufferUnderflowException > > at java.base/java.nio.Buffer.nextGetIndex(Buffer.java:651) > > at java.base/java.nio.HeapByteBuffer.getInt(HeapByteBuffer.java:402) > > at > org.apache.kafka.common.protocol.ByteBufferAccessor.readInt(ByteBufferAccessor.java:43) > > at > org.apache.kafka.common.message.ResponseHeaderData.read(ResponseHeaderData.java:90) > > at > org.apache.kafka.common.message.ResponseHeaderData.(ResponseHeaderData.java:66) > > at > org.apache.kafka.common.requests.ResponseHeader.parse(ResponseHeader.java:100) > > at > org.apache.kafka.common.requests.AbstractResponse.parseResponse(AbstractResponse.java:100) > > at > org.apache.kafka.clients.NetworkClient.parseResponse(NetworkClient.java:756) > > ... 13 more > > [2024-05-29 11:56:07,183] ERROR [Consumer clientId=console-consumer, > groupId=console-consumer-59661] Heartbeat thread failed due to unexpected > error (org.apache.kafka.clients.consumer.internals.ConsumerCoordinator) > > java.lang.IllegalStateException: There are no in-flight requests for node 0 > > at > org.apache.kafka.clients.InFlightRequests.requestQueue(InFlightRequests.java:62) > > at > org.apache.kafka.clients.InFlightRequests.completeNext(InFlightRequests.java:70) > > at > org.apache.kafka.clients.NetworkClient.handleCompletedReceives(NetworkClient.java:927) > > at org.apache.kafka.clients.NetworkClient.poll(NetworkClient.java:594) > > at > org.apache.kafka.clients.consumer.internals.ConsumerNetworkClient.poll(ConsumerNetworkClient.java:281) > > at > org.apache.kafka.clients.consumer.internals.ConsumerNetworkClient.pollNoWakeup(ConsumerNetworkClient.java:322) > > at > org.apache.kafka.clients.consumer.internals.AbstractCoordinator$HeartbeatThread.run(AbstractCoordinator.java:1490) > > Processed a total of 1 message