Project

General

Profile

Bug #24948

SPDK compiles with -march=native

Added by Nathan Cutler about 1 year ago. Updated 12 months ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
-
Target version:
-
Start date:
07/16/2018
Due date:
% Done:

0%

Source:
Tags:
Backport:
mimic
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:

Description

-march=native causes gcc to use opcodes according to whichever CPU happens to be installed in the build host, which can be different for every build. This makes it impossible to achieve a reproducible build.

Also, if the build host has a very new CPU, running the resulting binaries on older CPUs (of the same family, i.e. x86_64) could result in segmentation fault.


Related issues

Copied to Ceph - Backport #25032: mimic: SPDK compiles with -march=native Resolved

History

#1 Updated by Nathan Cutler about 1 year ago

  • Status changed from In Progress to Need Review

#3 Updated by Nathan Cutler about 1 year ago

  • Status changed from Need Review to Testing
  • Backport set to mimic

#4 Updated by Sage Weil about 1 year ago

  • Status changed from Testing to Pending Backport

#5 Updated by Nathan Cutler about 1 year ago

#6 Updated by Nathan Cutler 12 months ago

  • Status changed from Pending Backport to Resolved

Also available in: Atom PDF