diff --git a/cross-aarch64-gcc7.changes b/cross-aarch64-gcc7.changes index 5595216..0eeca28 100644 --- a/cross-aarch64-gcc7.changes +++ b/cross-aarch64-gcc7.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Mon Jan 4 09:29:07 UTC 2021 - Richard Biener + +- Amend gcc7-aarch64-moutline-atomics.patch for glibc namespace + violation with getauxval. [bsc#1167939] + ------------------------------------------------------------------- Thu Nov 26 17:17:44 UTC 2020 - Michael Matz diff --git a/cross-aarch64-gcc7.spec b/cross-aarch64-gcc7.spec index 16bb82e..91c90dc 100644 --- a/cross-aarch64-gcc7.spec +++ b/cross-aarch64-gcc7.spec @@ -1,7 +1,7 @@ # # spec file for package cross-aarch64-gcc7 # -# Copyright (c) 2020 SUSE LLC +# Copyright (c) 2021 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed diff --git a/cross-arm-gcc7.changes b/cross-arm-gcc7.changes index 5595216..0eeca28 100644 --- a/cross-arm-gcc7.changes +++ b/cross-arm-gcc7.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Mon Jan 4 09:29:07 UTC 2021 - Richard Biener + +- Amend gcc7-aarch64-moutline-atomics.patch for glibc namespace + violation with getauxval. [bsc#1167939] + ------------------------------------------------------------------- Thu Nov 26 17:17:44 UTC 2020 - Michael Matz diff --git a/cross-arm-gcc7.spec b/cross-arm-gcc7.spec index ea50599..1d09055 100644 --- a/cross-arm-gcc7.spec +++ b/cross-arm-gcc7.spec @@ -1,7 +1,7 @@ # # spec file for package cross-arm-gcc7 # -# Copyright (c) 2020 SUSE LLC +# Copyright (c) 2021 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed diff --git a/cross-arm-none-gcc7-bootstrap.changes b/cross-arm-none-gcc7-bootstrap.changes index 5595216..0eeca28 100644 --- a/cross-arm-none-gcc7-bootstrap.changes +++ b/cross-arm-none-gcc7-bootstrap.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Mon Jan 4 09:29:07 UTC 2021 - Richard Biener + +- Amend gcc7-aarch64-moutline-atomics.patch for glibc namespace + violation with getauxval. [bsc#1167939] + ------------------------------------------------------------------- Thu Nov 26 17:17:44 UTC 2020 - Michael Matz diff --git a/cross-arm-none-gcc7-bootstrap.spec b/cross-arm-none-gcc7-bootstrap.spec index cda5a75..6ad1d57 100644 --- a/cross-arm-none-gcc7-bootstrap.spec +++ b/cross-arm-none-gcc7-bootstrap.spec @@ -1,7 +1,7 @@ # # spec file for package cross-arm-none-gcc7-bootstrap # -# Copyright (c) 2020 SUSE LLC +# Copyright (c) 2021 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed diff --git a/cross-arm-none-gcc7.changes b/cross-arm-none-gcc7.changes index 5595216..0eeca28 100644 --- a/cross-arm-none-gcc7.changes +++ b/cross-arm-none-gcc7.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Mon Jan 4 09:29:07 UTC 2021 - Richard Biener + +- Amend gcc7-aarch64-moutline-atomics.patch for glibc namespace + violation with getauxval. [bsc#1167939] + ------------------------------------------------------------------- Thu Nov 26 17:17:44 UTC 2020 - Michael Matz diff --git a/cross-arm-none-gcc7.spec b/cross-arm-none-gcc7.spec index f5747f5..15fde95 100644 --- a/cross-arm-none-gcc7.spec +++ b/cross-arm-none-gcc7.spec @@ -1,7 +1,7 @@ # # spec file for package cross-arm-none-gcc7 # -# Copyright (c) 2020 SUSE LLC +# Copyright (c) 2021 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed diff --git a/cross-avr-gcc7-bootstrap.changes b/cross-avr-gcc7-bootstrap.changes index 5595216..0eeca28 100644 --- a/cross-avr-gcc7-bootstrap.changes +++ b/cross-avr-gcc7-bootstrap.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Mon Jan 4 09:29:07 UTC 2021 - Richard Biener + +- Amend gcc7-aarch64-moutline-atomics.patch for glibc namespace + violation with getauxval. [bsc#1167939] + ------------------------------------------------------------------- Thu Nov 26 17:17:44 UTC 2020 - Michael Matz diff --git a/cross-avr-gcc7-bootstrap.spec b/cross-avr-gcc7-bootstrap.spec index 26db07e..962957e 100644 --- a/cross-avr-gcc7-bootstrap.spec +++ b/cross-avr-gcc7-bootstrap.spec @@ -1,7 +1,7 @@ # # spec file for package cross-avr-gcc7-bootstrap # -# Copyright (c) 2020 SUSE LLC +# Copyright (c) 2021 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed diff --git a/cross-avr-gcc7.changes b/cross-avr-gcc7.changes index 5595216..0eeca28 100644 --- a/cross-avr-gcc7.changes +++ b/cross-avr-gcc7.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Mon Jan 4 09:29:07 UTC 2021 - Richard Biener + +- Amend gcc7-aarch64-moutline-atomics.patch for glibc namespace + violation with getauxval. [bsc#1167939] + ------------------------------------------------------------------- Thu Nov 26 17:17:44 UTC 2020 - Michael Matz diff --git a/cross-avr-gcc7.spec b/cross-avr-gcc7.spec index 1fff569..fa3b5a0 100644 --- a/cross-avr-gcc7.spec +++ b/cross-avr-gcc7.spec @@ -1,7 +1,7 @@ # # spec file for package cross-avr-gcc7 # -# Copyright (c) 2020 SUSE LLC +# Copyright (c) 2021 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed diff --git a/cross-epiphany-gcc7-bootstrap.changes b/cross-epiphany-gcc7-bootstrap.changes index 5595216..0eeca28 100644 --- a/cross-epiphany-gcc7-bootstrap.changes +++ b/cross-epiphany-gcc7-bootstrap.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Mon Jan 4 09:29:07 UTC 2021 - Richard Biener + +- Amend gcc7-aarch64-moutline-atomics.patch for glibc namespace + violation with getauxval. [bsc#1167939] + ------------------------------------------------------------------- Thu Nov 26 17:17:44 UTC 2020 - Michael Matz diff --git a/cross-epiphany-gcc7-bootstrap.spec b/cross-epiphany-gcc7-bootstrap.spec index b458366..6e68eed 100644 --- a/cross-epiphany-gcc7-bootstrap.spec +++ b/cross-epiphany-gcc7-bootstrap.spec @@ -1,7 +1,7 @@ # # spec file for package cross-epiphany-gcc7-bootstrap # -# Copyright (c) 2020 SUSE LLC +# Copyright (c) 2021 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed diff --git a/cross-epiphany-gcc7.changes b/cross-epiphany-gcc7.changes index 5595216..0eeca28 100644 --- a/cross-epiphany-gcc7.changes +++ b/cross-epiphany-gcc7.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Mon Jan 4 09:29:07 UTC 2021 - Richard Biener + +- Amend gcc7-aarch64-moutline-atomics.patch for glibc namespace + violation with getauxval. [bsc#1167939] + ------------------------------------------------------------------- Thu Nov 26 17:17:44 UTC 2020 - Michael Matz diff --git a/cross-epiphany-gcc7.spec b/cross-epiphany-gcc7.spec index 36bd3ef..e6e1610 100644 --- a/cross-epiphany-gcc7.spec +++ b/cross-epiphany-gcc7.spec @@ -1,7 +1,7 @@ # # spec file for package cross-epiphany-gcc7 # -# Copyright (c) 2020 SUSE LLC +# Copyright (c) 2021 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed diff --git a/cross-hppa-gcc7.changes b/cross-hppa-gcc7.changes index 5595216..0eeca28 100644 --- a/cross-hppa-gcc7.changes +++ b/cross-hppa-gcc7.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Mon Jan 4 09:29:07 UTC 2021 - Richard Biener + +- Amend gcc7-aarch64-moutline-atomics.patch for glibc namespace + violation with getauxval. [bsc#1167939] + ------------------------------------------------------------------- Thu Nov 26 17:17:44 UTC 2020 - Michael Matz diff --git a/cross-hppa-gcc7.spec b/cross-hppa-gcc7.spec index 21f21aa..2594d5f 100644 --- a/cross-hppa-gcc7.spec +++ b/cross-hppa-gcc7.spec @@ -1,7 +1,7 @@ # # spec file for package cross-hppa-gcc7 # -# Copyright (c) 2020 SUSE LLC +# Copyright (c) 2021 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed diff --git a/cross-i386-gcc7.changes b/cross-i386-gcc7.changes index 5595216..0eeca28 100644 --- a/cross-i386-gcc7.changes +++ b/cross-i386-gcc7.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Mon Jan 4 09:29:07 UTC 2021 - Richard Biener + +- Amend gcc7-aarch64-moutline-atomics.patch for glibc namespace + violation with getauxval. [bsc#1167939] + ------------------------------------------------------------------- Thu Nov 26 17:17:44 UTC 2020 - Michael Matz diff --git a/cross-i386-gcc7.spec b/cross-i386-gcc7.spec index 00927f1..1b0dbdf 100644 --- a/cross-i386-gcc7.spec +++ b/cross-i386-gcc7.spec @@ -1,7 +1,7 @@ # # spec file for package cross-i386-gcc7 # -# Copyright (c) 2020 SUSE LLC +# Copyright (c) 2021 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed diff --git a/cross-m68k-gcc7.changes b/cross-m68k-gcc7.changes index 5595216..0eeca28 100644 --- a/cross-m68k-gcc7.changes +++ b/cross-m68k-gcc7.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Mon Jan 4 09:29:07 UTC 2021 - Richard Biener + +- Amend gcc7-aarch64-moutline-atomics.patch for glibc namespace + violation with getauxval. [bsc#1167939] + ------------------------------------------------------------------- Thu Nov 26 17:17:44 UTC 2020 - Michael Matz diff --git a/cross-m68k-gcc7.spec b/cross-m68k-gcc7.spec index 7f8af79..46a9e8a 100644 --- a/cross-m68k-gcc7.spec +++ b/cross-m68k-gcc7.spec @@ -1,7 +1,7 @@ # # spec file for package cross-m68k-gcc7 # -# Copyright (c) 2020 SUSE LLC +# Copyright (c) 2021 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed diff --git a/cross-mips-gcc7.changes b/cross-mips-gcc7.changes index 5595216..0eeca28 100644 --- a/cross-mips-gcc7.changes +++ b/cross-mips-gcc7.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Mon Jan 4 09:29:07 UTC 2021 - Richard Biener + +- Amend gcc7-aarch64-moutline-atomics.patch for glibc namespace + violation with getauxval. [bsc#1167939] + ------------------------------------------------------------------- Thu Nov 26 17:17:44 UTC 2020 - Michael Matz diff --git a/cross-mips-gcc7.spec b/cross-mips-gcc7.spec index fddbec1..e2daf21 100644 --- a/cross-mips-gcc7.spec +++ b/cross-mips-gcc7.spec @@ -1,7 +1,7 @@ # # spec file for package cross-mips-gcc7 # -# Copyright (c) 2020 SUSE LLC +# Copyright (c) 2021 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed diff --git a/cross-nvptx-gcc7.changes b/cross-nvptx-gcc7.changes index 5595216..0eeca28 100644 --- a/cross-nvptx-gcc7.changes +++ b/cross-nvptx-gcc7.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Mon Jan 4 09:29:07 UTC 2021 - Richard Biener + +- Amend gcc7-aarch64-moutline-atomics.patch for glibc namespace + violation with getauxval. [bsc#1167939] + ------------------------------------------------------------------- Thu Nov 26 17:17:44 UTC 2020 - Michael Matz diff --git a/cross-nvptx-gcc7.spec b/cross-nvptx-gcc7.spec index d6e44ff..58d7e52 100644 --- a/cross-nvptx-gcc7.spec +++ b/cross-nvptx-gcc7.spec @@ -1,7 +1,7 @@ # # spec file for package cross-nvptx-gcc7 # -# Copyright (c) 2020 SUSE LLC +# Copyright (c) 2021 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed diff --git a/cross-ppc64-gcc7.changes b/cross-ppc64-gcc7.changes index 5595216..0eeca28 100644 --- a/cross-ppc64-gcc7.changes +++ b/cross-ppc64-gcc7.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Mon Jan 4 09:29:07 UTC 2021 - Richard Biener + +- Amend gcc7-aarch64-moutline-atomics.patch for glibc namespace + violation with getauxval. [bsc#1167939] + ------------------------------------------------------------------- Thu Nov 26 17:17:44 UTC 2020 - Michael Matz diff --git a/cross-ppc64-gcc7.spec b/cross-ppc64-gcc7.spec index de131aa..beb5020 100644 --- a/cross-ppc64-gcc7.spec +++ b/cross-ppc64-gcc7.spec @@ -1,7 +1,7 @@ # # spec file for package cross-ppc64-gcc7 # -# Copyright (c) 2020 SUSE LLC +# Copyright (c) 2021 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed diff --git a/cross-ppc64le-gcc7.changes b/cross-ppc64le-gcc7.changes index 5595216..0eeca28 100644 --- a/cross-ppc64le-gcc7.changes +++ b/cross-ppc64le-gcc7.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Mon Jan 4 09:29:07 UTC 2021 - Richard Biener + +- Amend gcc7-aarch64-moutline-atomics.patch for glibc namespace + violation with getauxval. [bsc#1167939] + ------------------------------------------------------------------- Thu Nov 26 17:17:44 UTC 2020 - Michael Matz diff --git a/cross-ppc64le-gcc7.spec b/cross-ppc64le-gcc7.spec index ce726bb..496b145 100644 --- a/cross-ppc64le-gcc7.spec +++ b/cross-ppc64le-gcc7.spec @@ -1,7 +1,7 @@ # # spec file for package cross-ppc64le-gcc7 # -# Copyright (c) 2020 SUSE LLC +# Copyright (c) 2021 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed diff --git a/cross-rx-gcc7-bootstrap.changes b/cross-rx-gcc7-bootstrap.changes index 5595216..0eeca28 100644 --- a/cross-rx-gcc7-bootstrap.changes +++ b/cross-rx-gcc7-bootstrap.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Mon Jan 4 09:29:07 UTC 2021 - Richard Biener + +- Amend gcc7-aarch64-moutline-atomics.patch for glibc namespace + violation with getauxval. [bsc#1167939] + ------------------------------------------------------------------- Thu Nov 26 17:17:44 UTC 2020 - Michael Matz diff --git a/cross-rx-gcc7-bootstrap.spec b/cross-rx-gcc7-bootstrap.spec index 4158d0c..4594661 100644 --- a/cross-rx-gcc7-bootstrap.spec +++ b/cross-rx-gcc7-bootstrap.spec @@ -1,7 +1,7 @@ # # spec file for package cross-rx-gcc7-bootstrap # -# Copyright (c) 2020 SUSE LLC +# Copyright (c) 2021 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed diff --git a/cross-rx-gcc7.changes b/cross-rx-gcc7.changes index 5595216..0eeca28 100644 --- a/cross-rx-gcc7.changes +++ b/cross-rx-gcc7.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Mon Jan 4 09:29:07 UTC 2021 - Richard Biener + +- Amend gcc7-aarch64-moutline-atomics.patch for glibc namespace + violation with getauxval. [bsc#1167939] + ------------------------------------------------------------------- Thu Nov 26 17:17:44 UTC 2020 - Michael Matz diff --git a/cross-rx-gcc7.spec b/cross-rx-gcc7.spec index c8bb624..352584d 100644 --- a/cross-rx-gcc7.spec +++ b/cross-rx-gcc7.spec @@ -1,7 +1,7 @@ # # spec file for package cross-rx-gcc7 # -# Copyright (c) 2020 SUSE LLC +# Copyright (c) 2021 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed diff --git a/cross-s390x-gcc7.changes b/cross-s390x-gcc7.changes index 5595216..0eeca28 100644 --- a/cross-s390x-gcc7.changes +++ b/cross-s390x-gcc7.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Mon Jan 4 09:29:07 UTC 2021 - Richard Biener + +- Amend gcc7-aarch64-moutline-atomics.patch for glibc namespace + violation with getauxval. [bsc#1167939] + ------------------------------------------------------------------- Thu Nov 26 17:17:44 UTC 2020 - Michael Matz diff --git a/cross-s390x-gcc7.spec b/cross-s390x-gcc7.spec index 61d4a3f..220863a 100644 --- a/cross-s390x-gcc7.spec +++ b/cross-s390x-gcc7.spec @@ -1,7 +1,7 @@ # # spec file for package cross-s390x-gcc7 # -# Copyright (c) 2020 SUSE LLC +# Copyright (c) 2021 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed diff --git a/cross-sparc-gcc7.changes b/cross-sparc-gcc7.changes index 5595216..0eeca28 100644 --- a/cross-sparc-gcc7.changes +++ b/cross-sparc-gcc7.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Mon Jan 4 09:29:07 UTC 2021 - Richard Biener + +- Amend gcc7-aarch64-moutline-atomics.patch for glibc namespace + violation with getauxval. [bsc#1167939] + ------------------------------------------------------------------- Thu Nov 26 17:17:44 UTC 2020 - Michael Matz diff --git a/cross-sparc-gcc7.spec b/cross-sparc-gcc7.spec index a124163..1a13dc9 100644 --- a/cross-sparc-gcc7.spec +++ b/cross-sparc-gcc7.spec @@ -1,7 +1,7 @@ # # spec file for package cross-sparc-gcc7 # -# Copyright (c) 2020 SUSE LLC +# Copyright (c) 2021 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed diff --git a/cross-sparc64-gcc7.changes b/cross-sparc64-gcc7.changes index 5595216..0eeca28 100644 --- a/cross-sparc64-gcc7.changes +++ b/cross-sparc64-gcc7.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Mon Jan 4 09:29:07 UTC 2021 - Richard Biener + +- Amend gcc7-aarch64-moutline-atomics.patch for glibc namespace + violation with getauxval. [bsc#1167939] + ------------------------------------------------------------------- Thu Nov 26 17:17:44 UTC 2020 - Michael Matz diff --git a/cross-sparc64-gcc7.spec b/cross-sparc64-gcc7.spec index 26244cc..fb7ddca 100644 --- a/cross-sparc64-gcc7.spec +++ b/cross-sparc64-gcc7.spec @@ -1,7 +1,7 @@ # # spec file for package cross-sparc64-gcc7 # -# Copyright (c) 2020 SUSE LLC +# Copyright (c) 2021 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed diff --git a/cross-x86_64-gcc7.changes b/cross-x86_64-gcc7.changes index 5595216..0eeca28 100644 --- a/cross-x86_64-gcc7.changes +++ b/cross-x86_64-gcc7.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Mon Jan 4 09:29:07 UTC 2021 - Richard Biener + +- Amend gcc7-aarch64-moutline-atomics.patch for glibc namespace + violation with getauxval. [bsc#1167939] + ------------------------------------------------------------------- Thu Nov 26 17:17:44 UTC 2020 - Michael Matz diff --git a/cross-x86_64-gcc7.spec b/cross-x86_64-gcc7.spec index 732b7a7..75d91ef 100644 --- a/cross-x86_64-gcc7.spec +++ b/cross-x86_64-gcc7.spec @@ -1,7 +1,7 @@ # # spec file for package cross-x86_64-gcc7 # -# Copyright (c) 2020 SUSE LLC +# Copyright (c) 2021 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed diff --git a/gcc7-aarch64-moutline-atomics.patch b/gcc7-aarch64-moutline-atomics.patch index cb8cdbf..33cf2d6 100644 --- a/gcc7-aarch64-moutline-atomics.patch +++ b/gcc7-aarch64-moutline-atomics.patch @@ -4242,3 +4242,57 @@ index 9535d688ee5..643ba7e8153 100644 -- 2.26.2 +commit 1266778548e20de82983b6446f3cb685068cfb1e +Author: Kyrylo Tkachov +Date: Wed May 6 16:20:38 2020 +0100 + + [AArch64] Use __getauxval instead of getauxval in LSE detection code in libgcc + + This version of the fix uses __getauxval instead of getauxval. + The whole thing is guarded simply on __gnu_linux__. + __getauxval was introduced in 2.16 but the aarch64 port was added in 2.17 so in practice I expect all aarch64 glibcs to support __getauxval. + + Bootstrapped and tested on aarch64-none-linux-gnu. + Also tested on aarch64-none-elf. + + 2020-05-06 Kyrylo Tkachov + + * config/aarch64/lse-init.c (init_have_lse_atomics): Use __getauxval + instead of getauxval. + (AT_HWCAP): Define. + (HWCAP_ATOMICS): Define. + Guard detection on __gnu_linux__. + +diff --git a/libgcc/config/aarch64/lse-init.c b/libgcc/config/aarch64/lse-init.c +index 74acef25cce..00e9ab8cd1c 100644 +--- a/libgcc/config/aarch64/lse-init.c ++++ b/libgcc/config/aarch64/lse-init.c +@@ -29,19 +29,20 @@ see the files COPYING3 and COPYING.RUNTIME respectively. If not, see + _Bool __aarch64_have_lse_atomics + __attribute__((visibility("hidden"), nocommon)); + +-/* Disable initialization of __aarch64_have_lse_atomics during bootstrap. */ +-#if !defined(inhibit_libc) && defined(HAVE_SYS_AUXV_H) +-# include ++/* Gate availability of __getauxval on glibc. All AArch64-supporting glibc ++ versions support it. */ ++#ifdef __gnu_linux__ + +-/* Disable initialization if the system headers are too old. */ +-# if defined(AT_HWCAP) && defined(HWCAP_ATOMICS) ++# define AT_HWCAP 16 ++# define HWCAP_ATOMICS (1 << 8) ++ ++unsigned long int __getauxval (unsigned long int); + + static void __attribute__((constructor)) + init_have_lse_atomics (void) + { +- unsigned long hwcap = getauxval (AT_HWCAP); ++ unsigned long hwcap = __getauxval (AT_HWCAP); + __aarch64_have_lse_atomics = (hwcap & HWCAP_ATOMICS) != 0; + } + +-# endif /* HWCAP */ +-#endif /* inhibit_libc */ ++#endif /* __gnu_linux__ */ diff --git a/gcc7-testresults.changes b/gcc7-testresults.changes index 5595216..0eeca28 100644 --- a/gcc7-testresults.changes +++ b/gcc7-testresults.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Mon Jan 4 09:29:07 UTC 2021 - Richard Biener + +- Amend gcc7-aarch64-moutline-atomics.patch for glibc namespace + violation with getauxval. [bsc#1167939] + ------------------------------------------------------------------- Thu Nov 26 17:17:44 UTC 2020 - Michael Matz diff --git a/gcc7-testresults.spec b/gcc7-testresults.spec index 5f69750..33afb57 100644 --- a/gcc7-testresults.spec +++ b/gcc7-testresults.spec @@ -1,7 +1,7 @@ # # spec file for package gcc7-testresults # -# Copyright (c) 2020 SUSE LLC +# Copyright (c) 2021 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed diff --git a/gcc7.changes b/gcc7.changes index 5595216..0eeca28 100644 --- a/gcc7.changes +++ b/gcc7.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Mon Jan 4 09:29:07 UTC 2021 - Richard Biener + +- Amend gcc7-aarch64-moutline-atomics.patch for glibc namespace + violation with getauxval. [bsc#1167939] + ------------------------------------------------------------------- Thu Nov 26 17:17:44 UTC 2020 - Michael Matz diff --git a/gcc7.spec b/gcc7.spec index 5a8852c..f26266b 100644 --- a/gcc7.spec +++ b/gcc7.spec @@ -1,7 +1,7 @@ # # spec file for package gcc7 # -# Copyright (c) 2020 SUSE LLC +# Copyright (c) 2021 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed