[flext] source/flbase.cpp:1:0: error: CPU you selected does not support x86-64 instruction set

Jonghyun Kim agitato816 at gmail.com
Sat Jan 10 03:34:49 UTC 2015


the default was pentium4. I downloaded flext from svn.

My cpu:
Intel® Core™ i5-3230M CPU @ 2.60GHz × 4
Intel® Ivybridge Mobile
64 Bit OS

==========================================
akntk at umi:~/Downloads/pd_leapmotion/flext$ gcc -march=native -Q
--help=target
The following options are target specific:
  -m128bit-long-double         [disabled]
  -m32                         [disabled]
  -m3dnow                     [disabled]
  -m3dnowa                     [disabled]
  -m64                         [enabled]
  -m80387                     [enabled]
  -m8bit-idiv                 [disabled]
  -m96bit-long-double         [enabled]
  -mabi=                       sysv
  -mabm                       [disabled]
  -maccumulate-outgoing-args   [disabled]
  -maddress-mode=             short
  -madx                       [disabled]
  -maes                       [enabled]
  -malign-double               [disabled]
  -malign-functions=           0
  -malign-jumps=               0
  -malign-loops=               0
  -malign-stringops           [enabled]
  -mandroid                   [disabled]
  -march=                     core-avx-i
  -masm=                       att
  -mavx                       [enabled]
  -mavx2                       [disabled]
  -mavx256-split-unaligned-load [disabled]
  -mavx256-split-unaligned-store [disabled]
  -mbionic                     [disabled]
  -mbmi                       [disabled]
  -mbmi2                       [disabled]
  -mbranch-cost=               0
  -mcld                       [disabled]
  -mcmodel=                   32
  -mcpu=
  -mcrc32                     [disabled]
  -mcx16                       [enabled]
  -mdispatch-scheduler         [disabled]
  -mf16c                       [enabled]
  -mfancy-math-387             [enabled]
  -mfentry                     [enabled]
  -mfma                       [disabled]
  -mfma4                       [disabled]
  -mforce-drap                 [disabled]
  -mfp-ret-in-387             [enabled]
  -mfpmath=                   387
  -mfsgsbase                   [enabled]
  -mfused-madd
  -mfxsr                       [enabled]
  -mglibc                     [enabled]
  -mhard-float                 [enabled]
  -mhle                       [disabled]
  -mieee-fp                   [enabled]
  -mincoming-stack-boundary=   0
  -minline-all-stringops       [disabled]
  -minline-stringops-dynamically [disabled]
  -mintel-syntax
  -mlarge-data-threshold=     0x10000
  -mlong-double-64             [disabled]
  -mlong-double-80             [enabled]
  -mlwp                       [disabled]
  -mlzcnt                     [disabled]
  -mmmx                       [disabled]
  -mmovbe                     [disabled]
  -mms-bitfields               [disabled]
  -mno-align-stringops         [disabled]
  -mno-fancy-math-387         [disabled]
  -mno-push-args               [disabled]
  -mno-red-zone               [disabled]
  -mno-sse4                   [disabled]
  -momit-leaf-frame-pointer   [disabled]
  -mpc32                       [disabled]
  -mpc64                       [disabled]
  -mpc80                       [disabled]
  -mpclmul                     [enabled]
  -mpopcnt                     [enabled]
  -mprefer-avx128             [disabled]
  -mpreferred-stack-boundary= 0
  -mprfchw                     [disabled]
  -mpush-args                 [enabled]
  -mrdrnd                     [enabled]
  -mrdseed                     [disabled]
  -mrecip                     [disabled]
  -mrecip=
  -mred-zone                   [enabled]
  -mregparm=                   0
  -mrtd                       [disabled]
  -mrtm                       [disabled]
  -msahf                       [enabled]
  -msoft-float                 [disabled]
  -msse                       [enabled]
  -msse2                       [enabled]
  -msse2avx                   [disabled]
  -msse3                       [enabled]
  -msse4                       [enabled]
  -msse4.1                     [enabled]
  -msse4.2                     [enabled]
  -msse4a                     [disabled]
  -msse5
  -msseregparm                 [disabled]
  -mssse3                     [enabled]
  -mstack-arg-probe           [disabled]
  -mstackrealign               [enabled]
  -mstringop-strategy=         [default]
  -mtbm                       [disabled]
  -mtls-dialect=               gnu
  -mtls-direct-seg-refs       [enabled]
  -mtune=                     core-avx-i
  -muclibc                     [disabled]
  -mveclibabi=                 [default]
  -mvect8-ret-in-mem           [disabled]
  -mvzeroupper                 [disabled]
  -mx32                       [disabled]
  -mxop                       [disabled]
  -mxsave                     [enabled]
  -mxsaveopt                   [enabled]

  Known assembler dialects (for use with the -masm-dialect= option):
    att intel

  Known ABIs (for use with the -mabi= option):
    ms sysv

  Known code models (for use with the -mcmodel= option):
    32 kernel large medium small

  Valid arguments to -mfpmath=:
    387 387+sse 387,sse both sse sse+387 sse,387

  Known vectorization library ABIs (for use with the -mveclibabi= option):
    acml svml

  Known address mode (for use with the -maddress-mode= option):
    long short

  Valid arguments to -mstringop-strategy=:
    byte_loop libcall loop rep_4byte rep_8byte rep_byte unrolled_loop

  Known TLS dialects (for use with the -mtls-dialect= option):
    gnu gnu2

