summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/python-openstackclient/git@git.tavy.me:nixos
diff options
context:
space:
mode:
authorSergei Trofimovich <slyich@gmail.com>2024-02-08 20:51:54 +0000
committerSergei Trofimovich <slyich@gmail.com>2024-02-08 20:52:44 +0000
commit410d15e1568c6191d43fd726e61ddbc8c5af3cb0 (patch)
tree60ff466d31933b6645bbe73e2d9ba778c52112ee /pkgs/development/python-modules/python-openstackclient/git@git.tavy.me:nixos
parenta5d28c9bffb49868ca5688e5767d0782a995163b (diff)
linuxPackages_latest.perf: add `-O1` workaround for `gcc-13`
Without the change `perf top` just crashes early as: $ perf top perf: Segmentation fault -------- backtrace -------- /<<NIX>>/perf-linux-6.7.4/bin/perf[0x627382] /<<NIX>>/glibc-2.38-27/lib/libc.so.6(+0x3deb0)[0x7f423a054eb0] /<<NIX>>/perf-linux-6.7.4/bin/perf(__dsos__findnew_link_by_longname_id+0x34b)[0x53655b] /<<NIX>>/perf-linux-6.7.4/bin/perf(map__new+0x35f)[0x55884f] /<<NIX>>/perf-linux-6.7.4/bin/perf(machine__process_mmap2_event+0xb7)[0x557b27] /<<NIX>>/perf-linux-6.7.4/bin/perf(perf_tool__process_synth_event+0x7e)[0x59e86e] /<<NIX>>/perf-linux-6.7.4/bin/perf(perf_event__synthesize_mmap_events+0x370)[0x59f0e0] /<<NIX>>/perf-linux-6.7.4/bin/perf[0x59fd5c] /<<NIX>>/perf-linux-6.7.4/bin/perf[0x59ffcc] /<<NIX>>/perf-linux-6.7.4/bin/perf[0x5a0093] /<<NIX>>/glibc-2.38-27/lib/libc.so.6(+0x8b333)[0x7f423a0a2333] /<<NIX>>/glibc-2.38-27/lib/libc.so.6(+0x10defc)[0x7f423a124efc] It's a known `gcc-12+` bug not yet fixed in `gcc-13`: https://gcc.gnu.org/PR111009 Let's demote optimizations from `-O2` down to `-O1` to disable any VRP-related effects for affected `gcc-13`.
Diffstat (limited to 'pkgs/development/python-modules/python-openstackclient/git@git.tavy.me:nixos')
0 files changed, 0 insertions, 0 deletions