Project

General

Profile

Actions

Bug #24948

closed

SPDK compiles with -march=native

Added by Nathan Cutler almost 6 years ago. Updated over 5 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
-
Target version:
-
% Done:

0%

Source:
Tags:
Backport:
mimic
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

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 1 (0 open1 closed)

Copied to Ceph - Backport #25032: mimic: SPDK compiles with -march=nativeResolvedNathan CutlerActions
Actions #1

Updated by Nathan Cutler almost 6 years ago

  • Status changed from In Progress to Fix Under Review
Actions #3

Updated by Nathan Cutler almost 6 years ago

  • Status changed from Fix Under Review to 7
  • Backport set to mimic
Actions #4

Updated by Sage Weil over 5 years ago

  • Status changed from 7 to Pending Backport
Actions #5

Updated by Nathan Cutler over 5 years ago

Actions #6

Updated by Nathan Cutler over 5 years ago

  • Status changed from Pending Backport to Resolved
Actions

Also available in: Atom PDF