[Bug 1912652] Re: Upgrading libc6-lse breaks on systems it is in use
This bug was fixed in the package glibc - 2.31-0ubuntu9.9 --- glibc (2.31-0ubuntu9.9) focal; urgency=medium * Disable testsuite on riscv64. It is failing maths tests intermittently in ways that cannot be a glibc regression and is disabled in later series anyway. glibc (2.31-0ubuntu9.8) focal; urgency=medium * Update for 20.04. (LP: #1951033) [ Balint Reczey ] * Cherry-pick upstream patch to fix building with -moutline-atomics * Prevent rare deadlock in pthread_cond_signal (LP: #1899800) [ Matthias Klose ] * Revert: Use DH_COMPAT=8 for dh_strip to fix debug sections for valgrind. Enables debugging ld.so related issues. (LP: #1918035) * Don't strip ld.so on armhf. (LP: #1927192) [ Gunnar Hjalmarsson ] * d/local/usr_sbin/update-locale: improve sanity checks. (LP: #1892825) [ Heitor Alves de Siqueira ] * d/p/u/git-lp1928508-reversing-calculation-of-__x86_shared_non_temporal.patch: - Fix memcpy() performance regression on x86 AMD systems (LP: #1928508) [ Aurelien Jarno ] * debian/debhelper.in/libc.preinst: drop the check for kernel release > 255 now that glibc and preinstall script are fixed. (LP: #1962225) [ Michael Hudson-Doyle ] * libc6 on arm64 is now built with -moutline-atomics so libc6-lse can now be an empty package that is safe to remove. (LP: #1912652) * d/patches/u/aarch64-memcpy-improvements.patch: Backport memcpy improvements. (LP: #1951032) * Add test-float64x-yn to xfails on riscv64. -- Michael Hudson-Doyle Thu, 07 Apr 2022 13:24:41 +1200 ** Changed in: glibc (Ubuntu Focal) Status: Fix Committed => Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1912652 Title: Upgrading libc6-lse breaks on systems it is in use To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/glibc/+bug/1912652/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1912652] Re: Upgrading libc6-lse breaks on systems it is in use
I verified that arm64 systems with and without libc6-lse installed upgrade to the new version of glibc in proposed smoothly. ** Tags removed: verification-needed verification-needed-focal verification-needed-groovy ** Tags added: verification-done-focal -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1912652 Title: Upgrading libc6-lse breaks on systems it is in use To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/glibc/+bug/1912652/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1912652] Re: Upgrading libc6-lse breaks on systems it is in use
Hello Giovanni, or anyone else affected, Accepted glibc into focal-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/glibc/2.31-0ubuntu9.8 in a few hours, and then in the -proposed repository. Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users. If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, what testing has been performed on the package and change the tag from verification-needed- focal to verification-done-focal. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification- failed-focal. In either case, without details of your testing we will not be able to proceed. Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance for helping! N.B. The updated package will be released to -updates after the bug(s) fixed by this package have been verified and the package has been in -proposed for a minimum of 7 days. ** Tags removed: verification-done-focal ** Tags added: verification-needed-focal -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1912652 Title: Upgrading libc6-lse breaks on systems it is in use To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/glibc/+bug/1912652/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1912652] Re: Upgrading libc6-lse breaks on systems it is in use
** Changed in: ubuntu-release-upgrader (Ubuntu Hirsute) Status: Confirmed => Won't Fix -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1912652 Title: Upgrading libc6-lse breaks on systems it is in use To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/glibc/+bug/1912652/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1912652] Re: Upgrading libc6-lse breaks on systems it is in use
** Changed in: glibc (Ubuntu Groovy) Status: Fix Committed => Won't Fix ** Changed in: ubuntu-release-upgrader (Ubuntu Groovy) Status: Confirmed => Won't Fix -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1912652 Title: Upgrading libc6-lse breaks on systems it is in use To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/glibc/+bug/1912652/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1912652] Re: Upgrading libc6-lse breaks on systems it is in use
With https://bugs.launchpad.net/ubuntu/+source/glibc/+bug/1912652/comments/20 I can now upgrade to groovy and hirsute in arm64, Thanks! -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1912652 Title: Upgrading libc6-lse breaks on systems it is in use To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/glibc/+bug/1912652/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1912652] Re: Upgrading libc6-lse breaks on systems it is in use
I've copied 2.31-0ubuntu9.3 to https://launchpad.net/~ci-train-ppa- service/+archive/ubuntu/4547 until the new update can be released including this fix. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1912652 Title: Upgrading libc6-lse breaks on systems it is in use To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/glibc/+bug/1912652/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1912652] Re: Upgrading libc6-lse breaks on systems it is in use
Status changed to 'Confirmed' because the bug affects multiple users. ** Changed in: ubuntu-release-upgrader (Ubuntu Groovy) Status: New => Confirmed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1912652 Title: Upgrading libc6-lse breaks on systems it is in use To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/glibc/+bug/1912652/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1912652] Re: Upgrading libc6-lse breaks on systems it is in use
Status changed to 'Confirmed' because the bug affects multiple users. ** Changed in: ubuntu-release-upgrader (Ubuntu Focal) Status: New => Confirmed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1912652 Title: Upgrading libc6-lse breaks on systems it is in use To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/glibc/+bug/1912652/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1912652] Re: Upgrading libc6-lse breaks on systems it is in use
Status changed to 'Confirmed' because the bug affects multiple users. ** Changed in: ubuntu-release-upgrader (Ubuntu Bionic) Status: New => Confirmed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1912652 Title: Upgrading libc6-lse breaks on systems it is in use To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/glibc/+bug/1912652/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1912652] Re: Upgrading libc6-lse breaks on systems it is in use
Status changed to 'Confirmed' because the bug affects multiple users. ** Changed in: glibc (Ubuntu Bionic) Status: New => Confirmed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1912652 Title: Upgrading libc6-lse breaks on systems it is in use To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/glibc/+bug/1912652/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1912652] Re: Upgrading libc6-lse breaks on systems it is in use
The fixed version has been moved back to focal-proposed due to regressions caused by LP: #1914044. ** Changed in: glibc (Ubuntu Focal) Status: Fix Released => Fix Committed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1912652 Title: Upgrading libc6-lse breaks on systems it is in use To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/glibc/+bug/1912652/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1912652] Re: Upgrading libc6-lse breaks on systems it is in use
With releasing the fix for Focal (20.04) the release upgrades from Bionic (18.04) are also fixed. Upgrades to a newer libc6-lse version in Bionic would still crash, but there is no newer official libc6-lse package for Bionic. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1912652 Title: Upgrading libc6-lse breaks on systems it is in use To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/glibc/+bug/1912652/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1912652] Re: Upgrading libc6-lse breaks on systems it is in use
This bug was fixed in the package glibc - 2.31-0ubuntu9.3 --- glibc (2.31-0ubuntu9.3) focal; urgency=medium [ Aurelien Jarno ] * debian/patches/any/git-surplus-tls-accounting.diff: backport TLS surplus accounting from upstream. (Closes: #964141) (LP: #1914044) [ Balint Reczey ] * Update debian/patches/ubuntu/local-disable-ld_audit.diff * Prevent rare deadlock in pthread_cond_signal (LP: #1899800) * Cherry-pick upstream patch to fix building with -moutline-atomics * Make libc6 provide libc6-lse on arm64. Libc6 is now compiled with -moutline-atomics thus the separate binary package is dropped. (LP: #1912652) * debian/control: Libc6 should Conflict and Replace libc6-lse -- Balint Reczey Mon, 29 Mar 2021 22:11:32 +0200 ** Changed in: glibc (Ubuntu Focal) Status: Fix Committed => Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1912652 Title: Upgrading libc6-lse breaks on systems it is in use To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/glibc/+bug/1912652/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1912652] Re: Upgrading libc6-lse breaks on systems it is in use
Verified glibc 2.31-0ubuntu9.3 on Focal. root@ff-lp1912652:~# gcc -O2 -o a.out a.c -lpthread -DITER=1000 -DTHREADS=64 root@ff-lp1912652:~# time ./a.out thread 0: min=128, max=390014464, average=15175.931641, mutexes_locked=224170, flips=12 ... thread 63: min=128, max=212314560, average=31851.539062, mutexes_locked=105648, flips=1 server: min=128, max=249241888, average=581391.875000, mutexes_locked=6158, flips=1000 real0m0.938s user0m7.363s sys 0m0.064s root@ff-lp1912652:~# apt install libc6-lse Reading package lists... Done Building dependency tree Reading state information... Done The following NEW packages will be installed: libc6-lse 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. Need to get 1035 kB of archives. After this operation, 3244 kB of additional disk space will be used. Get:1 http://ports.ubuntu.com/ubuntu-ports focal-updates/main arm64 libc6-lse arm64 2.31-0ubuntu9.2 [1035 kB] Fetched 1035 kB in 1s (1393 kB/s) Selecting previously unselected package libc6-lse:arm64. (Reading database ... 35769 files and directories currently installed.) Preparing to unpack .../libc6-lse_2.31-0ubuntu9.2_arm64.deb ... Unpacking libc6-lse:arm64 (2.31-0ubuntu9.2) ... Setting up libc6-lse:arm64 (2.31-0ubuntu9.2) ... Processing triggers for libc-bin (2.31-0ubuntu9.2) ... root@ff-lp1912652:~# reboot Session terminated, killing shell... ...killed. ubuntu@ip-172-31-20-158:~$ lxc shell ff-lp1912652 root@ff-lp1912652:~# time ./a.out thread 0: min=128, max=1119296, average=20925.992188, mutexes_locked=1371, flips=36 ...thread 61: min=128, max=15716704, average=295146.343750, mutexes_locked=96, flips=0 thread 62: min=100, max=12458848, average=12458848.00, mutexes_locked=1, flips=0 thread 63: min=128, max=9601760, average=27332.921875, mutexes_locked=1255, flips=9 server: min=128, max=5040224, average=19802.298828, mutexes_locked=1437, flips=1000 real0m0.014s user0m0.023s sys 0m0.059s root@ff-lp1912652:~# apt install libc-bin libc-dev-bin libc6 libc6-dev locales Reading package lists... Done Building dependency tree Reading state information... Done Suggested packages: glibc-doc The following packages will be REMOVED: libc6-lse The following packages will be upgraded: libc-bin libc-dev-bin libc6 libc6-dev locales 5 upgraded, 0 newly installed, 1 to remove and 12 not upgraded. Need to get 8770 kB of archives. After this operation, 3159 kB disk space will be freed. Do you want to continue? [Y/n] Get:1 http://ports.ubuntu.com/ubuntu-ports focal-proposed/main arm64 libc6-dev arm64 2.31-0ubuntu9.3 [2068 kB] Get:2 http://ports.ubuntu.com/ubuntu-ports focal-proposed/main arm64 libc-dev-bin arm64 2.31-0ubuntu9.3 [64.2 kB] Get:3 http://ports.ubuntu.com/ubuntu-ports focal-proposed/main arm64 libc6 arm64 2.31-0ubuntu9.3 [2270 kB] Get:4 http://ports.ubuntu.com/ubuntu-ports focal-proposed/main arm64 locales all 2.31-0ubuntu9.3 [3862 kB] Get:5 http://ports.ubuntu.com/ubuntu-ports focal-proposed/main arm64 libc-bin arm64 2.31-0ubuntu9.3 [506 kB] Fetched 8770 kB in 1s (7065 kB/s) Preconfiguring packages ... (Reading database ... 35813 files and directories currently installed.) Removing libc6-lse:arm64 (2.31-0ubuntu9.2) ... (Reading database ... 35769 files and directories currently installed.) Preparing to unpack .../libc6-dev_2.31-0ubuntu9.3_arm64.deb ... Unpacking libc6-dev:arm64 (2.31-0ubuntu9.3) over (2.31-0ubuntu9.2) ... Preparing to unpack .../libc-dev-bin_2.31-0ubuntu9.3_arm64.deb ... Unpacking libc-dev-bin (2.31-0ubuntu9.3) over (2.31-0ubuntu9.2) ... Preparing to unpack .../libc6_2.31-0ubuntu9.3_arm64.deb ... Unpacking libc6:arm64 (2.31-0ubuntu9.3) over (2.31-0ubuntu9.2) ... Setting up libc6:arm64 (2.31-0ubuntu9.3) ... (Reading database ... 35769 files and directories currently installed.) Preparing to unpack .../locales_2.31-0ubuntu9.3_all.deb ... Unpacking locales (2.31-0ubuntu9.3) over (2.31-0ubuntu9.2) ... Preparing to unpack .../libc-bin_2.31-0ubuntu9.3_arm64.deb ... Unpacking libc-bin (2.31-0ubuntu9.3) over (2.31-0ubuntu9.2) ... Setting up libc-bin (2.31-0ubuntu9.3) ... Setting up locales (2.31-0ubuntu9.3) ... Generating locales (this might take a while)... en_US.UTF-8... done Generation complete. Setting up libc-dev-bin (2.31-0ubuntu9.3) ... Setting up libc6-dev:arm64 (2.31-0ubuntu9.3) ... Processing triggers for man-db (2.9.1-1) ... root@ff-lp1912652:~# time ./a.out thread 0: min=128, max=2640064, average=19436.712891, mutexes_locked=1334, flips=31 thread 1: min=128, max=2480992, average=13251.751953, mutexes_locked=2115, flips=53 ... thread 62: min=128, max=112618720, average=94604.898438, mutexes_locked=2004, flips=25 thread 63: min=128, max=129409344, average=88098.539062, mutexes_locked=3266, flips=14 server: min=128, max=94762112, average=140166.890625, mutexes_locked=1347, flips=1000 real0m0.080s user0m0.181s sys 0m0.441s root@ff-lp1912652:~# dpkg -l libc6 Desired=Unknown/Install/Remove/Purge/Hold
[Bug 1912652] Re: Upgrading libc6-lse breaks on systems it is in use
Hello Giovanni, or anyone else affected, Accepted glibc into focal-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/glibc/2.31-0ubuntu9.3 in a few hours, and then in the -proposed repository. Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users. If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, what testing has been performed on the package and change the tag from verification-needed- focal to verification-done-focal. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification- failed-focal. In either case, without details of your testing we will not be able to proceed. Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance for helping! N.B. The updated package will be released to -updates after the bug(s) fixed by this package have been verified and the package has been in -proposed for a minimum of 7 days. ** Changed in: glibc (Ubuntu Focal) Status: In Progress => Fix Committed ** Tags added: verification-needed-focal -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1912652 Title: Upgrading libc6-lse breaks on systems it is in use To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/glibc/+bug/1912652/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1912652] Re: Upgrading libc6-lse breaks on systems it is in use
Hello Giovanni, or anyone else affected, Accepted glibc into groovy-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/glibc/2.32-0ubuntu3.2 in a few hours, and then in the -proposed repository. Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users. If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, what testing has been performed on the package and change the tag from verification-needed- groovy to verification-done-groovy. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification- failed-groovy. In either case, without details of your testing we will not be able to proceed. Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance for helping! N.B. The updated package will be released to -updates after the bug(s) fixed by this package have been verified and the package has been in -proposed for a minimum of 7 days. ** Changed in: glibc (Ubuntu Groovy) Status: In Progress => Fix Committed ** Tags added: verification-needed verification-needed-groovy -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1912652 Title: Upgrading libc6-lse breaks on systems it is in use To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/glibc/+bug/1912652/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1912652] Re: Upgrading libc6-lse breaks on systems it is in use
The fixed version for Groovy is prepared in https://bileto.ubuntu.com/#/ticket/4512 and is waiting for the riscv64 build to finish. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1912652 Title: Upgrading libc6-lse breaks on systems it is in use To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/glibc/+bug/1912652/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1912652] Re: Upgrading libc6-lse breaks on systems it is in use
** Description changed: [Impact] * On arm64 systems supporting LSE and libc6-lse being installed an attempt to upgrade the package makes the upgrade fail and leave the system in an unusable state. * Performing a release upgrade on such arm64 systems also break if the libc6-lse package was installed and it is also present in the target release. [Test Plan (Focal)] - * Set up an 8 core LSE system such as one of the AWS Graviton2 instances. - * If libc6-lse is installed, remove it. - * Compile and run the a.c test program attached in LP: #1885012 and measure the run time a few times. -gcc -O2 -o a.out a.c -lpthread -DITER=1000 -DTHREADS=64 - * Install libc6-lse (again). - * Reboot - * Upgrade to the fixed libc6 package which Provides libc6-lse. - * The upgrade should succeed and automatically remove the libc6-lse package. - * Run the compiled a.c again and observe it running much faster than with the standard libc6 package. + * Set up an 8 core LSE system such as one of the AWS Graviton2 instances. + * If libc6-lse is installed, remove it. + * Compile and run the a.c test program attached in LP: #1885012 and measure the run time a few times. + gcc -O2 -o a.out a.c -lpthread -DITER=1000 -DTHREADS=64 + * Install libc6-lse (again). + * Reboot + * Upgrade to the fixed libc6 package which Provides libc6-lse. + * The upgrade should succeed and remove the libc6-lse package. + * Run the compiled a.c again and observe it running much faster than with the standard libc6 package. [Test Plan (Groovy)] - * Groovy's libc6 is already compiled with -moutline-atomics by default, thus there is no need to verify that. - * Set up an LSE system such as one of the AWS Graviton2 instances. - * Install libc6-lse if it is not installed. - * Reboot - * Upgrade to the fixed libc6 package which Provides libc6-lse. - * The upgrade should succeed and automatically remove the libc6-lse package. + * Groovy's libc6 is already compiled with -moutline-atomics by default, thus there is no need to verify that. + * Set up an LSE system such as one of the AWS Graviton2 instances. + * Install libc6-lse if it is not installed. + * Reboot + * Upgrade to the fixed libc6 package which Provides libc6-lse. + * The upgrade should succeed and automatically remove the libc6-lse package. [Where problems could occur] * The fix is compiling libc6 with -moutline-atomics which is in use instead of shipping the libc6-lse separate binary package. Should there be any GCC bug it could cause problems. [Other Info (Focal)] * The positive side effect of merging libc6-lse to libc6 and enabling optimization is that on capable HW the default libc6 will take advantage of the LSE instructions and improve the performance without requiring the installation of the additional libc libraries. [Original Bug Text] Errors were encountered while processing: /var/cache/apt/archives/libc6_2.32-0ubuntu3_arm64.deb Exception during pm.DoInstall(): E:Sub-process /usr/bin/dpkg returned an error code (1) ProblemType: Package DistroRelease: Ubuntu 20.04 Package: libc6 2.31-0ubuntu9.1 ProcVersionSignature: Ubuntu 5.4.0-1035.37-aws 5.4.78 Uname: Linux 5.4.0-1035-aws aarch64 ApportVersion: 2.20.11-0ubuntu27.14 Architecture: arm64 CasperMD5CheckResult: skip Date: Thu Jan 21 16:19:53 2021 Df: Dmesg: Ec2AMI: ami-0489277f0e9a94f8d Ec2AMIManifest: (unknown) Ec2AvailabilityZone: eu-central-1c Ec2InstanceType: t4g.micro Ec2Kernel: unavailable Ec2Ramdisk: unavailable ErrorMessage: new libc6:arm64 package post-removal script subprocess returned error exit status 127 Python3Details: /usr/bin/python3.8, Python 3.8.5, python3-minimal, 3.8.2-0ubuntu2 PythonDetails: N/A RelatedPackageVersions: dpkg 1.19.7ubuntu3 apt 2.0.2ubuntu0.2 SourcePackage: glibc Title: package libc6 2.31-0ubuntu9.1 failed to install/upgrade: new libc6:arm64 package post-removal script subprocess returned error exit status 127 UpgradeStatus: Upgraded to focal on 2021-01-21 (0 days ago) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1912652 Title: Upgrading libc6-lse breaks on systems it is in use To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/glibc/+bug/1912652/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1912652] Re: Upgrading libc6-lse breaks on systems it is in use
** Description changed: [Impact] * On arm64 systems supporting LSE and libc6-lse being installed an attempt to upgrade the package makes the upgrade fail and leave the system in an unusable state. * Performing a release upgrade on such arm64 systems also break if the libc6-lse package was installed and it is also present in the target release. - [Test Plan] + [Test Plan (Focal)] - * Set up an 8 core LSE system such as one of the AWS Graviton2 instances. - * If libc6-lse is installed, remove it. - * Compile and run the a.c test program attached in LP: #1885012 and measure the run time a few times. - gcc -O2 -o a.out a.c -lpthread -DITER=1000 -DTHREADS=64 - * Install libc6-lse (again). - * Reboot - * Upgrade to the fixed libc6 package which Provides libc6-lse. - * The upgrade should succeed and automatically remove the libc6-lse package. - * Run the compiled a.c again and observe it running much faster than with the standard libc6 package. + * Set up an 8 core LSE system such as one of the AWS Graviton2 instances. + * If libc6-lse is installed, remove it. + * Compile and run the a.c test program attached in LP: #1885012 and measure the run time a few times. +gcc -O2 -o a.out a.c -lpthread -DITER=1000 -DTHREADS=64 + * Install libc6-lse (again). + * Reboot + * Upgrade to the fixed libc6 package which Provides libc6-lse. + * The upgrade should succeed and automatically remove the libc6-lse package. + * Run the compiled a.c again and observe it running much faster than with the standard libc6 package. + + [Test Plan (Groovy)] + + * Groovy's libc6 is already compiled with -moutline-atomics by default, thus there is no need to verify that. + * Set up an LSE system such as one of the AWS Graviton2 instances. + * Install libc6-lse if it is not installed. + * Reboot + * Upgrade to the fixed libc6 package which Provides libc6-lse. + * The upgrade should succeed and automatically remove the libc6-lse package. [Where problems could occur] * The fix is compiling libc6 with -moutline-atomics which is in use instead of shipping the libc6-lse separate binary package. Should there be any GCC bug it could cause problems. - [Other Info] + [Other Info (Focal)] * The positive side effect of merging libc6-lse to libc6 and enabling optimization is that on capable HW the default libc6 will take advantage of the LSE instructions and improve the performance without requiring the installation of the additional libc libraries. [Original Bug Text] Errors were encountered while processing: /var/cache/apt/archives/libc6_2.32-0ubuntu3_arm64.deb Exception during pm.DoInstall(): E:Sub-process /usr/bin/dpkg returned an error code (1) ProblemType: Package DistroRelease: Ubuntu 20.04 Package: libc6 2.31-0ubuntu9.1 ProcVersionSignature: Ubuntu 5.4.0-1035.37-aws 5.4.78 Uname: Linux 5.4.0-1035-aws aarch64 ApportVersion: 2.20.11-0ubuntu27.14 Architecture: arm64 CasperMD5CheckResult: skip Date: Thu Jan 21 16:19:53 2021 Df: Dmesg: Ec2AMI: ami-0489277f0e9a94f8d Ec2AMIManifest: (unknown) Ec2AvailabilityZone: eu-central-1c Ec2InstanceType: t4g.micro Ec2Kernel: unavailable Ec2Ramdisk: unavailable ErrorMessage: new libc6:arm64 package post-removal script subprocess returned error exit status 127 Python3Details: /usr/bin/python3.8, Python 3.8.5, python3-minimal, 3.8.2-0ubuntu2 PythonDetails: N/A RelatedPackageVersions: dpkg 1.19.7ubuntu3 apt 2.0.2ubuntu0.2 SourcePackage: glibc Title: package libc6 2.31-0ubuntu9.1 failed to install/upgrade: new libc6:arm64 package post-removal script subprocess returned error exit status 127 UpgradeStatus: Upgraded to focal on 2021-01-21 (0 days ago) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1912652 Title: Upgrading libc6-lse breaks on systems it is in use To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/glibc/+bug/1912652/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1912652] Re: Upgrading libc6-lse breaks on systems it is in use
** Description changed: [Impact] * On arm64 systems supporting LSE and libc6-lse being installed an attempt to upgrade the package makes the upgrade fail and leave the system in an unusable state. * Performing a release upgrade on such arm64 systems also break if the libc6-lse package was installed and it is also present in the target release. [Test Plan] * Set up an 8 core LSE system such as one of the AWS Graviton2 instances. * If libc6-lse is installed, remove it. * Compile and run the a.c test program attached in LP: #1885012 and measure the run time. +gcc -O2 -o a.out a.c -lpthread -DITER=1000 -DTHREADS=64 * Install libc6-lse (again). * Reboot * Upgrade to the fixed libc6 package which Provides libc6-lse. * The upgrade should succeed and automatically remove the libc6-lse package. * Run the compiled a.c again and observe it running much faster than with the standard libc6 package. [Where problems could occur] * The fix is compiling libc6 with -moutline-atomics which is in use instead of shipping the libc6-lse separate binary package. Should there be any GCC bug it could cause problems. [Other Info] * The positive side effect of merging libc6-lse to libc6 and enabling optimization is that on capable HW the default libc6 will take advantage of the LSE instructions and improve the performance without requiring the installation of the additional libc libraries. [Original Bug Text] Errors were encountered while processing: /var/cache/apt/archives/libc6_2.32-0ubuntu3_arm64.deb Exception during pm.DoInstall(): E:Sub-process /usr/bin/dpkg returned an error code (1) ProblemType: Package DistroRelease: Ubuntu 20.04 Package: libc6 2.31-0ubuntu9.1 ProcVersionSignature: Ubuntu 5.4.0-1035.37-aws 5.4.78 Uname: Linux 5.4.0-1035-aws aarch64 ApportVersion: 2.20.11-0ubuntu27.14 Architecture: arm64 CasperMD5CheckResult: skip Date: Thu Jan 21 16:19:53 2021 Df: Dmesg: Ec2AMI: ami-0489277f0e9a94f8d Ec2AMIManifest: (unknown) Ec2AvailabilityZone: eu-central-1c Ec2InstanceType: t4g.micro Ec2Kernel: unavailable Ec2Ramdisk: unavailable ErrorMessage: new libc6:arm64 package post-removal script subprocess returned error exit status 127 Python3Details: /usr/bin/python3.8, Python 3.8.5, python3-minimal, 3.8.2-0ubuntu2 PythonDetails: N/A RelatedPackageVersions: dpkg 1.19.7ubuntu3 apt 2.0.2ubuntu0.2 SourcePackage: glibc Title: package libc6 2.31-0ubuntu9.1 failed to install/upgrade: new libc6:arm64 package post-removal script subprocess returned error exit status 127 UpgradeStatus: Upgraded to focal on 2021-01-21 (0 days ago) ** Description changed: [Impact] * On arm64 systems supporting LSE and libc6-lse being installed an attempt to upgrade the package makes the upgrade fail and leave the system in an unusable state. * Performing a release upgrade on such arm64 systems also break if the libc6-lse package was installed and it is also present in the target release. [Test Plan] * Set up an 8 core LSE system such as one of the AWS Graviton2 instances. * If libc6-lse is installed, remove it. - * Compile and run the a.c test program attached in LP: #1885012 and measure the run time. -gcc -O2 -o a.out a.c -lpthread -DITER=1000 -DTHREADS=64 + * Compile and run the a.c test program attached in LP: #1885012 and measure the run time a few times. + gcc -O2 -o a.out a.c -lpthread -DITER=1000 -DTHREADS=64 * Install libc6-lse (again). * Reboot * Upgrade to the fixed libc6 package which Provides libc6-lse. * The upgrade should succeed and automatically remove the libc6-lse package. * Run the compiled a.c again and observe it running much faster than with the standard libc6 package. [Where problems could occur] * The fix is compiling libc6 with -moutline-atomics which is in use instead of shipping the libc6-lse separate binary package. Should there be any GCC bug it could cause problems. [Other Info] * The positive side effect of merging libc6-lse to libc6 and enabling optimization is that on capable HW the default libc6 will take advantage of the LSE instructions and improve the performance without requiring the installation of the additional libc libraries. [Original Bug Text] Errors were encountered while processing: /var/cache/apt/archives/libc6_2.32-0ubuntu3_arm64.deb Exception during pm.DoInstall(): E:Sub-process /usr/bin/dpkg returned an error code (1) ProblemType: Package DistroRelease: Ubuntu 20.04 Package: libc6 2.31-0ubuntu9.1 ProcVersionSignature: Ubuntu 5.4.0-1035.37-aws 5.4.78 Uname: Linux 5.4.0-1035-aws aarch64 ApportVersion: 2.20.11-0ubuntu27.14 Architecture: arm64 CasperMD5CheckResult: skip Date: Thu Jan 21 16:19:53 2021 Df: Dmesg: Ec2AMI: ami-0489277f0e9a94f8d Ec2AMIManifest: (unknown) Ec2AvailabilityZone: eu-central-1c Ec2Ins
[Bug 1912652] Re: Upgrading libc6-lse breaks on systems it is in use
** Description changed: [Impact] - * On arm64 systems supporting LSE and libc6-lse being installed an attempt to upgrade the package makes the upgrade fail and leave the system in an unusable state. - * Performing a release upgrade on such arm64 systems also break if the libc6-lse package was installed and it is also present in the target release. + * On arm64 systems supporting LSE and libc6-lse being installed an attempt to upgrade the package makes the upgrade fail and leave the system in an unusable state. + * Performing a release upgrade on such arm64 systems also break if the libc6-lse package was installed and it is also present in the target release. [Test Plan] - * Set up an 8 core LSE system such as one of the AWS Graviton2 instances. - * If libc6-lse is installed, remove it. - * Compile and run the a.c test program attached in LP: #1885012 and measure the run time. - * Install libc6-lse (again). - * Reboot - * Upgrade to the fixed libc6 package which Provides libc6-lse. - * The upgrade should succeed and automatically remove the libc6-lse package. - * Run the compiled a.c again and observe it running much faster than with the standard libc6 package. + * Set up an 8 core LSE system such as one of the AWS Graviton2 instances. + * If libc6-lse is installed, remove it. + * Compile and run the a.c test program attached in LP: #1885012 and measure the run time. + * Install libc6-lse (again). + * Reboot + * Upgrade to the fixed libc6 package which Provides libc6-lse. + * The upgrade should succeed and automatically remove the libc6-lse package. + * Run the compiled a.c again and observe it running much faster than with the standard libc6 package. [Where problems could occur] * The fix is compiling libc6 with -moutline-atomics which is in use - instead of shipping the libc6-lse separate binary package. + instead of shipping the libc6-lse separate binary package. Should there + be any GCC bug it could cause problems. [Other Info] + + * The positive side effect of merging libc6-lse to libc6 and enabling + optimization is that on capable HW the default libc6 will take advantage + of the LSE instructions and improve the performance without requiring + the installation of the additional libc libraries. [Original Bug Text] Errors were encountered while processing: /var/cache/apt/archives/libc6_2.32-0ubuntu3_arm64.deb Exception during pm.DoInstall(): E:Sub-process /usr/bin/dpkg returned an error code (1) ProblemType: Package DistroRelease: Ubuntu 20.04 Package: libc6 2.31-0ubuntu9.1 ProcVersionSignature: Ubuntu 5.4.0-1035.37-aws 5.4.78 Uname: Linux 5.4.0-1035-aws aarch64 ApportVersion: 2.20.11-0ubuntu27.14 Architecture: arm64 CasperMD5CheckResult: skip Date: Thu Jan 21 16:19:53 2021 Df: Dmesg: Ec2AMI: ami-0489277f0e9a94f8d Ec2AMIManifest: (unknown) Ec2AvailabilityZone: eu-central-1c Ec2InstanceType: t4g.micro Ec2Kernel: unavailable Ec2Ramdisk: unavailable ErrorMessage: new libc6:arm64 package post-removal script subprocess returned error exit status 127 Python3Details: /usr/bin/python3.8, Python 3.8.5, python3-minimal, 3.8.2-0ubuntu2 PythonDetails: N/A RelatedPackageVersions: dpkg 1.19.7ubuntu3 apt 2.0.2ubuntu0.2 SourcePackage: glibc Title: package libc6 2.31-0ubuntu9.1 failed to install/upgrade: new libc6:arm64 package post-removal script subprocess returned error exit status 127 UpgradeStatus: Upgraded to focal on 2021-01-21 (0 days ago) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1912652 Title: Upgrading libc6-lse breaks on systems it is in use To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/glibc/+bug/1912652/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1912652] Re: Upgrading libc6-lse breaks on systems it is in use
** Changed in: glibc (Ubuntu Groovy) Status: New => In Progress ** Description changed: + [Impact] + + * On arm64 systems supporting LSE and libc6-lse being installed an attempt to upgrade the package makes the upgrade fail and leave the system in an unusable state. + * Performing a release upgrade on such arm64 systems also break if the libc6-lse package was installed and it is also present in the target release. + + [Test Plan] + + * Set up an 8 core LSE system such as one of the AWS Graviton2 instances. + * If libc6-lse is installed, remove it. + * Compile and run the a.c test program attached in LP: #1885012 and measure the run time. + * Install libc6-lse (again). + * Reboot + * Upgrade to the fixed libc6 package which Provides libc6-lse. + * The upgrade should succeed and automatically remove the libc6-lse package. + * Run the compiled a.c again and observe it running much faster than with the standard libc6 package. + + [Where problems could occur] + + * The fix is compiling libc6 with -moutline-atomics which is in use + instead of shipping the libc6-lse separate binary package. + + [Other Info] + + [Original Bug Text] + Errors were encountered while processing: - /var/cache/apt/archives/libc6_2.32-0ubuntu3_arm64.deb + /var/cache/apt/archives/libc6_2.32-0ubuntu3_arm64.deb Exception during pm.DoInstall(): E:Sub-process /usr/bin/dpkg returned an error code (1) ProblemType: Package DistroRelease: Ubuntu 20.04 Package: libc6 2.31-0ubuntu9.1 ProcVersionSignature: Ubuntu 5.4.0-1035.37-aws 5.4.78 Uname: Linux 5.4.0-1035-aws aarch64 ApportVersion: 2.20.11-0ubuntu27.14 Architecture: arm64 CasperMD5CheckResult: skip Date: Thu Jan 21 16:19:53 2021 Df: - + Dmesg: - + Ec2AMI: ami-0489277f0e9a94f8d Ec2AMIManifest: (unknown) Ec2AvailabilityZone: eu-central-1c Ec2InstanceType: t4g.micro Ec2Kernel: unavailable Ec2Ramdisk: unavailable ErrorMessage: new libc6:arm64 package post-removal script subprocess returned error exit status 127 Python3Details: /usr/bin/python3.8, Python 3.8.5, python3-minimal, 3.8.2-0ubuntu2 PythonDetails: N/A RelatedPackageVersions: - dpkg 1.19.7ubuntu3 - apt 2.0.2ubuntu0.2 + dpkg 1.19.7ubuntu3 + apt 2.0.2ubuntu0.2 SourcePackage: glibc Title: package libc6 2.31-0ubuntu9.1 failed to install/upgrade: new libc6:arm64 package post-removal script subprocess returned error exit status 127 UpgradeStatus: Upgraded to focal on 2021-01-21 (0 days ago) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1912652 Title: Upgrading libc6-lse breaks on systems it is in use To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/glibc/+bug/1912652/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1912652] Re: Upgrading libc6-lse breaks on systems it is in use
** Changed in: glibc (Ubuntu Focal) Status: New => In Progress -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1912652 Title: Upgrading libc6-lse breaks on systems it is in use To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/glibc/+bug/1912652/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1912652] Re: Upgrading libc6-lse breaks on systems it is in use
In Bionic the fix for LP: #1885012 introduced the libc6-lse package and caused this upgrade issue. ** Tags added: regression-update -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1912652 Title: Upgrading libc6-lse breaks on systems it is in use To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/glibc/+bug/1912652/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs