https://bugs.kde.org/show_bug.cgi?id=458033

amyspark <a...@amyspark.me> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|NOT A BUG                   |---

--- Comment #11 from amyspark <a...@amyspark.me> ---
(In reply to Timo Gurr from comment #10)
> (In reply to amyspark from comment #9)
> > (In reply to Timo Gurr from comment #8)
> > > I haven't come across any issues with other packages and since we're a
> > > source-based distribution and compile everything such fundamental issues
> > > should become directly obvious.
> > > 
> > > Also our GCC version is pretty recent:
> > 
> > The RGBA interleavers code that's causing the error checks for 256-bit wide
> > vectors (AVX) of 32-bit integers. Your version of GCC is reporting `unsigned
> > int` to not be 32-bit in size. I do not know what your distribution is
> > doing, but the code is not designed for that circumstance.
> > 
> > FTR, I compile the code with Clang 14.0.6, GCC 12.1 (MSYS flavours CLANG64
> > and UCRT64), and MSVC 17.4 Preview 1. All of them work correctly.
> 
> After further investigation and finding the actual problem I'd say this is
> clearly an issue on your side regarding the CMake magic you've implemented
> doing the wrong thing since if I compile with -march=x86-64 krita builds
> just fine with vectorization/xsimd enabled, but it fails when trying to
> build with -march=native on the very same machine with nothing else changed.
> That shouldn't be the case and I don't consider this an issue with our
> compiler. Probably you should be able to reproduce this when trying to
> compile with -march=native as well, not sure what the CMake magic does in
> regards to different hardware/processor features though and if that may also
> play a role here.

march=native? That's the key to this issue, reopening and assigning to myself.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to