Bug 1838022 - Outdated version causes the error "'PROCESSOR_ARCHITECTURE_ARM64' undeclared", during the compilation
Summary: Outdated version causes the error "'PROCESSOR_ARCHITECTURE_ARM64' undeclared"...
Keywords:
Status: CLOSED DUPLICATE of bug 1821868
Alias: None
Product: Fedora
Classification: Fedora
Component: mingw-headers
Version: 32
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Kalev Lember
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-05-20 11:32 UTC by ricky.tigg
Modified: 2020-05-20 15:51 UTC (History)
5 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2020-05-20 15:51:25 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

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 ***


Note You need to log in before you can comment on or make changes to this bug.