Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

Bug 1975673

Summary: Forbidden function symbols found in llvm-jitlink by rpminspect, "gethostbyname"
Product: Red Hat Enterprise Linux 9 Reporter: Miloš Prchlík <mprchlik>
Component: llvmAssignee: serge_sans_paille <sguelton>
Status: CLOSED CURRENTRELEASE QA Contact: Miloš Prchlík <mprchlik>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 9.0CC: mprchlik, sguelton, tschelle, tstellar
Target Milestone: betaKeywords: Bugfix, Triaged
Target Release: ---Flags: pm-rhel: mirror+
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: llvm-12.0.0-6.el9 Doc Type: No Doc Update
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-12-07 21:33:05 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Miloš Prchlík 2021-06-24 07:51:24 UTC
Description of problem:

As reported by rpminspect:


1) /usr/bin/llvm-jitlink may use forbidden functions on aarch64

Result: VERIFY
Waiver Authorization: Anyone

Details:
Forbidden function symbols found:
	gethostbyname


Suggested Remedy:
Forbidden symbols were found in an ELF file in the package.  The configuration settings for rpminspect indicate the named symbols are forbidden in packages.  If this is deliberate, you may want to disable the badfuncs inspection.  If it is not deliberate, check the man pages for the named symbols to see what API functions have replaced the forbidden symbols.  Usually a function is marked as deprecated but still provided in order to allow for backwards compatibility.  Whenever possible the deprecated functions should not be used.


http://artifacts.osci.redhat.com/testing-farm/b8a9b2c1-2731-49d3-8faa-da06d1088f41/work-rpminspectYEN1Xz/rpminspect/execute/data/badfuncs/output.txt


Version-Release number of selected component (if applicable):

llvm-12.0.0-4.el9


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 1 serge_sans_paille 2021-07-06 14:01:03 UTC
This has been fixed upstream in cba2552bfec1c9d837f7285a743e9e12fa6b043e

Comment 4 Miloš Prchlík 2021-07-08 10:49:49 UTC
Verified with llvm-12.0.0-6.el9, the test is part of the mandatory gating suite.

Comment 5 Tom Stellard 2021-07-15 16:18:01 UTC
*** Bug 1958422 has been marked as a duplicate of this bug. ***