[Bug 255753] devel/pyside2: py38-pyside2-5.15.2 poudriere build fails

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Thu May 27 08:41:04 BST 2021


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=255753

--- Comment #21 from crahman at gmail.com ---
I've done the tests you requested - I added the patch file in comment#19 to
qt5-qmake/files and recompiled it, and then built qt5-3d and py38-pyside2.

This is all on a machine without avx2 instructions.

qmodule.pri was unchanged by the qt5-qmake patch:

QT_CPU_FEATURES.x86_64 = mmx sse sse2
QT.global_private.enabled_features = sse2 alloca avx2 dlopen network
posix_fallocate reduce_exports reduce_relocations relocatable sql system-zlib
testlib xml
QT.global_private.disabled_features = alloca_h alloca_malloc_h
android-style-assets private_tests dbus dbus-linked gc_binaries gui intelcet
libudev release_tools stack-protector-strong widgets zstd
PKG_CONFIG_EXECUTABLE = pkgconf
QMAKE_LIBS_LIBDL = 
QT_COORD_TYPE = double
QMAKE_LIBS_ZLIB = -lz
CONFIG -= precompile_header
CONFIG += sse2 aesni sse3 ssse3 sse4_1 sse4_2 avx avx2 avx512f avx512bw
avx512cd avx512dq avx512er avx512ifma avx512pf avx512vbmi avx512vl
compile_examples f16c largefile rdrnd rdseed shani x86SimdAlways
QT_BUILD_PARTS += libs tools
QT_HOST_CFLAGS_DBUS += 

The patch from comment#19 did not change the avx2 issue in qt5-3d.  With or
without the patch, if qt5-3d/files/patch-src_core_configure.json is present,
qt5-3d is compiled with -mavx2, and matrix4x4_avx2.cpp is compiled, and the
configure summary shows:

  Use SSE2 instructions .................. yes
  Use AVX2 instructions .................. yes

and pyside2 fails to build.

With or without the patch, if qt5-3d/files/patch-src_core_configure.json is not
present, qt5-ed is compiled without -mavx2, matrix4x4.avx2.cpp is compiled, and
the configure summary shows:

  Use SSE2 instructions .................. yes
  Use AVX2 instructions .................. no

and pyside2 builds successfully.

The matrix4x4_avx2_cpp contents are conditionalized with an #ifdef
QT_COMPILER_SUPPORTS_AVX2, if that's of any use.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the kde-freebsd mailing list