glibc/glibc-python3.patch

37 lines
1.3 KiB
Diff
Raw Normal View History

Use python3 for installed executable python scripts.
Fedora is a Python3-only distribution:
https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3
This fixes build failures where builders may strictly enforce only
python3 during a transitional phase.
Author: Carlos O'Donell <carlos@redhat.com>
Auto-sync with upstream branch master Upstream commit: 28713c06129f8f64f88c423266e6ff2880216509 - elf: Sort tests and modules-names - hurd: nuke all unknown ports on exec - hurd: Fix auth port leak - Remove stale reference to libanl.a - elf: Add <dl-debug.h> - Properly check linker option in LIBC_LINKER_FEATURE [BZ #28738] - hurd: Implement _S_msg_get_dtable - Update automatically-generated copyright dates - Sync move-if-change from Gnulib, updating copyright - Update copyright dates not handled by scripts/update-copyrights. - Update copyright dates with scripts/update-copyrights - hurd: Use __trivfs_server_name instead of trivfs_server_name - hurd: Bump BRK_START to 0x20000000 - hurd: Avoid overzealous shared objects constraints - time: Refactor timesize.h for some ABIs - hurd: Make getrandom a stub inside the random translator - open64: Force O_LARGEFILE on all architectures - x86-64: Add vector tan/tanf implementation to libmvec - x86-64: Add vector erfc/erfcf implementation to libmvec - resolv: Do not install libanl.so symbolic link - resolv: Do not build libanl.so for ABIs starting at 2.35 - timezone: test-case for BZ #28707 - timezone: handle truncated timezones from tzcode-2021d and later (BZ #28707) - x86-64: Add vector asinh/asinhf implementation to libmvec - x86-64: Add vector tanh/tanhf implementation to libmvec - x86-64: Add vector erf/erff implementation to libmvec - x86-64: Add vector acosh/acoshf implementation to libmvec - x86-64: Add vector atanh/atanhf implementation to libmvec - x86-64: Add vector log1p/log1pf implementation to libmvec - x86-64: Add vector log2/log2f implementation to libmvec - x86-64: Add vector log10/log10f implementation to libmvec - x86-64: Add vector atan2/atan2f implementation to libmvec - x86-64: Add vector cbrt/cbrtf implementation to libmvec - x86-64: Add vector sinh/sinhf implementation to libmvec - x86-64: Add vector expm1/expm1f implementation to libmvec - x86-64: Add vector cosh/coshf implementation to libmvec - x86-64: Add vector exp10/exp10f implementation to libmvec - x86-64: Add vector exp2/exp2f implementation to libmvec - x86-64: Add vector hypot/hypotf implementation to libmvec - x86-64: Add vector asin/asinf implementation to libmvec - x86-64: Add vector atan/atanf implementation to libmvec
2022-01-04 14:54:08 +00:00
diff --git a/benchtests/scripts/compare_bench.py b/benchtests/scripts/compare_bench.py
index 9a91c2649106a740..9f1ea9d85f4b833a 100755
--- a/benchtests/scripts/compare_bench.py
+++ b/benchtests/scripts/compare_bench.py
@@ -1,5 +1,5 @@
-#!/usr/bin/python
-# Copyright (C) 2015-2023 Free Software Foundation, Inc.
+#!/usr/bin/python3
+# Copyright (C) 2015-2022 Free Software Foundation, Inc.
# This file is part of the GNU C Library.
#
# The GNU C Library is free software; you can redistribute it and/or
diff --git a/benchtests/scripts/import_bench.py b/benchtests/scripts/import_bench.py
index 92d9dc4fbaf08382..698c4ff81b13f697 100644
--- a/benchtests/scripts/import_bench.py
+++ b/benchtests/scripts/import_bench.py
@@ -1,5 +1,5 @@
-#!/usr/bin/python
-# Copyright (C) 2015-2023 Free Software Foundation, Inc.
+#!/usr/bin/python3
+# Copyright (C) 2015-2022 Free Software Foundation, Inc.
# This file is part of the GNU C Library.
#
# The GNU C Library is free software; you can redistribute it and/or