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

From: <bugzilla-noreply_at_freebsd.org>
Date: Sat, 23 Apr 2022 03:12:54 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=260791

--- Comment #8 from commit-hook@FreeBSD.org ---
A commit in branch main references this bug:

URL:
https://cgit.FreeBSD.org/ports/commit/?id=bd22c2827968b0ef6ef36dd853b31259c6ba3125

commit bd22c2827968b0ef6ef36dd853b31259c6ba3125
Author:     Jung-uk Kim <jkim@FreeBSD.org>
AuthorDate: 2022-04-23 03:04:46 +0000
Commit:     Jung-uk Kim <jkim@FreeBSD.org>
CommitDate: 2022-04-23 03:04:46 +0000

    lang/ruby3[0-2]: Fix build with certain CPUTYPE

    When CPUTYPE is set and the CPU supports lzcnt instruction, it fails to
    build because x86intrin.h is not included.  Fix the test to make it work
    on FreeBSD.

    PR:             260791
    Approved by:    ruby (maintainer timeout)

 lang/ruby30/files/patch-configure.ac | 17 +++++++++++++----
 lang/ruby31/files/patch-configure.ac | 15 ++++++++++++---
 lang/ruby32/files/patch-configure.ac | 15 ++++++++++++---
 3 files changed, 37 insertions(+), 10 deletions(-)

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