Summary: | app-arch/lbzip2: Sometimes produces corrupt archives when compiled with clang and vectorization with certain march values. | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Violet Purcell <vimproved> |
Component: | Current packages | Assignee: | Matt Turner <mattst88> |
Status: | UNCONFIRMED --- | ||
Severity: | normal | CC: | ionen, lockalsash, sam, toolchain, vimproved |
Priority: | Normal | Keywords: | PullRequest |
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
See Also: |
https://bugs.gentoo.org/show_bug.cgi?id=476682 https://github.com/llvm/llvm-project/issues/87189 https://github.com/gentoo/gentoo/pull/37515 |
||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 408963, 915000 |
Description
Violet Purcell
2023-07-16 20:13:39 UTC
I had the same issue with `clang -flto=thin -O2 -march=native` system (znver4). Got a lot of broken environment.bz2 files. Maybe this is related to https://phabricator.wikimedia.org/T208647, but I just want to confirm that it is unsafe to use lbzip2 as bzip2 alternative in such conditions. Reported to LLVM as https://github.com/llvm/llvm-project/issues/87189. Workaround is: tc-is-clang && append-flags "-mno-avx512f" Thanks for the more detailed analysis. |