Uploaded image for project: 'Funtoo Linux'
  1. Funtoo Linux
  2. FL-10503

metro: next: amd64-excavator: dev-qt/qttranslations-5.15.2::qt-kit build failure

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Severe (Users) Severe (Users)
    • None
    • None
    • None
    • This is breaking full use of Qt and associated apps on excavator systems.

      The above-mentioned ebuild fails with the following error:

      cd translations/ && ( test -e Makefile || /usr/lib64/qt5/bin/qmake -o Makefile /var/tmp/portage/dev-qt/qttranslations-5.15.2/work/qttranslations-everywhere-src-5.15.2/translation
      s/translations.pro CONFIG+=release CONFIG-=debug 'QMAKE_AR=x86_64-pc-linux-gnu-ar cqs' QMAKE_CC=x86_64-pc-linux-gnu-gcc QMAKE_LINK_C=x86_64-pc-linux-gnu-gcc QMAKE_LINK_C_SHLIB=x8
      6_64-pc-linux-gnu-gcc QMAKE_CXX=x86_64-pc-linux-gnu-g++ QMAKE_LINK=x86_64-pc-linux-gnu-g++ QMAKE_LINK_SHLIB=x86_64-pc-linux-gnu-g++ QMAKE_OBJCOPY=x86_64-pc-linux-gnu-objcopy QMAK
      E_RANLIB= QMAKE_STRIP=x86_64-pc-linux-gnu-strip 'QMAKE_CFLAGS=-march=bdver4 -O2 -pipe' QMAKE_CFLAGS_RELEASE= QMAKE_CFLAGS_DEBUG= 'QMAKE_CXXFLAGS=-march=bdver4 -O2 -pipe' QMAKE_CX
      XFLAGS_RELEASE= QMAKE_CXXFLAGS_DEBUG= 'QMAKE_LFLAGS=-Wl,-O1 -Wl,--sort-common -Wl,--as-needed' QMAKE_LFLAGS_RELEASE= QMAKE_LFLAGS_DEBUG= ) && make -f Makefile 
      make[1]: Entering directory '/var/tmp/portage/dev-qt/qttranslations-5.15.2/work/qttranslations-everywhere-src-5.15.2_build/translations'
      /usr/lib64/qt5/bin/lrelease /var/tmp/portage/dev-qt/qttranslations-5.15.2/work/qttranslations-everywhere-src-5.15.2/translations/assistant_ar.ts -qm assistant_ar.qm
      /usr/lib64/qt5/bin/lrelease /var/tmp/portage/dev-qt/qttranslations-5.15.2/work/qttranslations-everywhere-src-5.15.2/translations/assistant_bg.ts -qm assistant_bg.qm
      /usr/lib64/qt5/bin/lrelease /var/tmp/portage/dev-qt/qttranslations-5.15.2/work/qttranslations-everywhere-src-5.15.2/translations/assistant_cs.ts -qm assistant_cs.qm
      Incompatible processor. This Qt build requires the following features:
          rdrnd
      Aborted. Incompatible processor: missing feature 0x1000 - rdrnd.
      Incompatible processor. This Qt build requires the following features:
          rdrnd
      Aborted. Incompatible processor: missing feature 0x1000 - rdrnd.
       

      This is when being built on an amd64-excavator system, targeting the same subarch. The output of /proc/cpuinfo has the following CPU flags:

      flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm constant_tsc rep_good nopl nonstop_tsc cpuid extd_apicid aperfmperf rapl pni pclmulqdq monitor ssse3 fma cx16 sse4_1 sse4_2 movbe popcnt aes xsave avx f16c rdrand lahf_lm cmp_legacy svm extapic cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw ibs skinit wdt tce topoext perfctr_core perfctr_nb bpext perfctr_llc mwaitx cpb cat_l3 cdp_l3 hw_pstate ssbd mba ibpb stibp vmmcall fsgsbase bmi1 avx2 smep bmi2 cqm rdt_a rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves cqm_llc cqm_occup_llc cqm_mbm_total cqm_mbm_local clzero irperf xsaveerptr rdpru wbnoinvd arat npt lbrv svm_lock nrip_save tsc_scale vmcb_clean flushbyasid decodeassists pausefilter pfthreshold avic v_vmsave_vmload vgif v_spec_ctrl umip rdpid overflow_recov succor smca sme sev sev_es 

      As you can see, rdrand IS listed here.

      These are the amd64-excavator profile settings for Funtoo:

      CFLAGS="-march=bdver4 -O2 -pipe"
      CXXFLAGS="${CFLAGS}"
      FFLAGS="${CFLAGS}"
      FCFLAGS="${CFLAGS}"
      CPU_FLAGS_X86="aes avx avx2 fma3 fma4 mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 xop"
       

      rdrand is NOT set here. rdrand is only set in CPU_FLAGS_X86 for amd64-zen2 and amd64-zen3.

      Recommended tasks:

      1. Determine if rdrand should be set in Funtoo amd64-excavator subarch or not.
      2. Determine if fix of #1 (if applied) fixes the build of qttranslations. This may require a full rebuild of qtcore and other packages.
      3. Perform a review of rdrand to determine if it is missing from other subarches where it is also available.

            Unassigned Unassigned
            drobbins drobbins
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: