[Bug 260791] lang/ruby30: Fails to link with CPUTYPE=haswell (2021Q4): ld: error: undefined symbol: _lzcnt_u32

From: <bugzilla-noreply_at_freebsd.org>
Date: Fri, 22 Apr 2022 16:45:10 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=260791

VVD <vvd@unislabs.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |vvd@unislabs.com
 Attachment #233399|                            |maintainer-approval?
              Flags|                            |

--- Comment #7 from VVD <vvd@unislabs.com> ---
Created attachment 233399
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=233399&action=edit
lang/ruby30: suppor build with CPUTYPE=haswell and newer

CPUTYPE?=sandybridge - and older build fine, haswell and newer - fails.

CFLAGS+=-mno-lzcnt doesn't help.

> adding 'amd64' into configure.ac solves 
Anybody report this to upstream?

https://bugs.ruby-lang.org/projects/ruby/wiki/HowToReport
https://bugs.ruby-lang.org/projects/ruby-master/issues

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