Bug 239051 - benchmarks/fio build CPU-depended package
Summary: benchmarks/fio build CPU-depended package
Status: New
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Many People
Assignee: Baptiste Daroussin
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-07-08 18:10 UTC by slw
Modified: 2019-07-08 18:15 UTC (History)
1 user (show)

See Also:
bugzilla: maintainer-feedback? (bapt)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description slw 2019-07-08 18:10:45 UTC
benchmarks/fio do build w/ `CFLAGS += -march=native`
As result binary package may be non-portable to host w/ different CPU and crash at startup.

This is caused by next Makefile pice:

ifdef CONFIG_BUILD_NATIVE
  CFLAGS += -march=native
endif