Open implr opened 2 years ago
I think this is just #13605, which in that person's case was a problem when they used overridden CFLAGS for -march
- in particular, I suspect what's happening is that it's compiling the non-SIMD version of the code to a SIMD version, but then something unsafe is ensuing because it's using it somewhere that that would not be safe.
That is possible, I missed that issue. I'm building with -O2 -march=native -pipe -ggdb
, which would be equivalent to znver2 in my case. I've been using those flags for a year+ though, so it's either caused by my recent upgrade to gcc12, or something in zfs.
I'll try without -march.
Seems to work fine now without march=native. Filed https://bugs.gentoo.org/856373 with Gentoo.
On Mon, 4 Jul 2022 at 07:36, Rich Ercolani @.***> wrote:
I think this is just #13605 https://github.com/openzfs/zfs/issues/13605, which in that person's case was a problem when they used overridden CFLAGS for -march - in particular, I suspect what's happening is that it's compiling the non-SIMD version of the code to a SIMD version, but then something unsafe is ensuing because it's using it somewhere that that would not be safe.
— Reply to this email directly, view it on GitHub https://github.com/openzfs/zfs/issues/13620#issuecomment-1173370315, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAVQYN4HFPTB7MFNZLMBMELVSJZ4PANCNFSM52Q22BMA . You are receiving this because you authored the thread.Message ID: @.***>
I think this is just #13605, which in that person's case was a problem when they used overridden CFLAGS for
-march
- in particular, I suspect what's happening is that it's compiling the non-SIMD version of the code to a SIMD version, but then something unsafe is ensuing because it's using it somewhere that that would not be safe.
Hmm userspace auto vectorization I would imagine is fair game, no? This seems like it could be a compiler bug or possibly some undefined behavior?
In theory, yes.
I have a few guesses about what broke, but haven't looked into it yet.
This issue has been automatically marked as "stale" because it has not had any activity for a while. It will be closed in 90 days if no further activity occurs. Thank you for your contributions.
System information
zfs send -Rw dataset@snap
consistently crashes before writing out anything. Initially noticed this with this dmesg message:Full backtrace: