CPU you selected does not support x86-64 instruction set

565 views
Skip to first unread message

Attila Szabó

unread,
Dec 5, 2017, 3:40:35 AM12/5/17
to Harbour Users
Hi,

I tried to compile a few lines Harbour program on a 32-bit Windows 10 machine but did not go.
What settings should be used to compile the program?

This error message is displayed:
************************************************************
hbmk2: Könyvtár szintű make állomány feldolgozása: hbmk.hbm
Harbour 3.2.0dev (r1711221033)
Copyright (c) 1999-2016, http://harbour-project.org/
Compiling 'hello.prg'...

Lines 7, Functions/Procedures 1
Generating C source output to 'C:\Users\Zoli\AppData\Local\Temp\hbmk_9g1l3b.dir\hello.c'... Done.
C:/Users/Zoli/AppData/Local/Temp/hbmk_9g1l3b.dir/hello.c:1:0: error: CPU you selected does not support x86-64 instruction set
 /*
 ^
C:/Users/Zoli/AppData/Local/Temp/hbmk_9g1l3b.dir/hello.c:1:0: error: CPU you selected does not support x86-64 instruction set
C:/Users/Zoli/AppData/Local/Temp/hbmk_buhmbc.c:1:0: error: CPU you selected does not support x86-64 instruction set
 /* This temp source file was generated by hbmk2 tool. */
 ^
C:/Users/Zoli/AppData/Local/Temp/hbmk_buhmbc.c:1:0: error: CPU you selected does not support x86-64 instruction set
hbmk2: Hiba: C/C++ fordító futtatásakor. 1
gcc.exe -c -O3 -march=i586 -mtune=pentiumpro -fomit-frame-pointer  -W -Wall -pipe -IC:/hb32/include C:/Users/Zoli/AppData/Local/Temp/hbmk_9g1l3b.dir/hello.c C:/Users/Zoli/AppData/Local/Temp/hbmk_buhmbc.c
************************************************************


Processors Information (CPU-Z Report)
-------------------------------------------------------------------------
Socket 1 ID = 0
Number of cores 2 (max 2)
Number of threads 4 (max 4)
Name Intel Core i3 2348M
Codename Sandy Bridge
Specification Intel(R) Core(TM) i3-2348M CPU @ 2.30GHz
Package (platform ID) Socket 988B rPGA (0x4)
CPUID 6.A.7
Extended CPUID 6.2A
Core Stepping D2
Technology 32 nm
TDP Limit 35.0 Watts
Tjmax 85.0 °C
Core Speed 798.1 MHz
Multiplier x Bus Speed 8.0 x 99.8 MHz
Stock frequency 2300 MHz
Instructions sets MMX, SSE, SSE2, SSE3, SSSE3, SSE4.1, SSE4.2, EM64T, VT-x, AVX
L1 Data cache 2 x 32 KBytes, 8-way set associative, 64-byte line size
L1 Instruction cache 2 x 32 KBytes, 8-way set associative, 64-byte line size
L2 cache 2 x 256 KBytes, 8-way set associative, 64-byte line size
L3 cache 3 MBytes, 12-way set associative, 64-byte line size
Max CPUID level 0000000Dh
Max CPUID ext. level 80000008h
Cache descriptor Level 1, D, 32 KB, 2 thread(s)
Cache descriptor Level 1, I, 32 KB, 2 thread(s)
Cache descriptor Level 2, U, 256 KB, 2 thread(s)
Cache descriptor Level 3, U, 3 MB, 16 thread(s)
FID/VID Control yes


Turbo Mode not supported
Max non-turbo ratio 23x
Max turbo ratio 23x
Max efficiency ratio 8x
Max Power 44 Watts
Min Power 24 Watts
O/C bins none
Ratio 1 core 23x
Ratio 2 cores 23x
Ratio 3 cores 23x
Ratio 4 cores 23x

Temperature 0 35 degC (94 degF) (Package)
Temperature 1 35 degC (94 degF) (Core #0)
Temperature 2 35 degC (94 degF) (Core #1)
Voltage 0 0.83 Volts (VID)
Power 00 3.28 W (Package)
Power 01 0.33 W (IA Cores)
Power 02 0.09 W (GT)
Power 03 2.86 W (Uncore)
Clock Speed 0 798.10 MHz (Core #0)
Clock Speed 1 798.10 MHz (Core #1)
Core 0 max ratio 23.0 (effective 23.0)
Core 1 max ratio 23.0 (effective 23.0)
-------------------------------------------------------------------------

Thanks for the help.

Regards,
Attila Szabó

CPU-Z-Report_DESKTOP-OE7HRQF.txt
Hbmk2_Output.txt

Pete

unread,
Dec 5, 2017, 11:57:33 AM12/5/17
to Harbour Users
Seems to be a gcc problem.
Are you sure you have not mixed/messed up MinGW installations and/or path settings?
Try
- removing (or rename) your mingw folder,
- clean up your path settings,
- do a clean MinGW32 installation (I'd suggest this distro)
- set path to point to d:\mingw32\bin (where  <d:> the installation drive)
and see if it helps.
Reply all
Reply to author
Forward
0 new messages