Skip to content

Please don't "arch=native" #322

@VictorEijkhout

Description

@VictorEijkhout
  1. I get this on installation:
/tmp/cch8TPRQ.s: Assembler messages:
/tmp/cch8TPRQ.s:28178: Error: no such instruction: `vmovw 161(%rbx),%xmm11'
/tmp/cch8TPRQ.s:28180: Error: no such instruction: `vmovw .LC38(%rip),%xmm12'
/tmp/cch8TPRQ.s:28188: Error: no such instruction: `vmovw %xmm13,161(%rbx)'
/tmp/cch8TPRQ.s:28189: Error: no such instruction: `vmovw %xmm13,%ecx'
  1. This goes away if I remove the arch=native flag. (Totally bizarre. How can you generate instructions that don't exist if you compile for native arch?)

  2. Using the native flag makes it impossible to compile for supercomputer clusters where the build node is often different from the compute node.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions