Description of problem: When trying to compile Qt 5.12 packages (ported from Fedora) for MGA7 I've encountered the following compiling error: qfloat16.h:79:54:internal compiler error: in make_rtl_for_nonlocal_decl, at cp/decl.c:6590 Q_CORE_EXPORT static const quint32 mantissatable[]; I've googled a bit and found the same error report in debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=923214 This report has a link to upstream bug report and a patch for gcc. I've tried to apply this patch to mingw-gcc package. This allowed me to successfully build Qt packages. The patch should be included in GCC 8.4 but it would be great to have the bug fixed in MGA mingw-gcc package without waiting for new GCC release. Version-Release number of selected component (if applicable): mingw-gcc 8.3.0 How reproducible: Always Steps to Reproduce: 1. Try to compile qtbase 5.12.x with the current mingw-gcc in MGA7 2. 3.
CC: (none) => olelukoie
Please try mingw-gcc-8.3.0-1.1.mga7 in Core/Updates_testing repo!
CC: (none) => geiger.david68210
Thanks, I'll try it. I've got a question abount mingw in Mageia and I don't know where to ask it so I'll ask it here. Standard rpm macros %make and %make_build in mageia do contain _smp_mflag internally and there is no need to provide this flag in every spec file to use parallel build. But in their mingw counterparts this flag is missing and I have to keep fedora's %{?_smp_mflag} in each mingw package ported. Is this flag omitted in mingw macros intentionally?
Our mingw stack is based/synced with fedora's one! so to use a parallel build you have simply to do: %mingw_make %{?_smp_mflags}
I've tested mingw-gcc-8.3.0-1.1.mga7 and it built Qt5 without problems.
Assigning to QA now, Advisory: ======================== Our current mingw-gcc fails to build some Qt 5.12.x applications with the following compiling error: qfloat16.h:79:54:internal compiler error: in make_rtl_for_nonlocal_decl, at cp/decl.c:6590 Q_CORE_EXPORT static const quint32 mantissatable[]; So this update fixes this issue. ======================== Packages in 7/core/updates_testing: ======================== mingw32-gcc-8.3.0-1.1.mga7.x86_64.rpm mingw32-cpp-8.3.0-1.1.mga7.x86_64.rpm mingw32-gcc-c++-8.3.0-1.1.mga7.x86_64.rpm mingw32-gcc-objc-8.3.0-1.1.mga7.x86_64.rpm mingw32-gcc-objc++-8.3.0-1.1.mga7.x86_64.rpm mingw32-gcc-gfortran-8.3.0-1.1.mga7.x86_64.rpm mingw32-libgomp-8.3.0-1.1.mga7.x86_64.rpm mingw64-gcc-8.3.0-1.1.mga7.x86_64.rpm mingw64-cpp-8.3.0-1.1.mga7.x86_64.rpm mingw64-gcc-c++-8.3.0-1.1.mga7.x86_64.rpm mingw64-gcc-objc-8.3.0-1.1.mga7.x86_64.rpm mingw64-gcc-objc++-8.3.0-1.1.mga7.x86_64.rpm mingw64-gcc-gfortran-8.3.0-1.1.mga7.x86_64.rpm mingw64-libgomp-8.3.0-1.1.mga7.x86_64.rpm mingw32-gcc-8.3.0-1.1.mga7.i586.rpm mingw32-cpp-8.3.0-1.1.mga7.i586.rpm mingw32-gcc-c++-8.3.0-1.1.mga7.i586.rpm mingw32-gcc-objc-8.3.0-1.1.mga7.i586.rpm mingw32-gcc-objc++-8.3.0-1.1.mga7.i586.rpm mingw32-gcc-gfortran-8.3.0-1.1.mga7.i586.rpm mingw32-libgomp-8.3.0-1.1.mga7.i586.rpm mingw64-gcc-8.3.0-1.1.mga7.i586.rpm mingw64-cpp-8.3.0-1.1.mga7.i586.rpm mingw64-gcc-c++-8.3.0-1.1.mga7.i586.rpm mingw64-gcc-objc-8.3.0-1.1.mga7.i586.rpm mingw64-gcc-objc++-8.3.0-1.1.mga7.i586.rpm mingw64-gcc-gfortran-8.3.0-1.1.mga7.i586.rpm mingw64-libgomp-8.3.0-1.1.mga7.i586.rpm Source RPM: ======================== mingw-gcc-8.3.0-1.1.mga7.src.rpm
Assignee: bugsquad => qa-bugs
(In reply to David GEIGER from comment #5) > Our current mingw-gcc fails to build some Qt 5.12.x applications with the > following compiling error: > > qfloat16.h:79:54:internal compiler error: in make_rtl_for_nonlocal_decl, at > cp/decl.c:6590 Q_CORE_EXPORT static const quint32 mantissatable[]; Small correction: it can not build Qt5 itself, not just some applications (building qtbase 5.12 fails with the same error).
Marking OK as per Oleg's test in comment 4 (assuming 64-bit).
Whiteboard: (none) => MGA7-64-ok
Did a basic test on Mageia 7 x86_64 compiling Godot Engine for Windows with the updated mingw-gcc (not using Qt 5.12). Advisory uploaded, validating.
Keywords: (none) => advisory, validated_updateWhiteboard: MGA7-64-ok => MGA7-64-OKCC: (none) => sysadmin-bugs
An update for this issue has been pushed to the Mageia Updates repository. https://advisories.mageia.org/MGAA-2019-0065.html
Resolution: (none) => FIXEDStatus: NEW => RESOLVED