Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 30 Jun 2021 22:03:58 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 256913] databases/rocksdb: Honor CPUTYPE instead of forcing '-march=native' on x86
Message-ID:  <bug-256913-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D256913

            Bug ID: 256913
           Summary: databases/rocksdb: Honor CPUTYPE instead of forcing
                    '-march=3Dnative' on x86
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: sunpoet@FreeBSD.org
          Reporter: jkim@FreeBSD.org
          Assignee: sunpoet@FreeBSD.org
             Flags: maintainer-feedback?(sunpoet@FreeBSD.org)

Created attachment 226142
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D226142&action=
=3Dedit
Honor CPUTYPE instead of forcing '-march=3Dnative' on x86

We always build it with "-march=3Dnative" for x86 but we should honor CPUTY=
PE.=20
With the attached patch, we can build it on one CPU and run it on another.=
=20
Also, I removed a hack to force disabling SSE 4.2 on i386 because I believe
this patch should naturally fix the problem.

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-256913-7788>