Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 23 Apr 2022 03:12:54 +0000
From:      bugzilla-noreply@freebsd.org
To:        ruby@FreeBSD.org
Subject:   [Bug 260791] lang/ruby30: Fails to link with CPUTYPE=haswell (2021Q4): ld: error: undefined symbol: _lzcnt_u32
Message-ID:  <bug-260791-21402-EgvZ1Y9R49@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-260791-21402@https.bugs.freebsd.org/bugzilla/>
References:  <bug-260791-21402@https.bugs.freebsd.org/bugzilla/>

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

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

URL:
https://cgit.FreeBSD.org/ports/commit/?id=3Dbd22c2827968b0ef6ef36dd853b3125=
9c6ba3125

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(-)

--=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-260791-21402-EgvZ1Y9R49>