Bug 1838022

Summary: Outdated version causes the error "'PROCESSOR_ARCHITECTURE_ARM64' undeclared", during the compilation
Product: [Fedora] Fedora Reporter: ricky.tigg
Component: mingw-headersAssignee: Kalev Lember <klember>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 32CC: erik-fedora, klember, ktietz, manisandro, rjones
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-05-20 15:51:25 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description ricky.tigg 2020-05-20 11:32:42 UTC
Description of problem: Due to its out-of-date status, the version of selected component is likely to be the cause of the error "'PROCESSOR_ARCHITECTURE_ARM64' undeclared" during the compilation.

Version-Release number of component:
$ rpm -qi mingw64-headers | sed -n '10,11p;17p'
Source RPM  : mingw-headers-6.0.0-3.fc32.src.rpm
Build Date  : ke 29. tammikuuta 2020 16.48.10
Summary     : MinGW Windows cross-compiler Win64 header files

How reproducible: Prerequisite
$ rpm -qa mingw64-* | sort | column
mingw64-binutils-2.32-7.fc32.x86_64	mingw64-gcc-c++-9.2.1-6.fc32.x86_64
mingw64-cpp-9.2.1-6.fc32.x86_64		mingw64-headers-6.0.0-3.fc32.noarch
mingw64-crt-6.0.0-4.fc32.noarch		mingw64-pkg-config-0.28-14.fc32.x86_64
mingw64-filesystem-111-1.fc32.noarch	mingw64-winpthreads-6.0.0-3.fc32.noarch
mingw64-gcc-9.2.1-6.fc32.x86_64		mingw64-zlib-1.2.11-2.fc32.noarch

Actual result:
$ ./configure && make check
[...]
make[2]: Entering directory '/home/yk/Lataukset/rufus/src'
  CC       rufus-stdfn.o
stdfn.c: In function 'GetCpuArch':
stdfn.c:243:7: error: 'PROCESSOR_ARCHITECTURE_ARM64' undeclared (first use in this function); did you mean 'PROCESSOR_ARCHITECTURE_ARM'?
[...]

Expected result: selected component updated.

Additional info: A developer having a version 8.0.0 installed on his system –Microsoft Windows– does not encounter that error. I learned from him that PROCESSOR_ARCHITECTURE_ARM64 was introduced after the release of version 6.0.0.

Comment 1 Sandro Mani 2020-05-20 15:51:25 UTC
This is scheduled for F33.

*** This bug has been marked as a duplicate of bug 1821868 ***