[Bug 239051] benchmarks/fio build CPU-depended package

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Mon Jul 8 18:10:47 UTC 2019


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=239051

            Bug ID: 239051
           Summary: benchmarks/fio build CPU-depended package
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Many People
          Priority: ---
         Component: Individual Port(s)
          Assignee: bapt at FreeBSD.org
          Reporter: slw at zxy.spb.ru
          Assignee: bapt at FreeBSD.org
             Flags: maintainer-feedback?(bapt at FreeBSD.org)

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

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-ports-bugs mailing list