akntk at umi:~/Downloads/pd_leapmotion/flext$


On Sat, Jan 10, 2015 at 11:52 AM, Max <abonnements at revolwear.com> wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> I have no idea, but -march=pentium4 looks strange to me.
> what happens if you do -march=native ?
>
> gcc -march=native -Q --help=target
>
>
> On 01/09/2015 06:19 PM, Jonghyun Kim wrote:
> > Hi,
> >
> > I'm trying compile pd_leapmotion.pd_linux. I tried "bash build.sh
> > pd gcc" and I've got error. How to solve this error?
> >
> > The important error msg: ========================== g++ -c  -msse
> > -mfpmath=sse -ffast-math -DFLEXT_USE_CMEM -O3 -march=pentium4
> > -I/usr/include/pd -pthread -fPIC -fvisibility-inlines-hidden
> > -DFLEXT_USE_SIMD -DNDEBUG -DFLEXT_EXPORTS -DFLEXT_SYS=2 -DPD
> > -I~/src/pd-0.46-4//src -I~/src/pd-0.46-4//include
> > -I~/src/pd-0.46-4//include/pd source/flbase.cpp -o
> > pd-linux/release-single/flbase.opp *source/flbase.cpp:1:0: error:
> > CPU you selected does not support x86-64 instruction set* * /** *
> > ^* *source/flbase.cpp:1:0: error: CPU you selected does not support
> > x86-64 instruction set* *make[1]: ***
> > [pd-linux/release-single/flbase.opp] Error 1* *make[1]: Leaving
> > directory `/home/akntk/Downloads/pd_leapmotion/flext'* *make: ***
> > [build-release-single] Error 2* =========================
> >
>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1
>
> iEYEARECAAYFAlSwk/wACgkQ3EB7kzgMM6KF/gCfVYy6mx1JKpqLQJhsEQ6fMjTL
> 7AAAnjLxadTV5EzgsBYi9axYFH9wb3up
> =cwl4
> -----END PGP SIGNATURE-----
> _______________________________________________
> http://grrrr.org/ext/flext
>
> flext mailing list
> flext at grrrr.org
> http://grrrr.org/cgi-bin/mailman/listinfo/flext
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://grrrr.org/pipermail/flext/attachments/20150110/896df3ad/attachment-0001.html>


More information about the flext mailing list