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

            Bug ID: 360735
           Summary: kdelibs-4.14.18 - does not compile using becoming
                    gcc-6
           Product: kdelibs
           Version: unspecified
          Platform: Gentoo Packages
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: kdelibs-b...@kde.org
          Reporter: nheghathivhis...@gmail.com

/var/tmp/portage/kde-base/kdelibs-4.14.18/work/kdelibs-4.14.18/solid/solid/backends/shared/cpufeatures.cpp:
In function ‘Solid::Processor::InstructionSets
Solid::Backends::Shared::cpuFeatures()’:
/var/tmp/portage/kde-base/kdelibs-4.14.18/work/kdelibs-4.14.18/solid/solid/backends/shared/cpufeatures.cpp:69:37:
error: inconsistent user-defined literal suffixes ‘reg’ and ‘reg1’ in string
literal
   #define ASM_MOV_REG(reg1, reg2)   "movq   %%r"reg1", %%r"reg2" \n\t"
                                     ^
/var/tmp/portage/kde-base/kdelibs-4.14.18/work/kdelibs-4.14.18/solid/solid/backends/shared/cpufeatures.cpp:102:5:
note: in expansion of macro ‘ASM_MOV_REG’
     ASM_MOV_REG("cx", "dx")             // Copy ECX to EDX
     ^~~~~~~~~~~
/var/tmp/portage/kde-base/kdelibs-4.14.18/work/kdelibs-4.14.18/solid/solid/backends/shared/cpufeatures.cpp:114:5:
error: unable to find string literal operator ‘operator""reg’ with ‘const char
[315]’, ‘long unsigned int’ arguments
     ".Lno_cpuid_support%=:      \n\t"
     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/tmp/portage/kde-base/kdelibs-4.14.18/work/kdelibs-4.14.18/solid/solid/backends/shared/cpufeatures.cpp:70:37:
error: inconsistent user-defined literal suffixes ‘reg’ and ‘var’ in string
literal
   #define ASM_MOV_VAR(var, reg)     "movq   "var",     %%r"reg"  \n\t"
                                     ^
/var/tmp/portage/kde-base/kdelibs-4.14.18/work/kdelibs-4.14.18/solid/solid/backends/shared/cpufeatures.cpp:122:13:
note: in expansion of macro ‘ASM_MOV_VAR’
             ASM_MOV_VAR("$1", "ax")             // Set EAX to 1 (features
request)
             ^~~~~~~~~~~
/var/tmp/portage/kde-base/kdelibs-4.14.18/work/kdelibs-4.14.18/solid/solid/backends/shared/cpufeatures.cpp:64:52:
error: unable to find string literal operator ‘operator""reg’ with ‘const char
[100]’, ‘long unsigned int’ arguments
   #define ASM_POP(reg)              "popq   %%r"reg"             \n\t"
                                                    ^
/var/tmp/portage/kde-base/kdelibs-4.14.18/work/kdelibs-4.14.18/solid/solid/backends/shared/cpufeatures.cpp:124:13:
note: in expansion of macro ‘ASM_POP’
             ASM_POP("bx")                       // Restore EBX
             ^~~~~~~
/var/tmp/portage/kde-base/kdelibs-4.14.18/work/kdelibs-4.14.18/solid/solid/backends/shared/cpufeatures.cpp:70:37:
error: inconsistent user-defined literal suffixes ‘reg’ and ‘var’ in string
literal
   #define ASM_MOV_VAR(var, reg)     "movq   "var",     %%r"reg"  \n\t"
                                     ^
/var/tmp/portage/kde-base/kdelibs-4.14.18/work/kdelibs-4.14.18/solid/solid/backends/shared/cpufeatures.cpp:133:14:
note: in expansion of macro ‘ASM_MOV_VAR’
              ASM_MOV_VAR("$0x80000000", "ax")
              ^~~~~~~~~~~
/var/tmp/portage/kde-base/kdelibs-4.14.18/work/kdelibs-4.14.18/solid/solid/backends/shared/cpufeatures.cpp:64:52:
error: unable to find string literal operator ‘operator""reg’ with ‘const char
[283]’, ‘long unsigned int’ arguments
   #define ASM_POP(reg)              "popq   %%r"reg"             \n\t"
                                                    ^
/var/tmp/portage/kde-base/kdelibs-4.14.18/work/kdelibs-4.14.18/solid/solid/backends/shared/cpufeatures.cpp:142:14:
note: in expansion of macro ‘ASM_POP’
              ASM_POP("bx")                      // Restore EBX
              ^~~~~~~
solid/solid/CMakeFiles/solid_static.dir/build.make:2050: recipe for target
'solid/solid/CMakeFiles/solid_static.dir/backends/shared/cpufeatures.cpp.o'
failed

Reproducible: Always

Steps to Reproduce:
1. Use trunk Gcc-6
2. Try to compile kdelibs-4.14.18
3.



Debian Bug: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=811895

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

Reply via email to