Bug 239051 - benchmarks/fio build CPU-depended package
Summary: benchmarks/fio build CPU-depended package
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Many People
Assignee: Kirill Ponomarev
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-07-08 18:10 UTC by slw
Modified: 2020-04-30 21:26 UTC (History)
3 users (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
Comment 1 Baptiste Daroussin freebsd_committer freebsd_triage 2020-03-24 16:48:09 UTC
over to new maintainer
Comment 2 Daniel Engberg freebsd_committer freebsd_triage 2020-04-30 20:52:17 UTC
Fixed in r513333